/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-sans: 'Open Sans', sans-serif;
    --color-bg: #050505;
    --color-text: #ffffff;
    --glass-bg: rgba(23, 23, 23, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Brand Gradients */
    --grad-gold: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    --grad-blue: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --grad-purple: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

* { box-sizing: border-box; }

body.registration-page {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    margin: 0; padding: 0;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.gradient-text {
    background: linear-gradient(to right, #8b5cf6, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   2. NAVBAR STYLES
   ========================================= */
.registration-page .navbar {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000; 
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.registration-page .navbar.navbar-transparent {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.registration-page .navbar:not(.navbar-transparent) {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

.navbar-hidden { transform: translateY(-100%); }

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

.registration-page .nav-links { display: flex; gap: 2rem; align-items: center; }

.registration-page .nav-item { 
    color: #e2e8f0; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: color 0.3s;
}

.registration-page .navbar:not(.navbar-transparent) .nav-item {
    color: #ffffff !important; 
}

.registration-page .nav-item:hover { color: #FFC107 !important; }

.registration-page .nav-btn {
    padding: 0.6rem 1.5rem;
    background: white; color: black;
    border-radius: 50px; text-decoration: none;
    font-weight: 700; transition: transform 0.2s;
}
.registration-page .nav-btn:hover { transform: scale(1.05); }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

.mobile-nav-container {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: 80%; max-width: 300px;
    background: #111; z-index: 2000;
    display: flex; flex-direction: column; padding: 2rem;
    transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-nav-container.open { transform: translateX(0); }

.mobile-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 1500;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-nav-header { display: flex; justify-content: flex-end; margin-bottom: 2rem; }
.close-menu-btn { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-link { color: white; font-size: 1.2rem; margin-bottom: 1.5rem; text-decoration: none; font-weight: 600; border-bottom: 1px solid #333; padding-bottom: 0.5rem;}

/* =========================================
   3. BACKGROUND & HERO
   ========================================= */
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px);
    z-index: -1; opacity: 0.4; animation: float 6s ease-in-out infinite; pointer-events: none;
}
.bg-purple { width: 400px; height: 400px; background: #8b5cf6; top: 0; left: 0; }
.bg-pink { width: 400px; height: 400px; background: #ec4899; bottom: 0; right: 0; animation-delay: 2s; }
.bg-cyan { width: 300px; height: 300px; background: #06b6d4; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) translate(-50%, -50%); }
    50% { transform: translateY(-20px) translate(-50%, -50%); }
}

.reg-main { padding-top: 6rem; padding-bottom: 4rem; }
.reg-hero { text-align: center; padding: 4rem 0 3rem 0; }
.page-title { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.page-subtitle { font-size: 1.1rem; color: #cbd5e1; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* =========================================
   4. BULK SPECIFIC STYLES
   ========================================= */
.bulk-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 850px;
    margin: 2rem auto 4rem auto;
    color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.config-header h2 { margin-top: 0; margin-bottom: 2rem; color: #cbd5e1; font-size: 1.5rem; }

.ticket-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.03); padding: 1.2rem;
    border-radius: 16px; margin-bottom: 1.5rem;
    border: 1px solid transparent; transition: 0.3s;
}
.ieee-row { border-color: rgba(59, 130, 246, 0.3); }
.standard-row { border-color: rgba(236, 72, 153, 0.3); }

.ticket-info { display: flex; align-items: center; gap: 1rem; }
.t-icon {
    width: 50px; height: 50px; background: rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.t-icon img { width: 60%; filter: invert(1); }
.t-details h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.price-display { margin: 0; color: #94a3b8; font-size: 0.9rem; }

.counter-controls { display: flex; align-items: center; gap: 1rem; background: #000; padding: 5px; border-radius: 50px; }
.ctrl-btn {
    width: 35px; height: 35px; border-radius: 50%; border: none;
    background: #333; color: white; cursor: pointer; transition: 0.2s;
}
.ctrl-btn:hover { background: #fff; color: #000; }
.counter-controls span { font-weight: 800; min-width: 30px; text-align: center; }

.cart-summary-box {
    margin-top: 2rem; background: rgba(0,0,0,0.4);
    padding: 1.5rem; border-radius: 12px; border-top: 2px solid var(--glass-border);
}
.bulk-alert {
    color: #fbbf24; font-size: 0.9rem; margin-bottom: 1rem;
    padding-bottom: 1rem; border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.total-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; font-weight: 600; }
.final-price { font-size: 1.5rem; font-weight: 800; }

.action-btn {
    width: 100%; margin-top: 1.5rem; padding: 1rem;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    border: none; border-radius: 12px; color: white; font-weight: 800;
    cursor: pointer; font-size: 1.1rem; transition: 0.3s;
}
.action-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3); }

/* Form Fields */
.form-header { margin-bottom: 2rem; }
.back-link { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; margin-right: 10px; }
.fields-grid { max-height: 500px; overflow-y: auto; padding-right: 10px; }
.fields-grid::-webkit-scrollbar { width: 5px; }
.fields-grid::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; }

.participant-row {
    background: rgba(255,255,255,0.03); padding: 1.2rem;
    border-radius: 12px; margin-bottom: 1rem;
    position: relative; overflow: hidden;
}
.participant-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.row-ieee::before { background: #3b82f6; }
.row-nonieee::before { background: #ec4899; }

.row-badge {
    position: absolute; right: 10px; top: 10px; font-size: 0.7rem; font-weight: 800;
    background: rgba(0,0,0,0.5); padding: 2px 6px; border-radius: 4px;
}
.participant-row h4 { margin: 0 0 10px 0; color: #cbd5e1; font-size: 0.95rem;}

.input-flex { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 10px; }
.form-input {
    flex: 1; min-width: 200px; background: transparent; border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3); padding: 8px 0; color: white; font-family: inherit;
}
.form-input:focus { outline: none; border-bottom-color: #fff; }

/* Payment & QR */
.payment-container { text-align: center; }
.qr-placeholder { 
    background: white; width: 220px; height: 220px; 
    margin: 2rem auto; border-radius: 12px; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    color: black; overflow: hidden;
    padding: 10px;
}
.upi-text { font-family: monospace; background: #eee; padding: 4px 8px; border-radius: 4px; font-weight: bold; color: black; }

.ticket-wrapper { background: white; color: black; border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem; text-align: left; }
.ticket-header { background: #000; color: white; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.ticket-type-badge { background: #ffc107; padding: 5px 10px; font-weight: 800; border-radius: 4px; font-size: 0.8rem; }
.ticket-body { padding: 1.5rem; }
.attendees-list { margin-top: 1rem; border-top: 2px dashed #ccc; padding-top: 1rem; }
.attendees-list ul { padding-left: 20px; font-size: 0.9rem; margin-bottom: 0;}
.attendees-list li { margin-bottom: 5px; }
.ticket-footer { background: #eee; padding: 10px; text-align: center; font-size: 0.8rem; }

/* =========================================
   5. FOOTER
   ========================================= */
.footer { background: #000; border-top: 1px solid #222; padding: 4rem 0 2rem 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; margin-bottom: 1rem; color: white; letter-spacing: 1px; }
.footer-brand p { color: #9ca3af; line-height: 1.6; margin-bottom: 0.5rem; max-width: 400px; }
.footer-social h3 { color: white; font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 1.5rem; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { 
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); 
    display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.3s; 
}
.social-icons a:hover { background: #06b6d4; transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #666; font-size: 0.9rem; }

/* =========================================
   6. RESPONSIVE
   ========================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.2s; }

@media (max-width: 768px) {
    .registration-page .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .ticket-row { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .counter-controls { width: 100%; justify-content: space-between; }
    .total-row { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 2rem; }
    .social-icons { justify-content: flex-start; }
}

/* =========================================
   7. UPDATED PAYMENT SCREEN & TICKET
   ========================================= */

/* 1. Large QR Code Box */
.qr-placeholder.large-qr {
    width: 280px;
    height: 280px;
    margin: 1.5rem auto;
    padding: 15px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* 2. Mobile UPI Button (Hidden on Desktop) */
.mobile-pay-btn {
    display: none; /* Hide on Desktop */
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
    padding: 12px 20px;
    background: #25D366; /* UPI/WhatsApp Green */
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s;
}

.mobile-pay-btn i {
    font-size: 1.2rem;
}

.mobile-pay-btn:active {
    transform: scale(0.95);
}

/* 3. Transaction ID Input Box */
.upload-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 450px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

/* 4. Ticket Status Badge */
.status-badge {
    display: inline-block;
    background: #fbbf24;
    color: #000;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 5. Mobile & Small Screen Tweaks */
@media (max-width: 768px) {
    .mobile-pay-btn {
        display: flex; /* Show as Flex on Mobile */
    }
    
    .qr-placeholder.large-qr {
        width: 250px; /* Slightly smaller for mobile screens */
        height: 250px;
    }
}


/* ... [Previous CSS] ... */

/* === MOBILE PAYMENT OPTIONS === */

/* 1. Wrapper for Mobile Buttons */
.mobile-pay-options {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2rem;
    width: 100%;
}

/* 2. Button Styles */
.pay-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, background 0.3s;
}
.primary-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); /* VISTA Theme Gradient */
    color: white;
    box-shadow: none; /* Removed the glow */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%); /* Slightly darker on hover */
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pay-option-btn:active {
    transform: scale(0.96);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pay-option-btn:active {
    transform: scale(0.96);
}

/* 3. QR Placeholder Default */
.qr-placeholder.large-qr {
    width: 280px;
    height: 280px;
    margin: 1.5rem auto;
    padding: 15px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex; /* Visible on Desktop */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* === RESPONSIVE LOGIC === */
@media (max-width: 768px) {
    /* Show Buttons on Mobile */
    .mobile-pay-options {
        display: flex;
    }

    /* Hide QR Code on Mobile Initially */
    .qr-placeholder.large-qr {
        display: none; 
    }

    /* Class to Toggle QR Visibility */
    .qr-placeholder.large-qr.show-qr {
        display: flex !important;
        animation: fadeIn 0.5s ease;
    }
}

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