/* === ANIMACJE === */
@keyframes shine {
  from { left: -75%; }
  to { left: 125%; }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 245, 230, 0.25),
                 0 0 25px rgba(255, 255, 255, 0.15),
                 0 0 60px rgba(255, 230, 180, 0.1);
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 250, 240, 0.45),
                 0 0 35px rgba(255, 255, 255, 0.25),
                 0 0 90px rgba(255, 240, 200, 0.2);
    transform: translateY(-4px);
  }
}

@keyframes subtitlePulse {
  0%, 100% { opacity: 0.9; transform: translateY(0); }
  50% { opacity: 0.7; transform: translateY(-4px); }
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.25); }
  50% { box-shadow: 0 0 28px rgba(255, 255, 255, 0.4); }
}

.hero h1 {
  font-size: 4.6rem !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  color: #fffaf2 !important;
  margin-bottom: 0.6rem !important;
  letter-spacing: 0.06em !important;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.25),
    0 0 28px rgba(255, 220, 160, 0.15),
    0 0 60px rgba(255, 240, 200, 0.1) !important;
  animation: titleGlow 8s ease-in-out infinite !important;
}

.hero .subtitle {
  font-size: 1.3rem !important;
  color: #fff8f0 !important;
  opacity: 0.95 !important;
  letter-spacing: 0.03em !important;
  text-shadow:
    0 0 8px rgba(255, 245, 230, 0.25),
    0 0 20px rgba(255, 235, 200, 0.15) !important;
}

.hero::after {
  content: "";
  display: block;
  height: 40px; /* zapas tła pod guzikami */
  width: 100%;
}
.hero {
  padding-bottom: 10px; 
}



/* === RESET === */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0c0923;
  color: white;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* === HEADER === */
