/* ============================================================
   D-ZONE Customer Website - Dark Gaming Theme
   ============================================================ */

:root {
    --dz-bg: #0a0a1a;
    --dz-surface: #12122a;
    --dz-surface2: #1a1a3e;
    --dz-border: #2a2a5e;
    --dz-neon: #00ff88;
    --dz-cyan: #00ccff;
    --dz-purple: #a855f7;
    --dz-pink: #ff3888;
    --dz-text: #eaeaf5;
    --dz-muted: #b0b0cc;
}

body {
    background: var(--dz-bg);
    color: var(--dz-text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    padding-top: 60px;
}

html { scroll-behavior: smooth; }

/* Scroll offset for anchor links (fixed navbar) */
:target { scroll-margin-top: 80px; }

a { color: var(--dz-cyan); text-decoration: none; }
a:hover { color: var(--dz-neon); }

/* Override Bootstrap dark text on dark theme */
.text-muted { color: var(--dz-muted) !important; }
.text-body-secondary { color: var(--dz-muted) !important; }

/* Navbar */
.navbar-dz {
    background: rgba(10,10,26,.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dz-border);
    padding: .6rem 0;
}
.navbar-dz .navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dz-neon), var(--dz-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.navbar-dz .nav-link {
    color: var(--dz-muted) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem 1rem !important;
    transition: color .2s;
}
.navbar-dz .nav-link:hover,
.navbar-dz .nav-link.active {
    color: var(--dz-neon) !important;
}
.navbar-toggler { border-color: var(--dz-border); }
.navbar-toggler-icon { filter: invert(1); }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
    margin-top: -60px;
    padding-top: 80px;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0,255,136,.08), transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0,204,255,.08), transparent 50%);
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-title .neon { color: var(--dz-neon); text-shadow: 0 0 40px rgba(0,255,136,.3); }
.hero-title .cyan { color: var(--dz-cyan); text-shadow: 0 0 40px rgba(0,204,255,.3); }
.hero-sub {
    font-size: 1.15rem;
    color: var(--dz-muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-neon {
    background: linear-gradient(135deg, var(--dz-neon), var(--dz-cyan));
    border: none;
    color: #000;
    font-weight: 700;
    padding: .65rem 1.8rem;
    border-radius: 8px;
    transition: all .3s;
}
.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,255,136,.25);
    color: #000;
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.8rem;
    border-radius: 8px;
    border: none;
}
.btn-whatsapp:hover {
    background: #20b858;
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline-neon {
    border: 2px solid var(--dz-neon);
    color: var(--dz-neon);
    background: transparent;
    padding: .6rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
}
.btn-outline-neon:hover {
    background: rgba(0,255,136,.1);
    color: var(--dz-neon);
}

/* Section Styles */
.section { padding: 5rem 0; }
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: .5rem;
}
.section-subtitle {
    color: var(--dz-muted);
    margin-bottom: 3rem;
}
.neon-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--dz-neon), var(--dz-cyan));
    border-radius: 2px;
    margin-bottom: 1rem;
}
.neon-line-center { margin-left: auto; margin-right: auto; }

/* Cards */
.game-card {
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all .3s;
    height: 100%;
}
.game-card:hover {
    border-color: var(--dz-neon);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,255,136,.1);
}
.game-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.game-card h5 { font-weight: 700; }

/* Pricing Cards */
.price-card {
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.price-card:hover {
    border-color: var(--dz-cyan);
    transform: translateY(-5px);
}
.price-card.featured {
    border-color: var(--dz-neon);
    box-shadow: 0 0 30px rgba(0,255,136,.1);
}
.price-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--dz-neon);
    color: #000;
    font-size: .65rem;
    font-weight: 800;
    padding: 3px 40px;
    transform: rotate(45deg);
}
.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dz-neon);
}
.price-amount small {
    font-size: .9rem;
    color: var(--dz-muted);
    font-weight: 400;
}

/* Offer Banners */
.offer-card {
    background: linear-gradient(135deg, var(--dz-surface), var(--dz-surface2));
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all .3s;
}
.offer-card:hover {
    border-color: var(--dz-pink);
    transform: translateY(-3px);
}
.offer-badge {
    background: linear-gradient(135deg, var(--dz-pink), var(--dz-purple));
    color: #fff;
    font-weight: 800;
    padding: .4rem 1rem;
    border-radius: 20px;
    font-size: .85rem;
    display: inline-block;
    margin-bottom: .5rem;
}

