/* ============================================
   TTZoNe AI TRADING BOT - World-Class Styles
   Version 3.0 - Ultra Premium Design
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --primary-blue: #3b82f6;
  --primary-purple: #8b5cf6;
  --primary-green: #22c55e;
  --primary-orange: #f59e0b;
  --primary-pink: #ec4899;
  --dark-bg: #050816;
  --card-bg: rgba(15, 23, 42, 0.8);
  --text-primary: #e5e7eb;
  --text-secondary: #94a3b8;
  --glow-blue: rgba(59, 130, 246, 0.4);
  --glow-green: rgba(34, 197, 94, 0.4);
  --glow-purple: rgba(139, 92, 246, 0.4);
}

/* === GLOBAL STYLES === */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
  animation: gridMove 20s linear infinite;
}

/* Floating particles effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20% 30%, rgba(59, 130, 246, 0.4), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(34, 197, 94, 0.4), transparent),
    radial-gradient(2px 2px at 90% 80%, rgba(245, 158, 11, 0.4), transparent),
    radial-gradient(2px 2px at 10% 90%, rgba(236, 72, 153, 0.4), transparent);
  animation: floatParticles 15s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes floatParticles {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.page {
  min-height: 100vh;
  position: relative;
}

/* === NAVIGATION === */
.hero {
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at top center, rgba(30, 64, 175, 0.4) 0%, var(--dark-bg) 40%);
  padding: 16px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* Animated grid background */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

/* Glowing orb decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 30%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
  filter: blur(40px);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
  padding: 12px 20px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 999px;
  border: none;
  box-shadow: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4), inset 0 0 20px rgba(251, 191, 36, 0.1);
  animation: logo-glow 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: rotate(360deg);
}

@keyframes logo-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); }
  50% { box-shadow: 0 0 35px rgba(251, 191, 36, 0.7); }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  border: 1px solid rgba(75, 85, 99, 0.5);
  background: rgba(75, 85, 99, 0.2);
  color: #e5e7eb;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.lang-btn:hover {
  background: rgba(75, 85, 99, 0.4);
  transform: translateY(-2px);
}

.lang-btn.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  color: #020617;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.member-btn {
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(51, 65, 85, 0.8));
  color: #e2e8f0;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 200px;
  text-overflow: ellipsis;
}

.member-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.member-btn:hover::before {
  left: 100%;
}

.member-btn:hover {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.95), rgba(71, 85, 105, 0.9));
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
}

.member-btn:active {
  transform: scale(0.98);
}

/* === BADGE === */
.badge-container {
  margin-bottom: 16px;
}

.badge-world-class {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {
  0%, 100% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.2); }
  50% { box-shadow: 0 0 25px rgba(251, 191, 36, 0.4); }
}

/* === HERO CONTENT === */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr 320px;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 16px 0;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.1);
}

.hero-text h1 span {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #3b82f6, #8b5cf6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
}

.hero-text p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 24px 0;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-bullets li {
  padding: 8px 0;
  color: #d1d5db;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease;
}

.hero-bullets li:hover {
  transform: translateX(5px);
}

.hero-bullets li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

/* === BUTTONS === */
.primary-btn, .btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.secondary-btn, .btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* === HERO SLIDER === */
.hero-slider-center {
  position: relative;
  padding: 8px;
  background: linear-gradient(135deg, 
    rgba(59, 130, 246, 0.3) 0%, 
    rgba(139, 92, 246, 0.3) 25%, 
    rgba(236, 72, 153, 0.3) 50%, 
    rgba(34, 197, 94, 0.3) 75%, 
    rgba(59, 130, 246, 0.3) 100%);
  border-radius: 24px;
  box-shadow: 
    0 0 30px rgba(59, 130, 246, 0.3),
    0 0 60px rgba(139, 92, 246, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { 
    box-shadow: 
      0 0 30px rgba(59, 130, 246, 0.4),
      0 0 60px rgba(139, 92, 246, 0.2);
  }
  25% { 
    box-shadow: 
      0 0 30px rgba(139, 92, 246, 0.4),
      0 0 60px rgba(236, 72, 153, 0.2);
  }
  50% { 
    box-shadow: 
      0 0 30px rgba(236, 72, 153, 0.4),
      0 0 60px rgba(34, 197, 94, 0.2);
  }
  75% { 
    box-shadow: 
      0 0 30px rgba(34, 197, 94, 0.4),
      0 0 60px rgba(59, 130, 246, 0.2);
  }
}

.promo-slider {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.promo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-slide.active {
  opacity: 1;
  z-index: 1;
}

.promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === HERO VISUAL (AI CORE) === */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bot-card-modern {
  width: 240px;
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-core-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.4));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  75% { transform: translateY(-5px) rotate(-1deg); }
}