.site-header {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.9rem 0; /* było 0.6rem — teraz trochę wyższy */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.logo img {
  height: 46px; /* było 40px — lepsze proporcje */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 0 4px rgba(255, 240, 180, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
  transform: rotate(4deg) scale(1.1);
  filter: drop-shadow(0 0 6px rgba(255, 230, 160, 0.9));
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #faf5f2;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
  filter: drop-shadow(0 0 4px rgba(255, 240, 180, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

nav ul li a:hover {
  color: #fff;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8a8ff, #ffe1f7);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px rgba(255, 230, 160, 0.9));
}

.btn-contact {
  border: 1.5px solid #c6baff;
  padding: 0.4rem 1rem;
  border-radius: 24px;
  color: #f9f7ff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: linear-gradient(90deg, #a48cff, #ff9ecb);
  color: #1a093b;
  box-shadow: 0 0 12px rgba(180, 150, 255, 0.5);
}

.cookie-link img {
  width: 33px;
  height: 33px;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(255, 240, 180, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cookie-link:hover img {
  transform: rotate(12deg) scale(1.3);
  filter: drop-shadow(0 0 6px rgba(255, 230, 160, 0.9));
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 650px;      /* zapewnia minimalną wysokość */
  max-height: 800px;      /* nie będzie większe niż 800px */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  text-align: center;
  background: url("assets/header-glow.png") center top / cover no-repeat;
  overflow: visible;            /* NIE ucina elementów */
  perspective: 1000px;
}



.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}


h1 {
  font-size: 4.6rem; /* większy tytuł */
  font-weight: 900;
  line-height: 1.1;
  color: #fffaf2;
  margin-bottom: 0.6rem;
  letter-spacing: 0.06em; /* subtelne rozciągnięcie */
  position: relative;
  z-index: 2;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.25),
    0 0 28px rgba(255, 220, 160, 0.15),
    0 0 60px rgba(255, 240, 200, 0.1);
  animation: titleGlow 8s ease-in-out infinite;
}

.subtitle {
  font-size: 1.3rem;
  color: #fff8f0;
  opacity: 0.95;
  margin-top: 0.4rem;
  letter-spacing: 0.03em;
  text-shadow:
    0 0 8px rgba(255, 245, 230, 0.25),
    0 0 20px rgba(255, 235, 200, 0.15);
  animation: subtitlePulse 6s ease-in-out infinite;
}

/* === MONSTERS === */
.monsters img {
  position: relative;
  z-index: -3;
  max-width: 1000px;
  width: 80%;
  margin-bottom: -3.5rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* === BUTTONS === */
.buttons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  z-index: 4;
}

.btn {
  border: none;
  border-radius: 36px;
  padding: 14px 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 240px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  text-align: center;
  margin-top: -3rem;
  margin-bottom: 3.5rem;
  animation: buttonGlow 5s ease-in-out infinite;
}

.btn:hover {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2) inset;
}

/* === STYLE KOLORÓW === */
.btn.pink {
  background: linear-gradient(180deg, #ff74b0 0%, #ff4fa5 100%);
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.4), 0 8px 20px rgba(255, 70, 140, 0.25);
  color: #fff;
}

.btn.yellow {
  background: linear-gradient(180deg, #ffe062 0%, #f7c800 100%);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4), 0 8px 20px rgba(255, 210, 80, 0.25);
  color: #392f6c;
}

/* === BŁYSK I GLOW POD PRZYCISKIEM === */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 2;
}

.btn:hover::before {
  animation: shine 1s forwards;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.4;
  z-index: -1;
}

.btn.pink::after {
  background: rgba(255, 100, 170, 0.5);
}

.btn.yellow::after {
  background: rgba(255, 220, 90, 0.45);
}

/* === GAME SECTION === */
.switch-section {
  background: #0b0920;
  padding: 100px 5%;
  text-align: left;
}

/* === GAME FRAME === */
.game-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 6rem;
  padding: 4rem 3rem 3.5rem;
  border-radius: 40px;
}
.game-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 2px;
  /* zmieniony kierunek i kolejność kolorów — teraz ramka zaczyna się po prawej i znika po lewej górze */
  
background: linear-gradient(
    90deg,
    rgba(100, 80, 200, 0) 0%,
    rgba(120, 100, 230, 0.5) 30%,
    rgba(100, 80, 200, 0.6) 57%,
    rgba(180, 160, 255, 1) 85%,
    rgba(200, 180, 255, 1) 100%
  );


  /* maska tworzy cienką poświatę wokół ramki */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.game-info {
  scroll-margin-top: 100px; /* dopasuj do wysokości twojego .site-header */
}

/* === BUTTONS ABOVE THE FRAME === */
.frame-buttons {
  position: absolute;
  top: 0rem; /* lekko wyżej — guziki wychodzą z ramki */
  display: flex;
  justify-content: center;
  z-index: 2; /* nad ramką */
}


/* === TABS === */
.tab-btn {
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0);
  color: #8f80bd;
  border: 3px solid rgba(180, 160, 255, 0.25);
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  position: relative;
  width: 270px;
  margin-left: -40px; /* nachodzenie na siebie */
}

.tab-btn:hover {
  transform: scale(1.05);
  color: #fff;
  background: rgba(160, 140, 255, 0.15);
}

.tab-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2) inset;
}

.tab-btn.active {
  background: linear-gradient(90deg, #9c86ff, #d0a8ff);
  color: #fff;
  box-shadow: 0 0 20px rgba(160, 140, 255, 0.35);
  border-color: rgba(180, 160, 255, 0.35);
  z-index: 1;
}



/* === GAME INFO === */

.mid-gif {
  position: absolute;
  top: 80%;
  left: 52%;
  transform: translate(-50%, -40%);
  z-index: 5;
  pointer-events: none;
  opacity: 0.95;
}

.mid-gif img {
  max-width: 220px;
  height: auto;
  animation: floatGif 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 240, 255, 0.4));
}

@media (max-width: 1100px) {
  .mid-gif {
    position: absolute;
    top: 30%;
    left: 105%;
    transform: translate(-50%, -40%);
    z-index: 5;
    pointer-events: none;
    opacity: 0.95;
  }
  .mid-gif img {
    max-width: 170px;
    height: auto;
    animation: floatGif 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 240, 255, 0.3));
  }
}

