:root {
  --sky-top: #87ceeb;
  --sky-bottom: #fef9c3;
  --grass: #7ed957;
  --pink: #ff6bb5;
  --orange: #ff9f43;
  --purple: #a855f7;
  --blue: #3b82f6;
  --yellow: #fde047;
  --ink: #1e293b;
  --white: #ffffff;
  --font-display: "Baloo 2", cursive;
  --font-body: "Comic Neue", "Comic Sans MS", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, #b8e8ff 35%, var(--sky-bottom) 70%, #d4f5bc 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Bulutlar */
.clouds {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  opacity: 0.92;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.06));
  animation: cloudDrift linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud--1 {
  width: 100px;
  height: 36px;
  top: 12%;
  left: -120px;
  animation-duration: 45s;
}

.cloud--1::before {
  width: 44px;
  height: 44px;
  top: -22px;
  left: 18px;
}

.cloud--1::after {
  width: 56px;
  height: 56px;
  top: -28px;
  left: 48px;
}

.cloud--2 {
  width: 130px;
  height: 42px;
  top: 22%;
  left: -160px;
  animation-duration: 60s;
  animation-delay: -20s;
}

.cloud--2::before {
  width: 52px;
  height: 52px;
  top: -26px;
  left: 24px;
}

.cloud--2::after {
  width: 64px;
  height: 64px;
  top: -32px;
  left: 58px;
}

.cloud--3 {
  width: 90px;
  height: 32px;
  top: 8%;
  left: -100px;
  animation-duration: 38s;
  animation-delay: -10s;
}

.cloud--3::before {
  width: 40px;
  height: 40px;
  top: -20px;
  left: 14px;
}

.cloud--3::after {
  width: 48px;
  height: 48px;
  top: -24px;
  left: 40px;
}

@keyframes cloudDrift {
  to {
    transform: translateX(calc(100vw + 200px));
  }
}

.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.7);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(147, 197, 253, 0.35));
  animation: bubbleUp linear forwards;
}

@keyframes bubbleUp {
  to {
    transform: translateY(-110vh) translateX(30px);
    opacity: 0;
  }
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 4px solid var(--pink);
  backdrop-filter: blur(8px);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand__star {
  display: inline-block;
  animation: spinStar 4s linear infinite;
}

@keyframes spinStar {
  0%, 90% { transform: rotate(0); }
  95% { transform: rotate(20deg) scale(1.2); }
  100% { transform: rotate(0); }
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.menu a {
  padding: 0.25rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.menu a:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.menu__btn {
  background: var(--orange);
  color: #fff !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  border: 3px solid var(--ink) !important;
  box-shadow: 4px 4px 0 var(--ink);
}

.menu__btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

main {
  position: relative;
  z-index: 2;
}

/* Splash */
.splash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.splash__tag {
  display: inline-block;
  background: var(--yellow);
  border: 3px solid var(--ink);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 1rem;
}

.splash__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--ink);
  text-shadow: 3px 3px 0 #fff;
}

.wobble {
  display: inline-block;
  color: var(--pink);
  animation: wobble 1.2s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.05); }
}

.splash__desc {
  font-size: 1.15rem;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.splash__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}

.pill:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.pill--sun {
  background: linear-gradient(180deg, #fde047, #fbbf24);
  color: var(--ink);
}

.pill--cloud {
  background: #fff;
  color: var(--blue);
}

.pill--big {
  width: 100%;
  font-size: 1.15rem;
  cursor: pointer;
}

.splash__stage {
  position: relative;
  min-height: 360px;
}

.sun {
  position: absolute;
  top: 0;
  right: 10%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #fef08a, #facc15);
  border-radius: 50%;
  border: 4px solid var(--ink);
  box-shadow: 0 0 40px rgba(250, 204, 21, 0.6);
  animation: sunPulse 3s ease-in-out infinite;
}

.sun::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 3px dashed rgba(250, 204, 21, 0.5);
  border-radius: 50%;
  animation: sunSpin 12s linear infinite;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes sunSpin {
  to { transform: rotate(360deg); }
}

.char {
  position: absolute;
  filter: drop-shadow(4px 6px 0 rgba(0, 0, 0, 0.15));
}

.char--bunny {
  left: 5%;
  bottom: 15%;
  animation: hop 2s ease-in-out infinite;
}

.char--robot {
  right: 5%;
  top: 18%;
  animation: bob 2.5s ease-in-out infinite;
}

.char--dino {
  left: 35%;
  top: 5%;
  animation: wiggleChar 3s ease-in-out infinite;
}

@keyframes hop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-18px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes wiggleChar {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.splash__photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(320px, 85%);
  border-radius: 24px;
  border: 5px solid #fff;
  outline: 4px solid var(--pink);
  box-shadow: 8px 8px 0 var(--purple);
  transform: rotate(3deg);
  animation: photoFloat 4s ease-in-out infinite;
}

@keyframes photoFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}

.pop-in {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: popIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.pop-in--2 { animation-delay: 0.15s; }
.pop-in--3 { animation-delay: 0.3s; }
.pop-in--4 { animation-delay: 0.45s; }

@keyframes popIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sections */
.strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  text-align: center;
  margin: 0 0 1.75rem;
  color: var(--purple);
  text-shadow: 2px 2px 0 #fff;
}

