/* ==========================================
   CSS VARIABLES & GLOBAL RESET
   ========================================== */
:root {
    --bg-dark: #070709;
    --bg-card: rgba(18, 18, 24, 0.7);
    --bg-card-solid: #121218;
    --bg-input: #1b1b24;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 15, 57, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #646470;
    
    --accent-red: #00ff66; /* Game Greed Neon Green */
    --accent-red-glow: rgba(0, 255, 102, 0.5);
    --accent-blue: #ffb300; /* Game Greed Neon Yellow/Gold */
    --accent-blue-glow: rgba(255, 179, 0, 0.5);
    
    --success: #00e676;
    --success-glow: rgba(0, 230, 118, 0.4);
    --warning: #ffb300;
    --danger: #ff0f39;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-orbitron: 'Orbitron', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-glow: 0 0 20px var(--accent-red-glow);
    --shadow-blue-glow: 0 0 20px var(--accent-blue-glow);
}

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

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

/* ==========================================
   GLOWING DECORATIVE BACKGROUNDS
   ========================================== */
.glow-bg-green {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.glow-bg-yellow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.08) 0%, rgba(0,0,0,0) 70%);
    top: 500px;
    left: -300px;
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
}

/* ==========================================
   UTILITY & REUSABLE CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

.accent-text {
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 15, 57, 0.4);
}

.font-orbitron {
    font-family: var(--font-orbitron);
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-orbitron);
    color: var(--accent-blue);
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 50px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-primary);
    border: 1px solid var(--accent-red);
}

.btn-primary:hover {
    background-color: #e0002e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success);
    color: #000;
    border: 1px solid var(--success);
}

.btn-success:hover {
    background-color: #00c853;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--success-glow);
}

.btn-danger {
    background-color: var(--danger);
    color: #fff;
    border: 1px solid var(--danger);
}

.btn-danger:hover {
    background-color: #b20000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background-color: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    color: #fff;
}

.btn-glow {
    animation: glow-animation 2s infinite alternate;
}

.btn-icon {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: rgba(255, 15, 57, 0.05);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

@keyframes glow-animation {
    0% {
        box-shadow: 0 0 5px rgba(255, 15, 57, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 15, 57, 0.7);
    }
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-logo-small {
    height: 30px;
    width: auto;
}

.brand-name {
    font-family: var(--font-orbitron);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--accent-blue);
}

.nav-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    padding: 120px 0 100px 0;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7,7,9,0.9) 0%, rgba(7,7,9,0.95) 60%, rgba(7,7,9,1) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(255, 15, 57, 0.15);
    border: 1px solid rgba(255, 15, 57, 0.3);
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-family: var(--font-orbitron);
}

.hero-title {
    font-size: 4rem;
    font-family: var(--font-orbitron);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.glitch-text {
    background: linear-gradient(to right, #ffffff, var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 15, 57, 0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 24px;
    border-radius: 12px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.timer-num {
    font-family: var(--font-orbitron);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    line-height: 1.2;
}

.timer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 4px;
}

.timer-divider {
    font-family: var(--font-orbitron);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.2;
    animation: blink-animation 1s infinite alternate;
}

@keyframes blink-animation {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* Prize Pool Card */
.prize-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    transition: var(--transition-normal);
}

.prize-card:hover {
    border-color: rgba(255, 15, 57, 0.4);
    transform: translateY(-5px);
}

.prize-card-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 15, 57, 0.25) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.prize-card-content {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    text-align: center;
}

.prize-title {
    font-family: var(--font-orbitron);
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.prize-amount {
    font-family: var(--font-orbitron);
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
    text-shadow: 0 0 25px rgba(255, 15, 57, 0.4);
    margin-bottom: 5px;
}

.prize-plus {
    font-size: 2.5rem;
    font-weight: 700;
    vertical-align: super;
}

.prize-cash {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.prize-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 25px;
}

.prize-sub-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.prize-gift-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.prize-icon {
    font-size: 2.2rem;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.gift-details {
    text-align: left;
}

.gift-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

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

.prize-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.prize-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================
   ABOUT CAFE SECTION
   ========================================== */
.about-section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.cafe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cafe-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cafe-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--accent-red), var(--accent-blue));
    opacity: 0;
    transition: var(--transition-normal);
}

.cafe-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(18, 18, 24, 0.9);
}

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