.bot-signals-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.signal {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signal-buy {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  animation: pulse-green 2s infinite;
}

.signal-sell {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
  animation: pulse-red 2s infinite;
}

.signal:hover {
  transform: scale(1.1);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.8), 0 0 60px rgba(34, 197, 94, 0.4); }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.8), 0 0 60px rgba(239, 68, 68, 0.4); }
}

/* === SIGNAL FEED === */
.signal-feed {
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 20px;
  padding: 18px;
  backdrop-filter: blur(24px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.signal-feed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), rgba(168, 85, 247, 0.5), transparent);
}

.signal-feed-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.signal-feed-title::before {
  content: '';
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34, 197, 94, 0.4);
  animation: live-pulse 2s infinite;
}

.signal-feed-title::after {
  content: 'LIVE';
  font-size: 9px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
  letter-spacing: 1px;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; transform: scale(0.9); box-shadow: 0 0 8px #22c55e, 0 0 16px rgba(34, 197, 94, 0.3); }
}

.master-signal-feed {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.master-signal-feed::-webkit-scrollbar {
  width: 5px;
}

.master-signal-feed::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
}

.master-signal-feed::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.6), rgba(168, 85, 247, 0.6));
  border-radius: 5px;
}

.master-signal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: signalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.master-signal-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

@keyframes signalSlideIn {
  from { opacity: 0; transform: translateY(-15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.master-signal-item:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.master-signal-item.signal-win {
  border-left: 3px solid #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.02) 100%);
}

.master-signal-item.signal-loss {
  border-left: 3px solid #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.02) 100%);
}

.no-item {
  color: #64748b;
  font-size: 12px;
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.hero-caption {
  color: #64748b;
  font-size: 12px;
  text-align: center;
  max-width: 250px;
  line-height: 1.5;
}

/* === SECTIONS === */
.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section.alt {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.section.alt > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: block;
  width: 100%;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  border-radius: 2px;
}

.section-sub {
  text-align: center;
  color: #94a3b8;
  font-size: 17px;
  max-width: 650px;
  margin: 24px auto 56px;
  line-height: 1.7;
}

/* === GRID === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* === CARDS === */
.card {
  background: linear-gradient(145deg, rgba(20, 30, 50, 0.9), rgba(10, 15, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 36px 28px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b);
  background-size: 300% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

.feature-card, .icon-card {
  text-align: center;
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 24px rgba(59, 130, 246, 0.4));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 12px 32px rgba(59, 130, 246, 0.5));
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  transition: all 0.3s ease;
}

.card:hover .icon-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #fff;
}

.card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* === GROWTH VISUAL === */
.growth-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.growth-visual img {
  display: block;
  transition: transform 0.5s ease;
}

.growth-visual:hover img {
  transform: scale(1.02);
}

.caption {
  color: #64748b;
  font-size: 13px;
}

/* === TUTORIAL === */
.tutorial-download-row {
  margin: 30px 0;
}

.download-big-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #ffffff !important;
  padding: 18px 36px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 16px !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.download-big-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.download-big-btn:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.6) !important;
}

.tutorial-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tutorial-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(10, 15, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.4s ease;
}

.tutorial-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
  transform: translateY(-5px);
}

.tutorial-image-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tutorial-image-frame img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.tutorial-card:hover .tutorial-image-frame img {
  transform: scale(1.02);
}

.tutorial-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #fff;
}

.tutorial-text ol {
  padding-left: 20px;
  margin: 0;
}

.tutorial-text li {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* === ACCORDION === */
.accordion {
  margin-top: 16px;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.accordion-header:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}

.accordion-header.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  border-color: rgba(34, 197, 94, 0.3);
}

