:root {
  --navy: #050816;
  --navy-2: #07152f;
  --gloss: #08070d;
  --ruby: #e51b4f;
  --purple: #6d3cff;
  --violet: #b14cff;
  --gold: #ffe66d;
  --emerald: #00f29a;
  --blue: #14a7ff;
  --pink: #ff477e;
  --orange: #ff7a1a;
  --champagne: #fff4ce;
  --text: #f8f6ff;
  --muted: #c8c1e4;
  --panel: rgba(10, 14, 38, 0.72);
  --panel-strong: rgba(8, 9, 22, 0.88);
  --border: rgba(255, 230, 109, 0.25);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --radius-lg: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 10%, rgba(229, 27, 79, 0.34), transparent 30rem),
    radial-gradient(circle at 86% 20%, rgba(20, 167, 255, 0.28), transparent 28rem),
    radial-gradient(circle at 55% 74%, rgba(0, 242, 154, 0.16), transparent 26rem),
    linear-gradient(135deg, #03040d 0%, #07152f 45%, #12051f 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(115deg, transparent 10%, rgba(0, 242, 154, 0.14) 30%, transparent 48%),
    linear-gradient(72deg, transparent 20%, rgba(255, 71, 126, 0.16) 54%, transparent 72%);
  filter: blur(28px);
  animation: auroraFlow 14s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #090710;
  background: var(--gold);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 230, 109, 0.16);
  background: rgba(3, 5, 15, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: "Bungee", "Poppins", sans-serif;
  font-size: 1.18rem;
  line-height: 1;
  color: var(--champagne);
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("../images/gameornex-logo.png") center / cover no-repeat;
  box-shadow: 0 0 22px rgba(255, 230, 109, 0.48), 0 0 34px rgba(20, 167, 255, 0.22);
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 244, 206, 0.36);
  box-shadow: inset 0 0 16px rgba(255, 230, 109, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a,
.footer-links a {
  position: relative;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.94rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--blue));
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.footer-links a:hover,
.footer-links a.active {
  color: var(--champagne);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  min-width: max-content;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 999px;
  color: var(--champagne);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #080710;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--pink));
  box-shadow: 0 0 28px rgba(255, 122, 26, 0.28), 0 12px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-120%);
  transition: transform 480ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 0 34px rgba(255, 230, 109, 0.42), 0 16px 36px rgba(0, 0, 0, 0.32);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-secondary {
  color: var(--champagne);
  background:
    linear-gradient(var(--panel-strong), var(--panel-strong)) padding-box,
    linear-gradient(135deg, var(--blue), var(--violet), var(--emerald)) border-box;
  border: 1px solid transparent;
}

.btn-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.92rem;
}

.btn-pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 71, 126, 0.28), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(0, 242, 154, 0.18), transparent 30rem),
    linear-gradient(120deg, rgba(8, 9, 22, 0.9), rgba(22, 10, 54, 0.72));
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255, 230, 109, 0.12), transparent, rgba(20, 167, 255, 0.16), transparent, rgba(255, 71, 126, 0.14), transparent);
  animation: slowSpin 24s linear infinite;
  opacity: 0.72;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 15, 0.92), rgba(3, 5, 15, 0.58) 48%, rgba(3, 5, 15, 0.86)),
    url("../images/gameornex-banner.png") center / cover;
  opacity: 0.34;
  filter: saturate(1.12);
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 66px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 12px;
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 999px;
  color: var(--champagne);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 26px rgba(177, 76, 255, 0.16);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--champagne);
  line-height: 1.12;
}

h1,
.section-title,
.policy-title {
  font-family: "Bungee", "Poppins", sans-serif;
}

h1 {
  max-width: 780px;
  font-size: 3.65rem;
}

.hero p,
.page-hero p,
.section-intro,
.policy-lead {
  color: var(--muted);
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.07);
}

.hero-visual {
  position: relative;
  min-height: 450px;
  perspective: 1200px;
}

