/* ============================================================
   NEXA — main-style.css   (Tek kaynak, duplicate yok)
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --bg-dark:    #03040b;
    --neon-cyan:  #00f0ff;
    --neon-green: #39ff14;
    --neon-purple:#8a2be2;
    --text-main:  #e2e8f0;
    --glass-bg:   rgba(10, 12, 20, 0.6);
    --card-bg:    rgba(13, 16, 32, 0.8);
    --border:     rgba(255, 255, 255, 0.07);
    --muted:      rgba(226, 232, 240, 0.4);
    --cyan:       #00f0ff;
    --green:      #39ff14;
    --red:        #ff4060;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

/* ── Navigation ── */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #fff;
}

.neon-dot { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }

nav ul { list-style: none; display: flex; gap: 30px; }
nav a  { color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color .3s, text-shadow .3s; }
nav a:hover, nav a.active { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }

.header-actions { display: flex; align-items: center; gap: 20px; }

/* ── Language Switch ── */
.lang-switch { display: flex; gap: 8px; }
.lang-switch button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 12px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    border-radius: 4px;
    transition: all .3s;
}
.lang-switch button.active,
.lang-switch button:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* ── Buttons ── */
.btn-neon {
    padding: 10px 25px;
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
    transition: .3s;
}
.btn-neon:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 20px var(--neon-cyan); }

/* ── Hero ── */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 10%;
    min-height: 70vh;
}

.hero.page-header {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    min-height: 40vh;
    padding: 100px 10% 60px;
}

.glitch-text {
    font-size: 3.5rem;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(90deg, #fff, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.btn-deploy {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    transition: .3s;
}
.btn-deploy:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 240, 255, 0.6); }

/* ── Section Title ── */
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ── Packages Grid ── */
.packages-container { padding: 80px 10%; text-align: center; }

.grid-layout-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) { .grid-layout-3 { grid-template-columns: 1fr; } }

/* ── Cyber Card ── */
.cyber-card {
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--card-color, var(--neon-cyan));
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .35s, border-color .35s, box-shadow .35s;
    display: flex;
    flex-direction: column;
}

.cyber-card:hover {
    transform: translateY(-10px);
    border-color: var(--card-color, var(--neon-cyan));
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--card-color, var(--neon-cyan));
    color: #000;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--card-color, var(--neon-cyan));
}

.cpu-badge {
    font-size: .72rem;
    font-weight: 700;
    color: var(--neon-green);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cyber-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; margin-bottom: 10px; }

.price { font-size: 2.2rem; font-weight: 700; color: var(--card-color, var(--neon-cyan)); margin-bottom: 25px; }

.cyber-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    text-align: left;
    flex: 1;
}
.cyber-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: .95rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
}

.check { color: #ffd700; margin-right: 12px; font-size: .9rem; }

/* ── Buy Button ── */
.btn-form { width: 100%; margin-top: auto; }

.btn-buy, .btn-form .btn-buy {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--card-color, var(--neon-cyan));
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: .3s;
    font-family: 'Space Grotesk', sans-serif;
}
.btn-buy:hover, .btn-form .btn-buy:hover {
    background: var(--card-color, var(--neon-cyan));
    color: #000;
    box-shadow: 0 0 20px var(--card-color, var(--neon-cyan));
}

/* ── Domain Section ── */
.domain-section { padding: 80px 10%; text-align: center; }

.domain-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-top: -30px;
    margin-bottom: 40px;
    letter-spacing: .5px;
}

.domain-search-box { max-width: 680px; margin: 0 auto 60px; }

.domain-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(10, 12, 20, 0.7);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 6px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: border-color .3s;
}
.domain-input-wrap:focus-within {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.12);
}

.domain-prefix {
    padding: 0 14px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    white-space: nowrap;
    border-right: 1px solid rgba(0, 240, 255, 0.15);
}

.domain-input {
    flex: 1;
    padding: 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
}
.domain-input::placeholder { color: rgba(255, 255, 255, 0.25); }

.domain-btn {
    padding: 16px 30px;
    background: var(--neon-cyan);
    color: #000;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .3s;
    white-space: nowrap;
}
.domain-btn:hover { background: #fff; }
.domain-btn.searching { opacity: .6; cursor: wait; }

/* Domain Extensions Grid */
.domain-extensions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 900px) { .domain-extensions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .domain-extensions-grid { grid-template-columns: 1fr; } }