.cafe-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--accent-red);
    transition: var(--transition-normal);
}

.cafe-card:hover .cafe-icon-box {
    background: rgba(255, 15, 57, 0.1);
    border-color: rgba(255, 15, 57, 0.3);
    color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 15, 57, 0.2);
}

.cafe-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cafe-card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================
   TOURNAMENT DETAILS SECTION
   ========================================== */
.details-section {
    padding: 100px 0;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--border-color);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Details Left */
.details-info-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    font-size: 1.4rem;
    color: var(--accent-blue);
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.info-val {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

/* Rules Right */
.rules-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.rules-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-red);
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rules-list li i {
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 5px;
}

.rules-list li strong {
    color: #fff;
}

/* ==========================================
   REGISTRATION SECTION & STEPPER
   ========================================== */
.register-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at center bottom, rgba(0, 255, 102, 0.03) 0%, rgba(7,7,9,0) 70%);
}

.form-wrapper {
    background-color: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Stepper progress */
.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
    padding: 0 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-input);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-orbitron);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.step-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-normal);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    margin: -20px 15px 0 15px; /* Offset to align with numbers */
    z-index: 1;
    transition: var(--transition-normal);
}

/* Stepper Active State */
.step-item.active .step-num {
    background-color: var(--bg-dark);
    border-color: var(--accent-red);
    color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 15, 57, 0.3);
}

.step-item.active .step-name {
    color: var(--accent-red);
}

/* Stepper Done State */
.step-item.done .step-num {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    color: #fff;
}

.step-item.done .step-name {
    color: #fff;
}

.step-line.active {
    background: var(--accent-red);
}

/* Multi-step Form Transitions */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   INPUTS & FORM GROUPS
   ========================================== */
.form-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: var(--accent-red);
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-inner {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 16px 12px 45px;
    font-size: 0.95rem;
    font-family: inherit;
    border-radius: 6px;
    transition: var(--transition-normal);
}

.select-input {
    appearance: none;
    cursor: pointer;
}

/* Custom dropdown icon */
.select-input-wrapper::after {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
    background-color: #21212c;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Error validation states */
.error-msg {
    display: none;
    color: #ff3333;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
}

.form-group.has-error .form-input {
    border-color: #ff3333;
    background-color: rgba(255, 51, 51, 0.03);
}

.form-group.has-error .error-msg {
    display: block;
}

.form-group.has-error .input-icon-inner {
    color: #ff3333;
}

/* Form Action Buttons Wrapper */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Checkbox Style */
.check-group {
    margin-top: 30px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    user-select: none;
}

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

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    top: 2px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--accent-red);
}

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

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================
   STEP 2: UPI PAYMENT VIEW
   ========================================== */
.payment-info-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 30px;
    border-radius: 12px;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-wrapper {
    background-color: #fff;
    padding: 14px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.qr-scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red-glow);
    animation: qrScan 2.5s infinite linear;
    z-index: 10;
}

@keyframes qrScan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

.mock-qr-svg {
    display: block;
}

.payment-qr-img {
    display: block;
    width: 180px;
    height: auto;
    border-radius: 4px;
}

.qr-link {
    display: block;
    cursor: pointer;
}

.qr-caption {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.amount-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 15, 57, 0.1);
    border: 1px solid rgba(255, 15, 57, 0.2);
    padding: 12px 18px;
    border-radius: 8px;
}

.indicator-lbl {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.indicator-amount {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(255, 15, 57, 0.3);
}

.upi-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: 8px;
}

.upi-text-box {
    display: flex;
    flex-direction: column;
}

.upi-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.upi-val {
    font-weight: 700;
    color: var(--accent-blue);
    font-size: 0.95rem;
}

.payment-alert {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid var(--warning);
}

.payment-alert i {
    color: var(--warning);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* ==========================================
   STEP 3: SCREENSHOT UPLOAD ZONE
   ========================================== */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background-color: var(--bg-input);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent-blue);
    background-color: rgba(0, 240, 255, 0.02);
}

.file-input-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.upload-zone:hover .upload-icon {
    color: var(--accent-blue);
    transform: translateY(-3px);
}

.upload-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.upload-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Upload Preview */
.upload-preview-container {
    position: relative;
    max-width: 250px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-preview-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.preview-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #fff;
    width: 100%;
    justify-content: center;
}

