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

:root {
    --bg-color: #030303;
    --card-bg: #0a0a0a;
    --card-hover: #111111;
    --primary-color: #e63946;
    --primary-glow: rgba(230, 57, 70, 0.4);
    --accent-gold: #ffb700;
    --accent-red: #ff3e3e;
    --roblox-color: #00A2FF;
    --text-color: #ffffff;
    --text-secondary: #a1a1a1;
    --border-color: #1a1a1a;
    --nav-height: 80px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --card-radius: 4px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Base Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered Delay Utilities */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Animation Keyframes */
@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 15px); }
    100% { transform: translate(0, 0); }
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 5px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 15px var(--primary-glow)); }
    100% { filter: drop-shadow(0 0 5px var(--primary-glow)); }
}

@keyframes glitch {
    0% { clip-path: inset(80% 0 0 0); transform: translate(-2px, 2px); }
    10% { clip-path: inset(10% 0 85% 0); transform: translate(2px, -2px); }
    20% { clip-path: inset(80% 0 0 0); transform: translate(-2px, 2px); }
    30% { clip-path: inset(10% 0 85% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(40% 0 43% 0); transform: translate(1px, 2px); }
    50% { clip-path: inset(80% 0 0 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(80% 0 0 0); transform: translate(-2px, 2px); }
}

/* Background Patterns */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% -20%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 0% 100%, rgba(230, 57, 70, 0.05) 0%, transparent 30%);
    opacity: 0.8;
    animation: float 20s infinite ease-in-out;
}

.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.bg-mesh, .bg-waves, .bg-dots {
    pointer-events: none;
    z-index: -2;
}

/* Announcement Bar */
.announcement-bar {
    background: #080a0d;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1001;
}

.announcement-bar span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Nav Styles */
nav {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-left {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.logo:hover {
    animation: glitch 0.3s infinite linear alternate-reverse;
}

.trust-badge {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-container input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}

.btn-dashboard {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-dashboard:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 10rem 5% 6rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #fff;
}

.hero h1 span.highlight {
    display: block;
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--primary-glow);
    font-size: 5.5rem;
    margin-top: 0.5rem;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--card-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--card-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
}

/* Products Section */
.products-section {
    padding: 4rem 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
}

.section-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
}

