/* ============================================
   GAME-THEMED MODERN DESIGN
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root {
    /* Game Colors */
    --neon-cyan: #00f3ff;
    --neon-purple: #b026ff;
    --neon-blue: #0066ff;
    --neon-pink: #ff00ff;
    --neon-green: #00ff88;
    --dark-bg: #0a0e27;
    --dark-card: #151932;
    --dark-card-hover: #1d2340;
    --glass-bg: rgba(21, 25, 50, 0.7);
    --glass-border: rgba(0, 243, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --success: #00ff88;
    --danger: #ff3366;
    --warning: #ffaa00;
    --shadow-neon: 0 0 20px rgba(0, 243, 255, 0.5);
    --shadow-neon-purple: 0 0 20px rgba(176, 38, 255, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 243, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(176, 38, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 102, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 0, 255, 0.1) 0px, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    word-wrap: break-word;
}

/* Animated Background Particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(0, 243, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(176, 38, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(0, 102, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleMove {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
    50% { background-position: 100% 100%, 0% 0%, 50% 50%; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   NAVBAR - Glassmorphism Style
   ============================================ */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
    transition: all 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2), transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    position: relative;
    z-index: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1); }
    to { filter: brightness(1.3); }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ============================================
   PRICING CARDS - Game Style
   ============================================ */
.pricing {
    margin: 5rem 0;
}

.pricing h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.pricing-card:hover::before {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 243, 255, 0.3),
        inset 0 0 30px rgba(0, 243, 255, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--neon-purple);
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(0, 243, 255, 0.1));
    box-shadow: 0 0 40px rgba(176, 38, 255, 0.3);
}

.pricing-card.featured::after {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.5);
}

.pricing-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* ============================================
   BUTTONS - Neon Style
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: white;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
    border-color: var(--neon-cyan);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--dark-card-hover);
    border-color: var(--neon-cyan);
}

.btn-success {
    background: linear-gradient(135deg, var(--neon-green), #00cc6a);
    color: white;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #cc0033);
    color: white;
    border: 2px solid var(--danger);
}

.btn-info {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border: 2px solid var(--neon-blue);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    margin: 5rem 0;
}

.features h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 243, 255, 0.3);
}