.accordion-icon {
  font-size: 18px;
  font-weight: 700;
  color: #22c55e;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-panel {
  display: none;
  padding: 16px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: 10px;
  margin-bottom: 8px;
  border-left: 3px solid rgba(34, 197, 94, 0.5);
}

.accordion-panel.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Copy notification animations */
@keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes slideUp {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

.accordion-panel p,
.accordion-panel li {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.7;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(10, 15, 30, 0.95));
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 30px 80px rgba(59, 130, 246, 0.2);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: rgba(34, 197, 94, 0.3);
  transform: scale(1.02);
}

.pricing-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.pricing-card.selected {
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
}

.package-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.package-top h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.points-badge, .package-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.points-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #020617;
}

.package-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: #22c55e;
  margin: 16px 0 8px;
  text-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.duration {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.detail-list li {
  padding: 10px 0;
  color: #94a3b8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.detail-list li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  min-width: 16px;
  width: 16px;
  text-align: center;
}

.detail-list li strong {
  color: #fff;
}

/* === TOPUP === */
.topup-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.topup-info {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(10, 15, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
}

.topup-info .steps {
  padding-left: 0;
  list-style: none;
}

.topup-info .steps li {
  padding: 16px 0;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Package selection styles */
.package-option:hover {
  border-color: #3b82f6 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.package-option:has(input:checked) {
  border-color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.15) !important;
}

/* Payment method button styles */
.payment-method-btn:hover {
  transform: translateY(-1px);
}

/* Secondary button style */
.secondary-btn {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(100, 116, 139, 0.3);
  color: #94a3b8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.secondary-btn:hover {
  background: rgba(100, 116, 139, 0.3);
  color: #e5e7eb;
}

.note {
  color: #64748b;
  font-size: 13px;
  margin-top: 20px;
}

.topup-form {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(10, 15, 30, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
}

.topup-form label,
.login-box label {
  display: block;
  margin-bottom: 20px;
}

.topup-form label span,
.login-box label span {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.topup-form input,
.topup-form select,
.topup-form textarea,
.login-box input {
  width: 100%;
  padding: 14px 16px;
  background: #0f172a;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  color: #e5e7eb;
  font-size: 14px;
  transition: all 0.3s ease;
}

.topup-form select option {
  background: #0f172a;
  color: #e5e7eb;
  padding: 12px;
}

.topup-form input:focus,
.topup-form select:focus,
.topup-form textarea:focus,
.login-box input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.topup-form textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-info {
  color: #64748b;
  font-size: 12px;
  margin-top: 12px;
}

/* === FOOTER === */
.footer {
  padding: 80px 24px 40px;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), transparent);
}

.footer-left h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px 0;
  background: linear-gradient(135deg, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-left p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 24px 0;
}

.social-logos {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-logo-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.social-logo-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-logo-btn:hover {
  transform: translateY(-8px) rotate(-5deg);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.social-logo-btn:hover::before {
  opacity: 1;
}

.social-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1.2);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-logo-btn:hover .social-logo {
  transform: scale(1.1);
}

.copyright {
  color: #64748b;
  font-size: 13px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 20px;
}

/* === MODAL === */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  background: 
    radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(145deg, rgba(20, 30, 50, 0.98), rgba(10, 15, 30, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 36px;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal:not(.hidden) .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  color: #ef4444;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fff;
  transform: rotate(90deg);
}

/* === LOGIN BOX === */
.login-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(10, 15, 30, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.login-box:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.login-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #fff;
}

.login-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 12px 0;
  color: #fff;
}

.login-result, .login-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
}

/* === TABS === */
.membership-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px;
  border-radius: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.tab-btn.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
}

.tab-panel.hidden {
  display: none;
}

/* === COPY BUTTON === */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #fff;
}

/* === IMAGE MODAL === */
.image-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.image-modal.hidden {
  display: none;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.image-modal-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.image-modal-dialog img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.image-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.image-modal-close:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

/* === ADMIN === */
.admin-topups {
  max-height: 400px;
  overflow-y: auto;
}

.admin-topup-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.admin-topup-row:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.05);
}

.admin-topup-row img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* === SOCIAL BUTTONS === */
.social-btn, .line-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::before,
.line-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.social-btn:hover::before,
.line-btn:hover::before {
  left: 100%;
}

