/* =====================================================
   GEGames · style.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --bg:     #fdf8f2;
  --bg2:    #ffffff;
  --card:   #ffffff;
  --card2:  #fff3e8;

  --coral:  #f4623a;
  --teal:   #1ab5a3;
  --amber:  #f5a623;

  --text:   #1e1410;
  --muted:  #7d6e62;
  --border: rgba(244,98,58,0.14);
  --shadow: 0 4px 28px rgba(244,98,58,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 52px;
  background: rgba(253,248,242,0.90);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }

.nav-wordmark {
  font-family: 'Fredoka One', cursive; font-size: 1.55rem;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff !important; padding: 10px 22px; border-radius: 50px;
  font-weight: 800 !important; font-size: 0.88rem !important;
  box-shadow: 0 4px 16px rgba(244,98,58,0.28);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 24px rgba(244,98,58,0.42) !important; }

/* ── HERO — full-viewport game showcase ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 52px 60px 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff8f2 0%, #ffe8d8 40%, #fde0f5 70%, #d8f5f0 100%);
}

/* animated soft blobs in the bg */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(244,98,58,0.10) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(26,181,163,0.10) 0%, transparent 45%),
    radial-gradient(circle at 55% 15%, rgba(245,166,35,0.08) 0%, transparent 35%);
  pointer-events: none;
}

/* dot grid only on hero */
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(244,98,58,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none; opacity: 0.6;
}

/* LEFT column */
.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(244,98,58,0.10); border: 1.5px solid rgba(244,98,58,0.26);
  color: var(--coral); font-size: 0.75rem; font-weight: 900;
  letter-spacing: 1.8px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 22px;
  animation: fadeUp 0.6s ease both;
}

.hero-game-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.0; margin-bottom: 16px; color: var(--text);
  animation: fadeUp 0.6s 0.10s ease both;
}

.hero-game-title .hi {
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 55%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}

.hero-tagline {
  font-size: 1.05rem; color: var(--muted); font-weight: 700;
  line-height: 1.6; margin-bottom: 32px; max-width: 380px;
  animation: fadeUp 0.6s 0.20s ease both;
}

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
  animation: fadeUp 0.6s 0.28s ease both;
}

.hero-tag {
  background: rgba(255,255,255,0.75); border: 1.5px solid var(--border);
  color: var(--muted); font-size: 0.75rem; font-weight: 800;
  padding: 5px 14px; border-radius: 50px;
  backdrop-filter: blur(4px);
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.36s ease both;
}

.btn-play-hero {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff; padding: 16px 36px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.05rem;
  text-decoration: none; box-shadow: 0 8px 28px rgba(244,98,58,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-play-hero:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(244,98,58,0.45); }

.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.80); color: var(--text);
  padding: 16px 30px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--border);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-more:hover { border-color: rgba(244,98,58,0.35); transform: translateY(-2px); }

/* RIGHT column — floating art */
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  height: 100%;
}

/* Coloured card — removes the plain white PNG box */
.hero-art-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 28px 60px rgba(0,0,0,0.18),
    0 8px 28px rgba(26,181,163,0.12),
    inset 0 1px 0 rgba(255,255,255,0.55);
  border: 2.5px solid rgba(255,255,255,0.70);
  padding: 0;
  animation: heroFloat 5s ease-in-out infinite, fadeUp 0.8s 0.15s ease both;
  transform-origin: center bottom;
}

.hero-art {
  width: 100%;
  max-width: 580px;
  object-fit: cover;
  display: block;
}

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

/* studio badge bottom-left of hero */
.studio-badge {
  position: absolute; bottom: 28px; right: 52px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.75); border: 1.5px solid var(--border);
  padding: 10px 18px; border-radius: 14px; backdrop-filter: blur(8px);
  animation: fadeUp 0.8s 0.5s ease both;
}
.studio-badge .studio-text { font-size: 0.85rem; font-weight: 800; color: var(--text); line-height: 1.3; }
.studio-badge .studio-text strong { display: block; color: var(--text); font-size: 0.85rem; }

/* ── SECOND GAME SECTION ── */
#next-game {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}

#next-game .inner {
  max-width: 1160px; margin: 0 auto;
  padding: 80px 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.next-thumb {
  background: linear-gradient(135deg, #fff4e6, #ffdbb5);
  border-radius: 22px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; position: relative; overflow: hidden;
  box-shadow: var(--shadow); border: 1.5px solid var(--border);
}
.next-thumb-deco { position: absolute; inset: 0; overflow: hidden; }
.next-thumb-deco span { position: absolute; border-radius: 50%; }
.next-thumb-deco span:nth-child(1) { width: 180px; height: 180px; background: rgba(244,98,58,0.10); top: -60px; right: -40px; }
.next-thumb-deco span:nth-child(2) { width: 110px; height: 110px; background: rgba(245,166,35,0.09); bottom: -30px; left: 20px; }
.next-thumb-emoji { position: relative; z-index: 2; animation: floatIcon 4s ease-in-out infinite; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-14px) rotate(4deg); }
}

.next-copy .section-tag { display: inline-block; font-size: 0.72rem; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.next-copy .section-title { font-family: 'Fredoka One', cursive; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 14px; color: var(--text); }
.next-copy .section-desc { color: var(--muted); font-size: 0.97rem; line-height: 1.72; font-weight: 600; margin-bottom: 20px; }

.cs-badge-inline {
  display: inline-block;
  background: var(--text); color: #fff;
  font-size: 0.68rem; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 13px; border-radius: 50px; margin-bottom: 16px;
}

.game-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  background: var(--card2); border: 1.5px solid var(--border);
  color: var(--muted); font-size: 0.73rem; font-weight: 800; padding: 4px 12px; border-radius: 50px;
}

