/* ========================================
   澳门彩票·幸运星辰 - 星空幻想风主题样式
   ======================================== */

/* Google Fonts Import - 本地化备用 */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

/* CSS Variables */
:root {
  --star-blue: #191970;
  --lucky-purple: #9370DB;
  --meteor-gold: #FFD700;
  --nebula-pink: #FF69B4;
  --deep-space: #0a0a2e;
  --cosmic-dark: #0d0d3b;
  --star-white: #f0f0ff;
  --text-light: #e0e0f0;
  --text-muted: #a0a0c0;
  --gradient-purple: linear-gradient(135deg, #9370DB 0%, #7B68EE 50%, #6A5ACD 100%);
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  --gradient-cosmic: linear-gradient(180deg, #0a0a2e 0%, #191970 30%, #1a1a5e 60%, #0d0d3b 100%);
  --font-title: 'ZCOOL KuaiLe', cursive, sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --shadow-glow: 0 0 20px rgba(147, 112, 219, 0.3);
  --shadow-gold: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* 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: var(--gradient-cosmic);
  color: var(--text-light);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Starfield Background Animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255,215,0,0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(147,112,219,0.8), transparent),
    radial-gradient(2px 2px at 160px 30px, #fff, transparent),
    radial-gradient(1px 1px at 200px 60px, rgba(255,105,180,0.6), transparent),
    radial-gradient(2px 2px at 250px 20px, #fff, transparent),
    radial-gradient(1px 1px at 300px 90px, rgba(255,215,0,0.6), transparent),
    radial-gradient(2px 2px at 350px 50px, #fff, transparent),
    radial-gradient(1px 1px at 400px 70px, rgba(147,112,219,0.6), transparent);
  background-size: 420px 100px;
  animation: twinkle 4s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

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

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

.meteor-shower .meteor {
  position: absolute;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,215,0,0), rgba(255,215,0,0.8), rgba(255,255,255,1));
  border-radius: 50%;
  animation: meteor 3s linear infinite;
}

.meteor-shower .meteor:nth-child(1) { top: 10%; left: 30%; animation-delay: 0s; animation-duration: 2.5s; }
.meteor-shower .meteor:nth-child(2) { top: 5%; left: 60%; animation-delay: 1.2s; animation-duration: 3s; }
.meteor-shower .meteor:nth-child(3) { top: 15%; left: 80%; animation-delay: 2.4s; animation-duration: 2.8s; }
.meteor-shower .meteor:nth-child(4) { top: 8%; left: 45%; animation-delay: 3.6s; animation-duration: 3.2s; }
.meteor-shower .meteor:nth-child(5) { top: 3%; left: 15%; animation-delay: 4.8s; animation-duration: 2.6s; }

/* Star Twinkle Animation */
@keyframes starPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Nebula Drift Animation */
@keyframes nebulaDrift {
  0% { transform: translateX(0) translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateX(20px) translateY(-10px) scale(1.1); opacity: 0.5; }
  100% { transform: translateX(0) translateY(0) scale(1); opacity: 0.3; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--meteor-gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  line-height: 1.4;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }

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

a {
  color: var(--lucky-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--meteor-gold);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== NAVIGATION ========== */
.nav-header {
  background: rgba(10, 10, 46, 0.95);
  border-bottom: 1px solid rgba(147, 112, 219, 0.3);
  padding: 12px 0;
  position: relative;
  z-index: 1000;
}

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

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

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

.nav-logo span {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--meteor-gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

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

.nav-links li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(147, 112, 219, 0.2);
  color: var(--meteor-gold);
  box-shadow: 0 0 15px rgba(147, 112, 219, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--lucky-purple);
  color: var(--meteor-gold);
  font-size: 1.5rem;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(147, 112, 219, 0.2);
}

/* Sidebar Menu (Mobile) */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
}

.sidebar-overlay.active {
  display: block;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #0a0a2e 0%, #191970 50%, #0d0d3b 100%);
  border-left: 2px solid rgba(147, 112, 219, 0.4);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.sidebar-menu.active {
  right: 0;
}

.sidebar-close {
  display: block;
  text-align: right;
  background: none;
  border: none;
  color: var(--meteor-gold);
  font-size: 1.8rem;
  cursor: pointer;
  margin-bottom: 20px;
}

.sidebar-menu .sidebar-links {
  list-style: none;
}

.sidebar-menu .sidebar-links li {
  margin-bottom: 5px;
}

.sidebar-menu .sidebar-links li a {
  display: block;
  padding: 12px 16px;
  color: var(--text-light);
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.sidebar-menu .sidebar-links li a:hover,
.sidebar-menu .sidebar-links li a.active {
  background: rgba(147, 112, 219, 0.15);
  border-color: rgba(147, 112, 219, 0.3);
  color: var(--meteor-gold);
}

.sidebar-stars {
  text-align: center;
  margin-top: 30px;
  font-size: 1.5rem;
  opacity: 0.5;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(147,112,219,0.15) 0%, transparent 70%);
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

.hero-logo-anim {
  width: 200px;
  height: auto;
  margin-bottom: 30px;
  animation: starPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--meteor-gold);
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.2);
  margin-bottom: 15px;
}

.hero-slogan {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 30px;
  animation: starPulse 4s ease-in-out infinite;
}

.cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--gradient-purple);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.2rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 25px rgba(147, 112, 219, 0.4), 0 0 50px rgba(147, 112, 219, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(147, 112, 219, 0.6), 0 0 70px rgba(147, 112, 219, 0.2);
  color: var(--meteor-gold);
}

/* ========== MAGIC MODULE (Section) ========== */
.magic-module {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.magic-module:nth-child(even) {
  background: rgba(147, 112, 219, 0.03);
}

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--meteor-gold);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '✦';
  position: absolute;
  right: -30px;
  top: 0;
  font-size: 0.8rem;
  animation: starPulse 2s ease-in-out infinite;
}

.section-title h2::before {
  content: '✦';
  position: absolute;
  left: -30px;
  top: 0;
  font-size: 0.8rem;
  animation: starPulse 2s ease-in-out infinite 1s;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
}

/* ========== BRAND STORY (Magic Book Style) ========== */
.brand-story {
  background: linear-gradient(135deg, rgba(10,10,46,0.9) 0%, rgba(25,25,112,0.8) 100%);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.brand-story::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(147,112,219,0.1) 0%, transparent 70%);
  animation: nebulaDrift 8s ease-in-out infinite;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.brand-story-img {
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(147, 112, 219, 0.3);
  box-shadow: 0 0 30px rgba(147, 112, 219, 0.2);
}

.brand-story-img img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-story-text h3 {
  color: var(--meteor-gold);
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.brand-story-text p {
  font-size: 0.95rem;
  line-height: 2;
  text-indent: 2em;
}

/* ========== GAME CARDS ========== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.game-card {
  background: rgba(10, 10, 46, 0.8);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(147, 112, 219, 0.3);
  border-color: var(--lucky-purple);
}

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

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.game-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-gold);
  color: var(--star-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

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

.game-card-body h4 {
  color: var(--meteor-gold);
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========== LIVE DRAW ========== */
.live-draw-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.draw-card {
  background: rgba(10, 10, 46, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.draw-card:hover {
  border-color: var(--meteor-gold);
  box-shadow: var(--shadow-gold);
}

.draw-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.draw-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--star-blue);
  background: var(--gradient-gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  animation: starPulse 3s ease-in-out infinite;
}

.draw-ball:nth-child(even) {
  background: var(--gradient-purple);
  color: #fff;
  box-shadow: 0 0 10px rgba(147, 112, 219, 0.4);
}

.draw-ball.special {
  background: linear-gradient(135deg, #FF69B4, #FF1493);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

/* ========== SECURITY ========== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.security-item {
  background: rgba(10, 10, 46, 0.8);
  border: 1px solid rgba(147, 112, 219, 0.15);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.security-item:hover {
  border-color: var(--lucky-purple);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.security-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.security-item h4 {
  margin-bottom: 10px;
}

/* ========== NEWS ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.news-card {
  background: rgba(10, 10, 46, 0.8);
  border: 1px solid rgba(147, 112, 219, 0.15);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: var(--lucky-purple);
  box-shadow: var(--shadow-glow);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.news-card-date {
  color: var(--lucky-purple);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.news-card-body h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.vip-card {
  background: rgba(10, 10, 46, 0.85);
  border: 2px solid rgba(147, 112, 219, 0.2);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.vip-card.featured {
  border-color: var(--meteor-gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.vip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(147, 112, 219, 0.3);
}

.vip-star {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.vip-card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.vip-benefits {
  list-style: none;
  text-align: left;
  margin-top: 15px;
}

.vip-benefits li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(147, 112, 219, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vip-benefits li::before {
  content: '✦ ';
  color: var(--meteor-gold);
}

/* ========== APP DOWNLOAD ========== */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-phone-mockup {
  text-align: center;
}

.app-phone-mockup img {
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(147, 112, 219, 0.3);
}

.app-features {
  list-style: none;
}

.app-features li {
  padding: 12px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-features li .feature-icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.download-btns {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.download-btn.ios {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.download-btn.android {
  background: rgba(147, 112, 219, 0.2);
  border: 1px solid rgba(147, 112, 219, 0.4);
  color: var(--text-light);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(147, 112, 219, 0.3);
}

/* ========== EXPERT PREDICTION ========== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.expert-card {
  background: rgba(10, 10, 46, 0.85);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.expert-card:hover {
  border-color: var(--lucky-purple);
  box-shadow: var(--shadow-glow);
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 2px solid var(--lucky-purple);
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-accuracy {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 215, 0, 0.15);
  color: var(--meteor-gold);
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ========== LICENSE ========== */
.license-section {
  background: rgba(10, 10, 46, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 20px;
  padding: 40px;
}

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

.license-badge {
  text-align: center;
}

.license-badge img {
  max-width: 150px;
  border-radius: 10px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(180deg, rgba(10,10,46,0.95) 0%, rgba(5,5,20,1) 100%);
  border-top: 1px solid rgba(147, 112, 219, 0.2);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(2px 2px at 10% 20%, rgba(147,112,219,0.4), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,215,0,0.3), transparent),
    radial-gradient(2px 2px at 50% 30%, rgba(255,105,180,0.3), transparent),
    radial-gradient(1px 1px at 70% 70%, rgba(147,112,219,0.3), transparent),
    radial-gradient(2px 2px at 90% 40%, rgba(255,215,0,0.2), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.footer-col h4 {
  color: var(--meteor-gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(147, 112, 219, 0.15);
  border: 1px solid rgba(147, 112, 219, 0.3);
  color: var(--text-light);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--lucky-purple);
  color: #fff;
  box-shadow: 0 0 15px rgba(147, 112, 219, 0.5);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(147, 112, 219, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-payment {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-payment span {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,105,180,0.3), rgba(147,112,219,0.3));
  border: 2px solid var(--nebula-pink);
  color: var(--nebula-pink);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer-license {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.footer-copyright {
  margin-top: 15px;
  font-size: 0.8rem;
  color: rgba(160, 160, 192, 0.6);
}

/* ========== INNER PAGE STYLES ========== */
.page-hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(147,112,219,0.1) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-hero .breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.page-hero .breadcrumb a {
  color: var(--lucky-purple);
}

.page-content {
  padding: 60px 0;
}

.content-block {
  background: rgba(10, 10, 46, 0.7);
  border: 1px solid rgba(147, 112, 219, 0.15);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(147,112,219,0.05) 0%, transparent 70%);
  animation: nebulaDrift 10s ease-in-out infinite;
}

.content-block h2,
.content-block h3 {
  position: relative;
  z-index: 1;
}

.content-block p {
  position: relative;
  z-index: 1;
  text-indent: 2em;
  line-height: 2;
}

.content-img-float {
  float: right;
  width: 300px;
  margin: 0 0 20px 25px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(147, 112, 219, 0.2);
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.15);
}

.content-img-center {
  text-align: center;
  margin: 30px 0;
}

.content-img-center img {
  max-width: 600px;
  border-radius: 15px;
  border: 1px solid rgba(147, 112, 219, 0.2);
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.15);
}

/* Strategy Cards */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.strategy-card {
  background: rgba(25, 25, 112, 0.4);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
}

.strategy-card:hover {
  border-color: var(--lucky-purple);
  box-shadow: var(--shadow-glow);
}

.strategy-card h4 {
  margin-bottom: 12px;
}

/* Story Block */
.story-block {
  background: linear-gradient(135deg, rgba(147,112,219,0.1) 0%, rgba(255,105,180,0.05) 100%);
  border-left: 3px solid var(--lucky-purple);
  border-radius: 0 15px 15px 0;
  padding: 30px;
  margin: 30px 0;
  font-style: italic;
}

.story-block h4 {
  font-style: normal;
  margin-bottom: 15px;
}

.lucky-rule {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 25px;
  margin: 20px 0;
  text-align: center;
}

.lucky-rule h4 {
  color: var(--meteor-gold);
}

/* ========== APP DOWNLOAD PAGE ========== */
.magic-library {
  position: relative;
  padding: 40px 0;
}

.magic-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  margin-bottom: 30px;
  align-items: start;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.4);
}

.step-content {
  background: rgba(10, 10, 46, 0.7);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: 15px;
  padding: 25px;
}

.qr-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.qr-card {
  background: rgba(10, 10, 46, 0.85);
  border: 2px solid rgba(147, 112, 219, 0.3);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.qr-card:hover {
  border-color: var(--lucky-purple);
  box-shadow: 0 0 30px rgba(147, 112, 219, 0.3);
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 15px auto;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(147, 112, 219, 0.3);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: starPulse 3s ease-in-out infinite;
}

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

.app-advantage-item {
  background: rgba(25, 25, 112, 0.4);
  border: 1px solid rgba(147, 112, 219, 0.15);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.app-advantage-item:hover {
  border-color: var(--lucky-purple);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.app-advantage-item .adv-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

/* ========== JAMMER BLOCK ========== */
.jammer-block {
  display: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-story-grid {
    grid-template-columns: 1fr;
  }
  .license-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-logo-anim { width: 150px; }

  .magic-module { padding: 50px 0; }

  .game-grid,
  .live-draw-container,
  .security-grid,
  .news-grid,
  .vip-tiers,
  .expert-grid,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .app-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .qr-section {
    grid-template-columns: 1fr;
  }

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

  .brand-story {
    padding: 30px 20px;
  }

  .content-img-float {
    float: none;
    width: 100%;
    margin: 20px 0;
  }

  .content-block {
    padding: 25px 20px;
  }

  .section-title h2::before,
  .section-title h2::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-slogan { font-size: 1rem; }
  .cta-btn { padding: 12px 30px; font-size: 1rem; }
  .draw-ball { width: 36px; height: 36px; font-size: 0.8rem; }
  .download-btns { flex-direction: column; }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-gold { color: var(--meteor-gold); }
.text-purple { color: var(--lucky-purple); }
.text-pink { color: var(--nebula-pink); }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.clearfix::after { content: ''; display: table; clear: both; }