.social-btn:hover,
.line-btn:hover {
  transform: translateY(-4px);
}

.social-btn.discord {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.4);
}

.social-btn.telegram {
  background: linear-gradient(135deg, #0088cc, #0077b5);
  box-shadow: 0 6px 25px rgba(0, 136, 204, 0.4);
}

.line-btn {
  background: linear-gradient(135deg, #00C300, #00B900);
  box-shadow: 0 6px 25px rgba(0, 195, 0, 0.4);
}

.social-btn .social-icon,
.line-btn .social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .hero-visual {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .promo-slider {
    height: 280px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-bullets {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-slider-center {
    order: 2;
  }
  
  .hero-visual {
    order: 3;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .topup-layout {
    grid-template-columns: 1fr;
  }
  
  .topup-status-panel {
    order: -1;
    margin-bottom: 20px;
  }
  
  .payment-steps {
    flex-direction: row !important;
  }
  
  .step-item {
    min-width: 80px !important;
    font-size: 11px !important;
    padding: 10px 6px !important;
  }
  
  .tutorial-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 12px 16px 40px;
  }
  
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .logo {
    font-size: 14px;
  }
  
  .nav-right {
    gap: 8px;
  }
  
  .lang-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .member-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
  
  .hero-text h1 {
    font-size: 24px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    justify-content: center;
  }
  
  .promo-slider {
    height: 200px;
  }
  
  .bot-card-modern {
    width: 180px;
    height: 180px;
  }
  
  .signal-feed {
    width: 100%;
    min-width: unset;
    max-width: 100%;
  }
  
  .master-signal-item {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .signal-feed-title {
    font-size: 10px;
  }
  
  .hero-visual {
    width: 100%;
    padding: 0 10px;
  }
  
  .section {
    padding: 50px 16px;
  }
  
  .section h2 {
    font-size: 26px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .footer {
    flex-direction: column;
    padding: 40px 16px;
  }
  
  .modal-dialog {
    padding: 20px;
    border-radius: 16px;
  }
  
  .membership-tabs {
    flex-direction: row;
    gap: 4px;
    padding: 4px;
  }
  
  .tab-btn {
    flex: 1;
    padding: 8px 6px;
    font-size: 11px;
    text-align: center;
  }
  
  .modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    font-size: 18px;
  }
  
  .modal-dialog h2 {
    font-size: 20px;
    padding-right: 40px;
  }
  
  .hero-bullets li {
    font-size: 12px;
    gap: 8px;
    padding: 6px 0;
  }
  
  .hero-bullets li::before {
    min-width: 18px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  
  .detail-list li {
    font-size: 11px;
    gap: 6px;
    padding: 8px 0;
  }
  
  .detail-list li::before {
    min-width: 14px;
    width: 14px;
    font-size: 10px;
  }
  
  .topup-form {
    padding: 20px;
  }
  
  .download-big-btn {
    padding: 14px 24px !important;
    font-size: 16px !important;
  }
  
  .social-row {
    flex-direction: column;
  }
  
  .social-btn, .line-btn {
    justify-content: center;
    width: 100%;
  }
}

/* === UTILITY === */
.hidden {
  display: none !important;
}

.mt-2 {
  margin-top: 8px;
}

.section-sub.small {
  font-size: 13px;
  margin-bottom: 16px;
}

.small-btn {
  padding: 8px 16px;
  font-size: 12px;
}

.full-width-box {
  max-width: 100%;
}

.login-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.member-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #94a3b8;
  font-size: 14px;
}

.member-details strong {
  color: #64748b;
}

#member-info-box.active {
  display: block !important;
  animation: fadeIn 0.3s ease;
}

/* Selection highlight */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.5);
}

/* Contact/Nav link buttons */
.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 13px;
}

.nav-link.nav-link-btn {
  border: 1px solid #4b5563;
  border-radius: 999px;
  padding: 6px 12px;
  background: transparent;
  cursor: pointer;
}

.contact-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #22c55e;
  color: #bbf7d0;
  text-decoration: none;
  font-size: 13px;
}

/* Nav status button */
.nav-status-btn {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), #020617 70%);
  color: #e5e7eb;
  cursor: default;
  box-shadow: 0 8px 20px rgba(15,23,42,0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-status-btn::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 10px rgba(248,113,113,0.7);
}

