/* ============================================
   澳门线上赌场·黑暗森林 - 主样式表
   Dark Forest Casino - Main Stylesheet
   ============================================ */

/* === Font Face Declarations === */
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/orbitron-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/orbitron-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Mono';
  src: url('../fonts/roboto-mono-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Mono';
  src: url('../fonts/roboto-mono-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === CSS Variables === */
:root {
  --deep-space-black: #000000;
  --nebula-purple: #483D8B;
  --pulsar-blue: #00BFFF;
  --void-gray: #2F4F4F;
  --star-white: #E8E8E8;
  --dim-star: #888;
  --nebula-glow: rgba(72, 61, 139, 0.4);
  --pulsar-glow: rgba(0, 191, 255, 0.3);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Roboto Mono', monospace;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--deep-space-black);
  color: var(--star-white);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--pulsar-blue);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.4rem); }

p {
  margin-bottom: 1.2rem;
  color: var(--star-white);
  font-size: 0.95rem;
}

a {
  color: var(--pulsar-blue);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--pulsar-blue), 0 0 20px var(--nebula-purple);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Jammer Block (SEO) === */
.jammer-block {
  display: none !important;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* === Star Field Background === */
.star-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.star-field::before,
.star-field::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.star-field::before {
  background: radial-gradient(1px 1px at 20px 30px, #fff, transparent),
              radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
              radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent),
              radial-gradient(1px 1px at 160px 120px, #fff, transparent),
              radial-gradient(1px 1px at 200px 60px, rgba(255,255,255,0.7), transparent),
              radial-gradient(1.5px 1.5px at 300px 200px, var(--pulsar-blue), transparent),
              radial-gradient(1px 1px at 400px 300px, rgba(255,255,255,0.5), transparent),
              radial-gradient(1px 1px at 500px 100px, #fff, transparent);
  background-size: 550px 350px;
  animation: star-drift 120s linear infinite;
}

.star-field::after {
  background: radial-gradient(1px 1px at 50px 80px, rgba(255,255,255,0.4), transparent),
              radial-gradient(1.5px 1.5px at 150px 200px, var(--nebula-purple), transparent),
              radial-gradient(1px 1px at 250px 150px, rgba(255,255,255,0.6), transparent),
              radial-gradient(1px 1px at 350px 50px, rgba(255,255,255,0.3), transparent);
  background-size: 400px 300px;
  animation: star-drift 200s linear infinite reverse;
}

@keyframes star-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-350px); }
}

/* === Navigation === */
.dark-forest-nav {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(72,61,139,0.15) 100%);
  border-bottom: 1px solid rgba(0,191,255,0.15);
  z-index: 100;
  padding: 0.8rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--pulsar-blue);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
}

.nav-links a {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--star-white);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pulsar-blue);
  border-color: rgba(0,191,255,0.3);
  background: rgba(0,191,255,0.05);
  text-shadow: 0 0 8px rgba(0,191,255,0.5);
}

/* Mobile Star Map Menu */
.star-map-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 1px solid rgba(0,191,255,0.3);
  border-radius: 4px;
}

.star-map-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pulsar-blue);
  transition: all 0.3s ease;
  display: block;
}

.star-map-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.star-map-toggle.active span:nth-child(2) {
  opacity: 0;
}
.star-map-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Section === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, var(--deep-space-black) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--pulsar-blue), 0 0 40px var(--nebula-purple);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-slogan {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--dim-star);
  margin-bottom: 2rem;
  font-style: italic;
  letter-spacing: 1px;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 20px var(--pulsar-blue), 0 0 40px var(--nebula-purple); }
  50% { text-shadow: 0 0 30px var(--pulsar-blue), 0 0 60px var(--nebula-purple), 0 0 80px rgba(0,191,255,0.3); }
}

/* === CTA Button === */
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--nebula-purple), rgba(0,191,255,0.6));
  border: 1px solid var(--pulsar-blue);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,191,255,0.2) 0%, transparent 60%);
  animation: btn-pulse 2s ease-in-out infinite;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--nebula-glow), 0 0 60px var(--pulsar-glow);
  color: #fff;
}

@keyframes btn-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* === Section Styles === */
.hunter-module {
  position: relative;
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hunter-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pulsar-blue), transparent);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--nebula-purple), var(--pulsar-blue));
}

/* === Asymmetrical Gravitational Field Layout === */
.gravity-grid {
  display: grid;
  gap: 2rem;
}

.gravity-grid-2 {
  grid-template-columns: 1fr;
}

.gravity-grid-3 {
  grid-template-columns: 1fr;
}