.domain-ext-card {
    background: rgba(10, 12, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 22px 16px 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: .35s;
    overflow: hidden;
}
.domain-ext-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    transition: .35s;
}
.domain-ext-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}
.domain-ext-card:hover::before,
.domain-ext-card.is-popular::before {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
}
.domain-ext-card.is-popular { border-color: rgba(0, 240, 255, 0.3); }

.ext-popular-badge {
    position: absolute;
    top: 10px; right: -20px;
    background: var(--neon-cyan);
    color: #000;
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 28px;
    transform: rotate(35deg);
    letter-spacing: 1px;
}

.ext-name { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: 1px; }

.ext-price { font-size: 1.4rem; font-weight: 700; color: var(--neon-cyan); display: flex; align-items: baseline; gap: 4px; }
.ext-per-year { font-size: .75rem; color: var(--muted); font-weight: 400; }

.btn-ext-cart {
    width: 100%;
    padding: 9px;
    background: transparent;
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Space Grotesk', sans-serif;
    font-size: .8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: .3s;
}
.btn-ext-cart:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0, 240, 255, 0.06); }

/* ── Domain Page (domain.php) ── */
.domain-hero { padding: 120px 20px 40px; text-align: center; }
.domain-hero .subtitle { color: #888; margin-top: 10px; letter-spacing: 2px; }

.input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}
.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    outline: none;
}

.btn-search {
    background: var(--neon-cyan);
    color: #000;
    border: none;
    padding: 0 40px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
}
.btn-search:hover { box-shadow: 0 0 15px var(--neon-cyan); }

.domain-list-section { max-width: 900px; margin: 0 auto 100px; padding: 0 20px; }
.cyber-list-container {}

.domain-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.2fr;
    align-items: center;
    background: rgba(10, 12, 20, 0.7);
    margin-bottom: 12px;
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(0, 240, 255, 0.4);
    transition: .3s;
}
.domain-row:hover {
    border-color: rgba(0, 240, 255, 0.5);
    background: rgba(0, 240, 255, 0.03);
    transform: translateX(5px);
}
.domain-row.is-popular { border-left-color: #ff00ff; }

.ext-info { display: flex; align-items: center; gap: 8px; }
.pop-tag { font-size: .65rem; color: var(--neon-cyan); border: 1px solid var(--neon-cyan); padding: 2px 8px; border-radius: 4px; vertical-align: middle; }
.ext-pricing {}
.price-item small { display: block; color: var(--muted); text-transform: uppercase; font-size: .7rem; margin-bottom: 5px; }
.price-val { font-size: 1.3rem; color: var(--neon-cyan); font-family: 'Space Grotesk', sans-serif; }
.per-year { font-size: .8rem; color: #666; }
.ext-actions {}

/* ── Footer ── */
.nexa-footer {
    margin-top: 60px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(5, 6, 14, 0.9);
    backdrop-filter: blur(12px);
    padding: 60px 10% 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: 3px; margin-bottom: 12px; }
.footer-tagline { color: rgba(226, 232, 240, 0.45); font-size: .9rem; line-height: 1.6; max-width: 260px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px; color: rgba(255, 255, 255, 0.5); text-decoration: none; transition: .3s;
}
.social-btn:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 240, 255, 0.15); }

.footer-col h4 { font-family: 'Rajdhani', sans-serif; font-size: .85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--neon-cyan); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(226, 232, 240, 0.5); text-decoration: none; font-size: .9rem; transition: .25s; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: .82rem; color: rgba(226, 232, 240, 0.3); }
.footer-uptime { display: flex; align-items: center; gap: 7px; }
.uptime-dot { width: 7px; height: 7px; border-radius: 50%; background: #39ff14; box-shadow: 0 0 6px #39ff14; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; box-shadow: 0 0 6px #39ff14; } 50% { opacity:.5; box-shadow: 0 0 12px #39ff14; } }

/* ── Features Grid (webhost.php) ── */
.features-grid { text-align: center; padding: 40px 10%; }
.feature-boxes { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.f-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
}

/* ── Game & VDS Filter Bar ── */
.game-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 10%;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    opacity: .6;
    transition: all .3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}
