:root {
  --bg: #05070d;
  --panel: rgba(10, 14, 23, 0.76);
  --panel-strong: rgba(12, 18, 30, 0.94);
  --text: #f5f7fc;
  --muted: #a9b3c7;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f1b738;
  --blue: #1d95e2;
  --purple: #8b4be8;
  --silver: #e8edf5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(241, 183, 56, 0.14), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(139, 75, 232, 0.14), transparent 28%),
    radial-gradient(circle at 48% 78%, rgba(29, 149, 226, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 45%);
  z-index: -4;
}
.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.72), transparent 78%);
}
.orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -2;
}
.orb-gold { background: var(--gold); top: 18%; left: -140px; }
.orb-blue { background: var(--blue); bottom: 14%; left: 30%; }
.orb-purple { background: var(--purple); top: 20%; right: -130px; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(18px);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
}
.nav-logo { width: 50px; height: 50px; object-fit: contain; object-position: center; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); color: var(--muted); font-size: 0.9rem; }
.nav-links a { text-decoration: none; transition: color 0.2s ease, text-shadow 0.2s ease; }
.nav-links a:hover { color: var(--text); text-shadow: 0 0 18px rgba(255,255,255,0.35); }
.nav-toggle { display:none; color: var(--text); background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; }

.section-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.panel-frame {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), transparent 36%),
    rgba(10, 14, 23, 0.72);
  box-shadow: var(--shadow), inset 0 0 70px rgba(255,255,255,0.03);
}
.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  padding: 78px 0 92px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 900;
}
.hero h1, .section-heading h2, .about-section h2, .statement-card h2, .contact-card h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero h1 { max-width: 760px; font-size: clamp(2.55rem, 7vw, 5.8rem); }
.hero-text { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #07090e; background: linear-gradient(135deg, var(--gold), #f7dc82); box-shadow: 0 12px 30px rgba(241,183,56,0.18); }
.button.secondary { border: 1px solid rgba(255,255,255,0.16); color: var(--text); background: rgba(255,255,255,0.035); }
.hero-visual { display: grid; place-items: center; }
.hero-logo {
  width: clamp(360px, 48vw, 700px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(29,149,226,0.14)) drop-shadow(0 0 26px rgba(241,183,56,0.11));
}

.about-section, .pillars-section, .values-section, .game-section, .contact-section { padding: 86px 0; }
.section-label { display: inline-flex; margin-bottom: 22px; color: var(--blue); font-size: 0.78rem; text-transform: uppercase; font-weight: 900; letter-spacing: 0.24em; }
.two-column { display:grid; grid-template-columns:minmax(260px, .85fr) minmax(300px, 1.15fr); gap:clamp(26px, 5vw, 72px); padding:clamp(28px, 5vw, 54px); border-radius:var(--radius); }
.about-section h2, .section-heading h2, .statement-card h2, .contact-card h2 { font-size: clamp(2rem, 4.8vw, 4.2rem); }
.copy-block p, .section-heading p, .pillar-card p, .value-card p, .contact-card p, .game-card p { color: var(--muted); line-height: 1.75; font-size: 1rem; }
.copy-block p:first-child { margin-top: 0; }
.copy-block p:last-child { margin-bottom: 0; }
.section-heading { max-width: 820px; margin: 0 auto 36px; text-align: center; }
.section-heading p { margin: 18px auto 0; max-width: 700px; }
.pillar-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-card { position: relative; overflow: hidden; border-radius: 28px; padding: 24px; border: 1px solid var(--line); background: rgba(9,13,21,0.68); box-shadow: 0 18px 46px rgba(0,0,0,0.28); }
.pillar-card::before { content:""; position:absolute; inset:0; opacity:.18; pointer-events:none; }
.pillar-card.gold::before { background: radial-gradient(circle at 50% 18%, var(--gold), transparent 46%); }
.pillar-card.blue::before { background: radial-gradient(circle at 50% 18%, var(--blue), transparent 46%); }
.pillar-card.purple::before { background: radial-gradient(circle at 50% 18%, var(--purple), transparent 46%); }
.pillar-image-wrap { height: 230px; display:grid; place-items:center; margin-bottom: 10px; }
.pillar-symbol { object-fit: contain; width: 100%; height: 100%; filter: drop-shadow(0 18px 26px rgba(0,0,0,.5)); }
.mission-symbol { max-width: 210px; }
.how-symbol { max-width: 220px; }
.why-symbol { max-width: 230px; }
.pillar-kicker { display:inline-flex; color: var(--gold); text-transform: uppercase; letter-spacing:.18em; font-size:.75rem; font-weight:900; margin-bottom: 8px; }
.pillar-card.blue .pillar-kicker { color: var(--blue); }
.pillar-card.purple .pillar-kicker { color: var(--purple); }
.pillar-card h3, .value-card h3, .game-card h3 { margin: 0 0 12px; font-size: 1.35rem; }
.pillar-card p { margin: 0; }
.statement-section { width: min(1120px, calc(100% - 40px)); margin: 10px auto; }
.statement-card { border-radius: 30px; padding: clamp(26px, 5vw, 46px); display:grid; grid-template-columns: 150px 1fr; align-items:center; gap: 28px; }
.statement-logo { width: 150px; height: auto; object-fit: contain; }

.game-card { border-radius: var(--radius); padding: clamp(24px, 4vw, 42px); display:grid; grid-template-columns: minmax(280px, .78fr) minmax(360px, 1.22fr); gap: clamp(24px, 4vw, 42px); align-items: stretch; }
.game-badge { display:inline-flex; width: fit-content; margin-bottom: 14px; padding: 8px 12px; border: 1px solid rgba(241,183,56,.28); border-radius: 999px; color: var(--gold); background: rgba(241,183,56,.08); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.game-copy h3 { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.05; margin-bottom: 18px; }
.tagalog-line { color: #d6def0 !important; border-left: 3px solid var(--blue); padding-left: 16px; }
.game-actions { display:flex; flex-wrap:wrap; gap: 12px; margin-top: 26px; }
.game-frame-shell { min-height: 420px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #020308; position: relative; box-shadow: inset 0 0 80px rgba(0,0,0,.7); }
.game-frame-shell iframe { position:absolute; inset:0; width:100%; height:100%; border:0; display:none; background:#000; }
.game-frame-shell.is-loaded iframe { display:block; }
.game-frame-shell.is-loaded .game-placeholder { display:none; }
.game-placeholder { position:absolute; inset:0; display:grid; place-items:center; align-content:center; gap: 12px; padding: 30px; text-align:center; color: var(--muted); }
.game-placeholder p { margin: 0; color: var(--text); font-weight: 800; }
.game-placeholder span { font-size: .92rem; }
.placeholder-orbit { width: 110px; height: 110px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); position:relative; box-shadow: 0 0 40px rgba(29,149,226,.15); }
.placeholder-orbit::before, .placeholder-orbit::after { content:""; position:absolute; inset: 18px; border-radius:50%; border: 3px solid transparent; border-top-color: var(--gold); border-left-color: var(--blue); border-right-color: var(--purple); animation: spin 4s linear infinite; }
.placeholder-orbit::after { inset: 38px; animation-duration: 2.8s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.values-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { border: 1px solid var(--line); border-radius: 24px; background: rgba(9,13,21,.58); padding: 24px; }
.value-icon { width: 16px; height: 16px; border-radius:999px; display:block; margin-bottom: 18px; }
.gold-dot { background: var(--gold); box-shadow:0 0 22px rgba(241,183,56,.45); }
.blue-dot { background: var(--blue); box-shadow:0 0 22px rgba(29,149,226,.45); }
.purple-dot { background: var(--purple); box-shadow:0 0 22px rgba(139,75,232,.45); }
.silver-dot { background: var(--silver); box-shadow:0 0 22px rgba(232,237,245,.36); }
.contact-card { border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); text-align:center; }
.contact-card p { max-width: 720px; margin-left:auto; margin-right:auto; }
.contact-email { display:inline-flex; margin-top: 14px; color: var(--text); font-weight: 900; font-size: clamp(1rem, 3vw, 1.5rem); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 5px; }
.site-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 50px 0 62px; color: var(--muted); text-align:center; border-top: 1px solid rgba(255,255,255,.1); }
.footer-logo { width: 210px; margin: 0 auto 18px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .hero, .two-column, .game-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero-visual { order: -1; }
  .hero-logo { width: min(620px, 94vw); }
  .pillar-grid, .values-grid { grid-template-columns: 1fr; }
  .statement-card { grid-template-columns: 1fr; text-align:center; }
  .statement-logo { margin: 0 auto; }
}
@media (max-width: 720px) {
  .site-header { align-items: center; }
  .nav-toggle { display:inline-flex; }
  .nav-links { position: absolute; top: 100%; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5,7,13,.94); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .brand-mark span { display:none; }
  .section-shell, .statement-section, .site-footer { width: min(100% - 28px, 1180px); }
  .hero h1 { font-size: clamp(2.35rem, 13vw, 4rem); }
  .pillar-image-wrap { height: 210px; }
  .game-frame-shell { min-height: 330px; }
}
