/* Fonts are linked directly in HTML head for non-blocking rendering */

:root {
  color-scheme: dark only;
  
  /* Color Palette - Deep Premium Dark Theme */
  --bg-main: #0a0d14;
  --bg-secondary: #0f1422;
  --bg-card: #101626;
  --bg-card-hover: #151e33;
  --bg-glass: rgba(255, 255, 255, 0.02);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 154, 0.25);
  
  /* Vibrant Accent Gradients */
  --accent-primary: #00f29a;
  --accent-primary-glow: rgba(0, 242, 154, 0.4);
  --accent-secondary: #00d2ff;
  --accent-purple: #9d4edd;
  --accent-gradient: linear-gradient(135deg, #00f29a 0%, #00d2ff 50%, #9d4edd 100%);
  --accent-gradient-subtle: linear-gradient(135deg, rgba(0, 242, 154, 0.15), rgba(0, 210, 255, 0.15));
  --hero-glow: radial-gradient(circle at 50% 30%, rgba(0, 242, 154, 0.14) 0%, rgba(0, 210, 255, 0.08) 35%, transparent 70%);

  /* Typography Colors */
  --text-main: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-white: #ffffff;

  /* Shadows & Elevations */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 25px rgba(0, 242, 154, 0.35);

  /* Transitions & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #0a0d14 !important;
  background: #0a0d14 !important;
  color-scheme: dark only;
  overscroll-behavior: none;
}

body {
  background-color: #0a0d14 !important;
  background: #0a0d14 !important;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

/* Global Background Ambient Glows - Optimized to eliminate milky wash */
.ambient-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  opacity: 0.25;
  mix-blend-mode: screen;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
}

.glow-center-right {
  top: 40%;
  right: -200px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
}

.glow-bottom-left {
  bottom: 5%;
  left: -150px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #071013;
  box-shadow: 0 4px 20px rgba(0, 242, 154, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 154, 0.5);
  filter: brightness(1.08);
}

.btn-secondary {
  background: #131b2e;
  color: var(--text-white);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: #1c2742;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(0, 242, 154, 0.1);
  box-shadow: 0 0 15px rgba(0, 242, 154, 0.2);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 242, 154, 0.1);
  border: 1px solid rgba(0, 242, 154, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: rgba(0, 242, 154, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 242, 154, 0.15);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #071013;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 242, 154, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
  width: 100%;
}

.stat-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual & Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  perspective: 1000px;
}

.phone-mockup {
  width: 100%;
  background: linear-gradient(180deg, #161f30 0%, #0d1322 100%);
  border: 8px solid #222b3d;
  border-radius: 42px;
  padding: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 154, 0.18);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 110px;
  height: 18px;
  background: #222b3d;
  margin: 0 auto 1.25rem;
  border-radius: 0 0 14px 14px;
}

.mockup-screen {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-header-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-greeting {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
}

.balance-card {
  background: var(--accent-gradient);
  border-radius: 18px;
  padding: 1.25rem;
  color: #071013;
  box-shadow: 0 10px 20px rgba(0, 242, 154, 0.25);
}

.balance-label {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
  text-transform: uppercase;
}

.balance-amount {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.balance-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.balance-btn {
  background: #071013;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.activity-item {
  background: #0f1627;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.activity-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.icon-reward { background: rgba(0, 242, 154, 0.2); color: var(--accent-primary); }
.icon-draw { background: rgba(157, 78, 221, 0.2); color: #d0a2f7; }

.activity-amount {
  font-weight: 700;
  color: var(--accent-primary);
}

/* Floating Badges on Phone */
.floating-card {
  position: absolute;
  background: rgba(15, 20, 34, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: float-badge 4s infinite ease-in-out;
}

.floating-card-1 {
  top: 15%;
  left: -40px;
}

.floating-card-2 {
  bottom: 12%;
  right: -30px;
  animation-delay: 2s;
}

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

/* ==========================================================================
   Section Header
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin: 0.8rem 0 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-gradient-subtle);
  border: 1px solid rgba(0, 242, 154, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-tag {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #111728;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Lucky Draw Spotlight Section
   ========================================================================== */
.lucky-draw-banner {
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.15) 0%, rgba(0, 210, 255, 0.15) 100%);
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.lucky-draw-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.3) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  border-radius: 50%;
  pointer-events: none;
}

.lucky-draw-content h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.lucky-draw-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.lucky-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.lucky-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.lucky-item-icon {
  color: #00f29a;
  margin-top: 2px;
  flex-shrink: 0;
}

.lucky-refund-card,
.lucky-reward-card {
  background: rgba(10, 13, 20, 0.75);
  border: 1px solid rgba(0, 242, 154, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.refund-badge,
.reward-badge {
  background: rgba(0, 242, 154, 0.15);
  color: var(--accent-primary);
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  display: inline-block;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.refund-title,
.reward-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.refund-desc,
.reward-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Contact Us Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.contact-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.channel-card {
  background: #0e1424;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  background: #131b30;
  border-color: rgba(0, 242, 154, 0.4);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 154, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.channel-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.channel-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  text-decoration: none;
  word-break: break-all;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--accent-primary);
  color: #071013;
  border-color: var(--accent-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  width: 100%;
  background: #0c101d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-primary);
  background: #101526;
  box-shadow: 0 0 12px rgba(0, 242, 154, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #080a10;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text-white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Terms and Conditions Page Specifics
   ========================================================================== */
.terms-page-hero {
  padding: 8.5rem 0 3rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.12) 0%, transparent 60%);
}

.terms-container {
  max-width: 960px;
  margin: 0 auto;
}

.terms-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.terms-toc {
  position: sticky;
  top: 6rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.terms-toc h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.toc-link:hover, .toc-link.active {
  color: var(--accent-primary);
  background: rgba(0, 242, 154, 0.08);
}

.terms-body {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.terms-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.terms-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 6.5rem;
}

.terms-section h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.terms-section h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2rem;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.terms-section p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.terms-subitem {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--accent-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
}

.terms-subitem strong {
  color: var(--text-white);
  display: block;
  margin-bottom: 0.25rem;
}

.lucky-draw-terms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.lucky-draw-terms-list li {
  background: rgba(157, 78, 221, 0.06);
  border: 1px solid rgba(157, 78, 221, 0.2);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.lucky-draw-terms-list li strong {
  color: #00f29a;
}

.refund-callout {
  background: linear-gradient(135deg, rgba(0, 242, 154, 0.12) 0%, rgba(0, 210, 255, 0.12) 100%);
  border: 1px solid rgba(0, 242, 154, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.refund-callout h3 {
  color: var(--accent-primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #111827;
  color: #fff;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 154, 0.3);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Download Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 12, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0f1422;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 154, 0.2);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: #fff;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.download-opt-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #131a2c;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.download-opt-btn:hover {
  background: #19233b;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.download-opt-btn svg {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.download-opt-text h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.download-opt-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lucky-draw-banner {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

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

  .terms-layout {
    grid-template-columns: 1fr;
  }

  .terms-toc {
    display: none;
  }
}

@media (max-width: 768px) {
  .ambient-glow {
    opacity: 0.12;
    width: 250px;
    height: 250px;
    filter: blur(50px);
  }

  .glow-top-left {
    top: -60px;
    left: -60px;
  }

  .glow-center-right {
    top: 45%;
    right: -80px;
  }

  .glow-bottom-left {
    bottom: 5%;
    left: -60px;
  }

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

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a0d14;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-actions .btn {
    display: none;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

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

  .terms-body {
    padding: 1.5rem;
  }
}
