/* ========================================
   星际赌场 - 主样式表
   Interstellar Casino Main Stylesheet
   ======================================== */

/* --- Fonts: Orbitron + Exo 2 (本地化) --- */
@font-face {
  font-family: 'Orbitron';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Orbitron Regular');
}
@font-face {
  font-family: 'Exo 2';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: local('Exo 2 Regular');
}

/* --- CSS Variables --- */
:root {
  --nebula-purple: #483D8B;
  --wormhole-blue: #00008B;
  --star-gold: #FFD700;
  --deep-space: #000000;
  --cosmic-dark: #0a0a1a;
  --panel-bg: rgba(10, 10, 40, 0.85);
  --panel-border: rgba(72, 61, 139, 0.5);
  --text-primary: #e8e6f0;
  --text-secondary: #a8a4c0;
  --glow-purple: 0 0 20px rgba(72, 61, 139, 0.6);
  --glow-gold: 0 0 15px rgba(255, 215, 0, 0.4);
  --glow-blue: 0 0 20px rgba(0, 0, 139, 0.5);
  --font-heading: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', 'Noto Sans SC', sans-serif;
  --max-width: 1400px;
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--deep-space);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* --- Starfield Background --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255,215,0,0.5), transparent),
    radial-gradient(2px 2px at 10% 80%, rgba(72,61,139,0.8), transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(0,0,139,0.6), transparent),
    radial-gradient(2px 2px at 70% 90%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,215,0,0.3), transparent),
    radial-gradient(1px 1px at 85% 35%, rgba(255,255,255,0.6), transparent);
  background-size: 200% 200%;
  animation: starfield 60s linear infinite;
  z-index: -2;
  pointer-events: none;
}

@keyframes starfield {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* --- Meteor Animation --- */
@keyframes meteor {
  0% { transform: translateX(-100px) translateY(-100px) rotate(45deg); opacity: 1; }
  100% { transform: translateX(calc(100vw + 100px)) translateY(calc(100vh + 100px)) rotate(45deg); opacity: 0; }
}

.meteor-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.meteor {
  position: absolute;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,215,0,0.8), transparent);
  animation: meteor 4s linear infinite;
  opacity: 0;
}

.meteor:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; animation-duration: 3s; }
.meteor:nth-child(2) { top: 30%; left: 60%; animation-delay: 2s; animation-duration: 4s; }
.meteor:nth-child(3) { top: 50%; left: 40%; animation-delay: 5s; animation-duration: 3.5s; }

/* --- Container --- */
.galaxy-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--star-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #fff;
  text-shadow: var(--glow-gold);
}

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

/* --- Navigation --- */
.stellar-nav {
  background: linear-gradient(180deg, rgba(0,0,20,0.95) 0%, rgba(10,10,40,0.9) 100%);
  border-bottom: 1px solid var(--panel-border);
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

.stellar-nav .galaxy-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: var(--glow-blue);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--star-gold);
  text-shadow: var(--glow-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
  flex-wrap: wrap;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--star-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
}

.nav-links a:hover {
  color: var(--star-gold);
  background: rgba(72, 61, 139, 0.2);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--star-gold);
  transition: var(--transition);
}

/* --- Hero Section --- */
.wormhole-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wormhole-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: -1;
}

.hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  z-index: 1;
}

.hero-content h1 {
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  margin-bottom: 1.5rem;
}

.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
}

/* --- CTA Button --- */
.cta-warp {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--nebula-purple), var(--wormhole-blue));
  color: var(--star-gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  border: 1px solid var(--star-gold);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: var(--glow-purple), var(--glow-gold);
}

.cta-warp:hover {
  background: linear-gradient(135deg, var(--star-gold), #FFA500);
  color: var(--deep-space);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

/* --- Galaxy Module (Section) --- */
.galaxy-module {
  padding: 60px 0;
  position: relative;
}

.galaxy-module:nth-child(even) {
  background: linear-gradient(180deg, rgba(0,0,30,0.3) 0%, transparent 100%);
}

.module-header {
  text-align: center;
  margin-bottom: 40px;
}

.module-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.module-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--star-gold), transparent);
}

.module-header p {
  max-width: 700px;
  margin: 15px auto 0;
}

/* --- Asymmetrical Grid --- */
.asym-grid {
  display: grid;
  gap: 25px;
}

.asym-grid-2 {
  grid-template-columns: 1.2fr 0.8fr;
}

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

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

/* --- Cosmic Card --- */
.cosmic-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.cosmic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nebula-purple), var(--star-gold), var(--wormhole-blue));
}

.cosmic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-purple);
  border-color: var(--nebula-purple);
}

.cosmic-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.cosmic-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.cosmic-card .card-body {
  padding: 20px;
}

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

.cosmic-card .card-body p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Brand Section --- */
.brand-section {
  position: relative;
}

.brand-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.brand-text h3 {
  color: var(--star-gold);
  margin-bottom: 1rem;
}

.brand-text p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.brand-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow-purple);
}

/* --- Champion Hall --- */
.champion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.champion-card {
  background: linear-gradient(135deg, rgba(72,61,139,0.3), rgba(0,0,139,0.2));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.champion-card:hover {
  border-color: var(--star-gold);
  box-shadow: var(--glow-gold);
}

.champion-card .rank {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--star-gold);
  text-shadow: var(--glow-gold);
}