.feature-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 243, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(21, 25, 50, 0.5);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    background: rgba(21, 25, 50, 0.7);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.forgot-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.auth-link a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-link a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 2px solid;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.alert-error {
    background: rgba(255, 51, 102, 0.2);
    border-color: var(--danger);
    color: #ffcccc;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.alert-success {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--neon-green);
    color: #ccffeb;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.alert-info {
    background: rgba(0, 243, 255, 0.2);
    border-color: var(--neon-cyan);
    color: #ccf5ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.badge-success {
    background: linear-gradient(135deg, var(--neon-green), #00cc6a);
    color: white;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.badge-danger {
    background: linear-gradient(135deg, var(--danger), #cc0033);
    color: white;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
}

.badge-warning {
    background: linear-gradient(135deg, var(--warning), #ff8800);
    color: white;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.5);
}

.badge-info {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: white;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* ============================================
   TABLES
   ============================================ */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.table thead {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(176, 38, 255, 0.2));
}

.table th {
    padding: 1.2rem;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--glass-border);
}

.table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    color: var(--text-secondary);
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(0, 243, 255, 0.05);
    transform: scale(1.01);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

code {
    background: rgba(0, 243, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-info {
    margin: 2rem 0;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 1rem;
}

.info-card p {
    margin: 1rem 0;
    color: var(--text-secondary);
}

.keys-section {
    margin: 3rem 0;
}

.keys-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUY PAGE
   ============================================ */
.buy-container {
    margin: 3rem 0;
}

.plan-selector {
    margin-bottom: 3rem;
}

.plan-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.plan-tab {
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.plan-tab:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.plan-tab.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    border-color: var(--neon-cyan);
    color: white;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

.plan-details {
    margin-top: 3rem;
}

.plan-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.plan-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
}

.plan-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    color: var(--text-secondary);
    padding-left: 2rem;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.stat-card:hover::before {
    animation: shine 1.5s infinite;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 243, 255, 0.3);
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.text-success {
    background: linear-gradient(135deg, var(--neon-green), #00cc6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.text-danger {
    background: linear-gradient(135deg, var(--danger), #cc0033);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.text-warning {
    background: linear-gradient(135deg, var(--warning), #ff8800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.filter-bar {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.admin-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
}

.form-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-inline .form-group {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid var(--glass-border);
    text-align: center;
    padding: 2rem 0;
    margin-top: 5rem;
}

.footer .container {
    padding: 0 2rem;
}

.footer p {
    color: var(--text-secondary);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

h1, h2 {
    position: relative;
    z-index: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        border-top: 2px solid var(--glass-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle,
    #adminNavToggle {
        display: flex !important;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        word-wrap: break-word;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        word-wrap: break-word;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-inline {
        flex-direction: column;
    }

    .form-inline .form-group {
        width: 100%;
    }

    /* Table improvements */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        position: relative;
    }

    .table {
        font-size: 0.8rem;
        min-width: 600px;
        width: 100%;
    }

    .table th,
    .table td {
        padding: 0.6rem 0.4rem;
    }

    /* Better text wrapping for specific columns */
    .table td:nth-child(2) {
        max-width: 120px;
        word-wrap: break-word;
        white-space: normal;
    }

    .table td code {
        font-size: 0.75rem;
        word-break: break-all;
        white-space: normal;
        max-width: 100px;
        display: inline-block;
    }

    /* Make key code scrollable but readable */
    .table td:first-child code {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .auth-card {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .plan-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .plan-tab {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1rem;
    }

    .games-grid, .menus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-preview {
        flex-direction: column;
        padding: 1.5rem;
    }

    .menu-preview-image {
        width: 100%;
        height: 200px;
    }

    /* Account improvements */
    .account-balance {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .balance-amount {
        font-size: 1.5rem;
    }

    .account-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .account-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card p {
        margin: 0.5rem 0;
        word-wrap: break-word;
    }

    /* Profile card */
    .profile-card {
        padding: 1.5rem;
    }

    .profile-card h2 {
        font-size: 1.5rem;
    }

    /* Buy page */
    .buy-container {
        margin: 1rem 0;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .price-calculation {
        padding: 1rem;
    }

    .price-item {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }

    .coupon-input-group {
        flex-direction: column;
    }

    .coupon-input-group button {
        width: 100%;
        margin-top: 0.5rem;
    }

    .payment-method-section {
        padding: 1rem;
    }

    .balance-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    /* Deposit page */
    .deposit-container {
        margin: 1rem 0;
    }

    .balance-card {
        padding: 1.5rem;
    }

    .balance-amount-large {
        font-size: 2rem;
    }

    .deposit-card {
        padding: 1.5rem;
    }

    .payment-methods {
        gap: 0.8rem;
    }

    .payment-method {
        padding: 0.8rem;
    }

    /* Menu card improvements */
    .menu-content {
        padding: 1.5rem;
    }

    .menu-features ul {
        gap: 0.4rem;
    }

    .menu-features li {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .menu-pricing {
        padding: 1rem;
        margin-top: 1rem;
    }

    .price-examples {
        font-size: 0.75rem;
        word-wrap: break-word;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.85rem;
        word-wrap: break-word;
        margin: 1rem 0;
    }

    /* Buttons */
    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        word-wrap: break-word;
    }

    .btn-sm {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Alerts */
    .alert {
        padding: 1rem;
        font-size: 0.9rem;
        word-wrap: break-word;
    }

    /* Badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }

    .hero {
        padding: 2rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .pricing-card {
        padding: 1.2rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
        width: 100%;
    }

    /* Tables - better scrolling on very small screens */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .table {
        font-size: 0.7rem;
        min-width: 500px;
    }

    .table th,
    .table td {
        padding: 0.5rem 0.3rem;
        white-space: nowrap;
    }

    .table td code {
        font-size: 0.7rem;
        word-break: break-all;
        max-width: 100px;
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Better wrapping for long text */
    .table td strong {
        display: block;
        word-break: break-word;
        white-space: normal;
    }

    /* Account tabs */
    .account-tabs {
        flex-direction: column;
    }

    .account-tab {
        width: 100%;
        padding: 1rem;
    }

    /* Balance display */
    .balance-amount {
        font-size: 1.3rem;
    }

    .balance-amount-large {
        font-size: 1.8rem;
    }

    /* Form improvements */
    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Cards */
    .info-card,
    .profile-card,
    .deposit-card,
    .balance-card {
        padding: 1.2rem;
    }

    /* Menu cards */
    .menu-content {
        padding: 1.2rem;
    }

    .menu-features {
        margin: 1rem 0;
    }

    /* Price calculation */
    .price-calculation {
        padding: 0.8rem;
    }

    .price-item {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    /* Text improvements */
    h1 {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    h2 {
        font-size: 1.3rem;
        word-wrap: break-word;
    }

    h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }

    p {
        word-wrap: break-word;
        line-height: 1.6;
    }

    /* Navbar brand */
    .nav-brand a {
        font-size: 1.3rem;
    }
}

/* ============================================
   GAMES & MENUS
   ============================================ */
.breadcrumb {
    margin: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

.breadcrumb span {
    color: var(--text-primary);
}

.games-section, .menus-section {
    margin: 3rem 0;
}

.games-grid, .menus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card, .menu-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card::before, .menu-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 243, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.game-card:hover::before, .menu-card:hover::before {
    animation: shine 1.5s infinite;
}

.game-card:hover, .menu-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 243, 255, 0.3),
        inset 0 0 30px rgba(0, 243, 255, 0.1);
}

.game-card a, .menu-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-image, .menu-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(176, 38, 255, 0.1));
}

.game-image img, .menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-image img,
.menu-card:hover .menu-image img {
    transform: scale(1.1);
}

.game-image-placeholder, .menu-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(176, 38, 255, 0.2));
}

.game-info, .menu-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3, .menu-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.game-info p, .menu-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.2em;
}

.game-link {
    color: var(--neon-purple);
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-card:hover .game-link {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

.menu-features {
    margin: 1.5rem 0;
    flex: 1;
    min-height: 80px;
}

.menu-features ul {
    max-height: 120px;
    overflow-y: auto;
}

.menu-features h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-features ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.menu-features li {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
}

.menu-pricing {
    margin: 1.5rem 0 0 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-top: auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.price-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--neon-cyan);
    font-size: 1.1rem;
}

.price-examples {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

.menu-content .btn {
    margin-top: 1.5rem;
}

/* ============================================
   ACCOUNT & PROFILE
   ============================================ */
.account-balance {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(176, 38, 255, 0.1));
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.balance-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.balance-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.balance-amount-large {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 1rem 0;
}

.account-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    border-bottom: 2px solid var(--glass-border);
}

.account-tab {
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.account-tab:hover {
    color: var(--neon-cyan);
}

.account-tab.active {
    color: var(--neon-cyan);
    border-bottom-color: var(--neon-cyan);
}

.profile-container {
    margin: 2rem 0;
}

.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--neon-cyan);
}

.deposit-container {
    margin: 2rem 0;
}

.balance-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.balance-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.deposit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.deposit-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--neon-cyan);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
}

.payment-method input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.payment-method input[type="radio"]:checked + span {
    color: var(--neon-cyan);
    font-weight: 600;
}

.payment-method-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.payment-method-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.balance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.balance-warning {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 51, 102, 0.2);
    border: 1px solid var(--danger);
    border-radius: 8px;
}

.deposit-note {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--warning);
    border-radius: 8px;
    border-left: 3px solid var(--warning);
}

.deposit-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.transactions-section {
    margin: 2rem 0;
}

.transactions-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-preview {
    display: flex;
    gap: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.menu-preview-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
}

.menu-preview-info {
    flex: 1;
}

.menu-preview-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.menu-features-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--neon-cyan);
}

.menu-features-preview strong {
    color: var(--neon-cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.menu-features-preview span {
    color: var(--text-secondary);
}

/* ============================================
   BUY PAGE - CUSTOM DAYS & COUPON
   ============================================ */
.price-calculation {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.price-calculation .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.price-calculation .price-item:last-child {
    border-bottom: none;
}

.price-calculation .price-item.total {
    border-top: 2px solid var(--neon-cyan);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-group input {
    flex: 1;
}

.coupon-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.coupon-message.success {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.coupon-message.error {
    background: rgba(255, 51, 102, 0.2);
    border: 1px solid var(--danger);
    color: #ffcccc;
}

.discount-section {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    border: 1px solid var(--neon-green);
}

.discount-section .price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.discount-section .price-item.total {
    border-top: 2px solid var(--neon-green);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.price-examples {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 243, 255, 0.1);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
}

/* ============================================
   MENU DETAIL PAGE
   ============================================ */
.menu-detail {
    margin: 2rem 0;
}

.menu-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
}

.menu-header-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.menu-header-info h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.rating-stars {
    display: flex;
    gap: 0.2rem;
}

.rating-stars .star {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.rating-stars .star.filled {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.rating-count {
    color: var(--text-secondary);
}

.menu-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
}

.menu-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-badge {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    color: var(--neon-cyan);
    font-size: 0.9rem;
    font-weight: 600;
}

.review-form-card,
.comment-form-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star-label {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.reviews-list,
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item,
.comment-item {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.review-header,
.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.review-rating .star {
    font-size: 1rem;
    color: var(--text-muted);
}

.review-rating .star.filled {
    color: #ffaa00;
}

.review-date,
.comment-date {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comment-item.reply {
    margin-left: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.comment-replies {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--glass-border);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    border: 2px solid var(--neon-cyan);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: var(--neon-cyan);
    cursor: pointer;
    z-index: 10000;
}

.menu-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.menu-actions .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .menu-header {
        grid-template-columns: 1fr;
    }
    
    .menu-header-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .menu-actions {
        flex-direction: column;
    }
}

/* ============================================
   ADMIN RESPONSIVE
   ============================================ */
.admin-link {
    color: var(--neon-purple) !important;
    font-weight: 600;
    position: relative;
}

.admin-link::after {
    content: '👑';
    margin-left: 0.3rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    /* Admin sections */
    .admin-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .admin-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Filter bar */
    .filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1.5rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .filter-bar .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    /* Admin forms */
    .admin-section .form-group {
        margin-bottom: 1.2rem;
    }
    
    .admin-section input,
    .admin-section textarea,
    .admin-section select {
        width: 100%;
        padding: 0.9rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .admin-section .form-inline {
        flex-direction: column;
    }
    
    .admin-section .form-inline .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Admin buttons */
    .admin-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .admin-section .btn-sm {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Admin tables */
    .table-responsive {
        margin: 1rem 0;
    }
    
    .table {
        font-size: 0.75rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.3rem;
    }
    
    .table td code {
        font-size: 0.7rem;
        word-break: break-all;
    }
    
    /* Admin action buttons in table */
    .table .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        margin: 0.2rem 0;
        display: block;
        width: 100%;
    }
    
    /* Admin navbar */
    .navbar .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar .nav-menu li {
        padding: 0.5rem 0;
    }
    
    .navbar .nav-menu a {
        padding: 0.8rem 1rem;
        display: block;
    }
}

@media (max-width: 480px) {
    /* Admin sections - even smaller */
    .admin-section {
        padding: 1rem;
    }
    
    .admin-section h2 {
        font-size: 1.3rem;
    }
    
    /* Stats */
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    /* Filter bar - stack on very small screens */
    .filter-bar {
        flex-direction: column;
    }
    
    .filter-bar .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Tables - make more compact */
    .table {
        font-size: 0.7rem;
        min-width: 500px;
    }
    
    .table th,
    .table td {
        padding: 0.4rem 0.2rem;
    }
    
    /* Form inputs */
    .admin-section input,
    .admin-section textarea,
    .admin-section select {
        padding: 0.8rem;
        font-size: 16px;
    }
    
    /* Buttons */
    .admin-section .btn {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   DEPOSIT QR PAGE - ENHANCED DESIGN
   ============================================ */
.deposit-qr-container {
    max-width: 900px;
    margin: 2rem auto;
}

.deposit-qr-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), var(--shadow-neon);
    animation: slideUp 0.5s ease;
}

.qr-header {
    text-align: center;
    margin-bottom: 2rem;
}

.qr-header h2 {
    font-size: 2rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.qr-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.qr-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-code-border {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 243, 255, 0.3);
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.qr-code-image {
    width: 280px;
    height: 280px;
    display: block;
}

.qr-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.qr-info-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qr-info-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-info-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 140px;
}

.qr-info-value {
    flex: 1;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.qr-info-value.code {
    font-family: 'Courier New', monospace;
    color: var(--neon-cyan);
    word-break: break-all;
}

.btn-copy-icon {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    color: var(--neon-cyan);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-copy-icon:hover {
    background: var(--dark-card-hover);
    box-shadow: var(--shadow-neon);
    transform: scale(1.05);
}

.bank-info-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.bank-info-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.bank-info-header h3 {
    font-size: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-purple);
    margin-bottom: 0.5rem;
}

.bank-info-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.bank-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.bank-detail-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.bank-detail-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    transform: translateY(-2px);
}

.bank-detail-card.highlight-card {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(176, 38, 255, 0.1));
    border-color: var(--neon-cyan);
}

.bank-detail-card.full-width {
    grid-column: 1 / -1;
}

.bank-detail-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.bank-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bank-detail-content .detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-detail-content .detail-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
}

.bank-detail-content .detail-value.highlight {
    color: var(--neon-cyan);
    font-size: 1.2rem;
}

.bank-detail-content .detail-value.code {
    font-family: 'Courier New', monospace;
    color: var(--neon-green);
}

.btn-copy-small {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--neon-cyan);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.btn-copy-small:hover {
    background: var(--dark-card-hover);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.deposit-instructions {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--neon-purple);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.deposit-instructions h4 {
    color: var(--neon-purple);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.deposit-instructions ol {
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.deposit-instructions ol li {
    margin-bottom: 0.5rem;
}

.deposit-instructions ol li strong {
    color: var(--neon-cyan);
}

.deposit-status {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.status-pending {
    font-size: 1.2rem;
    color: var(--warning);
    font-weight: 600;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.status-completed {
    font-size: 1.2rem;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.status-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.deposit-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.deposit-actions .btn {
    min-width: 180px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .deposit-qr-card {
        padding: 1.5rem;
    }
    
    .qr-main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .qr-code-image {
        width: 240px;
        height: 240px;
    }
    
    .bank-details-grid {
        grid-template-columns: 1fr;
    }
    
    .deposit-actions {
        flex-direction: column;
    }
    
    .deposit-actions .btn {
        width: 100%;
    }
    
    .qr-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .qr-info-label {
        min-width: auto;
    }
}

.order-info-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.order-info-box h4 {
    color: var(--neon-purple);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-info-item:last-child {
    border-bottom: none;
}

.order-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.order-value {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   TOAST NOTIFICATION SYSTEM
   ============================================ */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
}

.toast {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 243, 255, 0.2);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-cyan);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-success {
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 136, 0.3);
}

.toast-success::before {
    background: var(--neon-green);
}

.toast-error {
    border-color: rgba(255, 51, 102, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 51, 102, 0.3);
}

.toast-error::before {
    background: var(--danger);
}

.toast-warning {
    border-color: rgba(255, 170, 0, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 170, 0, 0.3);
}

.toast-warning::before {
    background: var(--warning);
}

.toast-info {
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 243, 255, 0.3);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
    animation: toastPulse 2s ease-in-out infinite;
}

.toast-content {
    flex: 1;
}

.toast-message {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

@keyframes toastPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}