/* Disabled button states */
.primary-btn[disabled],
.primary-btn.disabled {
  background: linear-gradient(90deg, #94a3b8, #64748b);
  color: #0b1220;
  border: none;
  opacity: 0.9;
  cursor: not-allowed;
  box-shadow: none;
}

.btn[disabled], button[disabled], input[disabled], .disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Details/Summary styling */
details {
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  padding: 4px;
}

details summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary {
  color: #22c55e;
}

/* Signal feed mobile fixes */
@media (max-width: 360px) {
  .signal-feed {
    padding: 12px;
  }
  
  .master-signal-item {
    padding: 6px 8px;
    font-size: 10px;
  }
  
  .signal-feed-title {
    font-size: 9px;
    gap: 6px;
  }
}

/* ============================================
   PREMIUM ANIMATIONS & EFFECTS
   ============================================ */

/* Gradient Text Animation */
.gradient-text {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #22c55e, #3b82f6);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Glow Pulse Animation */
.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
  }
  50% { 
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 80px rgba(59, 130, 246, 0.3);
  }
}

/* Floating Animation */
.float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Shine Effect */
.shine {
  position: relative;
  overflow: hidden;
}

.shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* Ripple Effect on Click */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Neon Border */
.neon-border {
  border: 2px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
              linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899) border-box;
  animation: neonRotate 3s linear infinite;
}

@keyframes neonRotate {
  0% { 
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                linear-gradient(0deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b) border-box;
  }
  25% {
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b) border-box;
  }
  50% {
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                linear-gradient(180deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b) border-box;
  }
  75% {
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                linear-gradient(270deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b) border-box;
  }
  100% {
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
                linear-gradient(360deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b) border-box;
  }
}

/* Glass Morphism */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  border-right: 2px solid #3b82f6;
  white-space: nowrap;
  animation: typing 3s steps(40) infinite, blink 0.5s step-end infinite alternate;
}

@keyframes typing {
  0%, 100% { width: 0; }
  50%, 90% { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Parallax Scroll Effect */
.parallax-container {
  perspective: 1000px;
}

.parallax-item {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.parallax-item:hover {
  transform: translateZ(20px) rotateX(5deg) rotateY(5deg);
}

/* Animated Counter */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Stagger Animation for Lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Tilt Effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) scale(1.02);
}

/* Gradient Border Animation */
.gradient-border {
  position: relative;
  border-radius: 16px;
  background: var(--dark-bg);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #f59e0b, #22c55e);
  background-size: 400% 400%;
  animation: gradientBorder 4s ease infinite;
  z-index: -1;
}

@keyframes gradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Morphing Background */
.morph-bg {
  background: linear-gradient(-45deg, #050816, #1e1b4b, #0f172a, #1e3a5f);
  background-size: 400% 400%;
  animation: morphBg 15s ease infinite;
}

@keyframes morphBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pulsing Dot */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: pulseDot 1.5s ease-out infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #60a5fa, #a78bfa);
}

/* Selection Color */
::selection {
  background: rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

/* Focus States */
*:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  background-size: 200% 100%;
  animation: skeleton 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Tooltip Styles */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Enhanced Card Styles */
.premium-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.premium-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.1);
}

.premium-card:hover::before {
  left: 100%;
}

/* Stats Counter Animation */
.stats-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button Press Effect */
.btn-press {
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-press:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Icon Rotate on Hover */
.icon-rotate:hover .icon {
  transform: rotate(360deg);
  transition: transform 0.6s ease;
}

/* Text Reveal Animation */
.text-reveal {
  position: relative;
  color: transparent;
}

.text-reveal::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: white;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: textReveal 2s ease forwards;
}

@keyframes textReveal {
  to { width: 100%; }
}

/* Bounce Animation */
.bounce {
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-8px); }
}

/* Wave Animation for Background */
.wave-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23050816' fill-opacity='1' d='M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,128C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

/* ============================================
   ADDITIONAL MOBILE RESPONSIVE FIXES
   ============================================ */

