*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, sans-serif;
  background: #009cff;
  color: #ffffff;
  overflow: hidden;
}

/* ROOT FULLPAGE SCROLL */

.page {
  height: 100vh;
}

.scroll-root {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

/* TEK EKRANLIK SECTION */

.screen {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-inner {
  max-width: 1200px;
  width: 100%;
  padding: 2.5rem 2rem;
}

/* GLASS THEME */

.glass {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

/* (top-divider class tanımlı kalsa da HTML'de kullanılmıyor, zararsız) */
.top-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 2rem;
}

/* HERO */

.hero-screen {
  background: transparent;
}

.studio-hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.studio-logo {
  max-width: 220px;
  margin-bottom: 1.2rem;
}

.hero-title {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero-tagline {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* SECTION TITLE */

.section-title {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ================= OUR GAMES (YATAY SCROLL) ================= */

.games-inner {
  padding: 4rem 2rem;
}

.games-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.6rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.game-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
}

.game-thumb {
  width: 100%;
  aspect-ratio: 462 / 174;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.game-name {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.game-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ================= ABOUT ================= */

.about-inner {
  padding: 4rem 3rem;
}

.about-text {
  max-width: 780px;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ================= SUPPORT ================= */

.support-inner {
  padding: 4rem 3rem;
  text-align: center;
}

.support-email-box {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.email-icon {
  width: 96px;
  height: 96px;
  opacity: 0.95;
}

.support-email-box a {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.support-email-box a:hover {
  text-decoration: underline;
}

/* ================= SOCIAL ================= */

.social-inner {
  padding: 4rem 3rem;
  text-align: center;
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: rgba(255, 255, 255, 0.9);
}

/* ================= LEGAL ================= */

.legal-inner {
  padding: 3rem 2rem;
  text-align: center;
}

.legal-title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.legal-links {
  font-size: 0.85rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.legal-links a:hover {
  color: #ffffff;
}

.legal-separator {
  margin: 0 0.3rem;
  opacity: 0.7;
}

/* ================= SCROLL REVEAL ================= */

.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .screen-inner {
    padding: 2rem 1.4rem;
  }

  .games-inner,
  .about-inner,
  .support-inner,
  .social-inner {
    padding: 3rem 1.4rem;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .game-card {
    flex: 0 0 240px;
  }

  .email-icon {
    width: 80px;
    height: 80px;
  }

  .support-email-box a {
    font-size: 1.4rem;
  }
}