@media (max-width: 520px) {
  .mid-gif {
    position: absolute;
    top: 54%;
    left: 95%;
    transform: translate(-50%, -40%);
    z-index: 5;
    pointer-events: none;
    opacity: 0.95;
  }
  .mid-gif img {
    max-width: 200px;
    height: auto;
    animation: floatGif 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 240, 255, 0.3));
  }
}

/* Optional floating animation */
@keyframes floatGif {
  0%, 100% {
    transform: translate(-50%, -40%) translateY(0);
  }
  50% {
    transform: translate(-50%, -40%) translateY(-12px);
  }
}

.game-info {
  display: none;
  animation: fadeIn 0.6s ease;
}

.game-info.active {
  display: block;
}

/* === GAME CONTENT === */
.info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.info-content .text {
  flex: 0 0 35%;
}
.trailer-container {
  flex: 0 0 65%;
}

.info-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 8px rgba(150, 130, 255, 0.5);
  margin-bottom: 0.6rem;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f2ecff;
  margin-bottom: 1.2rem;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.info-content ul li {
  margin: 0.5rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fafafa;
}

.release-info {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #dcd8ff;
  line-height: 1.5;
}

/* === CTA BUTTONS === */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: rgba(140, 120, 255, 0.1);
  border: 3px solid rgba(180, 160, 255, 0.25);
  border-radius: 24px;
  padding: 10px 24px;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.cta-buttons a:hover {
  background: rgba(160, 140, 255, 0.25);
  box-shadow: 0 0 20px rgba(160, 140, 255, 0.3);
  transform: translateY(-2px);
}




.trailer-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

/* Pseudo-obramowanie */
.trailer-container::before {
  content: "";
  position: absolute;
  top: -0px;
  left: -0px;
  right: -0px;
  bottom: -0px;
  background: rgba(180, 160, 255, 0.6);
  clip-path: ellipse(87% 100% at 87% 38%);
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 1;
}

/* Faktyczny element video/trailer */
.trailer {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  clip-path: ellipse(87% 100% at 87% 38%);
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  filter: contrast(1.1) brightness(1.05);
  z-index: 2;
  overflow: hidden;
  scale: 0.99;
}

@media (max-width: 1100px) {
  .trailer-container {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 2rem;
    flex-direction: column;
  }
  .info-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .info-content .text {
    order: 1;
    width: 100%;
    max-width: 700px;
  }
  .trailer-container {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }
  .info-content .text {
    flex-direction: column;
    align-items: center;
  }
  .trailer-container::before {
    display: none; /* ukrywamy pseudo-obramowanie */
  }
  .trailer {

    position: relative;   /* wraca do normalnego przepływu */
    top: 0;
    right: 0;
    width: 100%;
    height: 350px;         /* lub np. 400px, jeśli wolisz stałą wartość */
    margin-top: 1rem;

    z-index: 2;           /* nad tłem */
    position: relative;
    margin-top: 1rem;
    clip-path: none;
    border-radius: 24px;
    overflow: hidden;
    background: #000;

    /* zwykła ramka */
    border: 3px solid rgba(180, 160, 255, 0.5);
    box-shadow: 0 0 30px rgba(180, 160, 255, 0.2);
    scale: 1;
  }
  .trailer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* === ANIMACJA PULSUJĄCEJ POŚWIATY === */
@keyframes edgePulse {
  0%, 100% {
    box-shadow:
      0 0 50px 15px rgba(180, 160, 255, 0.25),
      0 0 20px 4px rgba(200, 180, 255, 0.1);
  }
  50% {
    box-shadow:
      0 0 80px 25px rgba(200, 180, 255, 0.35),
      0 0 40px 8px rgba(255, 255, 255, 0.15);
  }
}


/* --- VIDEO --- */
.trailer video {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  z-index: 1;
}



/* === MUTE TOGGLE BUTTON === */
.mute-toggle {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.01) url("assets/icon-sound-off.png") center/60% no-repeat;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 3;
}

