*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #06060f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #a855f7;
  --gold: #fbbf24;
  --gold-dark: #f59e0b;
  --success: #34d399;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body,
html[lang="ar"] body * {
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

html[lang="hi"] body,
html[lang="hi"] body * {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

img {
  max-width: 100%;
  height: auto;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.15);
  top: -200px;
  right: -100px;
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(168, 85, 247, 0.12);
  bottom: 10%;
  left: -150px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(6, 6, 15, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 72px;
  position: relative;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.logo-img-sm {
  height: 32px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}

.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  padding: 9px 32px 9px 36px;
  background-color: #12121f;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.lang-switcher select option {
  background-color: #12121f;
  color: #f1f5f9;
}

.lang-switcher select:hover,
.lang-switcher select:focus {
  border-color: rgba(99, 102, 241, 0.4);
  outline: none;
  background-color: #1a1a2e;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.android-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  color: #3ddc84;
}

.android-icon .android-eye {
  fill: var(--bg);
}

.btn-primary .android-icon .android-eye {
  fill: #4f46e5;
}

.store-btn .android-icon {
  width: 36px;
  height: 36px;
}

.store-btn .android-icon .android-eye {
  fill: #12121f;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.hero-desc strong {
  color: var(--gold);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  position: relative;
}

.phone-frame {
  width: clamp(220px, 70vw, 280px);
  max-width: 100%;
  background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
  border-radius: 36px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow), 0 0 60px rgba(99, 102, 241, 0.2);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #0f0f1a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: linear-gradient(180deg, #12121f 0%, #0a0a14 100%);
  border-radius: 24px;
  padding: 20px;
  min-height: 420px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.app-balance-label {
  font-size: 10px;
}

.app-balance {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.app-change {
  font-size: 12px;
  color: var(--success);
  margin-bottom: 24px;
}

.app-chart {
  height: 80px;
  margin-bottom: 24px;
}

.app-chart svg {
  width: 100%;
  height: 100%;
}

.app-coins {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coin-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 12px;
  font-size: 13px;
}

.coin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.coin-dot.btc { background: #f7931a; }
.coin-dot.eth { background: #627eea; }
.coin-dot.usdt { background: #26a17b; }

.coin-val {
  margin-left: auto;
  color: var(--success);
  font-size: 12px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}

.float-card-1 {
  top: 60px;
  right: -40px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 80px;
  left: -50px;
  animation-delay: 1s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  font-size: 24px;
}

.float-title {
  font-size: 13px;
  font-weight: 600;
}

.float-desc {
  font-size: 11px;
  color: var(--text-muted);
}

/* Reward Banner */
.reward-banner {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}

.reward-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.reward-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15), transparent 70%);
  pointer-events: none;
}

.reward-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}

.reward-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.gold-text {
  color: var(--gold);
}

.reward-content p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.reward-content strong {
  color: var(--text);
}

.reward-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reward-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.reward-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.usdt-coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.05));
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.2);
  animation: coinSpin 8s linear infinite;
}

@keyframes coinSpin {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(10deg); }
}

.usdt-symbol {
  font-size: 36px;
  color: var(--gold);
  font-weight: 800;
}

.usdt-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.usdt-unit {
  font-size: 16px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Download Section */
.download-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 100px;
}

.download-card {
  text-align: center;
  padding: 64px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.download-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.download-card > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 240px;
}

.store-btn svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.android-store:hover {
  border-color: rgba(52, 211, 153, 0.4);
}

.ios-store:hover {
  border-color: rgba(148, 163, 184, 0.4);
}

.store-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
}

.store-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.download-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 40px;
  background: #12121f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  color: var(--text);
  background: var(--bg-card-hover);
}

.modal-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.modal h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.modal .btn {
  width: 100%;
  padding: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 48px);
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    order: 1;
  }

  .float-card-1 { right: -10px; }
  .float-card-2 { left: -10px; }

  .reward-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: clamp(28px, 5vw, 36px) clamp(20px, 4vw, 28px);
  }

  .reward-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .reward-steps {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
  }

  .reward-steps li {
    justify-content: flex-start;
    text-align: left;
  }

  html[dir="rtl"] .reward-steps li {
    text-align: right;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    padding: 60px 0;
  }

  .download-section {
    padding: 40px 0 80px;
  }
}

