/* ============================================================
   FreeFire Diamond Shop — style.css
   Theme: Emerald & Midnight — Premium Design
   MODIFIED: Green text stays green, white text stays white
   ============================================================ */

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

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

:root {
    --dark1: #0a0e17;
    --dark2: #0f1623;
    --dark3: #151d2e;
    --dark4: #1a2436;
    --emerald: #10b981;
    --emerald2: #059669;
    --emerald3: #34d399;
    --teal: #14b8a6;
    --cyan: #22d3ee;
    --gold: #fbbf24;
    --gold2: #f59e0b;
    --card-bg: rgba(15,22,35,0.92);
    --card-border: rgba(16,185,129,0.15);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --green: #22c55e;
    --red: #ef4444;
    --orange: #f97316;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(160deg, #030712 0%, #0a0e17 40%, #0f1623 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16,185,129,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(20,184,166,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hidden { display: none !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark1); }
::-webkit-scrollbar-thumb { background: var(--emerald2); border-radius: 3px; }

/* ══════════════ HEADER ══════════════ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: linear-gradient(90deg, rgba(3,7,18,0.97) 0%, rgba(15,22,35,0.97) 100%);
    border-bottom: 1px solid rgba(16,185,129,0.12);
    box-shadow: 0 2px 30px rgba(0,0,0,0.6);
    height: 62px;
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--emerald2), var(--teal));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 18px rgba(16,185,129,0.35);
}

/* FIXED: White text stays white */
.header-content h1 {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.menu-btn {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: var(--emerald3);
    font-size: 18px;
    cursor: pointer;
    padding: 7px 9px;
    border-radius: 10px;
    line-height: 1;
    transition: all 0.2s;
    flex-shrink: 0;
}
.menu-btn:hover { background: rgba(16,185,129,0.2); border-color: var(--emerald); }

#authButtons { display: flex; gap: 6px; }

.btn-header-signup {
    background: linear-gradient(135deg, var(--emerald2), var(--emerald));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 2px 14px rgba(16,185,129,0.35);
}
.btn-header-signup:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(16,185,129,0.5); }

.user-card-header {
    display: none;
    align-items: center;
    background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(20,184,166,0.08));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 22px;
    padding: 5px 14px;
    cursor: pointer;
    gap: 6px;
    transition: all 0.2s;
}
.user-card-header:hover { border-color: var(--emerald); background: rgba(16,185,129,0.18); }

.wallet-amount {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
}

.notif-bell-wrap { position: relative; }

.notif-bell-btn {
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.15);
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    position: relative;
    transition: all 0.2s;
    line-height: 1;
}
.notif-bell-btn:hover { color: var(--emerald3); background: rgba(16,185,129,0.15); }

.notif-badge {
    position: absolute;
    top: -3px; right: -3px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px; height: 16px;
    padding: 0 3px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark1);
}

/* ══════════════ OVERLAY & DRAWER ══════════════ */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 199;
    backdrop-filter: blur(4px);
}

.drawer {
    position: fixed;
    top: 0; left: -290px;
    width: 270px; height: 100vh;
    background: linear-gradient(180deg, #060a14 0%, #0a0e17 100%);
    border-right: 1px solid rgba(16,185,129,0.1);
    z-index: 200;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    box-shadow: 4px 0 30px rgba(0,0,0,0.7);
}
.drawer.open { left: 0; }

.drawer-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(16,185,129,0.1);
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(20,184,166,0.04));
}

.drawer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }

.drawer-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--emerald2), var(--teal));
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 18px rgba(16,185,129,0.25);
}

/* FIXED: White text stays white */
.drawer-header h2 {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
}

.drawer-tagline { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.nav-menu { padding: 8px 0; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    position: relative;
}
.nav-item:hover {
    background: rgba(16,185,129,0.06);
    color: var(--emerald3);
    border-left-color: rgba(16,185,129,0.3);
}
.nav-item.active {
    color: #fff;
    border-left-color: var(--emerald);
    background: linear-gradient(90deg, rgba(16,185,129,0.12), transparent);
    font-weight: 700;
}
.nav-item.active .nav-icon-wrap {
    background: rgba(16,185,129,0.2);
    border-color: rgba(16,185,129,0.4);
}

.nav-icon-wrap {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
    transition: all 0.2s;
}

.nav-label { flex: 1; }

.logout-item { color: #fc8181; margin-top: 8px; }
.logout-item:hover { background: rgba(239,68,68,0.06); color: var(--red); border-left-color: rgba(239,68,68,0.3); }
.logout-item .nav-icon-wrap { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.15); }

.nav-notif-dot {
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.5; transform:scale(1.4); }
}

.drawer-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(16,185,129,0.06);
    margin-top: auto;
    font-size: 11px;
    color: rgba(148,163,184,0.4);
    text-align: center;
}

/* ══════════════ MAIN CONTENT ══════════════ */
.main-content {
    padding-top: 62px;
    max-width: 640px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.section { display: none; padding: 20px 15px 100px; }
.section.active { display: block; }

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* FIXED: White text stays white */
.section-header h2 { font-size: 22px; font-weight: 800; color: #fff; flex: 1; }

.section-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--emerald2), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 18px rgba(16,185,129,0.2);
}

/* ══════════════ BANNER ══════════════ */
.banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #060a14 0%, #0d1a1a 50%, #0a1a16 100%);
    
    border: 5px solid rgba(0, 150, 255, 0.6); /* blue stroke */

    box-shadow: 
        0 8px 40px rgba(0,0,0,0.5), 
        0 0 10px rgba(0,150,255,0.7); /* glow */
}
.banner-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(16,185,129,0.1) 0%,
        rgba(20,184,166,0.04) 50%,
        rgba(16,185,129,0.08) 100%);
    animation: shimmer 4s ease infinite;
}
@keyframes shimmer {
    0%,100% { opacity: 0.7; }
    50% { opacity: 1; }
}



.banner-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.60;

    background-image: url("https://i.postimg.cc/vZ4mGZ40/20230919_161622_(1)_Ahm7Tech.jpg");

    background-size: cover;        /* full width + height fill */
    background-position: center;   /* center align */
    background-repeat: no-repeat;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 0px;
}

.banner-diamond-icon {
    font-size: 52px;
    filter: drop-shadow(0 0 25px black(16,185,129,0.5));
    flex-shrink: 0;
    animation: floatDiamond 3s ease infinite;
}
@keyframes floatDiamond {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* FIXED: White text stays white */
.banner-text h2 {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.2;
    
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
}
.banner-text p { color: var(--text-muted); font-size: 12px; font-weight: 600; line-height: 1.5; }

.banner-badges { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* FIXED: Green text stays green */
.banner-badge {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.25);
    color: var(--emerald3);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ══════════════ DIAMOND GRID ══════════════ */
.shop-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(16,185,129,0.1);
}

/* FIXED: Green text stays green */
.shop-section-title span {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: var(--emerald3);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: auto;
}

.diamond-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* ── DIAMOND CARD — IMPROVED PREMIUM DESIGN ── */
.diamond-card {
    background: linear-gradient(160deg, rgba(15,22,35,0.98) 0%, rgba(10,14,23,0.98) 100%);
    
    /* Blue stroke */
    border: 1.5px solid rgba(59,130,246,0.6);

    border-radius: 16px;

    /* Size chhoti */
    padding: 16px 10px 14px;
    width: 160px;
    padding: 16px 10px 14px;
    height: 180px;

    cursor: pointer;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    text-align: center;
    overflow: hidden;

    /* Shadow + outer blue glow */
    box-shadow:
        0 3px 12px rgba(0,0,0,0.5),
        0 0 8px rgba(59,130,246,0.4),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Hover pe thoda aur glow */
.diamond-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 6px 20px rgba(0,0,0,0.6),
        0 0 15px rgba(59,130,246,0.7);
}
.diamond-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.diamond-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(16,185,129,0.06) 60deg, transparent 120deg);
    animation: cardRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.35s;
}
@keyframes cardRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.diamond-card:hover::before { opacity: 1; }
.diamond-card:hover::after { opacity: 1; }

.diamond-card:hover {
    border-color: rgba(16,185,129,0.5);
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        0 0 40px rgba(16,185,129,0.2),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.diamond-card.selected {
    border-color: var(--emerald);
    box-shadow:
        0 0 0 2px rgba(16,185,129,0.3),
        0 0 40px rgba(16,185,129,0.2),
        0 8px 30px rgba(0,0,0,0.5);
    background: linear-gradient(160deg, rgba(16,185,129,0.08), rgba(10,14,23,0.98));
}

.diamond-card-glow {
    position: absolute;
    top: -30px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 70px;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.badge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.badge-hot { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 2px 10px rgba(239,68,68,0.3); }
.badge-value { background: linear-gradient(135deg, var(--emerald), var(--emerald2)); color: #fff; box-shadow: 0 2px 10px rgba(16,185,129,0.3); }
.badge-ultimate { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #000; box-shadow: 0 2px 10px rgba(251,191,36,0.3); }
.badge-premium { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; box-shadow: 0 2px 10px rgba(168,85,247,0.3); }

.diamond-img { margin: 8px auto 16px; position: relative; z-index: 1; }
.diamond-img img {
    width: 60px; height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px black(16,185,129,0.5)) drop-shadow(0 0 40px rgba(20,184,166,0.25));
    transition: all 0.35s;
}
.diamond-card:hover .diamond-img img {
    transform: scale(1.18) rotate(-5deg);
    filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 50px rgba(0, 0, 0, 0.5));
}

.diamond-shadow {
    width: 50px; 
    height: 0px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.6) 0%, transparent 70%);
    margin: 0 auto 12px;
    border-radius: 50%;
}

/* FIXED: White text stays white */
.uc {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 18px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* ══════════════ GLASS CARD ══════════════ */
.glass-card {
    background: linear-gradient(135deg, rgba(15,22,35,0.95), rgba(10,14,23,0.95));
    border: 1px solid rgba(16,185,129,0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

/* ══════════════ ORDER CONFIRMATION ══════════════ */
.order-package-box {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(20,184,166,0.04));
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.order-package-box .pkg-name { font-size: 16px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 6px; }
.order-package-box .pkg-price { font-size: 22px; font-weight: 900; color: var(--gold); }

.wallet-balance-box {
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.wallet-balance-box .wb-label { font-size: 12px; color: var(--text-muted); font-weight: 700; }
/* FIXED: Green text stays green */
.wallet-balance-box .wb-amount { font-size: 18px; font-weight: 900; color: var(--green); }

.insufficient-msg {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    color: #fc8181;
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: center;
}

/* ══════════════ PROFILE ══════════════ */
.profile-avatar-wrapper { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; }

.profile-avatar {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--emerald2), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    overflow: hidden;
    border: 3px solid rgba(16,185,129,0.3);
    box-shadow: 0 0 25px rgba(16,185,129,0.2);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }

.avatar-edit-btn {
    position: absolute;
    bottom: 0; right: 0;
    background: linear-gradient(135deg, var(--emerald2), var(--teal));
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    border: 2px solid var(--dark1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: all 0.2s;
}
.avatar-edit-btn:hover { transform: scale(1.1); }

/* ══════════════ FORM ELEMENTS ══════════════ */
.form-group { margin-bottom: 16px; }
.form-group label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    background: rgba(15,22,35,0.8);
    border: 1px solid rgba(16,185,129,0.12);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s;
    margin-bottom: 12px;
}
.input-field:focus {
    border-color: var(--emerald);
    background: rgba(15,22,35,0.95);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.08);
}
.input-field:disabled { opacity: 0.55; cursor: not-allowed; }
.input-field::placeholder { color: rgba(148,163,184,0.4); }
select.input-field option { background: var(--dark2); color: var(--text); }

.name-edit-row { display: flex; gap: 8px; margin-bottom: 12px; }
.name-edit-row .input-field { margin-bottom: 0; flex: 1; }

.btn-edit-name {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    color: var(--emerald3);
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.btn-edit-name:hover { background: rgba(16,185,129,0.2); }

/* ══════════════ BUTTONS ══════════════ */
.btn-primary {
    background: linear-gradient(135deg, var(--emerald2) 0%, var(--emerald) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 18px rgba(16,185,129,0.3);
    letter-spacing: 0.3px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(16,185,129,0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 18px rgba(251,191,36,0.3);
    letter-spacing: 0.3px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(251,191,36,0.45); }
.btn-gold:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.25s;
    box-shadow: 0 4px 18px rgba(239,68,68,0.25);
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(239,68,68,0.35); }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(16,185,129,0.25);
    color: var(--emerald3);
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s;
}
.btn-outline:hover { background: rgba(16,185,129,0.06); border-color: var(--emerald); }

.link-btn {
    background: none;
    border: none;
    color: var(--emerald3);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
}

/* ══════════════ WALLET ══════════════ */
.wallet-hero {
    background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
    border: 1px solid rgba(16,185,129,0.12);
    border-radius: 20px;
    padding: 30px 22px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.wallet-hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.wallet-hero-icon { font-size: 36px; margin-bottom: 8px; filter: drop-shadow(0 0 12px rgba(251,191,36,0.4)); }
.wallet-hero p { font-size: 12px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.wallet-hero h1 {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.deposit-box {
    background: linear-gradient(135deg, rgba(15,22,35,0.95), rgba(10,14,23,0.95));
    border: 1px solid rgba(16,185,129,0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 18px;
}

/* FIXED: Green text stays green */
.deposit-section-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--emerald3);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.deposit-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 6px;
}

.deposit-card {
    background: rgba(15,22,35,0.8);
    border: 1px solid rgba(16,185,129,0.1);
    border-radius: 12px;
    padding: 13px 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
}
.deposit-card:hover { border-color: rgba(16,185,129,0.35); color: var(--emerald3); transform: translateY(-2px); }
.deposit-card.active {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(20,184,166,0.06));
    border-color: var(--emerald);
    color: #fff;
    box-shadow: 0 0 15px rgba(16,185,129,0.1);
}

.deposit-payment-row { display: flex; flex-direction: column; gap: 10px; }

.deposit-option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15,22,35,0.8);
    border: 1px solid rgba(16,185,129,0.08);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.deposit-option:hover { border-color: rgba(16,185,129,0.25); }
.deposit-option.active {
    border-color: var(--emerald);
    background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(15,22,35,0.9));
}
.deposit-option.active .deposit-radio {
    background: var(--emerald);
    border-color: var(--emerald);
    box-shadow: 0 0 10px rgba(16,185,129,0.4);
}

.deposit-radio {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(148,163,184,0.25);
    flex-shrink: 0;
    transition: all 0.2s;
}

.deposit-pay-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* FIXED: White text stays white */
.deposit-pay-name { font-size: 14px; font-weight: 800; color: #fff; }
.deposit-pay-number { font-size: 12px; color: var(--text-muted); margin-top: 1px; font-weight: 600; }

.deposit-copy-btn {
    margin-left: auto;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.15);
    color: var(--emerald3);
    border-radius: 9px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}
.deposit-copy-btn:hover { background: rgba(16,185,129,0.18); }

.deposit-submit-btn { width: 100%; margin-top: 6px; }

/* ══════════════ TRANSACTION HISTORY ══════════════ */
.transaction-history {
    background: linear-gradient(135deg, rgba(15,22,35,0.95), rgba(10,14,23,0.95));
    border: 1px solid rgba(16,185,129,0.1);
    border-radius: 20px;
    padding: 20px;
}

/* FIXED: Green text stays green */
.transaction-history h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--emerald3);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15,22,35,0.6);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border-left: 3px solid rgba(148,163,184,0.15);
    transition: all 0.2s;
    gap: 10px;
}
.history-card:hover { transform: translateX(3px); border-left-color: var(--emerald); }
.history-card-approved { border-left-color: var(--green) !important; background: rgba(34,197,94,0.03); }
.history-card-rejected { border-left-color: var(--red) !important; background: rgba(239,68,68,0.03); }
.history-card-pending  { border-left-color: var(--gold2) !important; background: rgba(251,191,36,0.03); }