.filter-item img { width: 32px; height: 32px; filter: grayscale(1) invert(1) brightness(2); transition: all .3s; }
.filter-item i   { font-size: 1.2rem; color: rgba(255,255,255,.4); transition: color .3s; }
.filter-item span { font-family: 'Rajdhani', sans-serif; font-weight: 700; color: #fff; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 1px; }

.filter-item:hover,
.filter-item.active {
    opacity: 1;
    background: rgba(57, 255, 20, 0.05);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    transform: translateY(-2px);
}
.filter-item:hover img, .filter-item.active img { filter: none; }
.filter-item.active i, .filter-item:hover i { color: var(--neon-cyan); }

/* ── Auth Pages ── */
.auth-page { background-color: var(--bg-dark); font-family: 'Space Grotesk', sans-serif; }
.auth-container { display: flex; justify-content: center; align-items: center; min-height: 85vh; padding: 40px 20px; }

.auth-card {
    background: rgba(10, 12, 20, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 5;
}

.auth-header { text-align: center; margin-bottom: 40px; }
.auth-header h2 { font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; letter-spacing: 2px; }

.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-family: 'Rajdhani', sans-serif; font-weight: 700; color: var(--neon-cyan); margin-bottom: 10px; text-transform: uppercase; font-size: .9rem; }
.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    color: #fff;
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    transition: .3s;
    box-sizing: border-box;
}
.input-group input:focus { outline: none; border-color: var(--neon-cyan); background: rgba(0, 240, 255, 0.05); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }

.btn-auth {
    width: 100%;
    padding: 15px;
    background: var(--neon-cyan);
    border: none;
    color: #000;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transition: .4s;
}
.btn-auth:hover { box-shadow: 0 0 35px var(--neon-cyan); transform: scale(1.02); }