.gravity-card {
  background: linear-gradient(145deg, rgba(72,61,139,0.1), rgba(0,0,0,0.8));
  border: 1px solid rgba(0,191,255,0.1);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.gravity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pulsar-blue), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gravity-card:hover {
  border-color: rgba(0,191,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0,191,255,0.1);
}

.gravity-card:hover::before {
  opacity: 1;
}

.gravity-card img {
  border-radius: 8px;
  margin-bottom: 1.5rem;
  width: 100%;
}

.gravity-card h3 {
  margin-bottom: 1rem;
}

/* === Brand Story Section === */
.brand-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.brand-story-visual {
  position: relative;
}

.brand-story-visual img {
  border-radius: 12px;
  border: 1px solid rgba(72,61,139,0.3);
}

.brand-story-content {
  font-size: 0.95rem;
  line-height: 2;
}

.brand-story-content h3 {
  color: var(--nebula-purple);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  border-left: 3px solid var(--pulsar-blue);
  padding-left: 1rem;
}

/* === Game Cards === */
.game-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.game-card {
  background: linear-gradient(135deg, rgba(47,79,79,0.2), rgba(0,0,0,0.9));
  border: 1px solid rgba(72,61,139,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.game-card:hover {
  border-color: var(--pulsar-blue);
  box-shadow: 0 0 30px rgba(0,191,255,0.15);
}

.game-card-img {
  position: relative;
  overflow: hidden;
}

.game-card-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

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

.game-card-body {
  padding: 1.5rem;
}

.game-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

/* === Signal Analysis / Stats Section === */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.signal-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(72,61,139,0.1);
  border: 1px solid rgba(0,191,255,0.1);
  border-radius: 12px;
}

.signal-value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--pulsar-blue);
  text-shadow: 0 0 15px var(--pulsar-glow);
  margin-bottom: 0.5rem;
}

.signal-label {
  font-size: 0.85rem;
  color: var(--dim-star);
}

/* === Explorer Log / Blog Cards === */
.explorer-log-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.log-entry {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(72,61,139,0.1));
  border: 1px solid rgba(0,191,255,0.08);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.log-entry:hover {
  border-color: rgba(0,191,255,0.25);
}

.log-entry img {
  border-radius: 8px;
  width: 100%;
}

.log-date {
  font-size: 0.8rem;
  color: var(--nebula-purple);
  font-family: var(--font-heading);
}

/* === VIP Section === */
.vip-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.vip-tier {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(72,61,139,0.15), rgba(0,0,0,0.9));
  border: 1px solid rgba(72,61,139,0.3);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.vip-tier:hover {
  border-color: var(--pulsar-blue);
  transform: translateY(-5px);
}

.vip-tier.featured {
  border-color: var(--pulsar-blue);
  background: linear-gradient(180deg, rgba(0,191,255,0.1), rgba(72,61,139,0.15), rgba(0,0,0,0.9));
}

.vip-tier h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.vip-benefits {
  list-style: none;
  text-align: left;
}

.vip-benefits li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  color: var(--dim-star);
}

.vip-benefits li::before {
  content: '◈ ';
  color: var(--pulsar-blue);
}

/* === FAQ Section === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,191,255,0.1);
  padding: 1.5rem 0;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--pulsar-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--nebula-purple);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 0.9rem;
  color: var(--dim-star);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* === Inner Page Hero === */
.inner-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.inner-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.inner-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.inner-hero .hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, var(--deep-space-black) 100%);
}

.inner-hero-content {
  position: relative;
  z-index: 2;
}

/* === Content Article === */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--nebula-purple);
  border-left: 3px solid var(--pulsar-blue);
  padding-left: 1rem;
}

.article-content img {
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid rgba(72,61,139,0.2);
}

.article-content blockquote {
  border-left: 3px solid var(--nebula-purple);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(72,61,139,0.1);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--dim-star);
}

/* === Strategy Table === */
.strategy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.strategy-table th {
  background: rgba(72,61,139,0.3);
  color: var(--pulsar-blue);
  font-family: var(--font-heading);
  padding: 1rem;
  text-align: left;
  font-size: 0.8rem;
}

.strategy-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--star-white);
}

.strategy-table tr:hover td {
  background: rgba(0,191,255,0.05);
}

/* === APP Download Section === */
.cockpit-section {
  position: relative;
  padding: 5rem 1.5rem;
  text-align: center;
}

.download-cubes {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
}

.energy-cube {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(72,61,139,0.3), rgba(0,191,255,0.1));
  border: 2px solid var(--pulsar-blue);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.4s ease;
  animation: cube-float 4s ease-in-out infinite;
}