.product-grid.single-product {
    display: flex;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.product-card {
    background: #080808;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 0.58 / 1; /* Made taller to fit the button cleanly */
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    background: var(--card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(230, 57, 70, 0.15);
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(230, 57, 70, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 120px; /* Reduced from 140px to give more room for text */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border-bottom: 1px solid #1a1a1a;
}

.card-icon-left, .card-icon-right {
    position: absolute;
    top: 10px;
    padding: 6px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    font-size: 0.7rem;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.05);
}

.card-icon-left { left: 10px; color: #888; }
.card-icon-right { right: 10px; color: #00ff80; }

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(230, 57, 70, 0.2);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: pulse-glow 3s infinite ease-in-out;
}

.product-info {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 1rem; /* Reduced from 1.5rem */
    margin-bottom: 0.4rem;
    color: #fff;
    font-family: var(--font-heading);
}

.product-desc {
    font-size: 0.75rem;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.3;
    display: block;
    height: 35px;
    overflow: hidden;
}

.stock-info {
    display: none; /* Hide for square look */
}

.product-action {
    margin-top: 1rem;
}

.btn-checkout-confirm {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    margin-top: 2rem;
}

.btn-checkout-confirm:hover:not(:disabled) {
    background: #ff4d5d;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-checkout-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #444;
}

.product-price {
    font-size: 1.3rem; /* Slightly smaller to ensure fit */
    font-weight: 800;
    color: #fff;
    margin-top: auto;
    padding-bottom: 0.2rem;
}

.btn-add {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.btn-add:hover {
    background: #ff4d5d;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

/* Specific button for the Global Popup */
.btn-popup-buy {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.btn-popup-buy:hover {
    background: #ff4d5d;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-popup-cart {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    color: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-popup-cart:hover {
    border-color: #333;
    background: #1a1a1a;
}

/* Footer */
footer {
    background: #000;
    padding: 8rem 5% 4rem;
    border-top: 1px solid var(--border-color);
    margin-top: 8rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #4b5563;
    font-size: 0.8rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #14171d;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    width: 340px;
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    display: block;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.cookie-btns {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.btn-cookie-primary {
    flex: 1;
    background: var(--primary-color);
    border: none;
    color: #000;
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-cookie-secondary {
    flex: 1;
    background: #1c2128;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.cookie-policy {
    display: block;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3.5rem;
    max-width: 850px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    border-radius: var(--card-radius);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    transform: scale(0.95) translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.modal-body {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.btn-discord-cta {
    display: block;
    margin-top: 2rem;
    background: #5865F2;
    color: #fff;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: filter 0.3s;
}

.modal-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-robux-trigger {
    background: var(--roblox-color);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.3s;
}

.btn-robux-trigger:hover {
    filter: brightness(1.2);
}

.roblox-link {
    display: block;
    background: #2a2e35;
    color: var(--roblox-color);
    padding: 1rem;
    text-align: center;
    border: 1px dashed var(--roblox-color);
    margin: 1rem 0;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.robux-input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.robux-input-group input {
    flex: 1;
    background: #1c2128;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 0.8rem;
    border-radius: 4px;
    outline: none;
}

.btn-verify {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 0 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

#verifyStatus {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.status-error { color: var(--accent-red); }
.status-success { color: #00ff80; }
.status-loading { color: var(--text-secondary); }

.btn-back {
    margin-top: 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
}

/* Checkout UI Redesign */
.checkout-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

/* Cart Side Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 4000;
    transition: var(--transition);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    right: 0;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.cart-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.empty-msg {
    color: var(--text-secondary);
    text-align: center;
    margin-top: 3rem;
}

.cart-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Dashboard Styles */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #000;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.active-products h3 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #000;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.header-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    font-size: 1.5rem;
    padding: 0.8rem;
    background: #1c2128;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.checkout-items {
    margin-bottom: 1rem;
}

.checkout-item {
    background: #1c2128;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-img-container {
    width: 60px;
    height: 60px;
    background: #10141b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-img-container img {
    width: 100%;
}

.item-details {
    flex: 1;
}

.item-name {
    font-weight: 600;
}

.item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.item-price {
    font-weight: 700;
}

.checkout-total {
    background: #1c2128;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 2rem;
}

.checkout-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checkout-form input {
    width: 100%;
    background: #000;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 1.2rem;
    border-radius: var(--card-radius);
    outline: none;
    transition: var(--transition);
}

.checkout-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.checkout-options {
    margin-bottom: 2rem;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #1c2128;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.opt-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 4px;
}

.payment-method-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    position: relative;
}

.payment-method-label::before, .payment-method-label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.payment-method-label::before { left: 0; }
.payment-method-label::after { right: 0; }

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-btn {
    background: #1c2128;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s;
}

.payment-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
}

.payment-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.text-gold { color: #ffd700; }
.text-orange { color: #ff9900; }
.text-blue { color: #00A2FF; }
.text-green { color: #2ecc71; }

/* Premium Dashboard & Admin */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    background: #111;
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #1a1a1a;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.social-btn.discord { border-bottom: 2px solid #5865F2; }
.social-btn.google { border-bottom: 2px solid #DB4437; }

.dash-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.dash-tab {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-tab.active {
    color: #fff;
}

.dash-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Admin Sidebar Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: #050505;
    border-right: 1px solid #111;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.admin-main {
    flex: 1;
    padding: 3rem;
    background: #020202;
    overflow-y: auto;
}

.admin-nav-item {
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(230, 57, 70, 0.05);
    color: #fff;
}

.admin-nav-item i { width: 20px; text-align: center; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(145deg, #0a0a0a, #050505);
    border: 1px solid #111;
    padding: 1.5rem;
    border-radius: 12px;
}

.stat-card .label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.stat-card .value { font-size: 2rem; font-weight: 800; color: #fff; margin-top: 0.5rem; font-family: var(--font-heading); }

/* Premium Dashboard & Admin */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    background: #111;
    border: 1px solid var(--border-color);
    padding: 0.8rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #1a1a1a;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.social-btn.discord { border-bottom: 2px solid #5865F2; }
.social-btn.google { border-bottom: 2px solid #DB4437; }

.dash-tabs {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.dash-tab {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-tab.active {
    color: #fff;
}

.dash-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Admin Sidebar Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: #050505;
    border-right: 1px solid #111;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.admin-main {
    flex: 1;
    padding: 3rem;
    background: #020202;
    overflow-y: auto;
}

.admin-nav-item {
    padding: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(230, 57, 70, 0.05);
    color: #fff;
}

.admin-nav-item i { width: 20px; text-align: center; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(145deg, #0a0a0a, #050505);
    border: 1px solid #111;
    padding: 1.5rem;
    border-radius: 12px;
}

.stat-card .label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.stat-card .value { font-size: 2rem; font-weight: 800; color: #fff; margin-top: 0.5rem; font-family: var(--font-heading); }

/* Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #050505;
    border: 1px solid #111;
    width: 100%;
    max-width: 500px;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    max-height: 90vh;
}

/* responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding-top: 5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .cookie-popup {
        width: 90%;
        left: 5%;
        bottom: 1rem;
    }
    .modal-content {
        padding: 2rem 1.5rem;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    .payment-grid {
        grid-template-columns: 1fr;
    }
    .modal-title {
        font-size: 1.8rem;
    }
}

/* Premium Dashboard V2 - High Fidelity Replica */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-indicator {
    display: block;
    font-size: 0.65rem;
    color: #444;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.modal-title-v2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
}

.modal-subtitle-v2 {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.4;
    max-width: 250px;
    margin: 0 auto;
}

.social-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.social-btn-v2 {
    background: #141417;
    border: 1px solid #1f1f23;
    padding: 0.85rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn-v2:hover {
    background: #1c1c21;
    border-color: #333;
}

.social-btn-v2 img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.divider-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #333;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.divider-v2::before, .divider-v2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #111;
}

.input-v2 {
    width: 100%;
    background: #09090b;
    border: 1px solid #1f1f23;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 0.5rem;
}

.input-v2:focus {
    border-color: #144a4d;
}

.hint-v2 {
    font-size: 0.72rem;
    color: #555;
    margin-top: 0.5rem;
    text-align: center;
}

.btn-continue-v2 {
    width: 100%;
    background: #08333b;
    color: #00d2ff;
    border: none;
    padding: 1.1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-continue-v2:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.footer-v2 {
    font-size: 0.72rem;
    color: #333;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.4;
}

.modal-close:hover {
    color: #fff !important;
}

/* --- CUSTOM PREMIUM FILE INPUT --- */
.custom-file-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    cursor: pointer;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.custom-file-upload:hover {
    background: #111;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.1);
}

/* Forcefully hide default file inputs */
input[type="file"], 
.admin-section input[type="file"],
.product-overlay input[type="file"] {
    display: none !important;
    width: 0.1px !important;
    height: 0.1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
}

/* Style number inputs to look premium */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ensure all interactive elements in admin look premium */
.admin-section input, 
.admin-section textarea,
.admin-section select {
    background: #000 !important;
    border: 1px solid #111 !important;
    color: #fff !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    outline: none !important;
}

.admin-section input:focus {
    border-color: var(--primary-color) !important;
}

/* --- HIGH-FIDELITY PRODUCT VIEW --- */
.product-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #030303;
    z-index: 2000;
    display: none; /* Controlled by JS */
    overflow-y: auto;
    padding: 120px 5% 50px;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

.topographical-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cpath d='M0 0h800v800H0z' fill='%23030303'/%3E%3Cg fill-opacity='.05' stroke='%23444' stroke-width='1'%3E%3Cpath d='M0 100c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3Cpath d='M0 200c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3Cpath d='M0 300c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3Cpath d='M0 400c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3Cpath d='M0 500c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3Cpath d='M0 600c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3Cpath d='M0 700c100 0 100 50 200 50s100-50 200-50 100 50 200 50 100-50 200-50'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.product-detail-left .view-image-card {
    background: #0a0a0a;
    border: 1px solid #111;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.product-detail-left .view-image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-detail-right .price-box {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.price-main {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.robux-price {
    font-size: 1rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-picker {
    display: flex;
    align-items: center;
    background: #000;
    border: 1px solid #111;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
}

.qty-btn:hover { background: #111; }

.qty-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.product-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-v2 {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-executor { background: rgba(50, 50, 50, 0.3); color: #fff; border: 1px solid #333; }
.badge-status { background: rgba(0, 255, 128, 0.1); color: #00ff80; border: 1px solid rgba(0, 255, 128, 0.2); }

/* --- HIGH-FIDELITY CHECKOUT --- */
.checkout-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1100px;
    height: 90vh;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    z-index: 3000;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9);
}

.checkout-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    height: 100%;
}

/* --- SIDEBAR (LEFT) --- */
.checkout-sidebar {
    background: #050505;
    border-right: 1px solid #111;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.sidebar-logo {
    height: 32px;
}

.sidebar-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.checkout-items-list {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.checkout-sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.02);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #111;
}

.checkout-sidebar-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.checkout-item-info .item-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.checkout-item-info .item-meta {
    color: #666;
    font-size: 0.75rem;
}

.checkout-summary-box {
    background: #000;
    border: 1px solid #111;
    padding: 1.5rem;
    border-radius: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-breakdown-divider {
    height: 1px;
    background: #111;
    margin: 1rem 0;
}

.price-breakdown-text {
    color: #444;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.security-badges {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #26b1a3;
    font-weight: 700;
}

/* --- MAIN CONTENT (RIGHT) --- */
.checkout-main {
    padding: 2.5rem 3.5rem;
    overflow-y: auto;
}

.checkout-main-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2.5rem;
    position: relative;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.header-text h3 {
    margin: 0;
    color: #fff;
    font-size: 1.5rem;
}

.header-text p {
    margin: 4px 0 0;
    color: #666;
    font-size: 0.85rem;
}

.close-checkout {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2rem;
    color: #444;
    cursor: pointer;
    transition: color 0.2s;
}

.close-checkout:hover { color: #fff; }

.billing-alert {
    background: rgba(38, 177, 163, 0.05);
    border: 1px solid rgba(38, 177, 163, 0.1);
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #eee;
}

.alert-icon { color: #26b1a3; font-size: 1.1rem; }

.billing-warning {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.1);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    margin-bottom: 2.5rem;
    font-size: 0.8rem;
    color: #aaa;
}

.warning-icon { color: #ffa500; }

.billing-divider {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.billing-divider span {
    background: #0a0a0a;
    padding: 0 15px;
    color: #444;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.billing-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #111;
    z-index: -1;
}

/* --- FORM STYLES --- */
.billing-form .form-group {
    margin-bottom: 1.5rem;
}

.billing-form label {
    display: block;
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-form label span { color: var(--primary-color); }

.billing-form input, .billing-form select {
    width: 100%;
    background: #000;
    border: 1px solid #1a1a1a;
    color: #fff;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.billing-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.payment-selection-label {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}

.billing-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-security {
    text-align: center;
    color: #444;
    font-size: 0.75rem;
}

.billing-form .btn-checkout-confirm {
    width: 100%;
    padding: 1.2rem;
    background: #0076a3; /* Pandabase blue from screenshot */
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
}

.billing-form .btn-checkout-confirm:hover {
    background: #0096cc;
    transform: translateY(-2px);
}

/* Admin Console Styling */
.admin-container {
    display: flex;
    height: 100vh;
    width: 100%;
    background: #000;
    overflow: hidden;
}

.admin-sidebar {
    width: 260px;
    height: 100vh;
    background: #050505;
    border-right: 1px solid #111;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.admin-nav-item {
    padding: 1rem 1.25rem;
    color: #a1a1a1;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.admin-nav-item i { font-size: 1.1rem; width: 20px; }
.admin-nav-item:hover, .admin-nav-item.active {
    background: #111;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.admin-nav-item.active {
    background: #e63946;
    color: #fff;
}

.admin-main {
    flex: 1;
    padding: 3rem 4rem;
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
    background: radial-gradient(circle at top left, #050505, #000);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-card {
    background: #050505;
    border: 1px solid #111;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-card:hover { border-color: #333; transform: translateY(-4px); }

.admin-card {
    background: #050505;
    border: 1px solid #111;
    padding: 2.5rem;
    border-radius: 24px;
    margin-top: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
    margin-top: 1.5rem;
}

.admin-table th { text-align: left; padding: 1rem; color: #444; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.admin-table td { padding: 1.25rem 1rem; background: #080808; color: #eee; }
.admin-table tr td:first-child { border-radius: 12px 0 0 12px; }
.admin-table tr td:last-child { border-radius: 0 12px 12px 0; }

.logout-btn {
    margin-top: auto;
    color: #e63946;
    padding: 1rem;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- PAYMENT OVERLAY (INLINE) --- */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.payment-overlay.active {
    display: flex;
    opacity: 1;
}

.payment-header {
    padding: 1rem 5%;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-title {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-payment {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    color: #888;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.btn-close-payment:hover {
    background: #ff33c1;
    color: #fff;
    border-color: #ff33c1;
}

.payment-iframe-container {
    flex: 1;
    position: relative;
    background: #000;
}

#paymentIframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 2;
}

.payment-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #888;
    z-index: 1;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 51, 193, 0.1);
    border-top-color: #ff33c1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