.auth-footer { margin-top: 30px; text-align: center; color: #888; }
.auth-footer a { color: var(--neon-cyan); text-decoration: none; font-weight: 700; }
.auth-footer a:hover { text-decoration: underline; }

.form-actions { margin-bottom: 20px; }
.checkbox-container { font-size: .85rem; color: #aaa; cursor: pointer; display: flex; align-items: center; gap: 10px; }

.alert { padding: 12px 16px; border-radius: 8px; font-size: .9rem; font-weight: 500; margin-bottom: 20px; }
.alert-error   { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #f87171; }
.alert-success { background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.3); color: #4ade80; }

/* ── VDS Card Transition ── */
.vds-card { transition: opacity .4s ease, transform .3s ease; }

/* ── User Profile Dropdown ── */
.user-profile-dropdown { position: relative; display: inline-block; }
.profile-trigger {
    width: 45px; height: 45px;
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-family: 'Rajdhani', sans-serif;
    cursor: pointer; transition: all .4s;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    user-select: none;
}
.profile-trigger:hover { box-shadow: 0 0 20px var(--neon-cyan); transform: scale(1.05); background: var(--neon-cyan); color: #000; }

.dropdown-content {
    position: absolute; top: 60px; right: 0;
    width: 220px;
    background: rgba(10, 12, 20, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px; padding: 15px 0;
    display: none; z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,.8);
    animation: dropFade .3s ease;
}
.dropdown-content.active { display: block; }
@keyframes dropFade { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

.dropdown-header { padding: 0 20px 10px; display: flex; flex-direction: column; }
.user-name { color: #fff; font-weight: 700; font-family: 'Rajdhani', sans-serif; }
.user-status { font-size: .7rem; color: #888; }
.divider { border: none; border-top: 1px solid rgba(255,255,255,.05); margin: 10px 0; }

.dropdown-content a {
    color: #ccc; padding: 12px 20px; text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    font-size: .9rem; transition: .2s; font-family: 'Space Grotesk', sans-serif;
}
.dropdown-content a:hover { background: rgba(0,240,255,.05); color: var(--neon-cyan); padding-left: 25px; }
.balance-text { color: var(--neon-cyan); font-weight: bold; }
.highlight { color: var(--neon-cyan) !important; font-weight: bold; }
.logout-link:hover { color: #ff4d4d !important; background: rgba(255,77,77,.05) !important; }

/* ── Cart Sidebar ── */
.nx-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 1998; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.nx-cart-overlay.active { opacity: 1; pointer-events: all; }

.nx-cart {
    position: fixed; top: 0; right: -440px;
    width: 400px; max-width: 100vw; height: 100%;
    background: #080a14; border-left: 1px solid rgba(0,240,255,.15);
    z-index: 1999; display: flex; flex-direction: column;
    transition: right .4s cubic-bezier(.16,1,.3,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.8);
}
.nx-cart.active { right: 0; }

.nx-cart-fab {
    position: fixed; bottom: 32px; right: 32px;
    width: 58px; height: 58px;
    background: var(--neon-cyan); border: none; border-radius: 50%;
    color: #000; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 1997; transition: all .3s;
    box-shadow: 0 4px 20px rgba(0,240,255,.4);
    animation: fabPulse 3s ease-in-out infinite;
}
@keyframes fabPulse { 0%,100% { box-shadow:0 4px 20px rgba(0,240,255,.4),0 0 0 0 rgba(0,240,255,.3);} 50%{box-shadow:0 4px 20px rgba(0,240,255,.4),0 0 0 10px rgba(0,240,255,0);} }
.nx-cart-fab:hover { transform: scale(1.1); background: #fff; }
.nx-cart-fab__badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; background: #ff0055; color: #fff; font-size: .7rem; font-weight: 700; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #080a14; }

/* ── Member Dashboard Layout ── */
.db-wrap { display: flex; min-height: 100vh; background: var(--bg-dark); }
.db-main { flex: 1; padding: 0 0 40px; overflow-x: hidden; }

.db-sidebar {
    width: 260px; min-height: 100vh; flex-shrink: 0;
    background: rgba(8,10,20,.95);
    border-right: 1px solid var(--border);
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}

.db-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 28px; border-bottom: 1px solid var(--border);
    background: rgba(8,10,20,.8); backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 50;
}
.db-topbar h1 { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.db-topbar-right { display: flex; align-items: center; gap: 12px; }
.mob-menu-btn { display: none; background: none; border: 1px solid var(--border); color: #fff; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 1.1rem; }

/* Sidebar internals */
.sb-brand { padding: 24px 20px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.sb-brand-logo { font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; text-decoration: none; }
.sb-brand-logo span { color: var(--cyan); }
.sb-brand-badge { font-size: .65rem; background: rgba(0,240,255,.1); border: 1px solid rgba(0,240,255,.2); color: var(--cyan); padding: 2px 8px; border-radius: 10px; letter-spacing: 1px; text-transform: uppercase; margin-left: auto; }

.sb-user { padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); }
.sb-avatar { width: 42px; height: 42px; background: rgba(0,240,255,.12); border: 2px solid rgba(0,240,255,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; color: var(--cyan); flex-shrink: 0; }
.sb-user-name { font-weight: 700; font-size: .9rem; color: #fff; }
.sb-user-role { font-size: .7rem; color: var(--muted); }
.sb-balance { font-size: .75rem; color: var(--cyan); margin-top: 2px; }

.sb-nav { flex: 1; padding: 12px 0; }
.sb-nav-group { margin-bottom: 8px; }
.sb-nav-label { font-size: .65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); padding: 12px 20px 6px; }

.sb-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: rgba(226,232,240,.6);
    text-decoration: none; font-size: .88rem; font-weight: 500;
    transition: all .2s; position: relative;
}
.sb-link:hover, .sb-link.active { color: #fff; background: rgba(0,240,255,.05); }
.sb-link.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 60%; background: var(--cyan); border-radius: 0 2px 2px 0; }
.sb-icon { font-size: 1rem; width: 20px; text-align: center; }
.sb-badge-pill { margin-left: auto; background: #ff0055; color: #fff; font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 10px; }

.sb-logout { display: flex; align-items: center; gap: 10px; padding: 16px 20px; color: rgba(255,100,100,.6); text-decoration: none; font-size: .88rem; border-top: 1px solid var(--border); transition: .2s; }
.sb-logout:hover { color: #ff6060; background: rgba(255,64,96,.05); }

/* Stat Cards */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 28px 0; }
@media(max-width:800px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

.stat-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 12px; padding: 20px;
    position: relative; overflow: hidden;
}
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.stat-card.cyan::before  { background: var(--cyan); }
.stat-card.purple::before{ background: #a855f7; }
.stat-card.green::before { background: var(--green); }
.stat-card.yellow::before{ background: #ffe600; }

.stat-icon { font-size: 1.6rem; margin-bottom: 8px; }
.stat-val  { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.stat-delta { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; position: absolute; top: 12px; right: 12px; }
.stat-delta.down { background: rgba(255,64,96,.15); color: #ff6080; }

/* Chart */
.chart-section { padding: 20px 28px 0; }
.chart-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.chart-title { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.chart-tabs { display: flex; gap: 8px; }
.chart-tab { padding: 6px 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 6px; color: var(--muted); font-size: .78rem; font-weight: 600; cursor: pointer; transition: .2s; }
.chart-tab.active { border-color: rgba(0,240,255,.3); color: var(--cyan); background: rgba(0,240,255,.06); }
.chart-wrap { height: 220px; }

/* Two Col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 28px 0; }
@media(max-width:900px) { .two-col { grid-template-columns: 1fr; } }

/* Data Tables */
.data-table-wrap { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin: 20px 28px 0; }
.data-table-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.data-table-title { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; }

table { width: 100%; border-collapse: collapse; }
th { padding: 12px 20px; text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); border-bottom: 1px solid var(--border); }
td { padding: 14px 20px; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.03); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .68rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.badge-active    { background: rgba(57,255,20,.12); color: #39ff14; border: 1px solid rgba(57,255,20,.25); }
.badge-pending   { background: rgba(255,230,0,.12); color: #ffe600; border: 1px solid rgba(255,230,0,.25); }
.badge-cancelled { background: rgba(255,64,96,.12); color: #ff4060; border: 1px solid rgba(255,64,96,.25); }
.badge-suspended { background: rgba(255,165,0,.12); color: #ffa500; border: 1px solid rgba(255,165,0,.25); }
.badge-expired   { background: rgba(148,163,184,.12); color: #94a3b8; border: 1px solid rgba(148,163,184,.2); }

/* Section Head */
.section-head { font-family: 'Rajdhani', sans-serif; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--cyan); margin-bottom: 14px; }

/* Quick Actions */
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 10px; color: rgba(226,232,240,.6); text-decoration: none; font-size: .78rem; font-weight: 600; transition: .2s; text-align: center; }
.quick-btn:hover { background: rgba(0,240,255,.05); border-color: rgba(0,240,255,.2); color: var(--cyan); transform: translateY(-2px); }
.q-icon { font-size: 1.4rem; }

/* Announce */
.announce-list { display: flex; flex-direction: column; gap: 12px; }
.announce-item { display: flex; align-items: flex-start; gap: 12px; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.announce-title { font-size: .85rem; font-weight: 600; color: #e2e8f0; margin-bottom: 3px; }
.announce-date  { font-size: .72rem; color: var(--muted); }

/* Services Grid */


.svc-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s; }
.svc-card:hover { border-color: rgba(0,240,255,.2); transform: translateY(-3px); }
.svc-active { border-left: 3px solid var(--cyan); }

.svc-card__head { padding: 18px 20px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); }
.svc-type-icon { width: 44px; height: 44px; background: rgba(0,240,255,.08); border: 1px solid rgba(0,240,255,.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.svc-name { font-weight: 700; font-size: .95rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-type-label { font-size: .7rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

.svc-card__body { padding: 14px 20px; }
.svc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.03); font-size: .82rem; }
.svc-row:last-child { border-bottom: none; }
.svc-row-label { color: var(--muted); }
.svc-row-val { color: #e2e8f0; font-weight: 600; }
.svc-mono { font-family: monospace; font-size: .78rem; }

.svc-card__foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.svc-btn { flex: 1; padding: 9px; text-align: center; border-radius: 7px; font-size: .78rem; font-weight: 600; text-decoration: none; transition: .2s; }
.svc-btn--support { background: rgba(0,240,255,.08); border: 1px solid rgba(0,240,255,.2); color: var(--cyan); }
.svc-btn--support:hover { background: rgba(0,240,255,.15); }
.svc-btn--invoice { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted); }
.svc-btn--invoice:hover { border-color: rgba(255,255,255,.15); color: #fff; }

/* Invoice link */
.inv-link { font-size: .75rem; color: var(--cyan); text-decoration: none; padding: 4px 10px; border: 1px solid rgba(0,240,255,.2); border-radius: 5px; }
.inv-link:hover { background: rgba(0,240,255,.08); }

/* Mobile */
@media(max-width:768px) {
    .db-sidebar { position: fixed; left: -260px; z-index: 200; transition: left .3s; }
    .db-sidebar.open { left: 0; }
    .mob-menu-btn { display: flex; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .chart-section, .two-col, .data-table-wrap { padding-left: 16px; padding-right: 16px; }
}