.portal-card {
  position: absolute;
  inset: 34px 0 0 20px;
  border-radius: 38px;
  overflow: hidden;
  background: rgba(2, 4, 11, 0.38);
  box-shadow: var(--shadow), 0 0 65px rgba(20, 167, 255, 0.24);
  transform: rotateY(-9deg) rotateX(4deg);
  animation: heroFloat 7s ease-in-out infinite;
}

.portal-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.floating-panel {
  position: absolute;
  width: 190px;
  padding: 16px;
  border-radius: 8px;
  color: var(--champagne);
  background: rgba(8, 9, 22, 0.72);
  border: 1px solid rgba(255, 230, 109, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34), 0 0 34px rgba(255, 71, 126, 0.2);
  backdrop-filter: blur(16px);
  animation: panelDrift 6s ease-in-out infinite;
}

.floating-panel strong {
  display: block;
  font-family: "Bungee", "Poppins", sans-serif;
  font-size: 1rem;
}

.floating-panel span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-one {
  top: 18px;
  right: 8px;
}

.panel-two {
  left: 0;
  bottom: 40px;
  animation-delay: -2s;
}

.glow-orb {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 109, 0.96), rgba(255, 71, 126, 0.42) 48%, transparent 70%);
  filter: blur(1px);
  right: 16%;
  bottom: 16px;
  animation: orbFloat 5.8s ease-in-out infinite;
}

.section {
  padding: 84px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-header.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.15rem;
}

.section-title::after {
  content: "";
  display: block;
  height: 4px;
  width: 78%;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--pink), var(--blue), var(--emerald));
  background-size: 240% 100%;
  animation: shimmerLine 3s ease-in-out infinite;
}

.centered .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  max-width: 650px;
  margin: 12px 0 0;
}

.feature-grid,
.game-grid,
.faq-grid,
.info-grid,
.related-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.game-card,
.info-card,
.faq-card,
.contact-card,
.policy-card,
.notice-band,
.promo-banner,
.details-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.feature-card,
.info-card,
.faq-card,
.contact-card,
.policy-card,
.details-panel {
  border-radius: var(--radius-lg);
}

.feature-card,
.info-card,
.faq-card,
.contact-card,
.policy-card,
.details-panel {
  padding: 26px;
}

.feature-card::before,
.game-card::before,
.details-panel::before,
.contact-card::before,
.policy-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 230, 109, 0.44), rgba(255, 71, 126, 0.18), rgba(20, 167, 255, 0.42), rgba(0, 242, 154, 0.22));
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card:hover::before,
.game-card:hover::before,
.details-panel:hover::before,
.contact-card:hover::before,
.policy-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #080710;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--emerald), var(--blue));
  box-shadow: 0 0 30px rgba(0, 242, 154, 0.28);
}

.feature-card h3,
.info-card h3,
.faq-card h3,
.details-panel h3,
.policy-card h2,
.contact-card h2 {
  font-size: 1.16rem;
}

.feature-card p,
.game-card p,
.info-card p,
.faq-card p,
.details-panel p,
.policy-card p,
.policy-card li,
.contact-card p,
.notice-band p {
  color: var(--muted);
}

.game-grid {
  grid-template-columns: repeat(3, 1fr);
}

.game-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52), 0 0 38px rgba(255, 71, 126, 0.18);
}

.game-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #060817;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
  transition: transform 500ms ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.06);
}

.game-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 5, 15, 0.9));
}

.game-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 999px;
  color: var(--champagne);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(3, 5, 15, 0.74);
  backdrop-filter: blur(12px);
}

.game-card-body {
  padding: 22px;
}

.game-card h3 {
  min-height: 2.45em;
  font-family: "Bungee", "Poppins", sans-serif;
  font-size: 1.16rem;
}

.game-card p {
  margin: 12px 0 20px;
  min-height: 4.9em;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-banner {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 34px;
  padding: 38px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 230, 109, 0.3), transparent 24rem),
    radial-gradient(circle at 80% 10%, rgba(0, 242, 154, 0.22), transparent 24rem),
    linear-gradient(135deg, rgba(229, 27, 79, 0.32), rgba(109, 60, 255, 0.26), rgba(5, 8, 22, 0.86));
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: -50% -20%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: bannerSweep 6s ease-in-out infinite;
}