/* ── DISTRIBUTE ── */
#distribute {
  background: var(--bg); border-top: 1px solid var(--border);
}
#distribute .inner { max-width: 1160px; margin: 0 auto; padding: 80px 52px; position: relative; z-index: 1; }

.section-tag { display: inline-block; font-size: 0.72rem; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-title { font-family: 'Fredoka One', cursive; font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.12; margin-bottom: 14px; color: var(--text); }
.section-desc { color: var(--muted); font-size: 1rem; line-height: 1.72; max-width: 480px; font-weight: 600; }

.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 44px; }

.plat-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 28px 20px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.plat-card:hover { transform: translateY(-4px); border-color: rgba(244,98,58,0.28); box-shadow: 0 12px 32px rgba(244,98,58,0.13); }
.plat-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.plat-name { font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: var(--text); margin-bottom: 5px; }
.plat-desc { color: var(--muted); font-size: 0.78rem; font-weight: 700; line-height: 1.5; }

/* ── ABOUT BAND ── */
.about-band {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
  padding: 44px 52px;
}
.about-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.about-flag { font-size: 3rem; flex-shrink: 0; }
.about-text h2 { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: #fff; margin-bottom: 6px; }
.about-text p { color: rgba(255,255,255,0.88); font-size: 0.95rem; font-weight: 600; line-height: 1.6; }
.about-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.about-chip {
  background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.30);
  color: #fff; font-size: 0.75rem; font-weight: 800;
  padding: 4px 12px; border-radius: 50px;
}

/* ── CONTACT ── */
#contact {
  text-align: center; padding: 80px 52px; position: relative; z-index: 1;
  background: var(--bg2); border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center;
}

.contact-email {
  display: inline-block;
  font-family: 'Fredoka One', cursive; font-size: 1.35rem; color: var(--coral);
  text-decoration: none;
  background: rgba(244,98,58,0.07); border: 1.5px solid rgba(244,98,58,0.22);
  padding: 18px 42px; border-radius: 16px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-email:hover { background: rgba(244,98,58,0.13); transform: scale(1.03); box-shadow: 0 8px 24px rgba(244,98,58,0.16); }

.contact-linkedin {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Fredoka One', cursive; font-size: 1.05rem; color: #0a66c2;
  text-decoration: none;
  background: rgba(10,102,194,0.07); border: 1.5px solid rgba(10,102,194,0.22);
  padding: 14px 34px; border-radius: 16px; margin-top: 14px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-linkedin:hover { background: rgba(10,102,194,0.13); transform: scale(1.03); box-shadow: 0 8px 24px rgba(10,102,194,0.16); }

.contact-label {
  font-family: 'Fredoka One', cursive; font-size: 1.8rem; color: var(--text);
  margin-bottom: 18px;
}

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 28px 52px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; position: relative; z-index: 1;
}
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-wordmark {
  font-family: 'Fredoka One', cursive; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-copy { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 800; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ABOUT SECTION ── */
#about {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.about-section-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 80px 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}

.about-body {
  color: var(--muted); font-size: 0.97rem; line-height: 1.75;
  font-weight: 600; margin-top: 16px;
}

.about-section-right {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 8px;
}

.about-pillar {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.about-pillar:hover { transform: translateY(-3px); border-color: rgba(244,98,58,0.28); }

.about-pillar-icon { font-size: 1.7rem; flex-shrink: 0; margin-top: 2px; }

.about-pillar strong {
  display: block; font-size: 0.95rem; font-weight: 900;
  color: var(--text); margin-bottom: 4px;
}
.about-pillar p { color: var(--muted); font-size: 0.82rem; font-weight: 700; line-height: 1.55; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 90px 28px 52px;
    row-gap: 0;
    min-height: auto;
  }

  /* Image floats to the top on mobile */
  .hero-left  { order: 2; align-items: center; padding-top: 20px; }
  .hero-right { order: 1; margin-top: 0; }

  .hero-tagline { max-width: 100%; }

  /* Cap the art card so it doesn't eat the whole screen */
  .hero-art-card { max-width: 360px; }
  .hero-art { max-height: 270px; }

  .hero-actions { justify-content: center; }

  .studio-badge { left: auto; right: 18px; bottom: 14px; }

  #next-game .inner { grid-template-columns: 1fr; }
  .about-section-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  nav { padding: 14px 22px; }
  .nav-links { display: none; }

  #hero {
    padding: 80px 22px 48px;
  }

  .hero-art-card { max-width: 300px; }
  .hero-art { max-height: 230px; }

  .hero-game-title { font-size: clamp(2.6rem, 11vw, 3.6rem); }

  .btn-play-hero,
  .btn-more {
    width: 100%;
    justify-content: center;
  }

  .hero-actions { flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }

  .hero-tags { justify-content: center; }

  .studio-badge { display: none; }

  #distribute .inner, #next-game .inner { padding: 52px 22px; }
  .about-section-inner { padding: 52px 22px; }
  .about-band { padding: 32px 22px; }
  #contact { padding: 52px 22px; }
  footer { padding: 22px 22px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 18px; }
}

@media (max-width: 480px) {
  .hero-art-card { max-width: 260px; }
  .hero-art { max-height: 200px; }

  .hero-eyebrow { font-size: 0.68rem; }

  .plat-grid { grid-template-columns: 1fr; }

  .about-section-inner { padding: 44px 18px; }
  #distribute .inner, #next-game .inner { padding: 44px 18px; }
}
