/* =====================================================================
   GAME THIS. — the home page and its components (loaded after app.css)
   ===================================================================== */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
body.gt { background: var(--bg); }
.gt main { position: relative; z-index: 2; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.4s; background: radial-gradient(circle, rgba(255, 43, 214, 0.13), rgba(0, 240, 255, 0.05) 40%, transparent 70%); }
.cursor-glow.on { opacity: 1; }

/* header */
.gt-top { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.gt .ca-bar ~ .gt-top { top: 46px; }
.gt-top-in { display: flex; align-items: center; gap: 20px; padding: 18px 0; }
.gt-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none !important; }
.gt-logo b, .gt-foot b { font: 900 20px/1 var(--px); letter-spacing: -0.02em; }
.gt-logo i, .gt-foot i { font-style: normal; color: var(--yellow); }
.gt-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #06030c; background: linear-gradient(135deg, var(--pink), var(--cyan)); box-shadow: 0 0 24px rgba(255, 43, 214, 0.55); }
.gt-top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font: 600 14px var(--body); }
.gt-top nav a { color: rgba(255, 255, 255, 0.78); }
.gt-top nav a:hover { color: #fff; text-decoration: none; }
.gt-top .nav-cta { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(212, 255, 0, 0.6); color: var(--yellow); }
.gt-top .nav-cta:hover { background: rgba(212, 255, 0, 0.12); }

/* hero */
.gt-hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 70%, #3b0a4f, #06030c 70%); }
.gt-hero #bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s; }
.gt-hero #bg.on { opacity: 1; }
.gt-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.gt-hero-in { text-align: center; padding: 120px 0 90px; }
.gt-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(6, 3, 12, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); font: 600 13px var(--mono); letter-spacing: 0.02em; color: #fff; }
.gt-kicker b { color: var(--yellow); }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(57, 255, 136, 0.7); animation: gt-pulse 1.8s infinite; }
.pulse.hot { background: var(--yellow); }
@keyframes gt-pulse { 0% { box-shadow: 0 0 0 0 rgba(57, 255, 136, 0.6); } 70% { box-shadow: 0 0 0 12px rgba(57, 255, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 255, 136, 0); } }

.gt-title { position: relative; margin: 24px 0 14px; white-space: nowrap; font: 900 clamp(42px, 10.4vw, 170px)/0.9 var(--px); letter-spacing: -0.06em; color: #fff; text-shadow: 0 0 40px rgba(255, 43, 214, 0.55), 0 0 120px rgba(255, 43, 214, 0.35); }
.gt-title::before, .gt-title::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.gt-title::before { color: var(--cyan); animation: glitch-a 3.2s infinite steps(1); }
.gt-title::after { color: var(--pink); animation: glitch-b 3.2s infinite steps(1); }
@keyframes glitch-a { 0%, 86%, 100% { transform: none; clip-path: inset(0 0 100% 0); } 87% { transform: translate(-6px, 2px); clip-path: inset(12% 0 64% 0); } 90% { transform: translate(5px, -2px); clip-path: inset(58% 0 20% 0); } 93% { transform: translate(-3px, 0); clip-path: inset(30% 0 45% 0); } }
@keyframes glitch-b { 0%, 86%, 100% { transform: none; clip-path: inset(100% 0 0 0); } 88% { transform: translate(6px, -2px); clip-path: inset(70% 0 8% 0); } 91% { transform: translate(-5px, 2px); clip-path: inset(8% 0 72% 0); } 94% { transform: translate(3px, 0); clip-path: inset(44% 0 34% 0); } }
.gt-cursor { color: var(--yellow); animation: gt-blink 1.05s steps(1) infinite; text-shadow: 0 0 30px rgba(212, 255, 0, 0.8); }
@keyframes gt-blink { 50% { opacity: 0; } }
.gt-sub { max-width: 680px; margin: 0 auto; font: 500 clamp(16px, 2vw, 20px)/1.55 var(--body); color: rgba(255, 255, 255, 0.82); }
.gt-sub b { color: #fff; }

/* the composer: an X post box with a neon edge running around it */
.composer { position: relative; max-width: 720px; margin: 34px auto 0; padding: 2px; border-radius: 22px; background: conic-gradient(from var(--spin), var(--pink), var(--cyan), var(--yellow), var(--pink)); animation: gt-spin 4s linear infinite; box-shadow: 0 20px 80px rgba(255, 43, 214, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06); }
@keyframes gt-spin { to { --spin: 360deg; } }
.composer-in { border-radius: 20px; background: rgba(8, 4, 16, 0.94); backdrop-filter: blur(16px); padding: 16px 16px 14px; text-align: left; }
.composer-row { display: flex; align-items: center; gap: 12px; }
.composer-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #06030c; background: linear-gradient(135deg, var(--pink), var(--cyan)); }
.composer input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: #fff; font: 500 19px var(--body); }
.composer input::placeholder { color: rgba(255, 255, 255, 0.4); }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.composer-hint { font: 500 13px var(--mono); color: rgba(255, 255, 255, 0.5); }
.composer-hint b { color: var(--yellow); }

/* the arcade button: chunky, lit, presses down */
.arcade-btn { position: relative; border: 0; cursor: pointer; padding: 0; border-radius: 16px; background: #8a0d6e; box-shadow: 0 8px 0 #4d0640, 0 14px 30px rgba(255, 43, 214, 0.45); transform: translateY(-2px); transition: transform 0.08s, box-shadow 0.08s; text-decoration: none !important; display: inline-block; }
.arcade-btn span { display: block; padding: 16px 26px; border-radius: 16px; font: 900 16px var(--px); letter-spacing: 0.02em; color: #fff; background: linear-gradient(180deg, #ff5fe3, var(--pink) 55%, #d4129f); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.15); white-space: nowrap; }
.arcade-btn:hover span { filter: brightness(1.08); }
.arcade-btn:active { transform: translateY(5px); box-shadow: 0 2px 0 #4d0640, 0 6px 14px rgba(255, 43, 214, 0.35); }
.arcade-btn:disabled { filter: grayscale(0.4) brightness(0.8); cursor: wait; }
.arcade-btn.small span { padding: 13px 20px; font-size: 13px; }

.gt .err { max-width: 720px; margin: 14px auto 0; }
.gt-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font: 500 14px var(--mono); color: rgba(255, 255, 255, 0.72); }
.gt-stats b { color: #fff; font-weight: 700; }
.gt-stats span { display: inline-flex; align-items: center; gap: 8px; }
.gt-stats a { color: var(--yellow); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, 0.4); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: gt-cue 1.6s infinite; }
@keyframes gt-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* sections */
.gt main section { padding: 70px 0; }
.gt-sec-head { margin-bottom: 30px; }
.gt-sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gt-label { display: inline-block; font: 600 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.gt-h2 { margin: 0; font: 900 clamp(34px, 5.4vw, 72px)/0.95 var(--px); letter-spacing: -0.045em; color: #fff; }
.gt-h2 em { font-style: normal; background: linear-gradient(90deg, var(--pink), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* showcase: the tweet beams into its game */
.sc-stage { display: grid; grid-template-columns: minmax(0, 0.85fr) 90px minmax(0, 1.25fr); align-items: center; gap: 10px; }
.xpost { padding: 18px; border-radius: 18px; background: #000; border: 1px solid #2f3336; color: #e7e9ea; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04); transform: rotate(-2deg); }
.xpost-head { display: flex; align-items: center; gap: 12px; }
.xpost-head img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #222; }
.xpost-head div { display: grid; line-height: 1.25; min-width: 0; }
.xpost-head b { font: 800 16px var(--body); }
.xpost-head span { color: #71767b; font-size: 15px; }
.xlogo { margin-left: auto; font-style: normal; font: 700 22px Arial, sans-serif; }
.xpost p { margin: 14px 0 0; font: 400 18px/1.45 var(--body); overflow-wrap: anywhere; }
.xpost-foot { display: flex; justify-content: space-between; margin-top: 14px; color: #71767b; font-size: 14px; }
.sc-beam { position: relative; height: 10px; }
.sc-beam i { position: absolute; top: 3px; left: 0; width: 22px; height: 4px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 14px var(--yellow); opacity: 0; }
.sc-stage.go .sc-beam i { animation: gt-beam 1.4s cubic-bezier(0.5, 0, 0.5, 1) infinite; }
.sc-stage.go .sc-beam i:nth-child(2) { animation-delay: 0.25s; background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.sc-stage.go .sc-beam i:nth-child(3) { animation-delay: 0.5s; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes gt-beam { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; } }
.sc-stage.go .sc-tweet { animation: gt-drop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.sc-stage.go .sc-game { animation: gt-zoom 0.8s 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1) both; }
@keyframes gt-drop { from { opacity: 0; transform: translateX(-30px); } }
@keyframes gt-zoom { from { opacity: 0; transform: perspective(900px) rotateY(-14deg) scale(0.9); } }
.sc-game { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 25 / 16; background: #000; box-shadow: 0 30px 100px rgba(255, 43, 214, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.08); text-decoration: none !important; }
.sc-game img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.sc-game:hover img { transform: scale(1.04); }
.sc-play { position: absolute; right: 16px; bottom: 16px; padding: 10px 16px; border-radius: 12px; font: 900 13px var(--px); color: #06030c; background: var(--yellow); box-shadow: 0 6px 0 #7d9600; }
.sc-title { position: absolute; left: 16px; top: 14px; padding: 6px 12px; border-radius: 10px; font: 900 14px var(--px); color: #fff; background: rgba(6, 3, 12, 0.75); backdrop-filter: blur(6px); }
.sc-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sc-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--dim); font: 600 13px var(--mono); cursor: pointer; }
.sc-tabs button img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.sc-tabs button.on { color: #fff; border-color: var(--pink); box-shadow: 0 0 24px rgba(255, 43, 214, 0.35); }

/* tilt: anything with .tilt leans toward the pointer and catches a highlight */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out; transform-style: preserve-3d; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.12), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.tilt:hover::after { opacity: 1; }

/* the games wall */
.gt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gcard { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.gcard:hover { border-color: rgba(255, 43, 214, 0.6); box-shadow: 0 20px 60px rgba(255, 43, 214, 0.25); }
.gcard-art { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #2a0f3f, #0b2a3a) center / cover; }
.gcard-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #06030c; background: var(--yellow); box-shadow: 0 0 30px rgba(212, 255, 0, 0.7); transform: scale(0.6); opacity: 0; transition: 0.25s; }
.gcard:hover .gcard-play { transform: scale(1); opacity: 1; }
.gcard-tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; font: 600 11px var(--mono); color: #06030c; background: var(--yellow); }
.gcard-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.gcard-body b { font: 700 15px var(--px); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gcard-body span { font: 500 13px var(--mono); color: var(--dim); }
.gt .tabs button { font-family: var(--mono); }

/* steps */
.gt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gt-step { position: relative; padding: 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)); border: 1px solid var(--line); overflow: hidden; }
.gt-step .n { display: block; font: 900 64px/1 var(--px); letter-spacing: -0.06em; background: linear-gradient(180deg, var(--cyan), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gt-step h3 { margin: 10px 0 8px; font: 700 22px var(--px); letter-spacing: -0.02em; }
.gt-step p { margin: 0; color: var(--dim); line-height: 1.6; }

/* coin panels */
.gt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gt-panel { position: relative; padding: 28px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.gt-panel.hot { border-color: rgba(255, 43, 214, 0.45); box-shadow: inset 0 0 80px rgba(255, 43, 214, 0.08); }
.gt-panel h3 { margin: 0 0 8px; font: 900 28px var(--px); letter-spacing: -0.03em; }
.gt-panel p { margin: 0 0 18px; }
.gt-inline { display: flex; gap: 10px; }
.gt-inline .input { flex: 1; }
.gt .small { font-size: 13px; margin-top: 10px; }

.gt .faq details { border-color: var(--line); }
.gt-foot { position: relative; z-index: 2; padding: 40px 0 90px; border-top: 1px solid var(--line); }
.gt-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

@media (max-width: 900px) {
  .sc-stage { grid-template-columns: minmax(0, 1fr); }
  .sc-beam { height: 50px; width: 10px; margin: 0 auto; transform: rotate(90deg); }
  .xpost { transform: none; }
  .gt-steps, .gt-split { grid-template-columns: minmax(0, 1fr); }
  .gt-top nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .composer-foot { flex-direction: column; align-items: stretch; }
  .composer-hint { text-align: center; }
  .arcade-btn span { text-align: center; }
  .gt-inline { flex-direction: column; }
  .gt-hero-in { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .gt-title::before, .gt-title::after, .composer, .pulse, .gt-cursor, .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
