@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Unbounded:wght@500;600;700;800&display=swap');

:root {
  --ink: #16201c;
  --ink-soft: #3d4a44;
  --muted: #6b7872;
  --paper: #f3f7f4;
  --paper-deep: #e4eee8;
  --jade: #0f7a5f;
  --jade-deep: #0a5a46;
  --coral: #e85a4f;
  --line: rgba(22, 32, 28, 0.1);
  --white: #ffffff;
  --radius: 0.35rem;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Sora', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(15, 122, 95, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at -5% 30%, rgba(232, 90, 79, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fbf9 0%, var(--paper) 40%, var(--paper-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--jade-deep);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--coral);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.topbar {
  background: var(--ink);
  color: rgba(243, 247, 244, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}

.topbar i {
  color: var(--coral);
}

.site-header {
  background: rgba(248, 251, 249, 0.92);
  border-bottom: 1px solid var(--line);
}

.navbar-sc {
  padding: 1rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
  color: var(--ink);
  opacity: 0.85;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--jade);
  color: var(--white);
  font-size: 1.1rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-copy span {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  font-weight: 500;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  background: var(--jade);
  color: var(--white);
  border-color: var(--jade);
}

.nav-sc .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  position: relative;
}

.nav-sc .nav-link:hover,
.nav-sc .nav-link:focus-visible {
  color: var(--jade-deep);
  background: transparent;
}

.nav-sc .nav-link.active {
  color: var(--ink);
  font-weight: 600;
}

.nav-sc .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--coral);
}

.hero {
  position: relative;
  min-height: calc(100vh - 7.5rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../images/hero-bg.png') center / cover no-repeat;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(22, 32, 28, 0.78) 0%, rgba(22, 32, 28, 0.45) 48%, rgba(15, 122, 95, 0.22) 100%),
    linear-gradient(180deg, rgba(22, 32, 28, 0.15) 0%, rgba(22, 32, 28, 0.55) 100%);
}

.hero-ornament {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  right: 8%;
  top: 18%;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

.hero-ornament::before {
  content: '';
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(232, 90, 79, 0.35);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  width: 100%;
  padding: 5.5rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 0 0 1.1rem;
  max-width: 11ch;
}

.hero-brand span {
  color: #9fe3cf;
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  max-width: 28ch;
  margin: 0 0 0.9rem;
}

.hero-lead {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(243, 247, 244, 0.84);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-sc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.95rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-sc-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-sc-primary:hover,
.btn-sc-primary:focus-visible {
  background: #d44a40;
  color: var(--white);
}

.btn-sc-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-sc-ghost:hover,
.btn-sc-ghost:focus-visible {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-intro {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(15, 122, 95, 0.06), transparent 40%),
    var(--white);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  max-width: 16ch;
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 0;
  line-height: 1.75;
  font-size: 1.05rem;
}

.feature-list {
  margin-top: 3rem;
  display: grid;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coral);
  padding-top: 0.15rem;
}

.feature-body h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.feature-body h3 i {
  color: var(--jade);
  font-size: 1rem;
}

.feature-body p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  max-width: 42rem;
}

.section-games {
  background: var(--paper);
}

.games-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.game-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.game-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-deep);
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.2rem 1.35rem;
  flex: 1;
}

.game-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.game-name a {
  color: var(--ink);
}

.game-name a:hover,
.game-name a:focus-visible {
  color: var(--jade-deep);
}

.game-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.btn-play {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--jade);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--jade);
}

.btn-play:hover,
.btn-play:focus-visible {
  background: var(--jade-deep);
  border-color: var(--jade-deep);
  color: var(--white);
}

.section-about {
  background:
    linear-gradient(180deg, rgba(15, 122, 95, 0.05), transparent 35%),
    var(--white);
}

.section-disclaimer {
  background: var(--ink);
  color: rgba(243, 247, 244, 0.86);
}

.section-disclaimer .section-heading {
  color: var(--white);
  max-width: 18ch;
}