.energy-cube:nth-child(2) {
  animation-delay: -2s;
}

.energy-cube:hover {
  box-shadow: 0 0 40px var(--pulsar-glow), 0 0 80px var(--nebula-glow);
  transform: scale(1.05);
}

.energy-cube .platform-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--pulsar-blue);
}

@keyframes cube-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.install-steps {
  max-width: 700px;
  margin: 3rem auto;
  text-align: left;
}

.install-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(0,191,255,0.1);
  border-radius: 8px;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--pulsar-blue);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,191,255,0.3);
  border-radius: 50%;
}

.step-content h4 {
  color: var(--pulsar-blue);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--dim-star);
  margin-bottom: 0;
}

/* === APP Advantages === */
.app-advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

.advantage-item {
  padding: 1.5rem;
  background: rgba(72,61,139,0.1);
  border: 1px solid rgba(0,191,255,0.1);
  border-radius: 12px;
  text-align: center;
}

.advantage-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.advantage-item h4 {
  font-size: 0.85rem;
  color: var(--pulsar-blue);
  margin-bottom: 0.5rem;
}

.advantage-item p {
  font-size: 0.8rem;
  color: var(--dim-star);
  margin-bottom: 0;
}

/* === Footer === */
.dark-forest-footer {
  position: relative;
  background: linear-gradient(180deg, var(--deep-space-black) 0%, rgba(72,61,139,0.1) 50%, var(--deep-space-black) 100%);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
  overflow: hidden;
}

.dark-forest-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/footer-blackhole.webp') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--pulsar-blue);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--dim-star);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--pulsar-blue);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 50%;
  color: var(--dim-star);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  border-color: var(--pulsar-blue);
  color: var(--pulsar-blue);
  box-shadow: 0 0 15px var(--pulsar-glow);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(0,191,255,0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.cert-badge {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(72,61,139,0.3);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--dim-star);
  font-family: var(--font-heading);
}

.footer-payment {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-icon {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--dim-star);
}

.footer-age-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-age-badge img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}

/* === Nebula Flow Animation === */
.nebula-flow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

.nebula-flow::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--nebula-glow) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: nebula-move 30s ease-in-out infinite;
}

.nebula-flow::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pulsar-glow) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: nebula-move 25s ease-in-out infinite reverse;
}

@keyframes nebula-move {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(100px, 50px); }
  50% { transform: translate(-50px, 100px); }
  75% { transform: translate(50px, -50px); }
}

/* === Signal Interference Animation === */
@keyframes signal-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.3; }
  94% { opacity: 1; }
  96% { opacity: 0.5; }
  97% { opacity: 1; }
}

.signal-flicker {
  animation: signal-flicker 8s ease-in-out infinite;
}

/* === Glitch Text Effect === */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  color: var(--pulsar-blue);
  z-index: -1;
  animation: glitch-1 3s infinite;
}

.glitch-text::after {
  color: var(--nebula-purple);
  z-index: -2;
  animation: glitch-2 3s infinite;
}

@keyframes glitch-1 {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  20% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
  40% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
  60% { clip-path: inset(40% 0 40% 0); transform: translate(-1px, 1px); }
}

@keyframes glitch-2 {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  20% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
  40% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 1px); }
  60% { clip-path: inset(70% 0 5% 0); transform: translate(1px, -1px); }
}

/* === Responsive Design === */
@media (min-width: 640px) {
  .game-showcase { grid-template-columns: repeat(2, 1fr); }
  .explorer-log-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .download-cubes { flex-direction: row; justify-content: center; }
  .brand-story { grid-template-columns: 280px 1fr; }
}

@media (min-width: 768px) {
  .gravity-grid-2 { grid-template-columns: 1.2fr 0.8fr; }
  .gravity-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .signal-grid { grid-template-columns: repeat(4, 1fr); }
  .log-entry { flex-direction: row; }
  .log-entry img { width: 200px; flex-shrink: 0; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .star-map-toggle { display: none; }
  .game-showcase { grid-template-columns: repeat(3, 1fr); }
  .vip-tiers { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-story { grid-template-columns: 350px 1fr; gap: 4rem; }
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.98);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,191,255,0.15);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }
  .star-map-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .app-advantages { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.8rem; }
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--deep-space-black);
}
::-webkit-scrollbar-thumb {
  background: var(--nebula-purple);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pulsar-blue);
}

/* === Selection === */
::selection {
  background: var(--nebula-purple);
  color: #fff;
}
