@import url('colors_and_type.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--canvas);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-sans);
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max-content); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ---- Buttons ---- */
.vr-btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid transparent; border-radius: var(--r-md); height: 46px; padding: 0 22px;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  transition: background .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.vr-btn i { width: 17px; height: 17px; }
.vr-btn-primary { background: var(--brand-primary); color: #fff; }
.vr-btn-primary:hover { background: var(--brand-primary-700); }
.vr-btn-primary:active { background: var(--brand-primary-800); }
.vr-btn-secondary { background: #fff; color: var(--ink); border-color: var(--hairline); }
.vr-btn-secondary:hover { box-shadow: var(--shadow-sm); border-color: var(--muted-soft); }
.vr-btn-ghost { background: transparent; color: var(--ink); }
.vr-btn-ghost:hover { color: var(--brand-primary); }
.vr-btn-on-dark { background: var(--surface-dark-elev); color: var(--on-dark); border-color: var(--hairline-dark); }
.vr-btn-on-dark:hover { background: #143a4c; }
.vr-btn-light { background: #fff; color: var(--brand-primary-800); }
.vr-btn-light:hover { background: #eef4f7; }
.vr-btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }

/* ---- Links ---- */
.text-link { color: var(--brand-primary); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link i { width: 16px; height: 16px; transition: transform .16s ease; }
.text-link:hover i { transform: translateX(3px); }

/* ---- Nav ---- */
.site-nav { position: sticky; top: 0; z-index: 60; background: rgba(245,248,250,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline); }
.site-nav.on-dark { background: rgba(6,34,47,0.78); border-bottom-color: var(--hairline-dark); }
.nav-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; gap: 28px; }
.nav-link { font-family: var(--font-sans); font-weight: 500; font-size: 15px; color: var(--muted); text-decoration: none; transition: color .15s ease; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.site-nav.on-dark .nav-link { color: var(--on-dark-soft); }
.site-nav.on-dark .nav-link:hover, .site-nav.on-dark .nav-link.active { color: var(--on-dark); }
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }

/* ---- Games dropdown ---- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.games-flyout.games-flyout-2col { min-width: 520px; }
.games-flyout-2col .games-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.games-flyout-2col .games-item { gap: 11px; padding: 11px 12px; }
.games-flyout-2col .games-item-title { white-space: nowrap; }

/* ---- Responsive games flyout ---- */
@media (max-width: 900px) {
  .games-flyout.games-flyout-2col { min-width: 300px; }
  .games-flyout-2col .games-grid { grid-template-columns: 1fr; }
}

/* ---- Games dropdown extra ---- */
.nav-dropdown-btn { font-family: var(--font-sans); font-weight: 500; font-size: 15px; background: none; border: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 5px; }
.games-flyout {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  min-width: 290px; background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 70;
}
.games-flyout::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 14px; }
.site-nav.on-dark .games-flyout { background: var(--surface-dark-elev); border-color: var(--hairline-dark); }
.games-item { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: var(--r-md); text-decoration: none; transition: background .14s ease; }
.games-item:hover { background: var(--surface-soft); }
.site-nav.on-dark .games-item:hover { background: var(--surface-dark-soft); }
.games-item-ic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: var(--r-md); background: var(--brand-primary-soft); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; }
.games-item-title { font-family: var(--font-sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.games-item-desc { font-family: var(--font-sans); font-size: 13px; color: var(--muted); }
.games-item-arrow { margin-left: auto; color: var(--muted-soft); }
.games-item:hover .games-item-arrow { color: var(--brand-primary); }
.games-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 5px 2px; padding: 11px; border-radius: var(--r-md); font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; color: var(--brand-primary); text-decoration: none; border-top: 1px solid var(--hairline); border-radius: 0; }
.games-all:hover { color: var(--brand-primary-700); }
.site-nav.on-dark .games-all { border-top-color: var(--hairline-dark); color: var(--brand-cyan); }
.site-nav.on-dark .games-item-title { color: var(--on-dark); }
.site-nav.on-dark .games-item-desc { color: var(--on-dark-soft); }
.mobile-menu-label { font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); padding: 16px 0 4px; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 10px 32px 22px; border-bottom: 1px solid var(--hairline); background: var(--canvas); }
.mobile-menu a { font-family: var(--font-sans); font-weight: 500; font-size: 17px; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--hairline-soft); }

/* ---- Section eyebrow ---- */
.eyebrow { font-family: var(--font-sans); font-weight: 600; font-size: 12px; line-height: 1.4; letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand-primary); }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Generic ---- */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-sm { padding-top: 64px; padding-bottom: 64px; }
.band-soft { background: var(--surface-soft); }
.band-dark { background: var(--surface-dark); }
.hairline { height: 1px; background: var(--hairline); border: 0; }

/* ---- Photography gallery ---- */
.photo-fig:hover .photo-expand { opacity: 1 !important; }
.photo-expand:hover { background: rgba(6,34,47,0.78) !important; }

.game-card { transition: box-shadow .16s ease, transform .16s ease; }
.game-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---- Game play page footer ---- */
.game-bar { height: 64px; border-top: 1px solid var(--hairline-dark); background: var(--surface-dark); }
.game-bar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-bar-btn { font-family: var(--font-sans); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; text-decoration: none; border-radius: var(--r-md); padding: 10px 18px; border: 1px solid var(--hairline-dark); background: var(--surface-dark-elev); color: var(--on-dark); transition: background .15s ease; }
.game-bar-btn:hover { background: #143a4c; }
.game-bar-btn i { width: 17px; height: 17px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links, .nav-cta-desk { display: none !important; }
  .menu-btn { display: inline-flex; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr 1fr !important; }
  .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .photo-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .exp-hero { grid-template-columns: 1fr !important; }
  .exp-dl { grid-template-columns: 1fr !important; }
  .section { padding-top: 68px; padding-bottom: 68px; }
}
@media (max-width: 760px) {
  .policy-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .policy-toc { position: static !important; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .photo-grid { grid-template-columns: 1fr !important; }
  .game-bar-title { display: none; }
  .game-bar-btn { padding: 10px 14px; font-size: 14px; }
}