/* Mobile Form Input Improvements */
@media (max-width: 600px) {
  /* ฟอร์มใน Member / Admin Modal */
  .topup-form,
  .login-box {
    padding: 16px;
  }
  
  .topup-form input,
  .topup-form select,
  .topup-form textarea,
  .login-box input {
    width: 100%;
    min-width: 0;
    padding: 16px;
    font-size: 16px; /* ป้องกัน iOS zoom */
    border-radius: 10px;
    box-sizing: border-box;
  }
  
  .topup-form label,
  .login-box label {
    margin-bottom: 16px;
  }
  
  .topup-form label span,
  .login-box label span {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  /* Admin topup rows */
  .admin-topup-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }
  
  .admin-topup-row img {
    width: 80px;
    height: 80px;
  }
  
  .admin-topup-row > div {
    width: 100%;
  }
  
  .admin-topup-row button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }
  
  /* Member info boxes */
  .member-details {
    font-size: 13px;
  }
  
  .member-details > div {
    padding: 10px 0;
  }
  
  /* Modal content spacing */
  .modal-dialog {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .tab-panel {
    padding: 0;
  }
  
  /* Buttons in forms */
  .topup-form button,
  .login-box button,
  .topup-form .submit-btn,
  .login-box .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 16px;
  }
  
  /* Copy button */
  .copy-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  /* Status panels */
  .topup-status-panel {
    padding: 14px;
  }
  
  /* QR Code section */
  .qr-section img,
  .qr-section canvas {
    max-width: 200px;
    height: auto;
  }
}

/* Extra small screens (iPhone SE, small phones) */
@media (max-width: 375px) {
  .hero-text h1 {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .hero-text .badge-world-class {
    font-size: 10px;
    padding: 6px 10px;
  }
  
  .section h2 {
    font-size: 22px;
  }
  
  .section-sub {
    font-size: 13px;
  }
  
  .pricing-card .price {
    font-size: 28px;
  }
  
  .package-option {
    padding: 12px !important;
  }
  
  .package-option > div:last-child {
    text-align: right;
  }
  
  .package-option > div:last-child > div:first-child {
    font-size: 16px !important;
  }
  
  /* Bot modes section mobile */
  #bot-modes > div:nth-child(3) {
    grid-template-columns: 1fr !important;
  }
  
  #bot-modes > div:nth-child(3) > div {
    min-width: unset !important;
  }
  
  /* Modal form extra small */
  .topup-form,
  .login-box {
    padding: 14px;
  }
  
  .topup-form input,
  .topup-form select,
  .topup-form textarea,
  .login-box input {
    padding: 14px 12px;
    font-size: 16px;
  }
  
  .modal-dialog h2 {
    font-size: 18px;
  }
  
  .tab-btn {
    padding: 8px 4px;
    font-size: 10px;
  }
  
  .admin-topup-row {
    padding: 12px;
  }
  
  .admin-topup-row img {
    width: 60px;
    height: 60px;
  }
}

/* Portrait orientation specific */
@media (max-width: 600px) and (orientation: portrait) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-slider-center {
    order: 2;
    width: 100%;
  }
  
  .hero-visual {
    order: 3;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-bullets {
    text-align: left;
  }
  
  /* Make promo cards stack properly */
  #promotions > div:last-child {
    grid-template-columns: 1fr !important;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .primary-btn,
  .secondary-btn,
  .package-option,
  .pricing-card {
    min-height: 48px;
  }
  
  .accordion-header {
    min-height: 56px;
  }
  
  /* Larger tap targets */
  .social-logo-btn {
    min-width: 48px;
    min-height: 48px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card,
  .pricing-card,
  .login-box {
    border-width: 2px;
  }
  
  .gradient-text {
    -webkit-text-fill-color: #3b82f6;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .gradient-text {
    animation: none;
    background-position: 0% 50%;
  }
}

/* Print styles */
@media print {
  .hero::before,
  .hero::after,
  body::before,
  body::after {
    display: none;
  }
  
  .modal,
  .nav-right,
  .primary-btn,
  .secondary-btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Mobile portrait: Fix cramped inputs with buttons */
@media (max-width: 500px) {
  /* Admin user search - stack vertically */
  .admin-search-row {
    flex-direction: column !important;
  }
  
  .admin-search-row input {
    width: 100% !important;
    flex: none !important;
    min-width: unset !important;
  }
  
  .admin-search-row button {
    width: 100% !important;
  }
  
  /* Edit user form: make grid single column */
  .admin-edit-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Expiry date quick buttons - stack */
  .expiry-row {
    flex-direction: column !important;
  }
  
  .expiry-row input {
    width: 100% !important;
    flex: none !important;
    min-width: unset !important;
  }
  
  .expiry-row .expiry-quick-btn {
    width: 100% !important;
  }
  
  /* Exchange rate editor - stack */
  .exchange-rate-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .exchange-rate-row input {
    width: 100% !important;
    flex: none !important;
  }
  
  .exchange-rate-row button {
    width: 100% !important;
  }
}

/* ============================================
   EARNINGS & MASTERS MOBILE RESPONSIVE
   ============================================ */

/* Loading Spinner */
.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Master Cards Mobile */
@media (max-width: 480px) {
  .master-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  
  .master-card button {
    width: 100% !important;
    margin-top: 8px;
  }
  
  #masters-container {
    padding: 12px !important;
  }
  
  #master-earnings-content {
    padding: 12px !important;
  }
  
  /* Earnings Stats Grid */
  #master-earnings-content > div:first-child {
    padding: 14px !important;
  }
}

/* ============================================
   ELEGANT DETAILS/SUMMARY MENU STYLES
   ============================================ */
   
/* Base details styling */
#member-info-box details {
  transition: all 0.3s ease;
}

#member-info-box details summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 30px !important;
}

#member-info-box details summary::-webkit-details-marker {
  display: none;
}

#member-info-box details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

#member-info-box details[open] summary::after {
  content: '−';
  color: rgba(255,255,255,0.6);
}

#member-info-box details summary:hover::after {
  color: rgba(255,255,255,0.8);
}

/* Smooth open animation */
#member-info-box details > div {
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Details/Summary Mobile Improvements */
@media (max-width: 600px) {
  #member-info-box details summary {
    font-size: 13px !important;
    padding: 12px 0 !important;
  }
  
  #member-info-box details > div {
    padding: 16px !important;
  }
  
  /* Subscribe All Button */
  #subscribe-all-masters {
    padding: 10px !important;
    font-size: 13px !important;
  }
  
  /* My Subscriptions */
  #my-subscriptions span {
    font-size: 11px !important;
    padding: 3px 8px !important;
  }
}

/* ============================================
   MOBILE PORTRAIT RESPONSIVE (Member Center)
   ============================================ */
@media (max-width: 480px) {
  /* Member Center Container */
  #member-info-box {
    padding: 16px !important;
  }
  
  #member-info-box details > div {
    padding: 16px !important;
  }
  
  /* Member Info Grid - Stack on mobile */
  #member-info-box .member-info-grid,
  #member-info-box [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  /* Referral Stats - Stack on mobile */
  #referral-details [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Master Stats - Make smaller on mobile */
  #master-profile-details [style*="grid-template-columns:1fr 1fr 1fr"] {
    gap: 6px !important;
  }
  
  #master-profile-details [style*="grid-template-columns:1fr 1fr 1fr"] > div {
    padding: 10px 6px !important;
  }
  
  /* Password toggle buttons - fix vertical alignment */
  .toggle-password-btn {
    width: 40px !important;
    height: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 6px !important;
  }
  
  /* Buttons full width on mobile */
  #change-password-form button[type="submit"],
  #save-master-profile-btn,
  #subscribe-all-masters,
  #affiliate-signup-btn {
    padding: 12px !important;
    font-size: 14px !important;
  }
  
  /* Referral code display */
  #my-referral-code {
    font-size: 22px !important;
    letter-spacing: 2px !important;
  }
  
  /* Copy link button */
  #referral-container button[onclick="copyReferralCode()"] {
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
  
  /* Topup History Cards */
  #topup-history-list > div {
    padding: 14px !important;
  }
  
  /* Summary text smaller on mobile */
  #member-info-box details summary {
    font-size: 13px !important;
    padding: 12px 0 !important;
  }
  
  /* Form labels smaller */
  #change-password-form label,
  #master-profile-container label span {
    font-size: 11px !important;
  }
  
  /* Input fields */
  #change-password-form input,
  #master-profile-container input,
  #master-profile-container textarea {
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
}