/* RTL (Arabic) */
html[dir="rtl"] .lang-icon {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .lang-switcher select {
  padding: 9px 36px 9px 32px;
  background-position: left 10px center;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .reward-card,
html[dir="rtl"] .features-grid,
html[dir="rtl"] .download-buttons {
  direction: rtl;
}

html[dir="rtl"] .reward-steps li,
html[dir="rtl"] .coin-item,
html[dir="rtl"] .store-btn,
html[dir="rtl"] .float-card {
  flex-direction: row-reverse;
}

html[dir="rtl"] .coin-val {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .store-label,
html[dir="rtl"] .store-name {
  text-align: right;
}

html[dir="rtl"] .float-card-1 {
  right: auto;
  left: -40px;
}

html[dir="rtl"] .float-card-2 {
  left: auto;
  right: -50px;
}

html[dir="rtl"] .bg-glow-1 {
  right: auto;
  left: -100px;
}

html[dir="rtl"] .bg-glow-2 {
  left: auto;
  right: -150px;
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }

  .menu-toggle {
    display: flex;
    order: 3;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  .logo-text {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-img {
    height: 36px;
    flex-shrink: 0;
  }

  .header-actions {
    order: 2;
    gap: 8px;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: clamp(16px, 4vw, 24px);
    right: clamp(16px, 4vw, 24px);
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(18, 18, 31, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav a:hover,
  .nav a:active {
    background: var(--bg-card-hover);
    color: var(--text);
  }

  .lang-switcher select {
    padding: 8px 28px 8px 32px;
    font-size: 12px;
    min-width: 100px;
    max-width: 140px;
  }

  .hero {
    padding: 100px 0 48px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .badge {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-stats {
    gap: 12px;
    justify-content: space-around;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    flex: 1;
    min-width: 90px;
    align-items: center;
  }

  .stat-value {
    font-size: clamp(22px, 5vw, 28px);
  }

  .stat-label {
    font-size: 11px;
    text-align: center;
  }

  .phone-screen {
    min-height: 360px;
    padding: 16px;
  }

  .app-balance {
    font-size: clamp(24px, 6vw, 32px);
  }

  .float-card {
    display: none;
  }

  .reward-banner {
    padding: 32px 0 48px;
  }

  .usdt-coin {
    width: clamp(160px, 45vw, 200px);
    height: clamp(160px, 45vw, 200px);
  }

  .usdt-amount {
    font-size: clamp(36px, 8vw, 48px);
  }

  .features {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header p {
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .download-section {
    padding: 32px 0 64px;
  }

  .download-card {
    padding: clamp(28px, 6vw, 40px) clamp(16px, 4vw, 24px);
  }

  .download-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .store-btn {
    width: 100%;
    min-width: unset;
    min-height: 56px;
  }

  .download-note {
    font-size: 12px;
    line-height: 1.6;
  }

  .footer {
    padding: 24px 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .footer-copy {
    font-size: 12px;
    padding: 0 8px;
  }

  .modal {
    padding: 32px 24px;
    margin: 16px;
  }

  .modal h3 {
    font-size: 20px;
  }

  .bg-glow-1,
  .bg-glow-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .header-inner {
    height: 56px;
  }

  .logo-img {
    height: 32px;
  }

  .lang-switcher select {
    max-width: 110px;
    padding: 8px 24px 8px 28px;
  }

  .lang-icon {
    left: 8px;
    width: 14px;
    height: 14px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat {
    width: 100%;
  }

  .reward-steps li {
    font-size: 14px;
    gap: 12px;
  }

  .step-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 13px;
  }

  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1280px) {
  .hero-grid {
    gap: 80px;
  }

  .container {
    padding: 0 32px;
  }
}

@supports (padding: max(0px)) {
  .header {
    padding-top: env(safe-area-inset-top);
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}