.mute-toggle.unmuted {
  background: rgba(0, 0, 0, 0.01) url("assets/icon-sound-on.png") center/60% no-repeat;
}




/* === ANIMACJE === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


.icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  filter: brightness(1.6) drop-shadow(0 0 2px rgba(180, 160, 255, 0.4));
}

/* === MOKITON WORLD === */
.mokiton-world {
  background: url("assets/bg-moki.png") center/cover no-repeat;
  padding: 40px 5% 80px;
  text-align: center;
  color: #fffafc;
  margin-top: -90px;
}

.moki-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(120, 100, 250, 0.2);
}


.mokiton-world h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #fffafc;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);

}

.mokiton-world .subtitle {
  font-size: 1.4rem;
  color: #fffafc;
  margin-bottom: 1.6rem;
}

.mokiton-world .intro {
  max-width: 850px;
  margin: 0 auto 2.8rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #392f6c;
}

.moki-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.moki-card {
  
  border-radius: 28px;
  padding: 1.8rem;
  max-width: 320px;
  color: #392f6c;
 
  transition: all 0.3s ease;
}

.moki-card img {
  width: 100%;
 border: 2px solid rgba(120, 90, 255, 0.25);
  border-radius: 100%;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(100, 80, 200, 0.1);

}

.moki-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #392f6c;
}

.moki-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #392f6c;
}

.moki-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(160, 140, 255, 0.25);
}

.journey-text {
  max-width: 700px;
  margin: 3rem auto 0;
   font-size: 1.1rem;
  font-weight: 600;
  color: #392f6c;
  line-height: 1.7;
  font-style: italic;
}




/* === ABOUT SECTION === */

#moki-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(190deg, #0c0923 9%, #21a8ff 53%, #8037e9 98%);
  pointer-events: none;
}

  .about-section {
    text-align: left;
    margin-bottom: 3rem;
    padding-bottom: 0;
    margin-top: -1rem;
  }

  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto auto;
    padding: 1rem 3rem 3.5rem;
  }

  
  @media (min-width: 992px) {
    .about-grid {
      flex-direction: row;
    }
  }

  .about-text {
    flex: 1;
    max-width: 800px;
  }

  .about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd36b;
  }

  .about-text p {
    margin-bottom: 1.2rem;
    color: #fffafc;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .about-text a {
    color: #fd63ab;
    text-decoration: none;
    font-weight: 600;
  }
  .about-text a:hover {
    color: #fff; /* lub np. jaśniejszy róż: #ff8fc7 */
    text-shadow: 0 0 8px rgba(255, 150, 200, 0.6);
  }

  .about-logo img {
    max-width: 200px;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.1));
  }
.about-logo img {
  animation: spinPulse 6s infinite ease-in-out;
}

@keyframes spinPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(1.5deg) scale(1.05); }
}
  /* === CRAZY GOAT LOGO HOVER === */
  .about-logo img {
    max-width: 200px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255, 240, 200, 0.15));
    position: relative;
    overflow: hidden;
  justify-content: left;
  }

/* efekt blasku i lekkiego powiększenia */
.about-logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 25px rgba(255, 220, 150, 0.6));
}


.about-logo img:hover::before {
  animation: shine 1.2s forwards;
}


  /* efekt blasku i lekkiego powiększenia */
  .about-logo img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(255, 220, 150, 0.6));
  }

  
  .about-logo img:hover::before {
    animation: shine 1.2s forwards;
  }

  .icon-mail {
  transform: scale(1.6);
  padding: 10px;
    vertical-align: middle;
  }

/* === FOOTER === */


.footer-middle a:hover {
  opacity: 1;
  color: #ffd36b;
}

.discord-btn img {
  width: 160px;
  height: auto;
}
.new-footer {
  background: url("assets/bg-footer.gif") center/cover no-repeat;
  background-color:  #0d0a24 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;

}

.new-footer h2 {
   font-size: 1.3rem;
  font-weight: 800;
  color: #392f6c;
  line-height: 1.9;
 animation: subtitlePulse 6s ease-in-out infinite;
 }