/* Extra small devices (very narrow phones) */
@media (max-width: 360px) {
  #member-info-box {
    padding: 12px !important;
  }
  
  #member-info-box details > div {
    padding: 12px !important;
  }
  
  #my-referral-code {
    font-size: 18px !important;
    letter-spacing: 1px !important;
  }
  
  .toggle-password-btn {
    width: 36px !important;
    height: 36px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 6px !important;
  }
  
  .toggle-password-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* ============================================
   REVIEWS SECTION RESPONSIVE
   ============================================ */

/* Reviews section base styles */
#reviews {
  padding: 60px 20px;
}

#reviews h2 {
  text-align: center;
  margin-bottom: 12px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Tablet responsive */
@media (max-width: 768px) {
  #reviews {
    padding: 40px 16px;
  }
  
  .review-stats {
    gap: 24px !important;
    margin-bottom: 30px !important;
  }
  
  .review-stats > div {
    min-width: 80px;
  }
  
  .review-stats > div > div:first-child {
    font-size: 36px !important;
  }
  
  .reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 16px !important;
  }
  
  .review-card {
    padding: 20px !important;
  }
  
  .review-card p {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
}

/* Mobile portrait responsive */
@media (max-width: 480px) {
  #reviews {
    padding: 32px 12px;
  }
  
  #reviews h2 {
    font-size: 22px !important;
  }
  
  #reviews .section-sub {
    font-size: 14px !important;
    padding: 0 8px;
  }
  
  .review-stats {
    flex-direction: column !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }
  
  .review-stats > div {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 24px;
    border-radius: 12px;
    min-width: 150px;
  }
  
  .review-stats > div > div:first-child {
    font-size: 32px !important;
  }
  
  .review-stats > div > div:last-child,
  .review-stats > div > div[data-i18n] {
    font-size: 12px !important;
  }
  
  .review-stats > div .stars,
  .review-stats > div > div:nth-child(2) {
    font-size: 16px !important;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 4px;
  }
  
  .review-card {
    padding: 18px !important;
    border-radius: 16px !important;
  }
  
  /* Review card header */
  .review-card > div:first-child {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  
  /* Avatar */
  .review-card > div:first-child > div:first-child {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
  
  /* Name and time */
  .review-card > div:first-child > div:nth-child(2) > div:first-child {
    font-size: 14px !important;
  }
  
  .review-card > div:first-child > div:nth-child(2) > div:last-child {
    font-size: 11px !important;
  }
  
  /* Stars */
  .review-card > div:first-child > div:last-child {
    font-size: 12px !important;
  }
  
  /* Review text */
  .review-card > p {
    font-size: 13px !important;
    line-height: 1.75 !important;
  }
  
  /* Reviews Carousel Mobile */
  .reviews-carousel-container {
    padding: 0 !important;
  }
  
  .carousel-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  
  .carousel-prev {
    left: 4px !important;
  }
  
  .carousel-next {
    right: 4px !important;
  }
  
  .review-card {
    flex: 0 0 calc(100vw - 60px) !important;
    min-width: calc(100vw - 60px) !important;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  #reviews {
    padding: 24px 8px;
  }
  
  #reviews h2 {
    font-size: 20px !important;
  }
  
  .review-stats > div {
    padding: 12px 20px;
  }
  
  .review-stats > div > div:first-child {
    font-size: 28px !important;
  }
  
  .review-card {
    padding: 14px !important;
    flex: 0 0 calc(100vw - 50px) !important;
    min-width: calc(100vw - 50px) !important;
  }
  
  .review-card > div:first-child > div:first-child {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  
  .review-card > p {
    font-size: 12px !important;
  }
  
  .carousel-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  
  .carousel-prev {
    left: 2px !important;
  }
  
  .carousel-next {
    right: 2px !important;
  }
}

/* Carousel Arrow Hover Effects */
.carousel-arrow:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: #3b82f6 !important;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Carousel Dots */
.carousel-dot:hover {
  transform: scale(1.2);
  background: rgba(59, 130, 246, 0.6) !important;
}

/* Tablet Carousel */
@media (max-width: 768px) {
  .review-card {
    flex: 0 0 320px !important;
    min-width: 320px !important;
  }
}