.hc-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }

.hc-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.1);
}

.hc-info { flex: 1; min-width: 0; }
/* FIXED: White text stays white */
.hc-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-sub { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* FIXED: Green text stays green */
.hc-txn { color: var(--emerald3); font-weight: 700; }
.hc-time { font-size: 10px; color: rgba(148,163,184,0.4); font-weight: 600; }

.request-status {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}
/* FIXED: Green text stays green */
.request-status.approved { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
.request-status.rejected { background: rgba(239,68,68,0.1); color: #fc8181; border: 1px solid rgba(239,68,68,0.2); }
.request-status.pending  { background: rgba(251,191,36,0.1); color: var(--gold); border: 1px solid rgba(251,191,36,0.2); }

/* ══════════════ NOTIFICATIONS ══════════════ */
.notif-hist-tab { position: relative; }

.notif-tab-badge {
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.notif-history-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(15,22,35,0.5);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border-left: 3px solid rgba(16,185,129,0.2);
    position: relative;
    transition: all 0.2s;
}
.notif-history-card.unread { background: rgba(16,185,129,0.04); border-left-color: var(--emerald); }
/* FIXED: Green stays green */
.notif-history-card.notif-approved { border-left-color: var(--green); }
.notif-history-card.notif-rejected { border-left-color: var(--red); }
.notif-history-card:hover { transform: translateX(3px); }

.notif-hc-icon {
    width: 38px; height: 38px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.1);
    flex-shrink: 0;
}

.notif-hc-info { flex: 1; }
/* FIXED: White text stays white */
.notif-hc-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.notif-hc-msg { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; line-height: 1.4; }
.notif-hc-time { font-size: 10px; color: rgba(148,163,184,0.4); font-weight: 600; }

.unread-dot {
    width: 8px; height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    position: absolute;
    top: 12px; right: 12px;
    animation: pulse 2s infinite;
}

/* ══════════════ ORDERS ══════════════ */
#ordersList { display: flex; flex-direction: column; gap: 10px; }

/* ══════════════ HISTORY TABS ══════════════ */
.history-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

.hist-tab {
    background: rgba(15,22,35,0.8);
    border: 1px solid rgba(16,185,129,0.1);
    color: var(--text-muted);
    border-radius: 22px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hist-tab:hover { border-color: rgba(16,185,129,0.3); color: var(--emerald3); }
.hist-tab.active {
    background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(20,184,166,0.06));
    border-color: var(--emerald);
    color: #fff;
    font-weight: 800;
}

.hist-panel { display: none; }
.hist-panel.active { display: block; }

/* ══════════════ SUPPORT ══════════════ */
.support-card {
    background: linear-gradient(135deg, rgba(15,22,35,0.95), rgba(10,14,23,0.95));
    border: 1px solid rgba(16,185,129,0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 14px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(15,22,35,0.5);
    border: 1px solid rgba(16,185,129,0.08);
    border-radius: 14px;
    margin-bottom: 10px;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--text);
}
.support-item:hover { border-color: rgba(16,185,129,0.25); transform: translateY(-2px); }

.support-item-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* FIXED: White text stays white */
.support-item-text .s-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.support-item-text .s-val { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.support-hours {
    background: rgba(251,191,36,0.06);
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    margin-top: 6px;
}
.support-hours .sh-label { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.support-hours .sh-time { font-size: 16px; font-weight: 800; color: var(--gold); }

/* ══════════════ MODALS ══════════════ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    padding: 20px;
}
.modal.active { display: flex; }

.modal-content {
    background: linear-gradient(135deg, #060a14 0%, #0f1623 100%);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 24px;
    padding: 30px 24px;
    width: 100%;
    max-width: 390px;
    position: relative;
    animation: modalIn 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(16,185,129,0.05);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }

.modal-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald2), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(16,185,129,0.25);
    flex-shrink: 0;
}

/* FIXED: White text stays white */
.modal-content h2 { font-size: 22px; font-weight: 900; color: #fff; }
.modal-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-weight: 600; }

.close-modal {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.close-modal:hover { background: rgba(239,68,68,0.15); color: var(--red); }

.modal-footer { text-align: center; margin-top: 18px; color: var(--text-muted); font-size: 13px; font-weight: 600; }

/* ── SUCCESS DIALOG ── */
.success-dialog-content { text-align: center; }

.success-anim {
    width: 74px; height: 74px;
    background: linear-gradient(135deg, rgba(34,197,94,0.12), rgba(34,197,94,0.04));
    border: 2px solid rgba(34,197,94,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    animation: successBounce 0.5s ease;
}
@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* FIXED: Green text stays green */
.success-dialog-content h2 { color: var(--green); margin-bottom: 8px; font-size: 22px; }
.success-sub { color: var(--text-muted); font-size: 14px; font-weight: 600; margin-bottom: 18px; }

.success-info-box {
    background: rgba(251,191,36,0.06);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
}

.success-note { font-size: 12px; color: rgba(148,163,184,0.4); margin-bottom: 6px; font-weight: 600; }

/* ══════════════ TOAST ══════════════ */
.notification {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    padding: 13px 24px;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    max-width: 360px;
    width: calc(100% - 40px);
    text-align: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    animation: notifIn 0.3s ease, notifOut 0.3s ease 3.2s forwards;
    border: 1px solid transparent;
}
@keyframes notifIn  { from { opacity:0; transform:translateX(-50%) translateY(-12px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
@keyframes notifOut { from { opacity:1; } to { opacity:0; } }
/* FIXED: Green toast stays green, white text stays white */
.notification.success { background: linear-gradient(135deg, rgba(16,185,129,0.95), rgba(5,150,105,0.95)); color:#fff; border-color:rgba(16,185,129,0.3); }
.notification.error   { background: linear-gradient(135deg, rgba(239,68,68,0.95), rgba(185,28,28,0.95)); color:#fff; border-color:rgba(239,68,68,0.3); }
.notification.info    { background: linear-gradient(135deg, rgba(20,184,166,0.95), rgba(16,185,129,0.9)); color:#fff; border-color:rgba(20,184,166,0.3); }

/* ══════════════ EMPTY STATE ══════════════ */
.empty-state-box {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}
.empty-state-box i { font-size: 36px; margin-bottom: 12px; display: block; opacity: 0.25; }

/* ══════════════ CUSTOM AREA ══════════════ */
.custom-area {
    margin-top: 28px;
    background: linear-gradient(135deg, rgba(15,22,35,0.95), rgba(10,14,23,0.95));
    border: 2px dashed rgba(251,191,36,0.35);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    min-height: 120px;
}

.custom-area-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(251,191,36,0.12);
}

.custom-area-content {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    min-height: 60px;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 380px) {
    .diamond-grid { gap: 10px; }
    .diamond-card { padding: 18px 10px 16px; }
    .deposit-price-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════ MIN DEPOSIT NOTE ══════════════ */
.min-deposit-note {
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.min-deposit-note i {
    color: var(--gold2);
    font-size: 13px;
}

/* ══════════════ PWA INSTALL BANNER ══════════════ */
.install-banner {
    position: fixed;
    top: 62px; left: 0; right: 0;
    z-index: 99;
    padding: 0 12px;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.install-banner-content {
    max-width: 640px;
    margin: 8px auto;
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(20,184,166,0.1));
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.install-banner-icon { font-size: 28px; flex-shrink: 0; }
.install-banner-text { flex: 1; }
.install-banner-text strong { display: block; color: #fff; font-size: 14px; font-weight: 800; }
.install-banner-text span { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.btn-install {
    background: linear-gradient(135deg, var(--emerald2), var(--emerald));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(16,185,129,0.3);
    transition: all 0.2s;
}
.btn-install:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(16,185,129,0.5); }
.install-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.install-close:hover { color: #fff; }
    /* ---------- RESET & BASE (Blue & Black VIP Theme) ---------- */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

    :root {
      --dark1: #03060f;
      --dark2: #060b1c;
      --dark3: #0a1228;
      --emerald: #1e90ff;        /* remapped to blue so existing refs auto-update */
      --emerald2: #0047ff;
      --emerald3: #3aa0ff;
      --teal: #00bfff;
      --gold: #fbbf24;
      --gold2: #f59e0b;
      --text: #e6f0ff;
      --text-muted: #8aa1c4;
      --green: #1e90ff;
      --red: #ef4444;
      --blue-stroke: #1e88e5;
      --blue-1: #1e90ff;
      --blue-2: #0047ff;
      --blue-glow: #3aa0ff;
      --grad-blue: linear-gradient(135deg, #0047ff 0%, #1e90ff 50%, #3aa0ff 100%);
      --grad-text: linear-gradient(120deg, #ffffff 0%, #9ec8ff 50%, #1e90ff 100%);
      --shadow-vip: 0 20px 50px -10px rgba(30,144,255,0.45), 0 0 0 1px rgba(30,144,255,0.15) inset;
      --shadow-soft: 0 10px 28px rgba(0,0,0,0.55);
    }

    body {
      background: #02040a;
      background-image:
        radial-gradient(circle at 12% 18%, rgba(30,144,255,0.18) 0%, transparent 45%),
        radial-gradient(circle at 88% 82%, rgba(0,71,255,0.15) 0%, transparent 50%),
        linear-gradient(180deg, #02040a 0%, #03060f 100%);
      color: var(--text);
      font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
      line-height: 1.5;
      scroll-behavior: smooth;
      min-height: 100vh;
    }

    .wrapper {
      max-width: 80rem;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    @media (min-width: 1024px) {
      .wrapper { padding: 0 2rem; }
    }

    /* ========== THREE FEATURE CARDS ========== */
    .three-cards {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      max-width: 76rem;
      margin: 0 auto 3rem auto;
      position: relative;
      z-index: 20;
    }

    @media (min-width: 768px) {
      .three-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
      }
    }

    .feature-card {
      background:
        linear-gradient(160deg, rgba(10,18,40,0.95), rgba(3,6,15,0.95)),
        radial-gradient(circle at 50% 0%, rgba(30,144,255,0.18), transparent 70%);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 1.4rem;
      padding: 2rem 1.4rem;
      text-align: center;
      transition: all 0.4s cubic-bezier(.2,.8,.2,1);
      cursor: default;
      border: 1px solid rgba(30,144,255,0.35);
      box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.05);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, transparent 40%, rgba(30,144,255,0.12) 50%, transparent 60%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    .feature-card:hover {
      background:
        linear-gradient(160deg, rgba(15,30,70,0.98), rgba(5,10,25,0.98));
      border-color: var(--blue-glow);
      transform: translateY(-8px);
      box-shadow: var(--shadow-vip);
    }
    .feature-card:hover::before { opacity: 1; }

    .feature-card svg {
      width: 2.8rem;
      height: 2.8rem;
      margin: 0 auto 1rem;
      display: block;
      color: var(--blue-glow);
      transition: 0.3s;
      filter: drop-shadow(0 0 10px rgba(30,144,255,0.6));
    }

    .feature-card:hover svg {
      color: #ffffff;
      transform: scale(1.1);
      filter: drop-shadow(0 0 16px rgba(58,160,255,0.9));
    }

    .feature-card h3 {
      font-size: 1.6rem;
      font-weight: 800;
      margin: 0.8rem 0 0.6rem;
      background: var(--grad-text);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      letter-spacing: 0.3px;
    }

    .feature-card p {
      font-size: 1rem;
      color: #b8cdf0;
      font-weight: 500;
    }

    /* ========== GAMES GRID ========== */
    .section-title {
      text-align: center;
      margin: 4rem 0 2rem;
    }
    .section-title h6 {
      color: var(--blue-glow);
      font-size: 1.2rem;
      letter-spacing: 3px;
      font-weight: 700;
      text-transform: uppercase;
      text-shadow: 0 0 12px rgba(58,160,255,0.5);
    }
    .section-title h2 {
      font-size: 2.2rem;
      font-weight: 900;
      background: var(--grad-text);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: 0.5rem;
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.8rem;
      margin: 2rem 0;
    }
    @media (min-width: 640px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (min-width: 768px) { .games-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (min-width: 1024px) { .games-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

    .game-card {
      background: linear-gradient(160deg, #0a1228, #03060f);
      border-radius: 1.2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1.5rem 0.8rem 1.2rem;
      transition: all 0.35s ease;
      text-decoration: none;
      color: inherit;
      border: 1px solid rgba(30,144,255,0.3);
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }
    .game-card::after {
      content: "";
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(30,144,255,0.15), transparent);
      transition: left 0.6s ease;
    }
    .game-card:hover::after { left: 100%; }
    .game-card:hover {
      border-color: var(--blue-glow);
      background: linear-gradient(160deg, #0f1e46, #050a1c);
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 18px 35px rgba(30,144,255,0.35);
    }
    .game-img {
      width: 100%;
      max-width: 130px;
      border-radius: 16px;
      transition: all 0.3s ease;
      filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
    }
    .game-card:hover .game-img {
      transform: scale(1.08) rotate(2deg);
      filter: saturate(1.3) brightness(1.15) drop-shadow(0 6px 16px rgba(30,144,255,0.5));
    }
    .game-title {
      font-weight: 700;
      text-align: center;
      font-size: 1rem;
      text-transform: uppercase;
      margin-top: 0.85rem;
      letter-spacing: 0.6px;
      color: #d6e6ff;
    }

    /* extra image section */
    .extra-image-section {
      display: flex;
      justify-content: center;
      margin: 3rem 0 2rem;
    }
    .custom-image {
      width: 200px;
      height: 200px;
      object-fit: cover;
      border-radius: 32px;
      border: 3px solid var(--blue-stroke);
      box-shadow: var(--shadow-vip);
      transition: 0.3s ease;
    }
    .custom-image:hover {
      transform: scale(1.04);
      border-color: var(--blue-glow);
    }

    .btn-green {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      background: var(--grad-blue);
      color: #ffffff;
      font-weight: 800;
      text-transform: uppercase;
      padding: 0.9rem 2rem;
      border-radius: 60px;
      font-size: 1rem;
      transition: all 0.3s ease;
      border: 1px solid rgba(255,255,255,0.15);
      cursor: pointer;
      letter-spacing: 0.5px;
      box-shadow: 0 10px 24px rgba(30,144,255,0.4);
    }
    .btn-green:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 32px rgba(58,160,255,0.55);
      filter: brightness(1.1);
    }

    /* who we are */
    .who-we-are {
      display: flex;
      flex-direction: column;
      gap: 3rem;
      align-items: center;
      margin-top: 5rem;
    }
    @media (min-width: 768px) { .who-we-are { flex-direction: row; } }
    .who-img { flex: 1; text-align: center; }
    .who-img img {
      max-width: 100%;
      border-radius: 28px;
      border: 2px solid rgba(30,144,255,0.4);
      box-shadow: var(--shadow-vip);
    }
    .who-content { flex: 1; }
    .feature-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
    .feature-item {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      background: linear-gradient(135deg, rgba(10,18,40,0.7), rgba(3,6,15,0.7));
      backdrop-filter: blur(6px);
      padding: 0.85rem 1.1rem;
      border-radius: 2rem;
      border-left: 4px solid var(--blue-1);
      border-top: 1px solid rgba(30,144,255,0.15);
      box-shadow: 0 6px 18px rgba(0,0,0,0.4);
      transition: all 0.3s ease;
    }
    .feature-item:hover {
      transform: translateX(6px);
      border-left-color: var(--blue-glow);
      box-shadow: 0 10px 26px rgba(30,144,255,0.3);
    }
    .feature-icon {
      background: linear-gradient(135deg, #0a1228, #050a1c);
      border-radius: 50%;
      padding: 0.75rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--blue-1);
      box-shadow: 0 0 14px rgba(30,144,255,0.4);
    }
    .feature-icon svg { width: 1.8rem; height: 1.8rem; fill: var(--blue-glow); }
    .feature-text h3 {
      font-size: 1.4rem;
      font-weight: 800;
      background: var(--grad-text);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }
    .feature-text p { color: #b8cdf0; }

    /* testimonials */
    .testimonials-bg {
      background:
        linear-gradient(180deg, rgba(3,6,15,0.85), rgba(5,10,25,0.85)),
        radial-gradient(circle at 50% 0%, rgba(30,144,255,0.18), transparent 60%);
      backdrop-filter: blur(6px);
      border-radius: 50px 0 50px 0;
      padding: 4rem 0;
      margin-top: 5rem;
      border-top: 1px solid rgba(30,144,255,0.35);
      border-bottom: 1px solid rgba(30,144,255,0.35);
    }
    .testimonials-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-top: 2rem;
    }
    @media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

    .testimonial-card {
      background: linear-gradient(160deg, rgba(10,18,40,0.9), rgba(3,6,15,0.9));
      padding: 1.6rem;
      border-radius: 1.5rem;
      transition: all 0.3s ease;
      border: 1px solid rgba(30,144,255,0.3);
      box-shadow: var(--shadow-soft);
    }
    .testimonial-card:hover {
      transform: translateY(-6px);
      border-color: var(--blue-glow);
      box-shadow: var(--shadow-vip);
    }
    .testimonial-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .user-avatar {
      width: 48px;
      height: 48px;
      background: var(--grad-blue);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1.2rem;
      color: #ffffff;
      border: 1px solid rgba(255,255,255,0.2);
      box-shadow: 0 0 14px rgba(30,144,255,0.5);
    }
    .game-badge {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #0a1228;
      padding: 6px;
      border: 1px solid rgba(30,144,255,0.3);
    }
    hr { margin: 1rem 0; border: none; border-top: 1px solid rgba(30,144,255,0.2); }
    .rating-stars { display: flex; gap: 0.3rem; margin-top: 0.75rem; color: #ffcd4a; text-shadow: 0 0 8px rgba(255,205,74,0.5); }

    /* footer */
    .footer-bg {
      background: linear-gradient(180deg, #02040a 0%, #010205 100%);
      margin-top: 4rem;
      border-top: 1px solid rgba(30,144,255,0.4);
      box-shadow: 0 -10px 40px rgba(30,144,255,0.1);
    }
    .footer-contact {
      display: flex;
      flex-direction: column;
      border-bottom: 1px solid rgba(30,144,255,0.2);
    }
    @media (min-width: 768px) { .footer-contact { flex-direction: row; } }
    .contact-item {
      flex: 1;
      padding: 1.5rem 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      color: #b8cdf0;
    }
    .footer-main {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      padding: 3rem 0;
    }
    @media (min-width: 768px) { .footer-main { flex-direction: row; } }
    .footer-col { flex: 1; }
    .footer-col h4 {
      color: #ffffff;
      font-weight: 800;
      margin-bottom: 0.5rem;
      letter-spacing: 0.5px;
    }
    .social-icons {
      display: flex;
      gap: 1.5rem;
      margin-top: 1.5rem;
      align-items: center;
    }
    .social-icons img {
      width: 32px;
      height: 32px;
      transition: 0.3s;
      cursor: pointer;
      filter: brightness(0.9) drop-shadow(0 0 6px rgba(30,144,255,0.4));
    }
    .social-icons img:hover {
      transform: translateY(-4px) scale(1.1);
      filter: brightness(1.3) drop-shadow(0 0 12px rgba(58,160,255,0.8));
    }
    .footer-links {
      list-style: none;
      margin-top: 1rem;
    }
    .footer-links li {
      margin-bottom: 0.7rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: #b8cdf0;
      transition: 0.2s;
    }
    .footer-links li:hover { color: var(--blue-glow); transform: translateX(4px); }
    .footer-links a {
      text-decoration: none;
      color: inherit;
    }
    .footer-links a:hover { color: var(--blue-glow); }
    .newsletter input {
      width: 100%;
      background: linear-gradient(135deg, #0a1228, #050a1c);
      padding: 0.85rem 1.1rem;
      border-radius: 40px;
      margin-bottom: 1rem;
      color: white;
      border: 1px solid rgba(30,144,255,0.35);
      transition: 0.25s;
      outline: none;
    }
    .newsletter input::placeholder { color: #6f88b0; }
    .newsletter input:focus {
      border-color: var(--blue-glow);
      box-shadow: 0 0 0 3px rgba(30,144,255,0.2);
    }
    .copyright {
      background: #010205;
      text-align: center;
      padding: 1.2rem;
      font-size: 0.85rem;
      border-top: 1px solid rgba(30,144,255,0.2);
      color: #8aa1c4;
    }
    .text-primary { color: var(--blue-glow); }
    .uppercase { text-transform: uppercase; }
    .font-black { font-weight: 900; }
    .flex { display: flex; }
    .justify-center { justify-content: center; }
    .mt-10 { margin-top: 2.5rem; }
    .mb-6 { margin-bottom: 1.5rem; }