@font-face {
  font-family: 'Helvetica Neue';
  src: url('../Fonts/HelveticaNeue.ttc') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Alphakind';
  src: url('../Fonts/Alphakind.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --green: #8DC63F;
  --pink: #EC008C;
  --purple: #662D91;
  --blue: #29ABE2;
  --yellow: #FFD700;
  --orange: #F7941D;
  --red: #ED1C24;
  --cyan: #00AEEF;
  --black: #111111;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', 'Nunito', sans-serif;
  background: var(--white);
  overflow-x: hidden;
  cursor: default;
}

/* ── INTRO SCREEN (5s Animation) ── */
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--purple);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
}

#intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-bg {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, var(--pink) 0%, transparent 60%);
  animation: introBgRotate 10s linear infinite;
  z-index: 1;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.intro-logo-container {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.intro-logo {
  position: relative;
  z-index: 5;
  width: 380px;
  max-width: 80vw;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: introLogoAnim 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
}

.intro-char {
  position: absolute;
  width: 140px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  opacity: 0;
  z-index: 1; /* Logoya göre arkada kalsın */
}

/* Bottom Right */
.intro-char-1 {
  bottom: -60px;
  right: -130px;
  animation: introCharEnterBR 1.2s 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, float 3s ease-in-out infinite 1.6s;
  width: 160px;
}

/* Bottom Left */
.intro-char-2 {
  bottom: -40px;
  left: -140px;
  animation: introCharEnterBL 1.2s 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, float 2.8s ease-in-out infinite 1.8s;
  width: 170px;
}

/* Top Right */
.intro-char-3 {
  top: -60px;
  right: -110px;
  animation: introCharEnterTR 1.2s 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, float 3.2s ease-in-out infinite 2.0s;
}

/* Top Left - Moved to Far Bottom Left */
.intro-char-4 {
  bottom: 10px;
  left: -220px;
  animation: introCharEnterTL 1.2s 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, float 3.1s ease-in-out infinite 2.2s;
  width: 150px;
}

/* Top Center */
.intro-char-5 {
  top: -150px;
  left: 50%;
  margin-left: -70px;
  animation: introCharEnterTC 1.2s 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, float 2.9s ease-in-out infinite 2.4s;
}

.intro-skip {
  position: absolute;
  bottom: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 3;
}

@keyframes introBgRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes introLogoAnim {
  0% {
    transform: scale(0.4) rotate(-15deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes introCharEnterBR {
  0% { transform: translate(100px, 100px) rotate(20deg); opacity: 0; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes introCharEnterBL {
  0% { transform: translate(-100px, 100px) rotate(-20deg); opacity: 0; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes introCharEnterTR {
  0% { transform: translate(100px, -100px) rotate(15deg); opacity: 0; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes introCharEnterTL {
  0% { transform: translate(-100px, -100px) rotate(-15deg); opacity: 0; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

@keyframes introCharEnterTC {
  0% { transform: translate(0, -100px) rotate(0deg); opacity: 0; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 20px;
  height: 20px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10001;
  /* Above Intro */
  transition: transform 0.15s ease, background 0.15s ease;
  mix-blend-mode: multiply;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--yellow);
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--pink);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ── LANGUAGE SELECTOR ── */
.lang-selector {
  display: flex;
  gap: 12px;
  margin-left: 20px;
}

.lang-link {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--purple);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  background: var(--white);
}

.lang-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-link:hover {
  border-color: var(--pink);
  transform: scale(1.1) rotate(5deg);
}

.lang-link.active {
  border-color: var(--pink);
  box-shadow: 0 0 10px rgba(236, 0, 140, 0.3);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--green);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* Blob shapes */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: var(--blue);
  top: -100px;
  left: 50%;
  transform: translateX(-30%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: var(--pink);
  bottom: -80px;
  left: -80px;
  border-radius: 50% 60% 40% 70% / 60% 40% 60% 40%;
}

.blob-3 {
  width: 380px;
  height: 380px;
  background: var(--purple);
  bottom: -60px;
  right: -40px;
  border-radius: 40% 60% 70% 30% / 50% 40% 60% 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 0 5% 0 7%;
}

.hero-logo-box {
  margin-bottom: 20px;
}

.hero-main-logo {
  height: 120px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Luckiest Guy', cursive;
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 3px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

.hero-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  text-shadow: 4px 4px 0 var(--purple), 7px 7px 0 rgba(0, 0, 0, 0.15);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--yellow);
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  border: 4px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hero-cta:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--black);
}

.hero-chars {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.char-group {
  display: flex;
  align-items: flex-end;
  gap: -20px;
}

.char-img {
  width: 220px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s;
  animation: float 3s ease-in-out infinite;
}

.char-img:nth-child(1) {
  animation-delay: 0s;
  width: 180px;
}

.char-img:nth-child(2) {
  animation-delay: 0.5s;
  width: 230px;
  z-index: 3;
}

.char-img:nth-child(3) {
  animation-delay: 1s;
  width: 180px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* ── CHARACTERS SECTION ── */
#karakterler {
  padding: 100px 7%;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  font-family: 'Luckiest Guy', cursive;
  font-size: 0.85rem;
  letter-spacing: 3px;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Luckiest Guy', cursive;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--purple);
  text-shadow: 1px 1px 0 var(--pink);
}

.chars-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.char-card {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.char-bubble {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--black);
  box-shadow: 5px 5px 0 var(--black);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  position: relative;
}

.char-bubble img {
  width: 140%;
  object-fit: cover;
  transform: translateY(10%);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

.char-card:hover .char-bubble {
  transform: translate(-4px, -4px) rotate(-3deg);
  box-shadow: 9px 9px 0 var(--black);
}

.char-name {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.2rem;
  margin-top: 14px;
  color: var(--black);
}

.char-desc {
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  text-align: center;
  margin-top: 4px;
}

/* Bubble colors per char */
.char-bobo .char-bubble {
  background: linear-gradient(135deg, #FF6B6B, #E8133A);
}

.char-lily .char-bubble {
  background: linear-gradient(135deg, #FFB3D9, #EC008C);
}

.char-melo .char-bubble {
  background: linear-gradient(135deg, #B5E853, #5CB85C);
}

.char-mimilo .char-bubble {
  background: linear-gradient(135deg, #D5AAFF, #9B59B6);
}

.char-nibi .char-bubble {
  background: linear-gradient(135deg, #87EEFF, #29ABE2);
}

/* ── PRODUCTS SECTION ── */
#urunler {
  padding: 100px 7%;
  background: linear-gradient(180deg, #f8f0ff 0%, #e8f8ff 100%);
  position: relative;
}

.products-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1rem;
  letter-spacing: 1.5px;
  padding: 10px 28px;
  border-radius: 50px;
  border: 3px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  cursor: pointer;
  background: var(--white);
  color: var(--black);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--purple);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Reduced gap for smaller screens */
  }
}

@media (max-width: 600px) {
  #urunler {
    padding: 60px 4%;
  }

  .products-grid {
    gap: 12px;
  }

  .product-img-wrap {
    height: 180px;
    padding: 15px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 0.95rem;
  }

  .product-flavor {
    font-size: 0.75rem;
  }

  .product-card {
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--black);
    border-radius: 16px;
  }
}

.product-card {
  background: var(--white);
  border-radius: 24px;
  border: 4px solid var(--black);
  box-shadow: 8px 8px 0 var(--black);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.product-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--black);
}

.product-img-wrap {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08) rotate(-2deg);
}

.product-info {
  padding: 24px 24px 28px;
  border-top: 4px solid var(--black);
}

.product-cat {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.4rem;
  color: var(--black);
  line-height: 1.2;
}

.product-flavor {
  font-size: 0.82rem;
  font-weight: 700;
  color: #666;
  margin-top: 4px;
}

/* Product card color themes */
.card-belt .product-img-wrap {
  background: linear-gradient(135deg, #FFF3B0, #FFD700);
}

.card-pencil .product-img-wrap {
  background: linear-gradient(135deg, #D5AAFF, #9B59B6);
}

.card-lolly .product-img-wrap {
  background: linear-gradient(135deg, #B5E8FF, #29ABE2);
}

.card-belt .product-cat {
  color: var(--orange);
}

.card-pencil .product-cat {
  color: var(--purple);
}

.card-lolly .product-cat {
  color: var(--blue);
}

/* hidden products */
.product-card.hidden {
  display: none;
}

/* ── ABOUT SECTION ── */
#hakkimizda {
  padding: 100px 7%;
  background: var(--purple);
  position: relative;
  overflow: hidden;
}

.about-blob-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  top: -100px;
  right: -100px;
}

.about-blob-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 40% 60% 70% 30%;
  bottom: -60px;
  left: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text .section-tag {
  background: var(--yellow);
  color: var(--black);
}

.about-text .section-title {
  color: var(--white);
  text-shadow: 1px 1px 0 var(--yellow);
  text-align: left;
}

.about-body {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.8;
  margin-top: 24px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-box {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
}

.stat-num {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.2rem;
  color: var(--yellow);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-chars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-char-img {
  width: 100%;
  border-radius: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  aspect-ratio: 1;
}

.about-char-img img {
  width: 90%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s;
}

.about-char-img:hover img {
  transform: scale(1.1);
}

.about-char-img.big {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

/* ── CONTACT SECTION ── */
#iletisim {
  padding: 100px 7%;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

.contact-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  top: -80px;
  right: 10%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.contact-info .section-title {
  color: var(--black);
  text-shadow: 1px 1px 0 var(--purple);
  text-align: left;
}

.contact-info .section-tag {
  background: var(--purple);
}

.contact-items {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-brand-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-right: 15px;
}

.truva-brand .contact-text {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.25rem;
  color: var(--black);
  line-height: 1.2;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--purple);
  border: 3px solid var(--black);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.6;
}

.contact-text strong {
  font-family: 'Luckiest Guy', cursive;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 2px;
  color: var(--purple);
}

/* MAP */
.contact-map {
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--black);
  overflow: hidden;
  height: 100%;
  min-height: 450px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}



/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 50px 7% 30px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  height: 48px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-copy {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content {
    width: 100%;
    padding-bottom: 340px;
  }

  .hero-chars {
    width: 100%;
    height: 320px;
    top: auto;
    bottom: 0;
  }

  .char-img {
    width: 140px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-chars {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-char-img.big {
    grid-column: span 2;
  }

  .nav-links {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .char-img {
    width: 110px;
  }

  .about-chars {
    grid-template-columns: 1fr 1fr;
  }

  .about-char-img.big {
    display: none;
  }
}

/* ── MODAL ── */
.modal {
  display: flex;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  padding: 20px;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: var(--white);
  border: 6px solid var(--black);
  border-radius: 40px;
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  box-shadow: 20px 20px 0 var(--pink);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: var(--black);
  font-size: 44px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.modal-close:hover {
  color: var(--pink);
  transform: rotate(90deg);
}

.modal-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

.modal-body img {
  width: auto;
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
  margin-bottom: 30px;
  transition: transform 0.3s;
}

.modal-body:hover img {
  transform: scale(1.03);
}

.modal-info {
  text-align: center;
}

.modal-info h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.2rem;
  color: var(--purple);
  margin-bottom: 10px;
}

.modal-info p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #666;
}

@media (max-width: 768px) {
  .modal-content {
    border-radius: 30px;
    box-shadow: 12px 12px 0 var(--pink);
  }

  .modal-body {
    padding: 30px 20px;
  }

  .modal-info h3 {
    font-size: 1.6rem;
  }
}

/* ── CHARACTER MODAL ── */
.char-modal-content {
  max-width: 800px;
  border-color: var(--pink);
  box-shadow: 20px 20px 0 var(--yellow);
}

.char-intro-header {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px dashed rgba(0, 0, 0, 0.1);
}

.char-modal-img-wrap {
  width: 160px;
  height: 160px;
  background: white;
  border: 4px solid var(--black);
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--black);
}

.char-modal-img-wrap img {
  width: 130%;
  object-fit: cover;
}

.char-modal-title h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 2.8rem;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 5px;
}

.char-tag {
  display: inline-block;
  padding: 4px 15px;
  background: var(--pink);
  color: white;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.char-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.char-detail-box {
  background: #fdfdfd;
  border: 3px solid var(--black);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  gap: 15px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.char-detail-box:hover {
  transform: translateY(-3px);
}

.detail-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.detail-text strong {
  display: block;
  font-family: 'Luckiest Guy', cursive;
  font-size: 1rem;
  color: var(--purple);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.detail-text p {
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .char-intro-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .char-details-grid {
    grid-template-columns: 1fr;
  }
}