/* Membership Cards */
.member-card {
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all .3s;
}
.member-card:hover {
    transform: translateY(-5px);
}
.member-card.silver { border-color: #aaa; }
.member-card.silver .plan-name { color: #ccc; }
.member-card.gold { border-color: #ffd700; }
.member-card.gold .plan-name { color: #ffd700; }
.member-card.platinum { border-color: var(--dz-cyan); box-shadow: 0 0 20px rgba(0,204,255,.1); }
.member-card.platinum .plan-name { color: var(--dz-cyan); }
.plan-name { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }
.plan-price { font-size: 2.5rem; font-weight: 800; margin: 1rem 0; }

/* Footer */
.footer {
    background: var(--dz-surface);
    border-top: 1px solid var(--dz-border);
    padding: 4rem 0 2rem;
}
.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dz-neon);
}
.footer .social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dz-border);
    border-radius: 50%;
    color: var(--dz-muted);
    margin-right: .5rem;
    transition: all .2s;
}
.footer .social-link:hover {
    border-color: var(--dz-neon);
    color: var(--dz-neon);
}
.footer-bottom {
    border-top: 1px solid var(--dz-border);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Contact Form */
.contact-form .form-control {
    background: var(--dz-surface2);
    border: 1px solid var(--dz-border);
    color: var(--dz-text);
    border-radius: 8px;
}
.contact-form .form-control:focus {
    border-color: var(--dz-neon);
    box-shadow: 0 0 0 .2rem rgba(0,255,136,.1);
    background: var(--dz-surface2);
    color: #fff;
}
.contact-form .form-control::placeholder { color: var(--dz-muted); opacity: .6; }
.contact-form select.form-control { appearance: auto; }
.contact-form select.form-control option {
    background: var(--dz-surface2);
    color: var(--dz-text);
}
.contact-form select.form-control optgroup {
    background: var(--dz-surface);
    color: var(--dz-neon);
    font-weight: 700;
}

/* All form inputs (outside contact-form too) */
.form-control, .form-select {
    background: var(--dz-surface2);
    border: 1px solid var(--dz-border);
    color: var(--dz-text);
    border-radius: 8px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--dz-neon);
    box-shadow: 0 0 0 .2rem rgba(0,255,136,.1);
    background: var(--dz-surface2);
    color: #fff;
}
select.form-control option,
.form-select option {
    background: var(--dz-surface2);
    color: var(--dz-text);
}
input[type="date"], input[type="time"], input[type="datetime-local"] {
    color-scheme: dark;
}

/* Alerts - dark theme friendly */
.alert-success {
    background: rgba(0,255,136,.1);
    border-color: rgba(0,255,136,.3);
    color: var(--dz-neon);
}
.alert-danger {
    background: rgba(255,56,136,.1);
    border-color: rgba(255,56,136,.3);
    color: var(--dz-pink);
}
.alert .btn-close { filter: invert(1); }

/* Breadcrumb */
.breadcrumb { --bs-breadcrumb-divider-color: var(--dz-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--dz-muted); }

/* Gallery */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: transform .2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Page Header */
.page-header {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #0a0a1a, #1a1a3e);
    text-align: center;
    position: relative;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
}
.page-header .breadcrumb {
    justify-content: center;
}
.page-header .breadcrumb-item a { color: var(--dz-neon); }
.page-header .breadcrumb-item.active { color: var(--dz-muted); }

/* Info Boxes */
.info-box {
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}
.info-box i {
    font-size: 2rem;
    color: var(--dz-neon);
    margin-bottom: .5rem;
    display: block;
}

/* Pagination - dark theme */
.page-link {
    background: var(--dz-surface);
    border-color: var(--dz-border);
    color: var(--dz-text);
}
.page-link:hover {
    background: var(--dz-surface2);
    border-color: var(--dz-neon);
    color: var(--dz-neon);
}
.page-item.active .page-link {
    background: var(--dz-neon);
    border-color: var(--dz-neon);
    color: #000;
}

/* Responsive */
@media (max-width: 767.98px) {
    body { padding-top: 56px; }
    .hero-section { min-height: 70vh; text-align: center; margin-top: -56px; padding-top: 70px; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.8rem; }
    .page-header { padding: 3rem 0 2rem; }
    .page-header h1 { font-size: 2rem; }
}

/* Account/Customer area */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.account-sidebar {
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 80px;
}
.account-sidebar .customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--dz-border);
    margin-bottom: 1rem;
}
.account-sidebar .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--dz-neon);
    object-fit: cover;
}
.account-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.account-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    color: var(--dz-muted);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.account-nav a:hover, .account-nav a.active {
    background: rgba(0,255,136,0.08);
    color: var(--dz-neon);
}
.account-content {
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 2rem;
}
.wallet-balance-card {
    background: linear-gradient(135deg, #1a1a3e, #2a2a5e);
    border: 2px solid var(--dz-neon);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,255,136,.15);
}
.wallet-balance {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dz-neon);
    margin: 1rem 0;
}
.auth-card {
    max-width: 480px;
    margin: 2rem auto;
    background: var(--dz-surface);
    border: 1px solid var(--dz-border);
    border-radius: 16px;
    padding: 2.5rem;
}
.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
}
.btn-google {
    background: #fff;
    color: #444;
    border: 1px solid #ddd;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
}
.btn-google:hover {
    background: #f5f5f5;
    color: #222;
}
.divider-or {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--dz-muted);
    font-size: 0.85rem;
}
.divider-or::before, .divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dz-border);
    margin: 0 1rem;
}
@media (max-width: 768px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
}
