/* ============================================================
   GOTAFIMA INSTITUTE OF FINANCIAL MARKETS
   css/style.css — Shared Styles
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== ROOT VARIABLES ===== */
:root {
    --gold:        #d4af37;
    --gold-light:  #f0c040;
    --gold-dim:    rgba(212,175,55,0.12);
    --gold-border: rgba(212,175,55,0.25);
    --dark:        #07080f;
    --dark-2:      #0d0f1c;
    --dark-3:      #131628;
    --dark-4:      #1a1e35;
    --white:       #ffffff;
    --white-90:    rgba(255,255,255,0.9);
    --white-70:    rgba(255,255,255,0.7);
    --white-40:    rgba(255,255,255,0.4);
    --white-08:    rgba(255,255,255,0.06);
    --green:       #00c864;
    --red:         #ff4757;
    --blue:        #4a9eff;
    --purple:      #8b5cf6;
    --orange:      #f59e0b;
    --deriv:       #ff444f;
    --usdt:        #26a17b;
    --font-main:   'Outfit', sans-serif;
    --font-title:  'Bebas Neue', sans-serif;
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --shadow-sm:   0 4px 12px rgba(0,0,0,0.3);
    --shadow-md:   0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg:   0 16px 48px rgba(0,0,0,0.5);
    --transition:  all 0.2s ease;
}

/* ===== BASE ===== */
body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===== SELECTION ===== */
::selection { background: rgba(212,175,55,0.3); color: var(--white); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
p { line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-main); cursor: pointer; }
input, textarea, select { font-family: var(--font-main); }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== PAGE BACKGROUND ===== */
.page-bg {
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212,175,55,0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
    z-index: -1;
}

/* ===== SECTION ===== */
section { padding: 88px 0; }

/* ===== SECTION LABEL ===== */
.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-family: var(--font-title);
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 2px;
    line-height: 0.95;
    margin-bottom: 16px;
}
.section-title span { color: var(--gold); }

/* ===== SECTION SUBTITLE ===== */
.section-sub {
    font-size: 15px;
    color: var(--white-70);
    max-width: 540px;
    line-height: 1.75;
}

/* ===== DIVIDER ===== */
.divider { height: 1px; background: rgba(255,255,255,0.07); margin: 32px 0; }
.divider-gold { height: 1px; background: rgba(212,175,55,0.2); margin: 32px 0; }

/* ============================================================
   DERIV TOP BAR
   ============================================================ */
.deriv-topbar {
    background: linear-gradient(90deg, #8b0000, #c0392b, #ff444f, #c0392b, #8b0000);
    background-size: 300% 100%;
    animation: derivFlow 6s linear infinite;
    padding: 9px 0;
    text-align: center;
    position: relative;
    z-index: 101;
}
@keyframes derivFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
.deriv-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.deriv-topbar span { font-size: 12px; font-weight: 500; color: #fff; }
.deriv-topbar a {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
}
.deriv-topbar a:hover { background: rgba(255,255,255,0.35); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: rgba(7,8,15,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,175,55,0.1);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-title);
    font-size: 18px;
    color: #0a0a14;
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
    font-family: var(--font-title);
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--white);
}
.logo-name span { color: var(--gold); }
.logo-tag { font-size: 7px; letter-spacing: 2px; text-transform: uppercase; color: var(--white-40); }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
    color: var(--white-70);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 13px;
    border-radius: 4px;
    transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: var(--white-08); }
.nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 110%; left: 0;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 210px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--white-70);
    font-size: 13px;
    transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--white-08); color: var(--white); }