.section-disclaimer .section-lead {
  color: rgba(243, 247, 244, 0.72);
  max-width: 48rem;
}

.content-block {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
}

.content-block p {
  margin: 0;
  line-height: 1.8;
  font-size: 1.05rem;
}

.section-disclaimer .content-block p {
  color: rgba(243, 247, 244, 0.82);
}

.content-points {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.content-points li {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.85rem;
  align-items: start;
  line-height: 1.75;
  font-size: 1.02rem;
}

.content-points i {
  color: var(--coral);
  margin-top: 0.3rem;
}

.section-disclaimer .content-points i {
  color: #9fe3cf;
}

.section-platform {
  background: var(--paper-deep);
}

.platform-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.platform-item {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.platform-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.platform-item h3 i {
  color: var(--jade);
}

.platform-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #101814;
  padding: 3.75rem 0 2.5rem;
  color: rgba(243, 247, 244, 0.7);
}

.site-footer .brand-lockup {
  color: var(--white);
}

.site-footer .brand-lockup:hover,
.site-footer .brand-lockup:focus-visible {
  color: var(--white);
}

.site-footer .brand-copy span {
  color: rgba(243, 247, 244, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-text {
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 28rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin-bottom: 0;
}

.footer-links a {
  color: rgba(243, 247, 244, 0.88);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #9fe3cf;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
  align-items: center;
}

.footer-badges img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: grid;
  gap: 1rem;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(243, 247, 244, 0.72);
  max-width: 72rem;
}

.footer-meta {
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .nav-sc {
    margin-top: 0.85rem;
    padding: 0.65rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
  }

  .nav-sc .nav-link {
    padding: 0.7rem 0.75rem;
  }

  .nav-sc .nav-link.active::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-ornament {
    width: 11rem;
    height: 11rem;
    right: -2rem;
    top: 10%;
  }

  .games-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .topbar {
    font-size: 0.74rem;
  }

  .hero-content {
    padding: 3.5rem 0 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-sc {
    width: 100%;
  }

  .feature-row {
    grid-template-columns: 2.75rem 1fr;
    gap: 0.85rem;
  }

  .footer-badges img {
    height: 36px;
  }
}

body.sc-no-scroll {
  overflow: hidden;
  touch-action: none;
  height: 100%;
}

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(15, 122, 95, 0.08), transparent 55%),
    var(--white);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.page-hero p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.page-content {
  padding: 3.5rem 0 5rem;
}

.page-content .content-block {
  margin-top: 0;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel {
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 36rem;
}

.contact-panel strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.contact-panel a {
  font-size: 1.15rem;
  font-weight: 600;
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 4000;
}

.age-overlay {
  inset: 0;
  background: rgba(16, 24, 20, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.age-overlay.is-open {
  display: flex;
}

.age-modal {
  width: min(100%, 32rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: none;
}

.age-modal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.age-modal p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.age-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.1rem 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.age-check input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--jade);
}

.age-accept {
  width: 100%;
  border: 1px solid var(--jade);
  background: var(--jade);
  color: var(--white);
  font-weight: 600;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.age-accept:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.age-accept:not(:disabled):hover,
.age-accept:not(:disabled):focus-visible {
  background: var(--jade-deep);
  border-color: var(--jade-deep);
}

.cookie-banner {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  background: var(--ink);
  color: rgba(243, 247, 244, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}

.cookie-banner.is-open {
  display: block;
}

.cookie-banner p {
  margin: 0 0 1rem;
  line-height: 1.65;
  font-size: 0.92rem;
}

.cookie-banner a {
  color: #9fe3cf;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions button {
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-accept {
  background: var(--coral);
  color: var(--white);
}

.cookie-accept:hover,
.cookie-accept:focus-visible {
  background: #d44a40;
}

.cookie-necessary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.game-stage-wrap {
  margin: 1.5rem 0 2rem;
}

.game-disclaimer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.game-disclaimer h2 {
  margin-top: 0;
}

.game-disclaimer p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 0.85rem;
}

.game-disclaimer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
  }
}
