/* ========================================================
   DIOR SMM - ULTRA-CREATIVE CYBER LIME DESIGN SYSTEM
   Theme inspired by DIOR SMM Official 3D Neon Brand Identity
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --primary-lime: #9fe81b;
  --lime-bright: #a3e635;
  --lime-glow: rgba(159, 232, 27, 0.45);
  --lime-dim: rgba(159, 232, 27, 0.12);
  --lime-border: rgba(159, 232, 27, 0.3);
  
  --bg-dark: #0a0f0c;
  --bg-surface: #0e1611;
  --card-bg: rgba(16, 24, 19, 0.88);
  --card-bg-hover: rgba(22, 34, 26, 0.95);
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-lime: #a3e635;
  
  --tg-blue: #0088cc;
  --tg-blue-glow: rgba(0, 136, 204, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(159, 232, 27, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 0% 50%, rgba(0, 136, 204, 0.06) 0%, transparent 35%),
    linear-gradient(rgba(159, 232, 27, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 232, 27, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 42px 42px, 42px 42px;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Text Visibility & High Contrast Overrides */
p {
  color: #e2e8f0;
  font-size: 1.02rem;
  line-height: 1.75;
}

.text-muted, 
.text-secondary {
  color: #cbd5e1 !important; /* Bright silver, 100% clear and legible */
}

b, strong {
  color: #ffffff;
  font-weight: 700;
}

.terms-text {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.85;
}

.terms-text b {
  color: var(--primary-lime);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #080d0a;
}
::-webkit-scrollbar-thumb {
  background: #1c2b21;
  border-radius: 5px;
  border: 1px solid var(--lime-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-lime);
}

/* Typography & Glows */
.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

.text-gradient-lime {
  background: linear-gradient(135deg, #ffffff 0%, #c7f284 30%, #9fe81b 70%, #65a30d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(159, 232, 27, 0.35));
}

.text-gradient-silver {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-lime {
  box-shadow: 0 0 30px var(--lime-glow);
}

/* Navbar */
.dior-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(10, 15, 12, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lime-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(159, 232, 27, 0.15);
  padding: 14px 0;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--primary-lime);
  box-shadow: 0 0 15px var(--lime-glow);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-container:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.08);
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--tg-blue);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  box-shadow: 0 0 10px var(--tg-blue-glow);
}

.nav-pill-link {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-pill-link:hover,
.nav-pill-link.active {
  color: var(--primary-lime);
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  box-shadow: 0 0 15px rgba(159, 232, 27, 0.15);
}

/* Glassmorphism Cards */
.dior-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--lime-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dior-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(159, 232, 27, 0.06), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
}

.dior-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 232, 27, 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(159, 232, 27, 0.2);
  background: var(--card-bg-hover);
}

.dior-card:hover::before {
  left: 100%;
}

.dior-card p {
  color: #e2e8f0;
}

/* Buttons */
.btn-lime {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 60%, #65a30d 100%);
  color: #061107 !important;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 4px 20px rgba(163, 230, 53, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(163, 230, 53, 0.55);
  color: #000 !important;
}

.btn-outline-lime {
  background: rgba(159, 232, 27, 0.08);
  border: 1px solid rgba(159, 232, 27, 0.4);
  color: var(--primary-lime) !important;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-lime:hover {
  background: rgba(159, 232, 27, 0.22);
  border-color: var(--primary-lime);
  color: #fff !important;
  box-shadow: 0 0 20px rgba(159, 232, 27, 0.25);
  transform: translateY(-2px);
}

.btn-tg {
  background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
  color: #fff !important;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.35);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
  color: #fff !important;
}

/* Stat Counters */
.stat-box {
  background: rgba(16, 24, 19, 0.75);
  border: 1px solid var(--lime-border);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: var(--primary-lime);
  box-shadow: 0 0 25px rgba(159, 232, 27, 0.2);
  transform: translateY(-4px);
}

.stat-icon-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px auto;
  border-radius: 14px;
  background: rgba(159, 232, 27, 0.15);
  border: 1px solid rgba(159, 232, 27, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-lime);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.92rem;
  color: #cbd5e1 !important;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Hero Section */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(159, 232, 27, 0.12);
  border: 1px solid rgba(159, 232, 27, 0.4);
  color: var(--primary-lime);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: #e2e8f0 !important;
  max-width: 680px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

/* Tables */
.dior-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.dior-table th {
  background: transparent;
  color: #cbd5e1 !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  border: none;
}

.dior-table td {
  background: rgba(18, 26, 21, 0.85);
  border-top: 1px solid var(--lime-border);
  border-bottom: 1px solid var(--lime-border);
  padding: 16px 18px;
  color: #ffffff !important;
  vertical-align: middle;
}

.dior-table td .text-muted {
  color: #cbd5e1 !important;
}

.dior-table tr td:first-child {
  border-left: 1px solid var(--lime-border);
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.dior-table tr td:last-child {
  border-right: 1px solid var(--lime-border);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.dior-table tr:hover td {
  background: rgba(26, 38, 30, 0.95);
  border-color: rgba(159, 232, 27, 0.55);
}

/* Tag / Badge */
.tag-lime {
  background: rgba(159, 232, 27, 0.18);
  border: 1px solid rgba(159, 232, 27, 0.4);
  color: #a3e635;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tag-blue {
  background: rgba(0, 136, 204, 0.18);
  border: 1px solid rgba(0, 136, 204, 0.4);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Inputs & Form controls */
input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

/* Footer */
.dior-footer {
  border-top: 1px solid var(--lime-border);
  background: rgba(8, 12, 10, 0.95);
  padding: 45px 0 25px 0;
  margin-top: 80px;
}

.footer-link {
  color: #cbd5e1 !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary-lime) !important;
}

/* Table & Modal Dark Overrides (Prevents White Backgrounds & Cramped Buttons) */
.table, .table-responsive, .dior-table, table {
  background-color: transparent !important;
  color: #fff !important;
}
.dior-table td, .table td {
  background: rgba(18, 26, 21, 0.88) !important;
  color: #ffffff !important;
  border-top: 1px solid var(--lime-border) !important;
  border-bottom: 1px solid var(--lime-border) !important;
}
.dior-table tr:hover td, .table tr:hover td {
  background: rgba(26, 38, 30, 0.98) !important;
}
.cat-header-row td {
  background: rgba(159, 232, 27, 0.16) !important;
  border: 1px solid rgba(159, 232, 27, 0.35) !important;
  color: var(--primary-lime) !important;
}
.modal-content {
  background: #111a14 !important;
  border: 2px solid #a3e635 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(159, 232, 27, 0.3) !important;
  border-radius: 24px !important;
}
.modal-backdrop {
  background-color: #030704 !important;
  opacity: 0.82 !important;
  z-index: 1050 !important;
}
.modal {
  z-index: 1060 !important;
}
.modal-dialog-centered {
  display: flex !important;
  align-items: center !important;
  min-height: calc(100% - 3.5rem) !important;
}