.nav-dropdown-menu a i { color: var(--gold); width: 16px; }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-dashboard {
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 5px;
    transition: var(--transition);
    display: flex; align-items: center; gap: 6px;
}
.nav-dashboard:hover { background: rgba(212,175,55,0.2); }
.nav-deriv {
    background: linear-gradient(135deg, #c0392b, var(--deriv));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 5px;
    transition: var(--transition);
    white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
}
.nav-deriv:hover { box-shadow: 0 4px 14px rgba(255,68,79,0.4); transform: translateY(-1px); }

/* Menu Button (Mobile) */
.menu-btn {
    display: none;
    font-size: 20px;
    color: var(--white-70);
    cursor: pointer;
    padding: 4px 8px;
    background: none;
    border: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(7,8,15,0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--white-70);
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--white-08);
    transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    font-family: var(--font-main);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0a14;
}
.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
    transform: translateY(-1px);
}
.btn-gold-outline {
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
}
.btn-gold-outline:hover { background: rgba(212,175,55,0.2); }
.btn-deriv {
    background: linear-gradient(135deg, #c0392b, var(--deriv));
    color: #fff;
}
.btn-deriv:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,68,79,0.4);
}
.btn-usdt {
    background: linear-gradient(135deg, var(--usdt), #2ecc71);
    color: #fff;
}
.btn-usdt:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(38,161,123,0.4);
}
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: linear-gradient(160deg, var(--dark-3), var(--dark-4));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.25);
    box-shadow: var(--shadow-md);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover::before { opacity: 1; }

.card-gold {
    background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.card-gold::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white-40);
}
.form-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.form-input::placeholder { color: var(--white-40); }
.form-input:focus { border-color: rgba(212,175,55,0.4); }
.form-input.error { border-color: rgba(255,71,87,0.5); }
select.form-input option { background: var(--dark-3); color: var(--white); }
textarea.form-input { resize: vertical; min-height: 100px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge-gold   { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-border); }
.badge-green  { background: rgba(0,200,100,0.1); color: var(--green); border: 1px solid rgba(0,200,100,0.25); }
.badge-red    { background: rgba(255,71,87,0.1); color: var(--red); border: 1px solid rgba(255,71,87,0.25); }
.badge-blue   { background: rgba(74,158,255,0.1); color: var(--blue); border: 1px solid rgba(74,158,255,0.25); }
.badge-purple { background: rgba(139,92,246,0.1); color: var(--purple); border: 1px solid rgba(139,92,246,0.25); }
.badge-usdt   { background: rgba(38,161,123,0.1); color: var(--usdt); border: 1px solid rgba(38,161,123,0.25); }

/* ============================================================
   ALERTS / STATUS MESSAGES
   ============================================================ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.alert-success { background: rgba(0,200,100,0.08); border: 1px solid rgba(0,200,100,0.22); color: #00c864; }
.alert-error   { background: rgba(255,71,87,0.08); border: 1px solid rgba(255,71,87,0.22); color: #ff4757; }
.alert-info    { background: rgba(74,158,255,0.08); border: 1px solid rgba(74,158,255,0.22); color: #4a9eff; }
.alert-warning { background: rgba(255,193,7,0.08); border: 1px solid rgba(255,193,7,0.22); color: #ffc107; }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   FLEX HELPERS
   ============================================================ */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* ============================================================
   SPACING
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ============================================================
   TEXT HELPERS
   ============================================================ */
.text-gold    { color: var(--gold); }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.text-blue    { color: var(--blue); }
.text-muted   { color: var(--white-40); }
.text-center  { text-align: center; }
.text-sm      { font-size: 12px; }
.text-lg      { font-size: 16px; }
.font-title   { font-family: var(--font-title); }
.font-bold    { font-weight: 700; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
}
.page-title {
    font-family: var(--font-title);
    font-size: clamp(40px, 6vw, 68px);
    line-height: 0.95;
    letter-spacing: 2px;
}
.page-title span { color: var(--gold); }
.page-sub {
    font-size: 15px;
    color: var(--white-70);
    margin-top: 12px;
    max-width: 520px;
    line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stat-num {
    font-family: var(--font-title);
    font-size: 28px;
    color: var(--gold);
    letter-spacing: 1px;
    line-height: 1;
}
.hero-stat-label {
    font-size: 11px;
    color: var(--white-40);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
}

/* ============================================================
   LOADER / SPINNER
   ============================================================ */
.spinner {
    width: 20px; height: 20px;
    border: 2px solid rgba(212,175,55,0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--dark-3);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title {
    font-family: var(--font-title);
    font-size: 20px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-close {
    background: none;
    border: none;
    color: var(--white-40);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.table th {
    background: var(--dark-3);
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white-40);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    white-space: nowrap;
}
.table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--white-70);
    vertical-align: middle;
}
.table tr:hover td { background: rgba(255,255,255,0.02); }
.table tr:last-child td { border-bottom: none; }

/* ============================================================
   PAYMENT ADDRESS BOX
   ============================================================ */
.address-box {
    background: rgba(38,161,123,0.07);
    border: 1px solid rgba(38,161,123,0.2);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}
.address-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--usdt);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.address-network {
    display: inline-block;
    background: rgba(38,161,123,0.12);
    border: 1px solid rgba(38,161,123,0.25);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--usdt);
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.address-wrap { display: flex; align-items: center; gap: 8px; }
.address-text {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(38,161,123,0.18);
    border-radius: 6px;
    padding: 9px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--white);
    word-break: break-all;
}
.copy-btn {
    background: rgba(38,161,123,0.12);
    border: 1px solid rgba(38,161,123,0.25);
    border-radius: 6px;
    padding: 9px 12px;
    color: var(--usdt);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-family: var(--font-main);
}
.copy-btn:hover { background: rgba(38,161,123,0.22); }
.copy-btn.copied {
    background: rgba(0,200,100,0.12);
    border-color: rgba(0,200,100,0.3);
    color: var(--green);
}

