/* ================= GLOBAL & VARIABLES ================= */
:root {
    --accent-gold: #fcd535;
    --accent-gold-glow: rgba(252, 213, 53, 0.2);
    --bg-dark: #020617;
    --bg-card: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, #1e293b, #020617);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
    cursor: pointer;
}

.logo span { color: #fff; font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 30px; }

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--accent-gold); }

/* ================= HERO ================= */
.hero {
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 25px;
}

.hero h2 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: var(--text-dim);
    font-size: 18px;
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 400px;
    background: radial-gradient(circle, rgba(252, 213, 53, 0.05) 0%, transparent 70%);
    z-index: -1;
}

/* ================= BUTTONS ================= */
.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-gold-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-gold);
}

/* ================= SERVICES ================= */
.services { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 50px; }

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 15px auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon-wrapper {
    font-size: 40px;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-inline: auto;
    border: 1px solid var(--glass-border);
}

.card-link {
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    display: block;
    opacity: 0.7;
}

/* ================= STATS BAR ================= */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px 20px;
    background: rgba(0,0,0,0.2);
    border-block: 1px solid var(--glass-border);
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

/* ================= CURRENCY MENU ================= */
.currency-dropdown { position: relative; }
.currency-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.currency-menu {
    position: absolute;
    top: 45px;
    right: 0;
    background: #0f172a;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    min-width: 120px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.currency-menu div {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.currency-menu div:hover { background: var(--accent-gold); color: #000; }

.hidden { display: none; }

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-dim);
    font-size: 14px;
}

/* --- Professional Polish --- */

