:root {
    --primary: #ff4500;
    --primary-dark: #cc3700;
    --primary-glow: rgba(255, 69, 0, 0.5);
    --bg-dark: #0d0d0d;
    --card-bg: #1a1a1a;
    --card-border: #333;
    --text-light: #f0f0f0;
    --text-muted: #aaa;
}
* { scroll-behavior: smooth; margin:0; padding:0; box-sizing:border-box; }
body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    padding: 20px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}
.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary) !important;
    text-shadow: 0 0 20px var(--primary-glow);
    text-decoration: none;
}
.navbar-nav {
    display: flex;
    gap: 20px;
    list-style: none;
}
.navbar-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.navbar-nav a:hover { color: var(--primary); }
.btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-spicy {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-spicy:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--primary-glow);
}
.btn-outline-spicy {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-spicy:hover {
    background: var(--primary);
    color: #fff;
}
.btn-danger { background: #dc3545; color: #fff; }
.btn-success { background: #28a745; color: #fff; }
.btn-info { background: #17a2b8; color: #fff; }
.btn-warning { background: #ffc107; color: #000; }
.btn-sm { padding: 5px 15px; font-size: 0.8rem; }

.alert {
    padding: 15px 20px;
    border-radius: 30px;
    margin: 15px 0;
}
.alert-success { background: #28a745; color: #fff; }
.alert-danger { background: #dc3545; color: #fff; }
.alert-warning { background: #ffc107; color: #000; }

.hero {
    height: 75vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 60% 60% / 10%;
    margin-bottom: 40px;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}
.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    text-shadow: 0 0 30px var(--primary);
    animation: fadeInUp 1s ease;
}
.hero p {
    font-size: 1.5rem;
    color: #ffb3b3;
    animation: fadeInUp 1.2s ease;
}
.hero .btn { animation: fadeInUp 1.4s ease; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    margin-bottom: 30px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px var(--primary-glow);
    transform: translateY(-8px);
}
.product-card .preview-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid #333;
}
.product-card .product-name {
    font-size: 1.4rem;
    font-weight: 700;
}
.product-card .product-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin: 5px 0;
}
.product-card .product-validity {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.product-card .product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 10px 0;
    flex-grow: 1;
}

.detail-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 40px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.detail-card .detail-image {
    flex: 1 1 300px;
}
.detail-card .detail-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #333;
}
.detail-card .detail-info {
    flex: 1 1 300px;
}
.detail-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
}
.detail-card .validity {
    font-size: 1.1rem;
    color: var(--text-muted);
}
.detail-card .description {
    font-size: 1.1rem;
    color: #ddd;
    margin: 20px 0;
}
.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.payment-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 40px;
    margin-top: 30px;
}
.qr-container {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    display: inline-block;
}
.form-control {
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    border-radius: 30px;
    padding: 12px 20px;
    width: 100%;
    margin-bottom: 15px;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.order-status-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 40px;
    margin-top: 30px;
}
.status-badge {
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}
.status-pending { background: #ffc107; color: #000; }
.status-approved { background: #28a745; color: #fff; }
.status-rejected { background: #dc3545; color: #fff; }

.access-content {
    background: #2a1a1a;
    border-left: 6px solid var(--primary);
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}
.product-summary {
    background: #2a1a1a;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

footer {
    border-top: 1px solid #333;
    padding: 20px 0;
    margin-top: 50px;
    color: var(--text-muted);
    text-align: center;
}
footer a { color: var(--primary); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.admin-stat {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}
.admin-stat h5 { color: var(--text-muted); }
.admin-stat h2 { color: var(--primary); }

.tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}
.tab-btn {
    padding: 10px 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.tab-btn.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}
.table th {
    background: #2a1a1a;
    padding: 10px;
    text-align: left;
}
.table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}
.table tr:hover td { background: #2a1a1a; }
.screenshot-thumb {
    max-width: 150px;
    max-height: 150px;
    border-radius: 10px;
}
.product-preview {
    max-width: 80px;
    max-height: 80px;
    border-radius: 10px;
}

/* Modal (simple overlay) */
.modal {
    display: none;
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}
.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}
.modal-body { padding: 20px 0; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; padding-top: 10px; border-top: 1px solid #333; }