/* ============================================================
   DERIV BOTTOM STRIP
   ============================================================ */
.deriv-bottom {
    background: linear-gradient(90deg, #1a0505, #2d0808, #1a0505);
    border-top: 1px solid rgba(255,68,79,0.25);
    padding: 12px 0;
}
.deriv-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.deriv-bottom-inner span { font-size: 12px; color: rgba(255,255,255,0.7); }
.deriv-bottom-inner strong { color: #ff6b6b; }
.deriv-bottom-inner a {
    background: linear-gradient(135deg, #c0392b, #ff444f);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 5px;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.deriv-bottom-inner a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,68,79,0.4);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd-1 { transition-delay: 0.1s; }
.rd-2 { transition-delay: 0.2s; }
.rd-3 { transition-delay: 0.3s; }
.rd-4 { transition-delay: 0.4s; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 52px; height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 24px rgba(37,211,102,0.7); }
}

/* ============================================================
   SIDEBAR (Dashboard)
   ============================================================ */
.sidebar {
    width: 240px;
    background: var(--dark-2);
    border-right: 1px solid rgba(255,255,255,0.06);
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    z-index: 50;
    overflow-y: auto;
}
.sidebar-logo {
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--white-40);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}
.sidebar-link:hover { background: var(--white-08); color: var(--white-70); }
.sidebar-link.active { background: var(--gold-dim); color: var(--gold); }
.sidebar-link i { width: 16px; font-size: 14px; }
.sidebar-section {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white-40);
    padding: 16px 12px 6px;
}

/* ============================================================
   UPLOAD DROP ZONE
   ============================================================ */
.upload-drop {
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
}
.upload-drop:hover { border-color: rgba(38,161,123,0.4); }
.upload-drop i { font-size: 24px; color: var(--white-40); margin-bottom: 8px; display: block; }
.upload-drop p { font-size: 12px; color: var(--white-40); }
.upload-drop span { font-size: 11px; color: var(--usdt); }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--white-40);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.4; }
.empty-state h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--white-70); }
.empty-state p { font-size: 13px; line-height: 1.6; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-wrap {
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    height: 6px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 20px;
    transition: width 0.5s ease;
}
.progress-bar.green  { background: linear-gradient(90deg, var(--green), #2ecc71); }
.progress-bar.blue   { background: linear-gradient(90deg, var(--blue), #74b9ff); }
.progress-bar.red    { background: linear-gradient(90deg, var(--red), #ff6b81); }

/* ============================================================
   TOOLTIP
   ============================================================ */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    color: var(--white-70);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.page-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white-08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 13px;
    color: var(--white-70);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.page-btn:hover { border-color: rgba(212,175,55,0.3); color: var(--gold); }
.page-btn.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 28px; }
.tab-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white-40);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.tab-btn:hover { color: var(--white-70); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ============================================================
   MISCELLANEOUS
   ============================================================ */
.gold-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin-bottom: 16px;
}
.dot-green { width: 8px; height: 8px; background: var(--green); border-radius: 50%; display: inline-block; animation: blink 1.5s infinite; }
.dot-red   { width: 8px; height: 8px; background: var(--red); border-radius: 50%; display: inline-block; }
.dot-gold  { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; display: inline-block; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.no-select { user-select: none; }
.pointer   { cursor: pointer; }
.hidden    { display: none !important; }
.sr-only   { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }