﻿:root {
    --bg-dark: #0a0a0f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --neon-cyan: #00f3ff;
    --neon-purple: #bc13fe;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Background Grid Effect */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.highlight {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

.cart-link {
    font-size: 1.2rem;
    position: relative;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--neon-purple);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* User Profile Styles */
.profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--neon-cyan);
}

#user-email {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: url('hero-bg.png') no-repeat center center/cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--neon-cyan);
    box-shadow: 0 0 30px var(--neon-cyan);
    margin-bottom: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--text-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Services/Products Section */
.services {
    padding: 5rem 5%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.card:hover {
    color: white;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Product Card Specifics */
.special-card {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.1);
}

.special-card-alt {
    border-color: #ff0055;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.1);
}

/* Full Width Image Styles */
.card-icon {
    margin: -2rem -2rem 1.5rem -2rem;
    width: calc(100% + 4rem);
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .product-img {
    transform: scale(1.1);
}

.highlight-text {
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-list,
.feature-list {
    list-style: none;
    margin: 1rem 0;
    text-align: left;
}

.price-list li,
.feature-list li {
    color: #fff;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--neon-purple);
}

.feature-note {
    font-size: 0.9rem;
    color: #fff !important;
    margin-top: 0.5rem;
}

.trust-badge {
    margin-top: 1.5rem;
    padding: 0.5rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 4px;
    color: var(--neon-cyan) !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-tag {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-cyan);
    margin: 1rem 0;
}

.price-alt {
    font-size: 1rem;
    color: var(--text-secondary);
}

.btn-add {
    margin-top: auto;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-heading);
}

.btn-add:hover {
    background: var(--neon-cyan);
    color: black;
}

.activation-steps {
    margin-top: 1rem;
    text-align: left;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 4px;
}

.activation-steps ol {
    margin-left: 1.2rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Force Flexbox when JS sets display: block */
.cart-modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.cart-content {
    background-color: #1a1a20;
    margin: 0;
    padding: 25px;
    border: 1px solid var(--neon-purple);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.2);
    max-height: 85vh;
    overflow-y: auto;
    animation: modalPop 0.3s ease-out;
}

.close-cart {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-cart:hover,
.close-cart:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.cart-item-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    min-width: 0;
}

.cart-item-price {
    white-space: nowrap;
    margin-right: 10px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--neon-purple);
}

/* --- NEW PAYMENT STYLES --- */
.payment-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.payment-option input {
    display: none;
    /* Hide default radio */
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.option-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.option-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Hover Effects */
.payment-option:hover .option-card {
    background: rgba(255, 255, 255, 0.1);
}

/* Selected States */
.payment-option input:checked+.option-card {
    border-width: 2px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Yape Specifics */
.yape-opt input:checked+.option-card {
    border-color: var(--neon-purple);
    background: rgba(188, 19, 254, 0.1);
}

.yape-opt input:checked+.option-card i,
.yape-opt input:checked+.option-card .option-title {
    color: var(--neon-purple);
    text-shadow: 0 0 5px var(--neon-purple);
}

/* Binance Specifics */
.binance-opt input:checked+.option-card {
    border-color: #F3BA2F;
    background: rgba(243, 186, 47, 0.1);
}

.binance-opt input:checked+.option-card i,
.binance-opt input:checked+.option-card .option-title {
    color: #F3BA2F;
    text-shadow: 0 0 5px #F3BA2F;
}

.instruction-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cart-footer {
    margin-top: 2rem;
    text-align: right;
}

.total {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
    border-radius: 8px;
    box-shadow: 0 0 20px var(--neon-cyan);
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--neon-cyan);
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Lightbox */
@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}

/* Authentication Styles */
.btn-login,
.btn-register,
.btn-logout {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s;
    margin-left: 0.5rem;
}

.btn-register {
    background: var(--neon-cyan);
    color: black;
}

.btn-logout {
    border-color: #ff4444;
    color: #ff4444;
}

.btn-login:hover {
    box-shadow: 0 0 10px var(--neon-cyan);
}

.btn-register:hover {
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Modal General */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Force Flexbox when JS sets display: block */
.modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1a1a20;
    margin: 0;
    /* Remove auto margin for flex centering */
    padding: 25px;
    border: 1px solid var(--neon-purple);
    width: 90%;
    max-width: 450px;
    /* Slightly tighter width for elegance */
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.2);
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal,
.close-admin {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-admin:hover {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Auth Specifics */
.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--neon-cyan);
    border-bottom: 2px solid var(--neon-cyan);
}

.neon-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
}

.neon-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.auth-error {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
    min-height: 1.2em;
}

/* Floating Cart Bubble */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1500;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float 3s ease-in-out infinite;
}

/* --- NEW NEON STYLES FOR USER REQUEST --- */
.stock-status {
    background: rgba(57, 255, 20, 0.1) !important;
    border: 1px solid #39ff14 !important;
    color: #39ff14 !important;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.warranty-info {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warranty-info span {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.warranty-star {
    font-size: 1.2rem;
    color: #ffff00;
    animation: star-pulse 1.5s infinite ease-in-out;
}

@keyframes star-pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
    }

    50% {
        transform: scale(1.3);
        text-shadow: 0 0 20px rgba(255, 255, 0, 1);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
    }
}

.cart-icon {
    font-size: 2.5rem;
}

.floating-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--neon-purple);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 10px var(--neon-purple);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Pulse Animation for Adding Items */
.cart-pulse {
    animation: cartPulseEffect 0.6s ease-in-out !important;
}