.promo-banner > * {
  position: relative;
  z-index: 1;
}

.promo-banner h2 {
  font-family: "Bungee", "Poppins", sans-serif;
  font-size: 2rem;
}

.promo-banner p {
  max-width: 640px;
  color: var(--text);
}

.promo-art {
  min-height: 210px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(3, 5, 15, 0.18), rgba(3, 5, 15, 0.44)),
    url("../images/gameornex-banner.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 44px rgba(255, 255, 255, 0.06), 0 0 42px rgba(20, 167, 255, 0.22);
  animation: softPulse 4s ease-in-out infinite;
}

.info-grid {
  grid-template-columns: 1fr 1fr;
}

.info-card.highlight {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 230, 109, 0.22), transparent 18rem),
    linear-gradient(150deg, rgba(8, 9, 22, 0.86), rgba(48, 16, 96, 0.42));
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
  box-shadow: 0 0 16px rgba(0, 242, 154, 0.42);
}

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 230, 109, 0.28);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 71, 126, 0.22), transparent 26rem),
    radial-gradient(circle at 75% 30%, rgba(0, 242, 154, 0.18), transparent 30rem),
    rgba(255, 255, 255, 0.03);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 5, 15, 0.88), rgba(3, 5, 15, 0.55), rgba(3, 5, 15, 0.88)),
    url("../images/gameornex-banner.png") center / cover;
  opacity: 0.22;
}

.final-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-cta h2 {
  font-family: "Bungee", "Poppins", sans-serif;
  font-size: 2.2rem;
}

.final-cta p {
  max-width: 680px;
  margin: 16px auto 26px;
  color: var(--muted);
}

.page-hero {
  padding: 74px 0 64px;
}

.page-hero h1 {
  font-size: 3rem;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.catalog-note {
  margin-top: 24px;
}

.notice-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 8px;
}

.notice-band strong {
  color: var(--champagne);
}

.game-detail-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.details-cover {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow), 0 0 36px rgba(20, 167, 255, 0.18);
}

.details-cover img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.details-panel {
  margin-bottom: 22px;
}

.game-frame-shell {
  position: relative;
  margin-top: 34px;
  padding: 12px;
  border-radius: 16px;
  background:
    linear-gradient(var(--panel-strong), var(--panel-strong)) padding-box,
    linear-gradient(135deg, var(--gold), var(--pink), var(--blue), var(--emerald)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54), 0 0 45px rgba(177, 76, 255, 0.28);
  animation: framePulse 3.8s ease-in-out infinite;
}

.game-frame-shell iframe {
  display: block;
  width: 100%;
  height: 720px;
  min-height: 560px;
  border: 0;
  border-radius: 8px;
  background: #03040d;
}

.related-grid {
  grid-template-columns: repeat(2, 1fr);
}

.mini-game {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.mini-game:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 230, 109, 0.28);
}

.mini-game img {
  width: 106px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
}

.mini-game strong {
  display: block;
  color: var(--champagne);
}

.mini-game span {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 32px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.policy-title {
  font-size: 2.5rem;
}

.policy-lead {
  margin: 18px 0 0;
}

.policy-card {
  margin-bottom: 18px;
}

.policy-card h2 {
  color: var(--champagne);
}

.policy-card ul {
  margin: 14px 0 0;
  padding-left: 21px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 30px;
  align-items: start;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--champagne);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 5, 15, 0.64);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input {
  min-height: 52px;
  padding: 0 16px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 14px 16px;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 230, 109, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 230, 109, 0.1);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #07120f;
  font-weight: 800;
  background: linear-gradient(135deg, var(--emerald), var(--gold));
}

.form-success.is-visible {
  display: block;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.faq-item summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: var(--champagne);
  font-weight: 800;
  cursor: pointer;
}