.preview-filename {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.preview-filesize {
    color: var(--text-secondary);
}

/* Spinner for Loading Submit */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,0.2);
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   SUCCESS TICKET SECTION
   ========================================== */
.ticket-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    animation: fadeIn 0.6s ease-in-out;
}

.ticket-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ticket-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--success);
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.ticket-desc-text {
    text-align: center;
    color: var(--text-secondary);
    max-width: 500px;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

/* Gamer Ticket UI */
.gamer-ticket {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: radial-gradient(circle at top right, rgba(0, 255, 102, 0.1) 0%, rgba(18, 18, 24, 0.98) 70%);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(0, 255, 102, 0.08);
    overflow: hidden;
}

.gamer-ticket::before, .gamer-ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.gamer-ticket::before {
    left: -12px;
    border-left-color: transparent;
}

.gamer-ticket::after {
    right: -12px;
    border-right-color: transparent;
}

/* Ticket Logo Header */
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.ticket-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-logo-img {
    height: 35px;
}

.ticket-brand {
    font-family: var(--font-orbitron);
    font-weight: 900;
    font-size: 1.1rem;
}

.ticket-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ticket-status-stamp {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--warning);
    border: 1px solid var(--warning);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticket-status-stamp.approved {
    color: var(--success);
    border-color: var(--success);
}

/* Ticket Grid Body */
.ticket-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.ticket-field.full-width {
    grid-column: span 2;
}

.ticket-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.ticket-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* Barcode Footer */
.ticket-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.barcode-container {
    display: flex;
    flex-direction: column;
}

.barcode-lines {
    display: flex;
    height: 35px;
    align-items: stretch;
    background: transparent;
    margin-bottom: 5px;
}

.barcode-line {
    background-color: #fff;
    width: 2px;
    margin-right: 2px;
}

.barcode-line.thick {
    width: 4px;
}

.barcode-line.space-small {
    margin-right: 4px;
}

.barcode-line.space-large {
    margin-right: 6px;
}

.barcode-num {
    font-family: var(--font-orbitron);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.ticket-watermark {
    font-family: var(--font-orbitron);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 15, 57, 0.05);
    line-height: 0.8;
}

/* Ticket Actions */
.ticket-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Print Specific Styles */
@media print {
    body * {
        visibility: hidden;
    }
    .ticket-section, #gamer-ticket-print, #gamer-ticket-print * {
        visibility: visible;
    }
    .ticket-section {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
    }
    .gamer-ticket {
        border-color: #000;
        box-shadow: none;
        color: #000;
        background: #fff;
    }
    .ticket-value, .ticket-brand {
        color: #000 !important;
    }
    .barcode-line {
        background-color: #000 !important;
    }
    .ticket-actions {
        display: none;
    }
    .mobile-cta-bar {
        display: none !important;
    }
}

/* ==========================================
   ADMIN PANEL MODAL & DASHBOARD
   ========================================== */
.admin-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow-y: auto;
}

.admin-modal-overlay.active {
    display: flex;
}

/* Auth card */
.admin-auth-card {
    background-color: var(--bg-card-solid);
    border: 1px solid rgba(255, 15, 57, 0.3);
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 15, 57, 0.1);
    position: relative;
    animation: authIn 0.3s ease-out;
}

@keyframes authIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    color: var(--accent-red);
}

.auth-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 15, 57, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    font-size: 1.6rem;
    color: var(--accent-red);
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.text-center {
    text-align: center;
}

/* Dashboard Container View */
.admin-dashboard-container {
    width: 100%;
    max-width: 1150px;
    background-color: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    overflow: hidden;
    animation: dashboardIn 0.4s ease-out;
}

@keyframes dashboardIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
}

.db-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.db-logo-img {
    height: 38px;
}

.db-title {
    font-family: var(--font-orbitron);
    font-size: 1.15rem;
    font-weight: 900;
}

.db-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.db-actions {
    display: flex;
    gap: 12px;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.25rem;
}

