/*some random reccomended fix*/
*{
  box-sizing: border-box;
}

body{
  margin:0;
}

/* ------------------- TOP LOGO ------------------- */

.sitelogo {
  position: fixed;
  top: 20px;
  left: 660px; 
  z-index: 9999;
  display: block;
}

.sitelogo img {
  height: 80px;
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(0, 170, 255, 0.9))
          drop-shadow(0 0 18px rgba(0, 140, 255, 0.7))
          drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));

  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.sitelogo img:hover {
  transform: translateY(-4px) scale(1.08);
  opacity: 0.9;
  filter: drop-shadow
}


/*---------------------------------------------------------------------------------------------MAIN------------------------*/

/* so this the font and stuff but it dont wrk on others laptops for sum reason*/
body {
  margin: 0;
  font-family: 'Franklin Gothic Heavy';
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: -1;
  background: linear-gradient(-45deg, #5405af, rgb(191, 191, 191), #5e90f4); /*moving backgrd source*/

  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  will-change: transform;
}

/*animation gradient*/
@keyframes gradient {
	0% {  
		background-position: 0% 50%;  
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


/*---------------------------------------------------------------------------------------------SIDENAV------------------------*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #000000;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  opacity: 50%;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #ffffff;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color:  rgb(39, 134, 224);
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.sidenav {
  z-index: 2;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 1;
}

.menuBtn {
  position: fixed;  
  top: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 9999;  
  margin-right: 55px;   

  padding: 10px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(50px);

  transition: 
    transform 0.2s ease-out,
    background-color 0.2s ease-out;
}

.menuBtn.scrolled {
  background: rgba(0,0,0,0.5);
}

.menuBtn:hover {
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.menuBtn svg {
  transition: transform 0.2s ease-out;
}

.menuBtn:hover svg {
  transform: translateY(-2px);
}

.active{
    background: rgb(39, 134, 224);
    border-radius: 3px;
    
}

/*---------------------------------------------------------------------------------------------BACK TO TOP------------------------*/

html{
  scroll-behavior: smooth;
}

.back-to-top{
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(100px);
  background: rgba(255,255,255,0.25);
  padding: 14px 20px;
  border-radius: 14px; 
  text-decoration: none;
  transition: 0.2s ease-out;
}

.back-to-top span{
  transition: 0.2s ease-out;
}

.back-to-top:hover{
  background-color: rgba(0, 0, 0, 0.349);
}

.back-to-top:hover span{
  transform: translateY(-4px);
}


@media (max-width: 768px){
   .container {
    flex-direction: column;
    padding: 0 16px;
   }

    .panel {
    min-height: auto;
    padding: 24px;
  }

  /* Fix logo position */
  .sitelogo {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Right stack should be vertical */
  .rightstack {
    flex-direction: column;
  }

  /* Cards should use full width */
  .newcards {
    width: 100%;
    padding: 24px;
  }

  /* Reduce font sizes */
  h1 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }

  /* Hide fixed quick nav on mobile */
  .quick-nav {
    display: none;
  }
}

/*-----------------------------------------------------STORE-------------------*/

.store-header {
  margin-top: 140px;
  text-align: center;
}

.store-header h1 {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 14px;
  font-size: 32px;
  letter-spacing: 2px;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.store-intro {
  max-width: 900px;
  margin: 30px auto 50px;
  padding: 26px 34px;
  text-align: center;

  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(25px);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.store-intro p {
  font-size: 18px;
  line-height: 1.6;
}

.store-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 0 20px 80px;
}

.store-card {
  position: relative;
  overflow: hidden;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(30px);
  border-radius: 14px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
}

.store-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255,255,255,0.28);
}

.card-img {
  height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;

  padding: 0 22px;   /* matches text padding */
   animation: jump 1s ease-in-out infinite;
}

.card-img img {
  max-width: 200%;
  max-height: 150px;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;

  transition: transform 0.25s ease;
   border-radius: 14px;
}

.store-card:hover .card-img img {
  transform: scale(2);
}

.store-card:hover .card-img {
  opacity: 1;
}

.card-content {
  padding: 22px;
}

.card-content h2 {
  position: center;
  margin: 0 0 10px;
  font-size: 35px;
}


.card-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card-content p {
  margin-bottom: 18px;
  opacity: 0.9;
}

.explore-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;

  background: rgba(0,0,0,0.35);
  color: white;
  backdrop-filter: blur(10px);

  transition: all 0.25s ease;
}

.explore-btn:hover {
  background: rgb(39, 134, 224);
  transform: translateY(-3px);
}


/*---------------------------------------------------------------------------------------------CLICK ME!-----------------------*/

@keyframes jump{
  0%, 100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-12px);
  }
}