.menu-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-dim);
    padding: 10px 15px 5px;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.02);
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 50px 20px;
    margin-top: 40px;
    background: linear-gradient(to right, transparent, rgba(255,215,0,0.03), transparent);
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.stat-icon {
    font-size: 30px;
    background: rgba(255,255,255,0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.stat-item strong {
    display: block;
    font-size: 16px;
    color: var(--accent-gold);
}

.stat-item p {
    margin: 0;
    font-size: 13px;
    color: var(--text-dim);
}

/* Updated Gradient for modern look */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-gold) 30%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary-sm {
    background: var(--accent-gold);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.accent {
    color: var(--accent-gold);
    font-weight: 800;
}

.status-full {
    color: var(--text-dim);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
    margin: 10px 0;
}

.bonus-text {
    color: #4ade80;
    font-weight: 600;
    font-size: 14px;
}

/* Live Pulse Animation */
.live-indicator {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(74, 222, 128, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.status-pill.accepting { background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.status-pill.full { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Interactive Row Selection */
.modern-table tr { transition: 0.2s ease; cursor: pointer; }
.modern-table tr:hover { background: rgba(255,255,255,0.02); }
.modern-table tr.selected-row {
    background: rgba(252, 213, 53, 0.04) !important;
    border-left: 3px solid var(--accent-gold);
}

/* Update the Table Card */
.table-card { 
    background: var(--bg-card); 
    border: 1px solid var(--glass-border); 
    border-radius: 24px; 
    max-width: 850px; /* Slightly wider to accommodate spacing */
    width: 100%;
    margin-left: auto; 
    overflow: hidden;
}

/* Fix the Header Alignment & Padding */
.section-header {
    padding: 3px 4px; /* 40px left/right padding moves the text in */
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Spacing between columns */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Allows columns to breathe based on content */
}

.modern-table th, 
.modern-table td {
    padding: 22px 40px; /* 40px matches the header for perfect vertical alignment */
    text-align: left;
}

/* Add specific spacing for the "Action" column to push it to the edge */
.modern-table th:last-child, 
.modern-table td:last-child {
    text-align: right;
    padding-right: 40px;
}

/* Sidebar Padding Fix */
.info-sidebar { 
    background: var(--bg-card); 
    border: 1px solid var(--glass-border); 
    border-radius: 24px; 
    padding: 40px; /* Prevents sidebar text from touching borders */
    position: sticky; 
    top: 100px; 
}

/* Trust Bar Styling */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.trust-item {
    text-align: center;
}

.trust-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.trust-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-gold);
}

.stars { color: var(--accent-gold); font-size: 12px; margin-top: 4px; }

/* Delivery Info Cards */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.delivery-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    transition: 0.3s;
}

.delivery-card:hover { border-color: var(--accent-gold); transform: translateY(-5px); }

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 60px auto;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    transition: 0.2s;
}

.faq-question:hover { background: rgba(255,255,255,0.05); }

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
}

/* Container for side-by-side cards */
.offers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

/* The Individual Pack Card */
.pack-card {
    background: #0f172a;
    border: 1px solid rgba(252, 213, 53, 0.2);
    border-radius: 20px;
    width: 250px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pack-card:hover {
    transform: translateY(-10px);
    border-color: #fcd535;
}

/* Header for the Enutrof Image (image_bd27c9.png) */
.pack-img-box {
    background: rgba(255, 255, 255, 0.03);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.pack-img-box img {
    max-height: 100%;
    filter: drop-shadow(0 0 10px rgba(252, 213, 53, 0.3));
}

.pack-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pack-price {
    font-size: 24px;
    font-weight: 800;
    color: #fcd535;
    margin: 10px 0;
}


.server-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.srv-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.srv-btn.active {
    background: #fcd535;
    color: #000;
    font-weight: 700;
    border-color: #fcd535;
    box-shadow: 0 0 15px rgba(252, 213, 53, 0.3);
}

.premium-input {
    width: 95%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    color: white;
    margin-top: 8px;
    font-size: 16px;
}

.premium-input:focus {
    border-color: #fcd535;
    outline: none;
    background: rgba(15, 23, 42, 0.8);
}

.buy-now-btn {
    width: 100%;
    background: linear-gradient(90deg, #82b541, #659330); /* Dofus Green Button Style */
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(101, 147, 48, 0.4);
    transition: transform 0.2s;
}

.buy-now-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Fix for Pack Display */
.offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pack-card.best-value {
    border: 2px solid var(--accent-gold);
    position: relative;
}

.best-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.hidden { display: none !important; }



/* ================= AUTH MODAL & PROFILE ================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.login-modal {
    background: #1e293b; /* Matching your --bg-card */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.social-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    margin-bottom: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-google { background: white; color: #020617; }
.btn-discord { background: #5865F2; color: white; }

.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding: 5px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fcd535;
    background-image: url('https://cdn-icons-png.flaticon.com/512/149/149071.png');
    background-size: cover;
}

.profile-menu {
    position: absolute;
    top: 130%;
    right: 0;
    width: 200px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
    display: none; /* Controlled by JS */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 100;
}

.profile-menu a {
    display: block;
    padding: 10px 15px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
}

.hidden { display: none !important; }

/* Make sure SVGs inside buttons align with text */
.social-btn svg {
    margin-right: 12px;
    flex-shrink: 0;
}

/* Forgot Password Styling */
.forgot-link {
    display: block;
    text-align: right;
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 5px;
    text-decoration: none;
    font-weight: 400;
}

.forgot-link:hover {
    color: var(--accent-gold);
}

/* Ensure hidden elements stay hidden */
.hidden {
    display: none !important;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    max-width: 1200px;
    margin: 100px auto 50px;
    gap: 30px;
    padding: 0 20px;
}

.dash-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px 20px;
    height: fit-content;
}

.user-info-large {
    text-align: center;
    margin-bottom: 30px;
}

.large-avatar {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 15px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/149/149071.png');
    background-size: cover;
}

.user-badge {
    background: rgba(252, 213, 53, 0.1);
    color: var(--accent-gold);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

.dash-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dim);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 5px;
    transition: 0.3s;
}

.dash-nav a.active, .dash-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.logout-link:hover { color: #ef4444 !important; }

/* Stats & Tables */
.dash-content { flex: 1; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 20px;
}

.orders-table-wrapper {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.orders-table th, .orders-table td {
    padding: 15px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-pill {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.status-pill.pending { background: rgba(252, 213, 53, 0.1); color: #fcd535; }
.status-pill.completed { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.dash-view {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Ensure the hidden class works on the dashboard too */
.dash-view.hidden {
    display: none !important;
}

.checkout-container { max-width: 1100px; margin: 120px auto; padding: 0 20px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 350px; gap: 40px; }

.checkout-section {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.step-num {
    background: var(--accent-gold);
    color: #000;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    margin-right: 10px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.full-width { grid-column: span 2; }

.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.payment-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}
.payment-card input:checked + .pay-info { color: var(--accent-gold); }

.order-summary { position: sticky; top: 100px; height: fit-content; }
.summary-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--accent-gold);
}
.summary-item { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
.secure-text { text-align: center; font-size: 11px; color: var(--text-dim); margin-top: 15px; }

.checkout-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-pill span { font-weight: 800; color: var(--accent-gold); }
.trust-pill small { color: var(--text-dim); border-left: 1px solid #444; padding-left: 8px; }

.step-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.step-circle {
    background: var(--accent-gold);
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.support-link a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 15px;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
}

.payment-logo {
    height: 20px; /* Adjust based on your navbar height */
    width: auto;
    filter: brightness(1.1); /* Makes the blue/gold pop against your dark background */
    vertical-align: middle;
    margin-left: 10px;
}

.footer-trust-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    opacity: 0.7;
}
.payment-pill {
    background: rgba(255, 255, 255, 0.05); /* Very subtle light box */
    border: 1px solid var(--glass-border);
    padding: 5px 12px;
}

.payment-logo {
    height: 14px;
    width: auto;
    object-fit: contain;
}

/* Style for empty fields after a failed attempt */
input:invalid {
    border-color: #ef4444; /* Red border */
}

/* Optional: Add a 'required' attribute to your HTML inputs 
   to let the browser help with validation */
input:required:focus {
    border-color: var(--accent-gold);
}

/* Styling for unfilled fields */
.input-error {
    border-color: #ef4444 !important; /* Sharp Red */
    background-color: rgba(239, 68, 68, 0.05) !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Ensure smooth transition when the red appears */
.premium-input {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Loading Spinner Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

.btn-loading {
    background: linear-gradient(90deg, #b45309, #d97706) !important;
    cursor: wait !important;
}

/* Error Pulse Effect */
.input-error {
    border-color: #ef4444 !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
.trust-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--success-green);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.lock-icon {
    width: 14px;
    height: 14px;
}

.payment-icons-strip {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0.6;
    margin-bottom: 12px;
}

.payment-icons-strip img {
    height: 18px;
    filter: grayscale(1) brightness(1.5);
    transition: 0.3s;
}

.payment-icons-strip img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

.trust-note {
    font-size: 10px;
    color: var(--text-dim);
    line-height: 1.4;
}

/* --- Add these to your existing <style> block --- */

/* The Red Error Shake */
.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* The Loading Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Trust footer polish */
.trust-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--glass-border); text-align: center; }
.security-badge { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--success-green); font-size: 11px; font-weight: 700; margin-bottom: 15px; }
.lock-icon { width: 14px; height: 14px; }
.payment-icons-strip { display: flex; justify-content: center; gap: 15px; opacity: 0.6; margin-bottom: 12px; }
.payment-icons-strip img { height: 18px; filter: grayscale(1) brightness(1.5); transition: 0.3s; }
.payment-icons-strip img:hover { filter: grayscale(0) brightness(1); opacity: 1; }
.trust-note { font-size: 10px; color: var(--text-dim); }

.status-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.status-tag.pending-payment { background: rgba(252, 213, 53, 0.1); color: #fcd535; border: 1px solid #fcd535; }
.status-tag.waiting-for-delivery { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid #3b82f6; }
.status-tag.completed { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid #10b981; }

.order-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
}

/* --- FINAL NEON PREMIUM FOOTER --- */
.trust-footer {
    position: relative;
    background: #020203; 
    padding: 100px 20px 50px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-family: 'Inter', sans-serif;
}

.glow-bg {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

/* Value Props Grid */
.trust-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.trust-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 300px;
    transition: all 0.4s ease;
}

.trust-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Icon Orb Polish */
.icon-orb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: rgba(255,255,255,0.02);
}

.icon-orb i { filter: drop-shadow(0 0 10px currentColor); }

.glass-blue .icon-orb { color: #00d2ff; border: 1px solid rgba(0, 210, 255, 0.2); }
.glass-gold .icon-orb { color: #fcd535; border: 1px solid rgba(252, 213, 53, 0.2); }
.glass-green .icon-orb { color: #00ffa3; border: 1px solid rgba(0, 255, 163, 0.2); }

.trust-content h4 { color: #fff; margin: 0; font-size: 18px; font-weight: 800; }
.trust-content p { color: #777; margin-top: 5px; font-size: 14px; }

/* Horizontal Payment Bar */
.payment-bar-premium {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: nowrap; /* Forces them to stay side-by-side */
}

.brand-box i { font-size: 45px; color: #333; transition: 0.4s; cursor: pointer; }

/* Payment Hover Explosions */
.visa-glow:hover i { color: #1a1f71; filter: drop-shadow(0 0 15px #1a1f71); transform: scale(1.1); }
.master-glow:hover i { color: #eb001b; filter: drop-shadow(0 0 15px #eb001b); transform: scale(1.1); }
.paypal-glow:hover i { color: #003087; filter: drop-shadow(0 0 15px #003087); transform: scale(1.1); }

/* Crypto Pills */
.crypto-pill-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 15px;
    transition: 0.3s;
}

.usdt-glow { background: rgba(38, 161, 123, 0.1); color: #26a17b; border: 1px solid #26a17b; }
.usdc-glow { background: rgba(39, 117, 202, 0.1); color: #2775ca; border: 1px solid #2775ca; }

.crypto-pill-v2:hover { filter: brightness(1.3) drop-shadow(0 0 10px currentColor); transform: translateY(-3px); }

/* Legal Minimalist */
.legal-minimal { text-align: center; margin-top: 50px; }
.policy-links { margin-bottom: 15px; }
.policy-links a { color: #444; text-decoration: none; font-size: 13px; transition: 0.3s; }
.policy-links a:hover { color: #fff; }
.legal-minimal p { color: #444; font-size: 14px; }
.brand-name { color: #fcd535; font-weight: 900; }
.legal-minimal small { color: #222; font-size: 11px; margin-top: 10px; display: block; }

/* Mobile optimization */
@media (max-width: 850px) {
    .payment-bar-premium { gap: 20px; flex-wrap: wrap; }
    .brand-box i { font-size: 32px; }
    .crypto-pill-v2 { padding: 8px 16px; font-size: 12px; }
}





/* MARKET TICKER */
.market-ticker {
    background: rgba(252, 213, 53, 0.05);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 600;
    margin-right: 50px;
    letter-spacing: 0.5px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* HERO STATS BAR */
.hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 40px;
    border-radius: 20px;
    width: fit-content;
    margin: 40px auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.stat-item { text-align: center; }
.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-gold);
}
.stat-label {
    font-size: 12px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* HERO TITLE REFINEMENT */
.hero-title {
    font-size: 72px !important; /* Larger for impact */
    max-width: 900px;
    margin: 0 auto 20px;
}


/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 72px !important; /* High Impact */
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- SERVICES GRID --- */
.services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    background: rgba(252, 213, 53, 0.05); /* Slight gold tint on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-icon-wrapper {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    font-weight: 800;
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Reflection Effect */
.glass-reflection::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.6s ease;
}

.service-card:hover::after {
    left: 100%;
}

/* Ticker Fix (If needed) */
.market-ticker {
    background: rgba(2, 6, 23, 0.5);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Responsive Fix */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px !important;
    }
}





/* --- ICON WRAPPER STYLING --- */
.card-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 25px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

/* --- DOFUS ELEMENTAL GLOWS --- */

/* Buying: Gold/Kama Glow */
.icon-buy i { 
    color: #fcd535; 
    filter: drop-shadow(0 0 12px rgba(252, 213, 53, 0.6)); 
}

/* Selling: Earth/Enutrof Green Glow */
.icon-sell i { 
    color: #4ade80; 
    filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.6)); 
}

/* Exchange: Water/Stasis Blue Glow */
.icon-exchange i { 
    color: #60a5fa; 
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.6)); 
}

/* Pro Services: Fire/Iop Red Glow */
.icon-pro i { 
    color: #f87171; 
    filter: drop-shadow(0 0 12px rgba(248, 113, 113, 0.6)); 
}

/* --- ANIMATIONS --- */
.service-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255, 255, 255, 0.08);
}

/* Change icon border to gold only when buying card is hovered */
.service-card:hover .icon-buy { border-color: #fcd535; }
.service-card:hover .icon-sell { border-color: #4ade80; }
.service-card:hover .icon-exchange { border-color: #60a5fa; }
.service-card:hover .icon-pro { border-color: #f87171; }

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}





.live-pulse {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pulse-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 25px;
}

.server-status-box, .activity-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.box-header i { color: var(--accent-gold); font-size: 20px; }
.box-header h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }

/* Status Items */
.status-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-indicator { display: flex; align-items: center; gap: 10px; }
.status-text { font-size: 13px; color: var(--text-dim); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.green { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.status-dot.orange { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }

/* Live Feed */
.activity-feed {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    animation: slideInUp 0.5s ease;
}

.feed-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.feed-icon.buy { background: rgba(74, 222, 128, 0.1); color: #4ade80; }

.feed-info { flex: 1; font-size: 14px; }
.feed-user { color: var(--text-main); font-weight: 600; }
.feed-action { color: var(--text-dim); margin-left: 5px; }
.feed-time { font-size: 12px; color: var(--text-dim); opacity: 0.6; }

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .pulse-container { grid-template-columns: 1fr; }
}

/* --- THE BRAND CONTAINER --- */
.brand-container {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

/* --- THE LOGO MARK (Google Cloud / Workspace Style) --- */
.brand-logo {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-shape {
    width: 100%;
    height: 100%;
    background: #ffffff;
    /* Hexagonal shape using clip-path */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-k {
    font-size: 26px;
    font-weight: 900;
    /* This creates the 'Cut-out' effect looking through the K */
    color: #020617; 
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

/* Update the glow effect properties */
.logo-glow-effect {
    position: absolute;
    inset: -2px;
    background: conic-gradient(
        from 0deg,
        #fcd535,
        #ffc107,
        #f59e0b,
        #fcd535
    );
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: 1;
    
    /* MODIFIED: Animation now takes 8 seconds total */
    /* It spins for 2 seconds, then "rests" for 6 seconds */
    animation: rotate-pause 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* THE TIMED LOGIC */
@keyframes rotate-pause {
    0%, 55% { 
        transform: rotate(0deg); /* 0% to 75% of the time (6s), it is still */
    }
    100% { 
        transform: rotate(360deg); /* 75% to 100% (2s), it performs a full spin */
    }
}

/* Keep the fast hover effect */
.brand-container:hover .logo-glow-effect {
    animation: rotate-glow 1s linear infinite; /* Spins fast only on hover */
    inset: -4px;
    filter: blur(2px);
}

/* --- THE WORDMARK --- */
.brand-text {
    display: flex;
    flex-direction: column; /* Stacked for a professional Fintech look */
    line-height: 0.9;
}

.text-main {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.text-accent {
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(to right, #fcd535, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* --- ANIMATIONS --- */
@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-container:hover .logo-shape {
    transform: scale(1.1) rotate(5deg);
    background: #fcd535;
}

.brand-container:hover .logo-k {
    color: #ffffff;
}

.brand-container:hover .logo-glow-effect {
    inset: -5px; /* Expands glow on hover */
    filter: blur(5px);
}


.anchor-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anchor-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.anchor-icon i {
    color: #60a5fa; /* A calm "Stasis" blue for the clock */
    font-size: 14px;
}

.anchor-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-right: 5px;
}

.anchor-value {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace; /* Prevents numbers from shifting */
}

/* Security Badge Highlight */
.security-badge {
    font-size: 11px;
    font-weight: 800;
    color: #4ade80; /* "Safe" Green */
    letter-spacing: 0.5px;
}

.security-badge i {
    margin-right: 5px;
}


/* --- MOBILE STICKY BAR --- */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    padding: 15px 20px;
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

.sticky-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sticky-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-gold);
}

.sticky-buy-btn {
    background: var(--accent-gold);
    color: #020617;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(252, 213, 53, 0.3);
}

/* Show only on Mobile */
@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: flex; /* Activate on mobile */
    }
    
    /* Add padding to the bottom of the body so the bar doesn't cover content */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 992px) {
    /* Stack the checkout so the Summary comes FIRST on mobile */
    .checkout-grid {
        display: flex;
        flex-direction: column-reverse; /* Put Summary at top for clarity */
    }
    
    .summary-card {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        border-width: 2px; /* Make it pop */
    }
}

.status-pill.awaiting-agent { background: #f59e0b; color: #000; }
.status-pill.completed { background: #10b981; color: #fff; }
.status-pill.cancelled { background: #ef4444; color: #fff; }
.status-pill.processing { background: #3b82f6; color: #fff; }

#sellFormSection {
    display: none; /* The JavaScript will change this to 'block' */
}



/* --- PROFESSIONAL AUTH UI --- */
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 45px 35px;
    border-radius: 30px;
    background: rgba(10, 15, 30, 0.95);
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect behind the card */
.auth-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(252, 213, 53, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.auth-header h2 { font-size: 30px; font-weight: 800; margin-bottom: 5px; color: var(--text-main); }
.auth-header p { color: var(--text-dim); font-size: 14px; margin-bottom: 30px; }

/* Social Login Buttons */
.social-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn.google img { width: 18px; }
.social-btn.discord { background: #5865F2; border: none; }
.social-btn.discord i { font-size: 18px; }

.social-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Auth Separator */
.auth-separator {
    display: flex; align-items: center; gap: 15px; margin: 25px 0;
    color: var(--text-dim); font-size: 11px; font-weight: 800; letter-spacing: 1px;
}
.auth-separator::before, .auth-separator::after { content: ""; flex: 1; height: 1px; background: var(--glass-border); }

/* Inputs with Icons */
.input-wrapper { position: relative; margin-bottom: 18px; }
.input-wrapper i {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: 15px;
}

.premium-input {
    width: 100%;
    /* Clockwise: Top (0), Right (15px), Bottom (0), Left (50px) */
    padding: 0 15px 0 50px; 
    
    height: 50px;            /* Fixed height for the "slot" */
    line-height: 50px;       /* Matches height to perfectly center text */
    box-sizing: border-box;  /* Ensures padding doesn't break the width */
    
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: white;
    font-size: 15px;
    transition: all 0.3s;
}

.premium-input:focus {
    border-color: var(--accent-gold);
    background: rgba(252, 213, 53, 0.02);
    box-shadow: 0 0 0 4px rgba(252, 213, 53, 0.1);
    outline: none;
}

/* Main Action Button */
.auth-primary-btn {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    border-radius: 14px;
    border: none;
    background: var(--accent-gold);
    color: #020617;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(252, 213, 53, 0.3);
}

.auth-options { text-align: right; margin: -5px 0 20px; }
.auth-options a { font-size: 12px; color: var(--text-dim); text-decoration: none; transition: 0.2s; }
.auth-options a:hover { color: var(--accent-gold); }

.auth-footer { margin-top: 30px; font-size: 14px; color: var(--text-dim); }
.auth-footer a { color: var(--accent-gold); font-weight: 700; text-decoration: none; margin-left: 5px; }

.animate-fade-in { animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }



.auth-msg-box {
    background: rgba(239, 68, 68, 0.15); /* Soft Red background */
    color: #ff6b6b;                     /* Bright Red text */
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
    text-align: center;
}

.hidden { display: none !important; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}