.champion-card .player-name {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 10px 0;
}

.champion-card .prize {
  color: var(--star-gold);
  font-weight: bold;
}

/* --- News Ticker --- */
.news-section {
  background: linear-gradient(135deg, rgba(0,0,30,0.5), rgba(72,61,139,0.1));
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.news-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 20px;
  transition: var(--transition);
}

.news-item:hover {
  border-color: var(--star-gold);
}

.news-item .news-date {
  font-size: 0.8rem;
  color: var(--nebula-purple);
  margin-bottom: 8px;
}

.news-item h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* --- VIP Section --- */
.vip-section {
  background: linear-gradient(135deg, rgba(72,61,139,0.15), rgba(255,215,0,0.05));
  border-top: 1px solid rgba(255,215,0,0.1);
  border-bottom: 1px solid rgba(255,215,0,0.1);
}

.vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.vip-tier-card {
  background: linear-gradient(180deg, rgba(10,10,40,0.9), rgba(0,0,30,0.9));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.vip-tier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-gold);
}

.vip-tier-card .tier-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.vip-tier-card h4 {
  color: var(--star-gold);
}

/* --- APP Download Section --- */
.app-section {
  text-align: center;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.app-feature-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 25px 15px;
  transition: var(--transition);
}

.app-feature-item:hover {
  border-color: var(--star-gold);
  transform: translateY(-3px);
}

.app-feature-item .feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* --- Game Origin Section --- */
.origin-timeline {
  position: relative;
  padding-left: 30px;
}

.origin-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--star-gold), var(--nebula-purple), var(--wormhole-blue));
}

.origin-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}

.origin-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--star-gold);
  box-shadow: var(--glow-gold);
}

/* --- Mission Center --- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.mission-card {
  background: linear-gradient(135deg, rgba(0,0,50,0.5), rgba(72,61,139,0.2));
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 25px;
  transition: var(--transition);
}

.mission-card:hover {
  border-color: var(--star-gold);
}

.mission-card .mission-reward {
  color: var(--star-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-top: 10px;
}

/* --- License Section --- */
.license-section {
  background: var(--panel-bg);
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
}

.license-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
}

.license-badge {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--glow-blue);
}

/* --- Inner Page Hero --- */
.inner-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.inner-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: -1;
}

.inner-hero .hero-content {
  text-align: center;
  padding: 40px 20px;
}

/* --- Inner Page Content --- */
.inner-content {
  padding: 50px 0;
}

.inner-content .content-section {
  margin-bottom: 40px;
}

.inner-content .content-section h3 {
  border-left: 4px solid var(--star-gold);
  padding-left: 15px;
  margin-bottom: 1.5rem;
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.content-image-grid img {
  border-radius: 10px;
  box-shadow: var(--glow-purple);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 40px 0;
}

.faq-item {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--star-gold);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* --- Footer --- */
.starship-footer {
  background: linear-gradient(180deg, rgba(0,0,20,0.95), rgba(0,0,10,1));
  border-top: 2px solid var(--panel-border);
  padding: 50px 0 20px;
  position: relative;
  overflow: hidden;
}

.starship-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--star-gold), var(--nebula-purple), var(--star-gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--star-gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--star-gold);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--star-gold);
  color: var(--star-gold);
  box-shadow: var(--glow-gold);
}

.footer-payment {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-payment span {
  background: rgba(72,61,139,0.2);
  border: 1px solid var(--panel-border);
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--panel-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--star-gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--star-gold);
  box-shadow: var(--glow-gold);
  background: rgba(0,0,0,0.5);
}

.footer-license {
  text-align: center;
  padding: 15px 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .asym-grid-2 { grid-template-columns: 1fr; }
  .asym-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-content { grid-template-columns: 1fr; }
  .license-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 14px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(0,0,30,0.98), rgba(10,10,50,0.98));
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px;
    border-bottom: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(72,61,139,0.2);
    font-size: 1rem;
  }

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

  .wormhole-hero { min-height: 50vh; }
  .inner-hero { min-height: 30vh; }

  .galaxy-module { padding: 40px 0; }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .content-image-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .galaxy-container { padding: 0 15px; }
  .cosmic-card .card-image { height: 150px; }
  .cta-warp { padding: 12px 24px; font-size: 0.85rem; }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-gold { color: var(--star-gold); }
.text-purple { color: var(--nebula-purple); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* --- Particle Effect Container --- */
.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
  background: var(--nebula-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--star-gold);
}

/* --- Selection --- */
::selection {
  background: var(--nebula-purple);
  color: var(--star-gold);
}

/* --- App Download Page Specific --- */
.warp-engine-room {
  background: linear-gradient(135deg, rgba(0,0,40,0.9), rgba(72,61,139,0.1));
}

.download-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.platform-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.platform-card:hover {
  border-color: var(--star-gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-5px);
}

.platform-card img {
  margin: 0 auto 20px;
  border-radius: 10px;
}

.install-steps {
  counter-reset: step;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
}

.install-step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--nebula-purple), var(--wormhole-blue));
  color: var(--star-gold);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  border-radius: 50%;
  border: 1px solid var(--star-gold);
}

@media (max-width: 768px) {
  .download-platforms { grid-template-columns: 1fr; }
}