.section-title--left {
  text-align: left;
}

.bounce-title {
  animation: titleBounce 2s ease-in-out infinite;
}

@keyframes titleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.strip--fun {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  margin-top: 1rem;
  border: 4px dashed var(--pink);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 6px 6px 0 var(--blue);
  transition: transform 0.25s;
}

.game-card:hover {
  transform: rotate(-1deg) scale(1.03);
}

.game-card__emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
  animation: emojiDance 1.5s ease-in-out infinite;
}

.game-card:nth-child(2) .game-card__emoji { animation-delay: -0.3s; }
.game-card:nth-child(3) .game-card__emoji { animation-delay: -0.6s; }
.game-card:nth-child(4) .game-card__emoji { animation-delay: -0.9s; }

@keyframes emojiDance {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.game-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: var(--orange);
}

.game-card p {
  margin: 0;
  font-size: 0.95rem;
}

.strip__lead {
  text-align: center;
  max-width: 32rem;
  margin: -0.75rem auto 1.5rem;
  font-size: 1.1rem;
}

.hero-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hero-carousel::-webkit-scrollbar {
  height: 10px;
}

.hero-carousel::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 999px;
}

.hero-card {
  flex: 0 0 200px;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 24px;
  border: 3px solid var(--ink);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.12);
}

.hero-card--1 { box-shadow: 6px 6px 0 #ef4444; }
.hero-card--2 { box-shadow: 6px 6px 0 #ec4899; }
.hero-card--3 { box-shadow: 6px 6px 0 #8b5cf6; }
.hero-card--4 { box-shadow: 6px 6px 0 #f59e0b; }
.hero-card--5 { box-shadow: 6px 6px 0 #22c55e; }

.hero-card__face {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: facePop 2s ease-in-out infinite;
}

.hero-card:nth-child(even) .hero-card__face {
  animation-delay: -1s;
}

@keyframes facePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.hero-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.88rem;
}

.strip--party {
  padding-bottom: 3rem;
}

.party-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #fce7f3, #e0f2fe);
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 10px 10px 0 var(--orange);
}

.party-box__visual {
  position: relative;
}

.party-box__visual img {
  border-radius: 20px;
  border: 4px solid #fff;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.party-box__stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.party-box__stickers span {
  position: absolute;
  font-size: 2rem;
  animation: stickerOrbit 4s ease-in-out infinite;
}

.party-box__stickers span:nth-child(1) { top: -8px; left: 10%; }
.party-box__stickers span:nth-child(2) { top: 20%; right: -8px; animation-delay: -1s; }
.party-box__stickers span:nth-child(3) { bottom: 10%; left: -6px; animation-delay: -2s; }
.party-box__stickers span:nth-child(4) { bottom: -10px; right: 15%; animation-delay: -3s; }

@keyframes stickerOrbit {
  0%, 100% { transform: rotate(-10deg) scale(1); }
  50% { transform: rotate(10deg) scale(1.15); }
}

.check-fun {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-fun li {
  padding: 0.4rem 0 0.4rem 2rem;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
}

.check-fun li::before {
  content: "🎉";
  position: absolute;
  left: 0;
}

.gallery-fun {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.gallery-fun__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-fun__grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 4px 4px 0 var(--purple);
  transition: transform 0.3s;
}

.gallery-fun__grid figure:hover {
  transform: scale(1.05) rotate(2deg);
  z-index: 2;
}

.gallery-fun__grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.strip--invite {
  padding-bottom: 4rem;
}

.invite-card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 12px 12px 0 var(--pink);
}

.invite-card h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--blue);
}

.invite-card p {
  margin: 0 0 1.25rem;
}

.invite-float {
  position: absolute;
  font-size: 2rem;
  animation: floatSticker 3s ease-in-out infinite;
}

.invite-float { top: -12px; left: 8%; }
.invite-float--2 { top: 10%; right: 5%; animation-delay: -1s; }
.invite-float--3 { bottom: 20%; left: -4px; animation-delay: -2s; }

@keyframes floatSticker {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.invite-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.invite-form input {
  padding: 0.75rem 1rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fefce8;
}

.invite-form input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.invite-msg {
  min-height: 1.5em;
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--grass);
}

.foot {
  text-align: center;
  padding: 1.5rem;
  background: var(--grass);
  border-top: 4px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

.foot a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--purple);
  text-decoration: underline;
}

.tilt.is-visible {
  animation: cardTiltIn 0.6s ease backwards;
}

@keyframes cardTiltIn {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@media (max-width: 900px) {
  .splash {
    grid-template-columns: 1fr;
  }

  .splash__stage {
    min-height: 300px;
    order: -1;
  }

  .party-box {
    grid-template-columns: 1fr;
  }

  .gallery-fun__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .burger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-bottom: 4px solid var(--pink);
    transform: translateY(-120%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
  }

  .menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .char--bunny { width: 90px; height: auto; }
  .char--robot { width: 80px; height: auto; }
  .char--dino { width: 100px; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .pop-in {
    opacity: 1;
    transform: none;
  }
}