.stat-icon-box.blue-theme { background: rgba(0, 240, 255, 0.1); color: var(--accent-blue); }
.stat-icon-box.yellow-theme { background: rgba(255, 179, 0, 0.1); color: var(--warning); }
.stat-icon-box.green-theme { background: rgba(0, 230, 118, 0.1); color: var(--success); }
.stat-icon-box.red-theme { background: rgba(213, 0, 0, 0.1); color: var(--danger); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-orbitron);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Filters & Search Control bar */
.dashboard-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.search-box-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 450px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-box-wrapper input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px 14px 10px 38px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.filter-tabs {
    display: flex;
    background: var(--bg-input);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tab:hover {
    color: #fff;
}

.filter-tab.active {
    background-color: var(--accent-red);
    color: #fff;
}

/* Responsive Table */
.table-responsive {
    overflow-y: auto;
    flex-grow: 1;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.db-table th {
    background: rgba(0,0,0,0.3);
    padding: 14px 20px;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.db-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.db-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* Badge tags in table */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.pending { background: rgba(255, 179, 0, 0.1); color: var(--warning); }
.status-badge.approved { background: rgba(0, 230, 118, 0.1); color: var(--success); }
.status-badge.rejected { background: rgba(213, 0, 0, 0.1); color: var(--danger); }

/* Screenshots in table row */
.thumbnail-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.thumbnail-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(0, 240, 255, 0.05);
}

.thumbnail-btn img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
}

.no-data-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 40px !important;
    font-weight: 500;
}