@keyframes cartPulseEffect {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        box-shadow: 0 0 60px var(--neon-cyan);
        background: var(--neon-cyan);
        color: black;
    }

    100% {
        transform: scale(1);
    }
}

/* Order Status Badges */
.status-pending {
    color: #FFD700;
    border: 1px solid #FFD700;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    background: rgba(255, 215, 0, 0.1);
}

.status-completed {
    color: #00ff88;
    border: 1px solid #00ff88;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    text-shadow: 0 0 5px #00ff88;
    font-weight: bold;
}

/* --- Admin Panel Styles --- */
.btn-admin {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px #FFD700;
    transition: transform 0.3s;
}

.btn-admin:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #FFD700;
}

/* Ensure Admin Modal is a Box */
#admin-modal .modal-content {
    max-width: 450px !important;
    width: 90% !important;
    margin: 0 !important;
    /* Centered by flex parent */
    background: #1a1a20 !important;
    border: 1px solid var(--neon-purple);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.3);
    max-height: 85vh;
    overflow-y: auto;
}

.admin-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 1rem;
}

.admin-section h3 {
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Cart Quantity Buttons */
.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    margin: 0 5px;
}

.qty-minus {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #ff0000;
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}

.qty-minus:hover {
    background: #ff0000;
    color: black;
    box-shadow: 0 0 15px #ff0000;
}

.qty-plus {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #00ff00;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.qty-plus:hover {
    background: #00ff00;
    color: black;
    box-shadow: 0 0 15px #00ff00;
}

.qty-val {
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

/* Mobile Menu Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: white;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--neon-purple);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* --- Order & Admin Card Styling --- */
.order-card,
.admin-order-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover,
.admin-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-cyan);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.order-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-weight: bold;
    color: var(--neon-cyan);
    font-size: 1.1rem;
}

/* Admin Specifics */
.admin-order-card {
    border-left: 4px solid var(--neon-purple);
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-deliver {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-deliver:hover {
    background: #00ff88;
    color: black;
    box-shadow: 0 0 10px #00ff88;
}

/* OUT OF STOCK OVERRIDE */
.stock-out {
    color: #ff0000 !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3) !important;
}

/* HERO BRAND TEXT OVERRIDE */
.hero-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem !important;
    /* Force larger size */
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan),
        0 0 90px var(--neon-cyan),
        0 0 100px var(--neon-cyan);
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 40px var(--neon-cyan),
            0 0 80px var(--neon-cyan);
    }

    to {
        text-shadow:
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
    }
}




.qty-val {
    font-weight: bold;
    color: white;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

/* Mobile Menu Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        color: white;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background-color: white;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--neon-purple);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* --- Order & Admin Card Styling --- */
.order-card,
.admin-order-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover,
.admin-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-cyan);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.order-footer {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-weight: bold;
    color: var(--neon-cyan);
    font-size: 1.1rem;
}

/* Admin Specifics */
.admin-order-card {
    border-left: 4px solid var(--neon-purple);
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-deliver {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-deliver:hover {
    background: #00ff88;
    color: black;
    box-shadow: 0 0 10px #00ff88;
}

/* OUT OF STOCK OVERRIDE */
/* OUT OF STOCK OVERRIDE */
.stock-out {
    color: #ff0000 !important;
    border-color: #ff0000 !important;
    background: rgba(255, 0, 0, 0.1) !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3) !important;
}

/* HERO BRAND TEXT OVERRIDE */
.hero-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem !important;
    /* Force larger size */
    margin: 0;
    color: #ffffff;
    text-align: center;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan),
        0 0 90px var(--neon-cyan),
        0 0 100px var(--neon-cyan);
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 40px var(--neon-cyan),
            0 0 80px var(--neon-cyan);
    }

    to {
        text-shadow:
            0 0 2px #fff,
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px var(--neon-cyan),
            0 0 40px var(--neon-cyan);
    }
}


/* Brand X Custom Style */
.brand-x {
    color: var(--neon-cyan) !important;
    text-shadow:
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan) !important;
}

/* --- MOBILE OPTIMIZATION (PHONES) --- */
@media (max-width: 480px) {

    /* 1. Fix Grid: Force 1 column so cards don't squish */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* 2. Reduce excessive spacing */
    .services {
        padding: 2rem 5%;
    }

    .section-title {
        font-size: 1.5rem;
        /* Smaller title */
        margin-bottom: 2rem;
        word-wrap: break-word;
        /* Prevent cutting */
    }

    /* 3. Resize Hero Elements */
    .hero h1 {
        font-size: 1.8rem !important;
        /* Much smaller hero text */
        line-height: 1.2;
        word-wrap: break-word;
        white-space: normal;
        /* Allow wrapping */
        padding: 0 10px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    /* 4. Fix Modals on small screens */
    .modal-content,
    .cart-content,
    .admin-content {
        width: 95% !important;
        padding: 15px !important;
        margin: 10px auto !important;
        max-height: 90vh;
    }

    /* 5. Tweak Product Cards */
    .card {
        padding: 1.5rem;
    }

    .card-icon {
        height: 180px;
        /* Adjust negative margins for new padding */
        margin: -1.5rem -1.5rem 1rem -1.5rem;
        width: calc(100% + 3rem);
    }

    .price-tag {
        font-size: 1.2rem;
    }

    /* Fix navbar overlap */
    .logo {
        font-size: 0.9rem;
    }
}