:root {
    --bg-black: #000000;
    --bg-card: #121214;
    --bg-hover: #1F1F23;
    --brand-yellow: #F4C430;
    --brand-yellow-hover: #d3a722;
    --text-white: #FFFFFF;
    --text-muted: #A1A1AA;
    --border-color: #27272A;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    height: 100vh;
    overflow: hidden;
}

.hidden { display: none !important; }

/* AUTH STYLES */
.auth-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 24px;
}

.logo-box {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--brand-yellow);
    border-radius: 8px;
    padding: 4px 10px;
    background: #000;
}

.logo-badge {
    background: var(--brand-yellow);
    color: #000;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 18px;
}

.logo-text {
    color: #fff;
    font-weight: 700;
    margin-left: 6px;
    font-size: 18px;
}

.brand-tagline {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    padding: 28px;
    border-radius: 16px;
}

.auth-tabs {
    display: flex;
    background: #000;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.tab-btn.active {
    background: var(--brand-yellow);
    color: #000;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.input-group input, .input-group select {
    width: 100%;
    background: #000;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--brand-yellow);
}

.btn-primary {
    width: 100%;
    background: var(--brand-yellow);
    color: #000;
    border: none;
    padding: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.btn-primary:hover { background: var(--brand-yellow-hover); }

.btn-secondary {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* APP MAIN LAYOUT */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 16px;
}

.nav-menu {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}

.nav-item:hover { background: var(--bg-hover); color: #fff; }
.nav-item.active { background: var(--brand-yellow); color: #000; font-weight: 700; }

.sidebar-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-profile { display: flex; align-items: center; gap: 10px; }
.avatar {
    width: 32px;
    height: 32px;
    background: var(--brand-yellow);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}
.user-info p { font-size: 12px; font-weight: 600; }
.user-info span { font-size: 10px; color: var(--text-muted); }

.btn-logout { background: none; border: none; color: var(--text-muted); cursor: pointer; }
.btn-logout:hover { color: #f87171; }

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.top-header {
    height: 60px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(18, 18, 20, 0.5);
}

.status-indicator { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.pulse-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; }

.btn-crypto-pay {
    background: var(--brand-yellow);
    color: #000;
    border: none;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.content-body { padding: 32px; max-width: 1000px; }
.section-header h2 { font-size: 22px; margin-bottom: 4px; }
.section-header p { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

/* CARDS & GRIDS */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}
.plan-card:hover { border-color: var(--brand-yellow); }

.badge {
    background: rgba(244, 196, 48, 0.1);
    color: var(--brand-yellow);
    border: 1px solid rgba(244, 196, 48, 0.3);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.badge.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.price-box { margin: 16px 0; }
.price { font-size: 26px; font-weight: 800; color: var(--brand-yellow); }
.usd-price { font-size: 12px; color: var(--text-muted); }

.features-list { list-style: none; margin-bottom: 20px; }
.features-list li { font-size: 12px; color: #d4d4d8; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.features-list i { color: var(--brand-yellow); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.video-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; }
.video-wrapper { aspect-ratio: 16/9; width: 100%; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.video-wrapper iframe { width: 100%; height: 100%; }

.gold-text { color: var(--brand-yellow); font-weight: 700; }

.form-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; max-width: 500px; }

.billing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; }
.billing-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; margin-bottom: 16px; }
.status-badge { background: rgba(34, 197, 94, 0.1); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); font-size: 11px; padding: 4px 12px; border-radius: 12px; }
.billing-details p { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
    position: relative;
    text-align: center;
}

.btn-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.payment-box { background: #000; border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; margin-top: 16px; }
.address-box { background: var(--bg-card); padding: 8px; border-radius: 6px; font-family: monospace; font-size: 11px; word-break: break-all; margin: 12px 0; }
.pay-info { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; }
.instruction { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