.faq-item summary::marker {
  color: var(--gold);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 30px;
  border-top: 1px solid rgba(255, 230, 109, 0.16);
  background: rgba(2, 4, 11, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 34px;
}

.footer-brand p,
.footer-bottom,
.footer-note {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links strong {
  color: var(--champagne);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(229, 27, 79, 0.4), transparent 28rem),
    radial-gradient(circle at 80% 30%, rgba(20, 167, 255, 0.32), transparent 30rem),
    rgba(2, 4, 11, 0.88);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.age-gate.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.age-card {
  width: min(540px, 100%);
  padding: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 230, 109, 0.26);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(8, 9, 22, 0.82);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58), 0 0 50px rgba(255, 71, 126, 0.22);
  transform: scale(0.94);
  transition: transform 240ms ease;
}

.age-gate.is-visible .age-card {
  transform: scale(1);
}

.age-card h2 {
  font-family: "Bungee", "Poppins", sans-serif;
  font-size: 2rem;
}

.age-card p {
  color: var(--muted);
}

.age-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 900;
  width: min(940px, calc(100% - 32px));
  transform: translate(-50%, 140%);
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0, rgba(255, 230, 109, 0.22), transparent 18rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(8, 9, 22, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 38px rgba(20, 167, 255, 0.18);
  transition: transform 330ms ease;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
}

.cookie-inner h2 {
  font-size: 1.08rem;
}

.cookie-inner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes auroraFlow {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(2%, 1%, 0) scale(1.06); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes heroFloat {
  0%, 100% { transform: rotateY(-9deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-14px); }
}

@keyframes panelDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .82; }
  50% { transform: translateY(-18px) scale(1.08); opacity: 1; }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 28px rgba(255, 122, 26, 0.28), 0 12px 30px rgba(0, 0, 0, 0.24); }
  50% { box-shadow: 0 0 42px rgba(255, 230, 109, 0.48), 0 16px 36px rgba(0, 0, 0, 0.28); }
}

@keyframes shimmerLine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes bannerSweep {
  0%, 38% { transform: translateX(-55%) rotate(10deg); }
  72%, 100% { transform: translateX(55%) rotate(10deg); }
}

@keyframes softPulse {
  0%, 100% { filter: saturate(1); transform: translateY(0); }
  50% { filter: saturate(1.18); transform: translateY(-4px); }
}

@keyframes framePulse {
  0%, 100% { box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54), 0 0 45px rgba(177, 76, 255, 0.28); }
  50% { box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54), 0 0 58px rgba(255, 230, 109, 0.25); }
}

@media (max-width: 1040px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .game-detail-layout,
  .contact-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }
}

@media (max-width: 920px) {
  .header-inner {
    gap: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(255, 230, 109, 0.18);
    border-radius: 24px;
    background: rgba(3, 5, 15, 0.94);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .page-hero h1 {
    font-size: 2.35rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .portal-card {
    inset: 20px 10px 0;
  }

  .floating-panel {
    width: 166px;
  }

  .game-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-banner,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero p,
  .page-hero p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .age-actions,
  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .portal-card {
    border-radius: 28px;
    transform: none;
  }

  .portal-card img {
    min-height: 310px;
  }

  .floating-panel {
    width: 142px;
    padding: 12px;
  }

  .panel-one {
    right: 0;
  }

  .panel-two {
    bottom: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .section-header {
    display: block;
  }

  .section-title,
  .final-cta h2,
  .promo-banner h2 {
    font-size: 1.55rem;
  }

  .feature-grid,
  .game-grid,
  .faq-grid,
  .footer-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .game-card h3,
  .game-card p {
    min-height: auto;
  }

  .promo-banner {
    padding: 26px;
  }

  .notice-band,
  .footer-bottom,
  .cookie-inner {
    display: block;
  }

  .notice-band .btn {
    margin-top: 14px;
  }

  .game-frame-shell {
    padding: 8px;
    border-radius: 22px;
  }

  .game-frame-shell iframe {
    height: 74vh;
    min-height: 460px;
    border-radius: 16px;
  }

  .mini-game {
    grid-template-columns: 90px 1fr;
  }

  .mini-game img {
    width: 90px;
    height: 68px;
  }

  .age-card {
    padding: 24px;
  }

  .age-card h2 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
