/*
Theme Name: RB7 Game Portfolio
Theme URI: https://rb7gaming.games/
Author: RB7 Technology Inc.
Author URI: https://www.rb7gaming.com/
Description: Custom responsive WordPress theme for RB7 Gaming with game videos, animated game-icon wall, technology showcase, and article support.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rb7-game-portfolio
*/

:root {
  --ink: #07090d;
  --ink-soft: #0d1118;
  --panel: #111721;
  --line: rgba(255, 255, 255, 0.12);
  --white: #f5f7fa;
  --muted: #99a4b4;
  --blue: #2e8cff;
  --cyan: #66d9ff;
  --gold: #f6c75a;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "IBM Plex Sans Thai", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 82px; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid transparent;
  transition: .35s ease;
}
.site-header.scrolled { background: rgba(7, 9, 13, .88); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 30px rgba(46,140,255,.25); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; font-family: "Space Grotesk", sans-serif; }
.brand-copy b { font-size: 18px; letter-spacing: .16em; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .25em; margin-top: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; color: #c6ccd5; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.site-nav > a:hover::after { width: 100%; }
.nav-cta { border: 1px solid rgba(246,199,90,.45); color: var(--gold); padding: 10px 16px; border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 0; padding: 12px; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: white; margin: 6px 0; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
  padding-top: 130px;
  padding-bottom: 80px;
}
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 100vh; z-index: -1; background: radial-gradient(circle at 72% 40%, rgba(28,101,183,.23), transparent 31%), linear-gradient(110deg, rgba(246,199,90,.04), transparent 40%); }
.eyebrow, .kicker { font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: .23em; font-weight: 600; color: var(--gold); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 24px 0 28px; font-size: clamp(54px, 6.2vw, 92px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
.hero-copy > p { max-width: 650px; color: #aeb7c5; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 24px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: .25s ease; }
.button-primary { color: #0c0e11; background: var(--gold); border-color: var(--gold); }
.button-primary:hover { background: #ffe091; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(246,199,90,.18); }
.button-ghost:hover { border-color: var(--blue); color: var(--cyan); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px; color: #778291; font: 11px "Space Grotesk", sans-serif; letter-spacing: .08em; }
.hero-notes span { display: flex; align-items: center; gap: 8px; }
.hero-notes i { width: 5px; height: 5px; border-radius: 50%; background: #43f0a4; box-shadow: 0 0 12px #43f0a4; }

.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; width: 80%; height: 80%; position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(46,140,255,.17), transparent 65%); filter: blur(12px); }
.orbit { position: absolute; border: 1px solid rgba(102,217,255,.18); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); top: 8%; left: 24%; }
.orbit-one { width: 510px; height: 510px; animation: spin 18s linear infinite; }
.orbit-two { width: 410px; height: 410px; border-style: dashed; animation: spin 26s linear infinite reverse; }
.core-card { position: relative; z-index: 2; width: min(440px, 90%); min-height: 500px; padding: 26px; border: 1px solid rgba(102,217,255,.25); background: linear-gradient(145deg, rgba(19,29,42,.92), rgba(8,12,18,.84)); box-shadow: 0 34px 90px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.05); backdrop-filter: blur(14px); transform: perspective(900px) rotateY(-5deg) rotateX(2deg); }
.core-card::before, .core-card::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--gold); }
.core-card::before { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.core-card::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.core-topline { display: flex; justify-content: space-between; color: #8e9bac; font: 10px "Space Grotesk", sans-serif; letter-spacing: .16em; }
.core-topline b { color: #43f0a4; font-weight: 500; }
.core-orb { width: 250px; height: 250px; margin: 42px auto 36px; border-radius: 50%; display: grid; place-items: center; position: relative; background: radial-gradient(circle, rgba(46,140,255,.23), rgba(46,140,255,.04) 58%, transparent 60%); }
.core-orb img { width: 132px; height: 132px; object-fit: contain; position: relative; z-index: 2; filter: drop-shadow(0 10px 25px rgba(0,0,0,.45)); }
.core-ring { position: absolute; inset: 13px; border: 1px solid rgba(102,217,255,.38); border-radius: 50%; box-shadow: 0 0 40px rgba(46,140,255,.13), inset 0 0 35px rgba(46,140,255,.08); }
.core-ring::before { content: ""; position: absolute; inset: 16px; border-radius: inherit; border: 1px dashed rgba(246,199,90,.35); animation: spin 12s linear infinite; }
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.core-grid div { padding: 20px 12px 4px; border-right: 1px solid var(--line); }
.core-grid div:last-child { border: 0; }
.core-grid small { display: block; color: #718094; font: 8px "Space Grotesk", sans-serif; letter-spacing: .1em; }
.core-grid strong { display: block; margin-top: 5px; font: 500 12px "Space Grotesk", sans-serif; }
.float-tag { position: absolute; z-index: 3; padding: 8px 12px; border: 1px solid rgba(246,199,90,.28); background: rgba(7,9,13,.8); color: var(--gold); font: 9px "Space Grotesk", sans-serif; letter-spacing: .14em; }
.tag-one { top: 18%; right: -2%; }.tag-two { bottom: 22%; left: -4%; }
@keyframes spin { to { transform: rotate(360deg); } }

.signal-strip { min-width: 100%; overflow: hidden; border-block: 1px solid var(--line); display: flex; gap: 36px; align-items: center; padding: 18px 30px; color: #6e7988; white-space: nowrap; font: 11px "Space Grotesk", sans-serif; letter-spacing: .16em; justify-content: center; }
.signal-strip span { color: var(--gold); }
.intro { padding-block: 130px; display: grid; grid-template-columns: 190px 1fr; gap: 60px; }
.section-index { color: #596473; font: 11px "Space Grotesk", sans-serif; letter-spacing: .18em; }
.intro h2, .section-head h2, .security h2, .cta h2 { font-size: clamp(40px, 5vw, 67px); line-height: 1.13; letter-spacing: -.045em; font-weight: 500; }
.intro-content { max-width: 940px; }
.intro-grid { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; display: grid; grid-template-columns: repeat(2,1fr); gap: 55px; color: var(--muted); }

.technology { padding-bottom: 140px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 55px; }
.section-head > p { max-width: 410px; color: var(--muted); }
.tech-grid { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--line); }
.tech-card { min-height: 390px; padding: 30px 26px; border-block: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: .3s ease; }
.tech-card:hover { background: #0d1420; transform: translateY(-6px); border-color: rgba(46,140,255,.45); }
.card-number { color: #566171; font: 10px "Space Grotesk", sans-serif; }
.tech-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(102,217,255,.22); color: var(--cyan); font-size: 24px; margin: 45px 0 28px; }
.tech-card h3 { font: 500 22px "Space Grotesk", sans-serif; }
.tech-card p { color: var(--muted); font-size: 14px; }
.tech-card > span { margin-top: auto; color: var(--gold); font: 9px "Space Grotesk", sans-serif; letter-spacing: .14em; }

.games { padding-block: 130px; background: #0a0d12; border-block: 1px solid var(--line); }
.games-summary { display: flex; align-items: center; gap: 18px; }
.games-summary strong { color: var(--gold); font: 600 72px/1 "Space Grotesk", sans-serif; }
.games-summary span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.game-showcase { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 14px; }
.game-card { min-height: 530px; padding: 28px; position: relative; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; transition: .35s ease; isolation: isolate; }
.game-card::before { content: ""; position: absolute; inset: 0; z-index: -2; transition: transform .5s ease; }
.game-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,9,13,.08) 18%, rgba(7,9,13,.95) 82%); }
.game-card-a::before { background: radial-gradient(circle at 55% 25%, #ffb84d, transparent 23%), radial-gradient(circle at 30% 35%, #36b3f5, transparent 34%), #102441; }
.game-card-b::before { background: radial-gradient(circle at 50% 24%, #d22b4c, transparent 24%), radial-gradient(circle at 65% 45%, #47235c, transparent 35%), #160c1a; }
.game-card-c::before { background: radial-gradient(circle at 60% 22%, #ef7ac6, transparent 22%), radial-gradient(circle at 34% 42%, #6750df, transparent 38%), #17162c; }
.game-card:hover { transform: translateY(-7px); border-color: rgba(246,199,90,.5); }
.game-card:hover::before { transform: scale(1.06); }
.game-code { position: absolute; top: 25px; right: 25px; color: rgba(255,255,255,.55); font: 10px "Space Grotesk", sans-serif; letter-spacing: .14em; }
.game-symbol { position: absolute; top: 55px; left: 50%; transform: translateX(-50%); width: 165px; height: 165px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.85); font: 700 80px "Space Grotesk", sans-serif; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 0 65px rgba(255,255,255,.1), inset 0 0 35px rgba(255,255,255,.06); }
.game-card small { color: var(--gold); font: 9px "Space Grotesk", sans-serif; letter-spacing: .14em; }
.game-card h3 { font: 600 clamp(26px,3vw,40px)/1.05 "Space Grotesk", sans-serif; margin: 12px 0; }
.game-card p { color: #b2bbc7; font-size: 13px; max-width: 420px; }
.game-card b { font: 10px "Space Grotesk", sans-serif; letter-spacing: .13em; color: white; margin-top: 16px; }
.center-action { text-align: center; margin-top: 50px; }
.text-link { color: var(--gold); border-bottom: 1px solid rgba(246,199,90,.35); padding-bottom: 6px; font-weight: 500; }
.text-link span { margin-left: 20px; }

.game-wall { --wall-tile: 128px; --wall-gap: 16px; position: relative; height: clamp(720px,88svh,820px); overflow: hidden; isolation: isolate; background: radial-gradient(ellipse 70% 60% at 50% 50%,rgba(246,199,90,.1),transparent 70%),#080b10; border-bottom: 1px solid var(--line); }
.game-wall-stage { position: absolute; inset: 24px 0; perspective: 1600px; perspective-origin: 50% 46%; }
.game-wall-plane { position: absolute; left: 50%; top: 50%; width: 138%; display: flex; flex-direction: column; gap: var(--wall-gap); transform: translate(-50%,-50%) rotateX(24deg) rotate(-7deg); transform-style: preserve-3d; }
.game-wall-row { display: flex; gap: var(--wall-gap); width: max-content; animation: game-wall-scroll linear infinite; }
.game-wall-row:nth-child(1) { animation-duration: 60s; }
.game-wall-row:nth-child(2) { animation-duration: 69s; animation-direction: reverse; }
.game-wall-row:nth-child(3) { animation-duration: 78s; }
.game-wall-row:hover { animation-play-state: paused; }
@keyframes game-wall-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-16.666667% - var(--wall-gap) / 6)); } }
.game-wall-tile { position: relative; flex: 0 0 var(--wall-tile); width: var(--wall-tile); height: var(--wall-tile); overflow: hidden; border: 1px solid rgba(246,199,90,.38); border-radius: 28px; background: #111721; box-shadow: 0 18px 30px rgba(0,0,0,.48); transition: transform .35s cubic-bezier(.2,.9,.3,1.3),box-shadow .35s,border-color .35s; }
.game-wall-tile img { width: 100%; height: 100%; object-fit: cover; }
.game-wall-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg,rgba(255,255,255,.28),transparent 38%); pointer-events: none; }
.game-wall-tile:hover { transform: translateZ(40px) scale(1.12); border-color: var(--gold); box-shadow: 0 0 0 2px rgba(246,199,90,.5),0 0 40px rgba(246,199,90,.45),0 24px 40px rgba(0,0,0,.55); z-index: 2; }
.game-wall-sweep { position: absolute; inset: -20% -40%; background: linear-gradient(105deg,transparent 40%,rgba(255,225,140,.16) 48%,rgba(255,240,200,.28) 50%,rgba(255,225,140,.16) 52%,transparent 60%); animation: game-wall-sweep 7s ease-in-out infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes game-wall-sweep { 0% { transform: translateX(-60%); } 60%,100% { transform: translateX(60%); } }
.game-wall-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 34% 54% at 50% 50%,rgba(7,9,13,.98),rgba(7,9,13,.92) 45%,rgba(7,9,13,0) 76%),linear-gradient(180deg,#080b10 0%,transparent 14%,transparent 86%,#080b10 100%),linear-gradient(90deg,#080b10 0%,transparent 18%,transparent 82%,#080b10 100%); }
.game-wall-content { position: absolute; left: 50%; top: 50%; z-index: 3; width: min(560px,calc(100% - 48px)); transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.game-wall-content.reveal { transform: translate(-50%,calc(-50% + 24px)); }
.game-wall-content.reveal.visible { transform: translate(-50%,-50%); }
.game-wall-content::before { content: ""; position: absolute; left: 50%; top: 42%; z-index: -1; width: 360px; height: 360px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle,rgba(246,199,90,.35),transparent 65%); filter: blur(10px); animation: game-wall-glow 4s ease-in-out infinite; }
@keyframes game-wall-glow { 0%,100% { opacity: .6; transform: translate(-50%,-50%) scale(.9); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
.game-wall-content h2 { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; font-family: "Space Grotesk",sans-serif; }
.game-wall-content h2 strong { color: var(--gold); font-size: clamp(108px,12vw,148px); font-weight: 700; line-height: .85; filter: drop-shadow(0 6px 30px rgba(246,199,90,.42)); }
.game-wall-content h2 span { color: var(--white); font-size: clamp(24px,3vw,32px); line-height: 1.1; letter-spacing: .03em; }
.game-wall-content > p:not(.kicker) { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.game-wall-content .button { margin-top: 4px; }

.video-showcase { padding-block: 130px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 66px; align-items: center; overflow: hidden; }
.video-showcase-info h2 { margin-bottom: 24px; }
.video-rule { width: 72px; height: 2px; margin: 32px 0; background: linear-gradient(90deg,var(--gold),transparent); }
.video-meta { color: var(--cyan); font: 600 11px "Space Grotesk",sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.video-showcase-info h3 { margin: 12px 0 16px; color: var(--white); font: 600 clamp(30px,3.2vw,50px)/1.05 "Space Grotesk",sans-serif; }
.video-description { max-width: 500px; color: var(--muted); line-height: 1.75; }
.video-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.video-control { width: 48px; height: 48px; border: 1px solid var(--line); background: var(--ink-soft); color: var(--white); cursor: pointer; transition: .25s; }
.video-control:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.video-counter { min-width: 62px; color: var(--muted); text-align: right; font: 11px "Space Grotesk",sans-serif; letter-spacing: .12em; }
.video-dots { display: flex; gap: 8px; margin-top: 25px; }
.video-dot { width: 32px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.16); cursor: pointer; transition: .3s; }
.video-dot.active { width: 58px; background: var(--gold); }
.video-stage { min-width: 0; min-height: 590px; display: flex; align-items: center; gap: 12px; touch-action: pan-y; }
.video-main,.video-side { position: relative; overflow: hidden; border: 1px solid var(--line); background: #05070a; }
.video-main { width: 60%; height: 590px; z-index: 2; box-shadow: 0 32px 90px rgba(0,0,0,.55); }
.video-side { width: 20%; height: 430px; padding: 0; opacity: .55; cursor: pointer; filter: saturate(.7); transition: .35s; }
.video-side:hover { opacity: .9; filter: none; border-color: rgba(246,199,90,.5); }
.video-main video,.video-side video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-frame-corners::before,.video-frame-corners::after { content: ""; position: absolute; width: 82px; height: 82px; pointer-events: none; }
.video-frame-corners::before { top: 18px; left: 18px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.video-frame-corners::after { right: 18px; bottom: 18px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); }
.video-mute { position: absolute; right: 18px; top: 18px; z-index: 3; border: 1px solid rgba(255,255,255,.22); background: rgba(5,8,13,.76); color: var(--white); padding: 10px 14px; font: 600 10px "IBM Plex Sans Thai",sans-serif; cursor: pointer; backdrop-filter: blur(10px); }

.articles { padding-block: 125px; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-card { min-height: 410px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; background: linear-gradient(145deg,rgba(255,255,255,.025),transparent); transition: transform .3s ease,border-color .3s ease,background .3s ease; }
.article-card:hover { transform: translateY(-7px); border-color: rgba(246,199,90,.45); background: linear-gradient(145deg,rgba(246,199,90,.08),rgba(255,255,255,.015)); }
.article-card-featured { background: radial-gradient(circle at 80% 10%,rgba(46,140,255,.14),transparent 38%),linear-gradient(145deg,rgba(255,255,255,.035),transparent); }
.article-meta { display: flex; justify-content: space-between; gap: 20px; color: #687585; font: 9px "Space Grotesk",sans-serif; letter-spacing: .13em; }
.article-meta span { color: var(--gold); }
.article-card h3 { margin: 72px 0 18px; color: var(--white); font-size: clamp(23px,2.2vw,31px); line-height: 1.35; font-weight: 600; }
.article-card p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.article-card > a { margin-top: auto; padding-top: 25px; color: var(--gold); font-weight: 600; font-size: 13px; }
.article-card > a span { float: right; font: 18px "Space Grotesk",sans-serif; transition: transform .25s ease; }
.article-card > a:hover span { transform: translateX(5px); }

.seo-overview { padding-block: 120px; display: grid; grid-template-columns: .42fr 1.58fr; gap: 70px; }
.seo-overview-content h2 { max-width: 980px; }
.seo-lead { max-width: 880px; color: var(--muted); font-size: 18px; line-height: 1.85; }
.keyword-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 54px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.keyword-grid article { min-height: 235px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg,rgba(255,255,255,.025),transparent); }
.keyword-grid span { color: var(--gold); font: 10px "Space Grotesk",sans-serif; letter-spacing: .15em; }
.keyword-grid h3 { margin: 46px 0 14px; color: var(--white); font: 600 27px "IBM Plex Sans Thai",sans-serif; }
.keyword-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.faq { padding-block: 125px; }
.faq-list { max-width: 930px; margin-left: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 27px 58px 27px 0; cursor: pointer; list-style: none; color: var(--white); font-size: 21px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 24px; color: var(--gold); font: 400 28px "Space Grotesk",sans-serif; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 790px; margin: -2px 0 28px; color: var(--muted); line-height: 1.8; }
.faq details a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

.security { padding-block: 130px; }
.security-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 70px; border: 1px solid rgba(46,140,255,.24); background: radial-gradient(circle at 5% 95%, rgba(46,140,255,.14), transparent 33%), var(--ink-soft); }
.security-copy > p:last-child { color: var(--muted); max-width: 480px; }
.security-layers { border-top: 1px solid var(--line); }
.security-layers div { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.security-layers span { color: var(--gold); font: 10px "Space Grotesk", sans-serif; }
.security-layers p { margin: 0; color: var(--muted); }
.security-layers b { color: var(--white); font: 11px "Space Grotesk", sans-serif; letter-spacing: .12em; margin-right: 12px; }

.cta { text-align: center; padding-block: 100px 150px; }
.cta h2 { font-size: clamp(52px,7vw,92px); margin-bottom: 24px; }
.cta > p:not(.kicker) { color: var(--muted); margin-bottom: 35px; }
.site-footer { min-height: 145px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); color: #6f7987; font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font: 10px "Space Grotesk", sans-serif; letter-spacing: .18em; color: var(--white); }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; }
.site-footer p { text-align: center; margin: 0; }.site-footer > a { text-align: right; color: var(--gold); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .site-nav { position: fixed; inset: 82px 18px auto; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 28px; background: rgba(10,13,18,.98); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.55); backdrop-filter: blur(18px); flex-direction: column; align-items: stretch; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .site-nav.open { visibility: visible; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }
  .menu-toggle { display: block; min-width: 48px; min-height: 48px; cursor: pointer; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { text-align: center; }.eyebrow,.hero-actions,.hero-notes { justify-content: center; }.hero-copy > p { margin-inline: auto; }
  .intro,.seo-overview { grid-template-columns: 1fr; gap: 30px; }
  .keyword-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2,1fr); }
  .game-showcase { grid-template-columns: 1fr; }.game-card { min-height: 460px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 330px; }
  .video-showcase { grid-template-columns: 1fr; gap: 45px; }
  .video-showcase-info { text-align: center; }.video-rule,.video-dots { margin-inline: auto; }.video-description { margin-inline: auto; }.video-actions { justify-content: center; }
  .security-panel { grid-template-columns: 1fr; padding: 48px; gap: 45px; }
}

@media (max-height: 760px) and (min-width: 641px) {
  .game-wall { --wall-tile: 108px; --wall-gap: 14px; height: calc(100svh - 82px); min-height: 560px; }
  .game-wall-stage { inset: 14px 0; }
  .game-wall-content h2 strong { font-size: clamp(102px,10vw,124px); }
}

@media (max-width: 640px) {
  section[id] { scroll-margin-top: 70px; }
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .site-header { padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); }
  .site-header.scrolled { background: rgba(7,9,13,.94); }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy { display: none; }
  .site-nav { inset: 76px 12px auto; gap: 4px; padding: 18px; }
  .site-nav a { padding: 7px 10px; }
  .nav-cta { justify-content: center; margin-top: 6px; }
  .hero { min-height: auto; gap: 24px; padding-top: 118px; padding-bottom: 58px; }
  .hero h1 { margin: 20px 0 22px; font-size: clamp(38px, 12vw, 50px); line-height: 1.03; }
  .hero-copy > p { font-size: 16px; line-height: 1.75; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-block: 28px; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 10px 16px; }
  .hero-visual { width: 100%; min-height: 430px; overflow: hidden; }
  .orbit-one { width: min(390px, 112vw); height: min(390px, 112vw); }
  .orbit-two { width: min(320px, 92vw); height: min(320px, 92vw); }
  .core-card { width: calc(100% - 12px); min-height: 390px; padding: 18px; transform: none; }
  .core-orb { width: 190px; height: 190px; margin-block: 28px 22px; }
  .core-orb img { width: 98px; height: 98px; }
  .core-grid div { padding: 16px 7px 2px; }
  .core-grid strong { font-size: 10px; }
  .float-tag { display: none; }.signal-strip { justify-content: flex-start; }
  .signal-strip { gap: 24px; padding: 14px 16px; font-size: 9px; }
  .intro,.seo-overview,.video-showcase,.articles,.faq,.games,.security { padding-block: 72px; }
  .intro h2,.section-head h2,.security h2,.cta h2 { font-size: clamp(34px, 10vw, 46px); }
  .intro-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; }
  .seo-lead { font-size: 16px; }
  .keyword-grid { margin-top: 36px; }
  .keyword-grid article { min-height: auto; padding: 24px 20px; }
  .keyword-grid h3 { margin-top: 28px; font-size: 24px; }
  .section-head { display: block; margin-bottom: 34px; }
  .games-summary { margin-top: 25px; }
  .games-summary strong { font-size: 58px; }
  .tech-grid { grid-template-columns: 1fr; border-left: 1px solid var(--line); }.tech-card { min-height: 330px; }
  .game-card { min-height: 410px; padding: 22px 20px; }
  .game-symbol { width: 138px; height: 138px; font-size: 64px; }
  .game-wall { --wall-tile: 94px; --wall-gap: 10px; height: 580px; }
  .game-wall-stage { inset: 18px 0; perspective: 1200px; }
  .game-wall-plane { width: 190%; transform: translate(-50%,-50%) rotateX(22deg) rotate(-6deg); }
  .game-wall-tile { border-radius: 18px; }
  .game-wall-vignette { background: radial-gradient(ellipse 78% 50% at 50% 50%,rgba(7,9,13,.98),rgba(7,9,13,.92) 55%,rgba(7,9,13,0)),linear-gradient(180deg,#080b10 0%,transparent 12%,transparent 88%,#080b10 100%),linear-gradient(90deg,#080b10 0%,transparent 10%,transparent 90%,#080b10 100%); }
  .game-wall-content { width: calc(100% - 32px); gap: 12px; }
  .game-wall-content::before { width: 240px; height: 240px; }
  .game-wall-content h2 strong { font-size: 92px; }
  .game-wall-content h2 span { font-size: 22px; }
  .game-wall-content > p:not(.kicker) { max-width: 310px; font-size: 14px; }
  .game-wall-content .button { width: auto; min-width: 210px; }
  .article-card { min-height: 300px; padding: 24px 20px; }
  .article-card h3 { margin-top: 48px; font-size: 24px; }
  .video-showcase { gap: 32px; }
  .video-showcase-info { text-align: left; }
  .video-rule,.video-dots { margin-left: 0; margin-right: 0; }
  .video-actions { display: grid; grid-template-columns: 1fr 48px 48px auto; justify-content: stretch; }
  .video-actions .button { min-width: 0; padding-inline: 16px; }
  .video-counter { align-self: center; min-width: 46px; }
  .video-stage { min-height: 0; display: block; position: relative; }
  .video-main { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 72dvh; }
  .video-side { display: none; }
  .video-frame-corners::before,.video-frame-corners::after { width: 56px; height: 56px; }
  .video-frame-corners::before { top: 12px; left: 12px; }
  .video-frame-corners::after { right: 12px; bottom: 12px; }
  .video-mute { top: 12px; right: 12px; min-height: 44px; }
  .faq summary { padding-block: 22px; padding-right: 46px; font-size: 18px; }
  .security-panel { padding: 28px 20px; }.security-layers div { grid-template-columns: 38px minmax(0,1fr); }
  .security-layers p { overflow-wrap: anywhere; }
  .cta { padding-block: 72px 100px; }
  .cta .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; text-align: center; }.footer-brand { justify-content: center; }.site-footer p,.site-footer > a { text-align: center; }
}

@media (max-width: 390px) {
  .section-shell { width: min(calc(100% - 24px), var(--max)); }
  .eyebrow { font-size: 9px; letter-spacing: .16em; }
  .video-actions { grid-template-columns: repeat(2,48px) 1fr; }
  .video-actions .button { grid-column: 1 / -1; }
  .video-counter { text-align: right; }
  .security-panel { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .game-wall-row { animation-name: game-wall-scroll !important; animation-timing-function: linear !important; animation-iteration-count: infinite !important; animation-direction: normal !important; }
  .game-wall-row:nth-child(1) { animation-duration: 60s !important; }
  .game-wall-row:nth-child(2) { animation-duration: 69s !important; animation-direction: reverse !important; }
  .game-wall-row:nth-child(3) { animation-duration: 78s !important; }
  .game-wall-row:hover { animation-play-state: paused !important; }
  .reveal { opacity: 1; transform: none; }
}