/* Action dropdown/select in Admin row */
.status-action-select {
    background: var(--bg-input);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.status-action-select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* ==========================================
   IMAGE VIEWER MODAL
   ========================================== */
.viewer-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.viewer-modal-overlay.active {
    display: flex;
}

.viewer-card {
    background-color: var(--bg-card-solid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: authIn 0.3s ease-out;
}

.viewer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.viewer-img-container {
    width: 100%;
    height: 380px;
    background-color: #000;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.viewer-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.viewer-details-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background-color: #040406;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--accent-red);
    width: 20px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background-color: rgba(0, 240, 255, 0.05);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 20px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   HAMBURGER MENU BUTTON
   ========================================== */
.hamburger-btn {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    z-index: 200;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   MOBILE NAV OVERLAY
   ========================================== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 9, 0.97);
    backdrop-filter: blur(20px);
    z-index: 150;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
    animation: mobileNavFadeIn 0.3s ease forwards;
}

@keyframes mobileNavFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-content {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.mobile-nav-close:hover {
    background: rgba(255, 15, 57, 0.1);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-item i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--accent-red);
}

.mobile-nav-cta {
    margin-top: auto;
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 12px;
    justify-content: center;
}

/* ==========================================
   STICKY MOBILE CTA BAR
   ========================================== */
.mobile-cta-bar {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(7, 7, 9, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.3s ease;
}

.mobile-cta-bar.hidden-bar {
    transform: translateY(100%);
}

.mobile-cta-info {
    display: flex;
    flex-direction: column;
}

.mobile-cta-fee {
    font-family: var(--font-orbitron);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-red);
    line-height: 1;
}

.mobile-cta-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.mobile-cta-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* ==========================================
   MEDIA QUERIES FOR RESPONSIVENESS
   ========================================== */

/* ---- TABLET (max 1024px) ---- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    .countdown-container {
        margin: 0 auto 30px auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .prize-card {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .cafe-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cafe-card:last-child {
        grid-column: span 2;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- MOBILE (max 768px) ---- */
@media (max-width: 768px) {

    /* --- Header & Nav --- */
    .hamburger-btn {
        display: flex;
    }

    .nav-links {
        display: none !important;
    }

    .header-container {
        padding: 0;
    }

    .main-header {
        padding: 12px 0;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-logo {
        height: 32px;
    }

    #admin-login-trigger {
        padding: 6px 10px;
        font-size: 0;
    }

    #admin-login-trigger i {
        font-size: 1rem;
    }

    /* --- Mobile CTA Bar --- */
    .mobile-cta-bar {
        display: flex;
    }

    /* --- Hero Section --- */
    .hero-section {
        padding: 80px 0 60px 0;
    }

    .hero-title {
        font-size: 2.4rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .badge-glow {
        font-size: 0.65rem;
        padding: 5px 10px;
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        justify-content: center;
    }

    /* --- Countdown --- */
    .countdown-container {
        gap: 8px;
        padding: 12px 16px;
        border-radius: 10px;
    }

    .timer-box {
        min-width: 48px;
    }

    .timer-num {
        font-size: 1.4rem;
    }

    .timer-label {
        font-size: 0.65rem;
    }

    .timer-divider {
        font-size: 1.4rem;
    }

    /* --- Prize Card --- */
    .prize-card-content {
        padding: 30px 20px;
    }

    .prize-amount {
        font-size: 3rem;
    }

    .prize-plus {
        font-size: 2rem;
    }

    .prize-gift-box {
        padding: 12px 15px;
        gap: 12px;
    }

    .prize-icon {
        font-size: 1.8rem;
    }

    .gift-name {
        font-size: 1rem;
    }

    .prize-badges {
        flex-wrap: wrap;
    }

    /* --- Section Headings --- */
    .section-title {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        letter-spacing: 1.5px;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 35px;
    }

    /* --- About Section --- */
    .about-section {
        padding: 60px 0;
    }

    .cafe-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cafe-card:last-child {
        grid-column: span 1;
    }

    .cafe-card {
        padding: 28px 22px;
    }

    .cafe-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .cafe-card-title {
        font-size: 1.1rem;
    }

    .cafe-card-text {
        font-size: 0.9rem;
    }

    /* --- Tournament Details --- */
    .details-section {
        padding: 60px 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .details-info-box {
        padding: 24px 20px;
        gap: 18px;
    }

    .info-row {
        gap: 14px;
    }

    .info-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .info-label {
        font-size: 0.7rem;
    }

    .info-val {
        font-size: 0.92rem;
    }

    .rules-box {
        padding: 24px 20px;
    }

    .rules-title {
        font-size: 1.15rem;
        margin-bottom: 18px;
    }

    .rules-list {
        gap: 12px;
    }

    .rules-list li {
        font-size: 0.88rem;
        gap: 10px;
    }

    /* --- Registration Form --- */
    .register-section {
        padding: 60px 0 100px 0; /* Extra bottom for sticky CTA */
    }

    .form-wrapper {
        padding: 28px 18px;
        border-radius: 12px;
    }

    .form-title {
        font-size: 1.4rem;
    }

    .form-subtitle {
        font-size: 0.85rem;
    }

    .form-header {
        margin-bottom: 28px;
    }

    /* --- Stepper (mobile compact) --- */
    .stepper {
        padding: 0 5px;
        margin-bottom: 30px;
    }

    .step-num {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .step-name {
        font-size: 0.65rem;
    }

    .step-line {
        margin: -16px 8px 0 8px;
    }

    /* --- Form Inputs (touch-friendly) --- */
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-input {
        padding: 14px 16px 14px 45px;
        font-size: 16px; /* Prevents iOS zoom on focus */
        border-radius: 8px;
    }

    .form-label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .form-navigation {
        margin-top: 28px;
        padding-top: 20px;
        flex-direction: column-reverse;
        gap: 12px;
    }

    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Payment Step (QR code) --- */
    .payment-info-box {
        grid-template-columns: 1fr;
        padding: 20px 16px;
        gap: 24px;
    }

    .qr-code-wrapper {
        padding: 16px;
    }

    .payment-qr-img {
        width: 200px;
    }

    .qr-caption {
        font-size: 0.75rem;
    }

    .amount-indicator {
        padding: 14px 16px;
    }

    .indicator-amount {
        font-size: 1.3rem;
    }

    .upi-info {
        padding: 12px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .payment-alert {
        font-size: 0.78rem;
        padding: 10px;
    }

    /* --- Upload Zone (touch-friendly) --- */
    .upload-zone {
        padding: 30px 16px;
    }

    .upload-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .upload-title {
        font-size: 0.88rem;
    }

    .upload-subtext {
        font-size: 0.75rem;
    }

    .upload-preview-container {
        max-width: 200px;
    }

    .upload-preview-img {
        height: 140px;
    }

    /* --- Checkbox (bigger touch target) --- */
    .checkmark {
        height: 22px;
        width: 22px;
    }

    .check-label {
        font-size: 0.82rem;
    }

    .checkbox-container .checkmark:after {
        left: 7px;
        top: 3px;
    }

    /* --- Ticket Section --- */
    .ticket-section {
        padding: 60px 0 100px 0;
    }

    .gamer-ticket {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .ticket-body {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ticket-field.full-width {
        grid-column: span 1;
    }

    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-bottom: 16px;
        margin-bottom: 18px;
    }

    .ticket-brand {
        font-size: 0.95rem;
    }

    .ticket-logo-img {
        height: 28px;
    }

    .ticket-status-stamp {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    .ticket-value {
        font-size: 0.92rem;
    }

    .ticket-footer {
        padding-top: 18px;
    }

    .ticket-watermark {
        font-size: 2.5rem;
    }

    .barcode-lines {
        height: 28px;
    }

    .ticket-actions {
        flex-direction: column;
        gap: 12px;
    }

    .ticket-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .ticket-status-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .ticket-desc-text {
        font-size: 0.85rem;
        margin-bottom: 28px;
    }

    /* --- Footer --- */
    .main-footer {
        padding: 40px 0 80px 0; /* Extra bottom for sticky CTA */
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-section-title {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .footer-contact {
        font-size: 0.85rem;
        gap: 10px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* --- Admin Panel Mobile --- */
    .admin-page-wrapper {
        padding: 20px 12px;
        align-items: flex-start;
    }

    .admin-auth-card {
        padding: 28px 20px;
        border-radius: 10px;
        margin-top: 40px;
    }

    .admin-auth-card .form-input {
        font-size: 16px;
    }

    .admin-dashboard-container {
        max-height: none;
        border-radius: 12px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 16px;
    }

    .db-logo {
        gap: 10px;
    }

    .db-logo-img {
        height: 28px;
    }

    .db-title {
        font-size: 0.85rem;
    }

    .db-subtitle {
        font-size: 0.65rem;
    }

    .db-actions {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .db-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.72rem;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 14px 16px;
        gap: 10px;
    }

    .stat-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .stat-icon-box {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .stat-num {
        font-size: 1.15rem;
    }

    .stat-lbl {
        font-size: 0.65rem;
    }

    .dashboard-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 12px;
    }

    .search-box-wrapper {
        max-width: 100%;
    }

    .search-box-wrapper input {
        font-size: 16px;
        padding: 12px 14px 12px 38px;
    }

    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tab {
        padding: 8px 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    /* Admin table → card layout on mobile */
    .db-table thead {
        display: none;
    }

    .db-table,
    .db-table tbody,
    .db-table tr,
    .db-table td {
        display: block;
        width: 100%;
    }

    .db-table tr {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 16px;
        position: relative;
    }

    .db-table td {
        padding: 6px 0;
        border-bottom: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .db-table td::before {
        content: attr(data-label);
        font-size: 0.65rem;
        font-weight: 700;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        min-width: 90px;
        flex-shrink: 0;
    }

    .table-responsive {
        padding: 12px 16px;
    }

    /* Image viewer mobile */
    .viewer-card {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .viewer-img-container {
        height: 280px;
    }

    .viewer-details-bar {
        flex-direction: column;
        gap: 4px;
        font-size: 0.8rem;
    }
}

/* ---- SMALL PHONES (max 480px) ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-section {
        padding: 65px 0 50px 0;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .badge-glow {
        font-size: 0.58rem;
        padding: 4px 8px;
    }

    .countdown-container {
        gap: 6px;
        padding: 10px 12px;
    }

    .timer-box {
        min-width: 40px;
    }

    .timer-num {
        font-size: 1.2rem;
    }

    .timer-label {
        font-size: 0.58rem;
    }

    .timer-divider {
        font-size: 1.2rem;
    }

    .prize-amount {
        font-size: 2.5rem;
    }

    .prize-title {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .form-wrapper {
        padding: 22px 14px;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .stepper {
        padding: 0;
    }

    .step-num {
        width: 28px;
        height: 28px;
        font-size: 0.72rem;
    }

    .step-name {
        font-size: 0.58rem;
    }

    .step-line {
        margin: -14px 5px 0 5px;
    }

    .payment-qr-img {
        width: 180px;
    }

    .gamer-ticket {
        padding: 20px 14px;
    }

    .gamer-ticket::before,
    .gamer-ticket::after {
        width: 16px;
        height: 16px;
    }

    .gamer-ticket::before {
        left: -10px;
    }

    .gamer-ticket::after {
        right: -10px;
    }

    .ticket-brand {
        font-size: 0.85rem;
    }

    .mobile-cta-bar {
        padding: 10px 16px;
    }

    .mobile-cta-fee {
        font-size: 1.2rem;
    }

    .mobile-cta-btn {
        padding: 12px 18px;
        font-size: 0.82rem;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
    }

    .stat-card {
        padding: 10px;
        gap: 8px;
    }

    .stat-icon-box {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .stat-num {
        font-size: 1rem;
    }

    .stat-lbl {
        font-size: 0.58rem;
    }
}