.new-footer h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #392f6c;
  line-height: 1.7;
 }

.footer-grid {
  display: flex;
 border-top: none;
  text-align: center;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left, .footer-middle, .footer-right {
  flex: 1 1 250px;
  margin: 9rem 0 10rem;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 70px;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.1));
}

.footer-logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(255,255,255,0.3));
}

.logo-cgg {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
}
.logo-cgg li a img {
filter: brightness(0.86);
  height: 60px;
  transition: all 0.25s ease;
  border-radius: 5%;
}
.logo-cgg li a img:hover {
  opacity: 0.8;
  transform: scale(1.09);
 filter: drop-shadow(0 0 18px rgba(160, 140, 255, 0.4));
}


/* === Social icons === */
.social-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  margin-top: 2rem;
}
.social-icons li a img {
  width: 35px;
  height: 35px;
  opacity: 1;
  transition: all 0.25s ease;
  border-radius: 50%;
  filter: brightness(0.86);
}
.social-icons li a img:hover {
  opacity: 0.8;
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(160, 140, 255, 0.4);
}

/* === Discord === */
.discord-btn {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  margin-top: 2rem;
}
.discord-btn li a img {
  transition: all 0.25s ease;
  border-radius: 5%;
  filter: brightness(0.86);
}
.discord-btn li a img:hover {
  opacity: 0.8;
  transform: scale(1.09);
 filter: drop-shadow(0 0 18px rgba(160, 140, 255, 0.4));
}


/* === Responsive === */
@media (max-width: 820px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 0;       
  }

  .footer-left, .footer-middle, .footer-right {
    flex: 1 1 100%;
    max-width: 500px;
  }

  .footer-logos {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .logo-cgg li a img {
    height: 50px; /* odrobinę mniejsze loga */
  }

  .social-icons {
    margin-top: 1.5rem;
    gap: 0.8rem;
  }

  .discord-btn {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* === Game GIF === */

.footer-gif {
  position: absolute;
  top: 50%;
  left: 87%;
  transform: translate(-50%, -40%);
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}

.footer-gif img {
  max-width: 150px;
  height: auto;
  animation: floatGif 6s ease-in-out infinite;
  filter: drop-shadow(0 0 9px rgba(85, 76, 85, 0.5)) contrast(1.9) brightness(1.5);
}

@media (max-width: 1640px) {
  .footer-gif {
  position: absolute;
  top: 90%;
  left: 67%;
  transform: translate(-50%, -40%);
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}
}

/* === Responsive === */
@media (max-width: 820px) {
  .footer-gif {
  position: absolute;
  top: 99%;
  left: 67%;
  transform: translate(-50%, -40%);
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}
.footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 7rem 7rem !important;  /* wymuszenie nadpisania */
    gap: 5rem !important;
  }
  .footer-left, .footer-middle, .footer-right {
    flex: 1 1 100%;
    max-width: 500px;
    padding: 0 !important;
    margin: 0 !important;
    margin: 0 !important;
  }
  .footer-left h2,
  .footer-middle h2,
  .footer-right h2,
  .footer-left h3,
  .footer-middle h3,
  .footer-right h3,
  .footer-grid p {
    margin-top: 0.1rem !important;
    margin-bottom: 0.3rem !important;
  }

  .footer-logos,
  .social-icons,
  .discord-btn {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
  }

  .logo-cgg {
    margin: 0.5rem 0 !important;
  }

  .new-footer {
    padding-top: 0rem !important;
    padding-bottom: 2rem !important;
  }
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-right: 1rem;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #faf5f2;
  border-radius: 10px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 9, 35, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    display: none;
    width: 100%;
    z-index: 1000;
  }

  nav.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: inline-block;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    width: auto;
    max-width: 90%;
  }

  .cookie-link img {
    width: 33px;
    height: 33px;
  }

  .cookie-link {
    margin: 1rem 0;
  }

  .btn-contact {
    display: inline-block;
    width: auto;
    max-width: 90%;
    margin: 1rem auto;
    padding: 0.6rem 1.2rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 24px;
  }
}