/* ===== eTORO REBRAND 2026 — OPTION B "BOLD & ENERGETIC" — 200% INTENSITY ===== */

/* ===== CUSTOM PROPERTIES OVERRIDE ===== */
:root {
  --green: #00FF88 !important;
  --green-dark: #00CC6A !important;
  --navy: #0A0E27 !important;
  --navy-light: #121838 !important;
  --cyber: #00D4FF;
  --cyber-dark: #00A8CC;
  --neon-purple: #8B5CF6;
  --neon-pink: #FF006E;
  --gray-50: #0F1435 !important;
  --gray-100: #141A3E !important;
  --gray-200: #1E2650 !important;
  --gray-400: #5A6B9A !important;
  --gray-600: #8892B0 !important;
  --gray-800: #CCD6F6 !important;
  --white: #FFFFFF !important;
  --shadow: 0 2px 20px rgba(0,255,136,.08), 0 1px 3px rgba(0,0,0,.3) !important;
  --shadow-lg: 0 20px 60px rgba(0,255,136,.15), 0 10px 25px rgba(0,0,0,.3) !important;
  --glow-green: 0 0 20px rgba(0,255,136,.4), 0 0 60px rgba(0,255,136,.15);
  --glow-cyber: 0 0 20px rgba(0,212,255,.4), 0 0 60px rgba(0,212,255,.15);
  --glow-purple: 0 0 20px rgba(139,92,246,.4), 0 0 60px rgba(139,92,246,.15);
  --gradient-main: linear-gradient(135deg, #00FF88, #00D4FF);
  --gradient-hero: linear-gradient(135deg, #0A0E27 0%, #121838 40%, #0A1628 70%, #0A0E27 100%);
  --gradient-card: linear-gradient(145deg, rgba(20,26,62,.8), rgba(10,14,39,.9));
  --transition: all .3s cubic-bezier(.4,0,.2,1) !important;
}

/* ===== GLOBAL DARK MODE ===== */
body {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif !important;
  background: #0A0E27 !important;
  color: #CCD6F6 !important;
  overflow-x: hidden;
}

a { color: #00FF88 !important; }
a:hover { color: #00D4FF !important; text-shadow: 0 0 10px rgba(0,212,255,.5); }

h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF !important;
  font-family: 'Space Grotesk', sans-serif !important;
  letter-spacing: -0.03em;
}

p { color: #8892B0 !important; }

/* ===== ANIMATED BACKGROUND GRID ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(0,255,136,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ===== HEADER — GLASS DARK ===== */
.site-header {
  background: rgba(10,14,39,.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0,255,136,.15) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00FF88, #00D4FF, transparent);
  opacity: .6;
}

.site-logo .logo-text {
  color: #FFFFFF !important;
  font-family: 'Space Grotesk', sans-serif !important;
  letter-spacing: -0.04em;
}
.site-logo .logo-text span { color: #00FF88 !important; }
.site-logo svg rect { fill: #00FF88 !important; }

.main-nav a {
  color: #CCD6F6 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  position: relative;
  border-radius: 8px;
}
.main-nav a:hover {
  background: rgba(0,255,136,.08) !important;
  color: #00FF88 !important;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gradient-main);
  transition: all .3s ease;
  border-radius: 2px;
}
.main-nav a:hover::after { left: 20%; right: 20%; }

/* ===== BUTTONS — NEON GLOW ===== */
.btn {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  border-radius: 10px !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #00FF88, #00CC6A) !important;
  color: #0A0E27 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(0,255,136,.3), 0 0 40px rgba(0,255,136,.1) !important;
  border: none !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #33FFaa, #00FF88) !important;
  color: #0A0E27 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 30px rgba(0,255,136,.5), 0 0 60px rgba(0,255,136,.2) !important;
}

.btn-outline {
  background: transparent !important;
  border: 2px solid rgba(0,255,136,.4) !important;
  color: #00FF88 !important;
}
.btn-outline:hover {
  background: rgba(0,255,136,.1) !important;
  border-color: #00FF88 !important;
  color: #00FF88 !important;
  box-shadow: var(--glow-green) !important;
}

/* ===== HERO — FULL REBRAND ===== */
.hero {
  background: var(--gradient-hero) !important;
  padding: 120px 0 100px !important;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '' !important;
  position: absolute !important;
  top: -30% !important; right: -15% !important;
  width: 800px !important; height: 800px !important;
  background: radial-gradient(circle, rgba(0,255,136,.2) 0%, rgba(0,212,255,.1) 40%, transparent 70%) !important;
  border-radius: 50% !important;
  animation: heroOrb1 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '' !important;
  position: absolute !important;
  bottom: -40% !important; left: -15% !important;
  width: 600px !important; height: 600px !important;
  background: radial-gradient(circle, rgba(0,212,255,.15) 0%, rgba(139,92,246,.08) 40%, transparent 70%) !important;
  border-radius: 50% !important;
  animation: heroOrb2 10s ease-in-out infinite alternate;
}

@keyframes heroOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes heroOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.15); }
}

/* Floating particles */
.hero .container { position: relative; }
.hero .container::before {
  content: '✦';
  position: absolute;
  top: 20%; right: 10%;
  font-size: 20px;
  color: #00FF88;
  opacity: .6;
  animation: float 6s ease-in-out infinite;
}
.hero .container::after {
  content: '◆';
  position: absolute;
  bottom: 20%; right: 25%;
  font-size: 14px;
  color: #00D4FF;
  opacity: .4;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #00FF88 50%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1 !important;
  margin-bottom: 24px !important;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.15); }
}

.hero-content p {
  font-size: 1.25rem !important;
  color: rgba(204,214,246,.8) !important;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex !important;
  padding: 10px 24px !important;
  background: rgba(0,255,136,.08) !important;
  border: 1px solid rgba(0,255,136,.2) !important;
  border-radius: 50px !important;
  color: #00FF88 !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  backdrop-filter: blur(10px);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,136,.2); }
  50% { box-shadow: 0 0 0 10px rgba(0,255,136,0); }
}

/* ===== SECTIONS ===== */
.section {
  background: #0A0E27 !important;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, #0D1230, #0A0E27) !important;
}

.section-header h2 {
  background: linear-gradient(135deg, #FFFFFF, #00D4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p { color: #8892B0 !important; }

/* ===== STATS BAR — CYBER ===== */
.stats-bar {
  background: linear-gradient(145deg, rgba(18,24,56,.9), rgba(10,14,39,.95)) !important;
  border: 1px solid rgba(0,255,136,.15) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 1px 0 rgba(0,255,136,.1) !important;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00FF88, #00D4FF, transparent);
}

.stat-number {
  color: #00FF88 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  text-shadow: 0 0 20px rgba(0,255,136,.5);
}

.stat-label { color: #5A6B9A !important; }

/* ===== CARDS — GLASS NEON ===== */
.card, .cards-grid > a, .cards-grid > div {
  background: var(--gradient-card) !important;
  border: 1px solid rgba(0,255,136,.1) !important;
  border-radius: 16px !important;
  position: relative;
  overflow: hidden;
  transition: all .4s cubic-bezier(.4,0,.2,1) !important;
}

.card::before, .cards-grid > a::before, .cards-grid > div::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00FF88, #00D4FF);
  opacity: 0;
  transition: opacity .3s ease;
}

.card:hover, .cards-grid > a:hover, .cards-grid > div:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(0,255,136,.3) !important;
  box-shadow: 0 20px 60px rgba(0,255,136,.15), 0 0 30px rgba(0,255,136,.05) !important;
}

.card:hover::before, .cards-grid > a:hover::before, .cards-grid > div:hover::before {
  opacity: 1;
}

.card h3 { color: #FFFFFF !important; }
.card p { color: #8892B0 !important; }
.card-link { color: #00FF88 !important; font-weight: 600; }
.card-link:hover { color: #00D4FF !important; }

.card-icon {
  font-size: 2.5rem !important;
  filter: saturate(1.5) brightness(1.2);
  margin-bottom: 16px;
}

/* ===== CONTENT AREA — DARK ===== */
.content-area, .entry-content {
  color: #CCD6F6 !important;
}

.entry-content h1, .entry-content h2, .entry-content h3 {
  color: #FFFFFF !important;
}

.entry-content p { color: #8892B0 !important; }

.entry-content a { color: #00FF88 !important; }
.entry-content a:hover { color: #00D4FF !important; }

/* Tables in entry content */
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  background: rgba(18,24,56,.5);
  border: 1px solid rgba(0,255,136,.15);
  border-radius: 12px;
  overflow: hidden;
}

.entry-content th {
  background: linear-gradient(135deg, rgba(0,255,136,.1), rgba(0,212,255,.05)) !important;
  color: #00FF88 !important;
  padding: 14px 18px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  border-bottom: 1px solid rgba(0,255,136,.2);
}

.entry-content td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(30,38,80,.8);
  color: #CCD6F6 !important;
}

.entry-content tr:hover td {
  background: rgba(0,255,136,.03);
}

/* Lists */
.entry-content ul, .entry-content ol {
  color: #8892B0;
}
.entry-content li { color: #CCD6F6 !important; margin-bottom: 8px; }
.entry-content li::marker { color: #00FF88; }

/* Blockquotes */
.entry-content blockquote {
  border-left: 3px solid #00FF88;
  background: rgba(0,255,136,.05);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

/* ===== FOOTER — DEEP SPACE ===== */
.site-footer {
  background: linear-gradient(180deg, #080B20, #050714) !important;
  color: #5A6B9A !important;
  border-top: 1px solid rgba(0,255,136,.1) !important;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00FF88, #00D4FF, transparent);
}

.footer-brand .logo-text { color: #FFFFFF !important; font-family: 'Space Grotesk', sans-serif !important; }
.footer-brand .logo-text span { color: #00FF88 !important; }
.footer-brand p { color: #5A6B9A !important; }

.footer-col h4 { color: #00D4FF !important; font-family: 'Space Grotesk', sans-serif !important; text-transform: uppercase; font-size: .85rem !important; letter-spacing: .1em; }
.footer-col a, .site-footer a { color: #5A6B9A !important; }
.footer-col a:hover, .site-footer a:hover { color: #00FF88 !important; }

.footer-disclaimer {
  border-color: rgba(0,255,136,.1) !important;
}
.footer-disclaimer p { color: #3D4A70 !important; font-size: .8rem !important; }

.footer-bottom { color: #3D4A70 !important; border-color: rgba(0,255,136,.08) !important; }
.footer-bottom span { color: #3D4A70 !important; }

/* ===== FORMS ===== */
input, textarea, select {
  background: rgba(18,24,56,.8) !important;
  border: 1px solid rgba(0,255,136,.15) !important;
  color: #CCD6F6 !important;
  border-radius: 10px !important;
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif !important;
  transition: all .3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #00FF88 !important;
  box-shadow: 0 0 0 3px rgba(0,255,136,.1), var(--glow-green) !important;
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: #5A6B9A !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.card, .stat, .section-header, .hero-content, .entry-content > * {
  animation: fadeInUp .6s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stagger cards */
.cards-grid > *:nth-child(1) { animation-delay: .1s; }
.cards-grid > *:nth-child(2) { animation-delay: .2s; }
.cards-grid > *:nth-child(3) { animation-delay: .3s; }
.cards-grid > *:nth-child(4) { animation-delay: .4s; }
.cards-grid > *:nth-child(5) { animation-delay: .5s; }
.cards-grid > *:nth-child(6) { animation-delay: .6s; }

/* Stats stagger */
.stats-bar > *:nth-child(1) { animation-delay: .15s; }
.stats-bar > *:nth-child(2) { animation-delay: .3s; }
.stats-bar > *:nth-child(3) { animation-delay: .45s; }
.stats-bar > *:nth-child(4) { animation-delay: .6s; }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A0E27; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #00FF88, #00D4FF); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00FF88; }

/* ===== SELECTION ===== */
::selection { background: rgba(0,255,136,.3); color: #FFFFFF; }

/* ===== IMAGES — GRADIENT OVERLAY ===== */
.entry-content img, .card img {
  border-radius: 12px;
  border: 1px solid rgba(0,255,136,.1);
  transition: all .4s ease;
}
.entry-content img:hover, .card img:hover {
  box-shadow: var(--glow-green);
  transform: scale(1.02);
}

/* ===== WP BLOCKS DARK ===== */
.wp-block-group, .wp-block-columns {
  color: #CCD6F6 !important;
}

.wp-block-button__link {
  background: linear-gradient(135deg, #00FF88, #00CC6A) !important;
  color: #0A0E27 !important;
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: var(--glow-green) !important;
}
.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(0,255,136,.5) !important;
}

.wp-block-separator {
  border-color: rgba(0,255,136,.15) !important;
}

.wp-block-quote {
  border-left-color: #00FF88 !important;
  background: rgba(0,255,136,.05);
  padding: 20px;
  border-radius: 0 12px 12px 0;
}

/* ===== SHOWCASE PAGES ===== */
.showcase-grid, .showcase-card, [class*="showcase"] {
  background: var(--gradient-card) !important;
  border: 1px solid rgba(0,255,136,.1) !important;
  border-radius: 16px !important;
}

/* ===== PASSWORD FORM ===== */
.post-password-form {
  background: var(--gradient-card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(0,255,136,.15);
  max-width: 500px;
  margin: 60px auto;
}

.post-password-form label { color: #CCD6F6 !important; font-family: 'Space Grotesk', sans-serif; }

.post-password-form input[type="submit"] {
  background: linear-gradient(135deg, #00FF88, #00CC6A) !important;
  color: #0A0E27 !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
  cursor: pointer;
  box-shadow: var(--glow-green) !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px !important; }
  
  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
  
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10,14,39,.98) !important;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    border-bottom: 1px solid rgba(0,255,136,.15);
  }
  
  .main-nav.active {
    transform: translateY(0);
  }
  
  .menu-toggle {
    display: block !important;
  }
  .menu-toggle span {
    background: #CCD6F6 !important;
  }
  
  .cards-grid { gap: 16px !important; }
  
  .card:hover, .cards-grid > a:hover {
    transform: translateY(-4px) !important;
  }

  body::before { display: none; }
}

/* ===== PULSE ANIMATION FOR CTAs ===== */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0,255,136,.3), 0 0 20px rgba(0,255,136,.1); }
  50% { box-shadow: 0 0 15px rgba(0,255,136,.5), 0 0 40px rgba(0,255,136,.2); }
}

.btn-primary { animation: neonPulse 3s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

/* ===== GRADIENT TEXT UTILITY ===== */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GLOW BORDERS ===== */
.glow-border {
  border: 1px solid rgba(0,255,136,.2);
  box-shadow: var(--glow-green);
}

/* ===== ANIMATED COUNTER ===== */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* ===== SMOOTH PAGE TRANSITIONS ===== */
.content-area {
  animation: pageIn .5s ease both;
  padding: 60px 0;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== LINK GLOW ON HOVER ===== */
.footer-col a, .main-nav a {
  transition: all .3s ease, text-shadow .3s ease !important;
}

/* ===== CYBER LINES (decorative) ===== */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,.1), transparent);
}

/* ===== TEXT GLOW ON HOVER ===== */
h2:hover, h3:hover {
  text-shadow: 0 0 30px rgba(0,255,136,.2);
}

/* ===== OVERRIDE ANY INLINE WHITE BACKGROUNDS ===== */
[style*="background: white"], [style*="background:#fff"], [style*="background-color: white"], [style*="background-color:#fff"],
[style*="background: #fff"], [style*="background-color: #FFF"], [style*="background:#FFF"],
[style*="background-color: rgb(255"], [style*="background: rgb(255"] {
  background: #0A0E27 !important;
}

/* ===== OVERRIDE WP ADMIN BAR ===== */
#wpadminbar { backdrop-filter: blur(10px); }
