@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;700;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 0, 0, 0.3), rgba(0, 0, 0, 0.7)), 
                url('../images/photo-1470225620780-dba8ba36b745.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero-logo {
    width: 300px;
    max-width: 90%;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 10px 30px rgba(255, 0, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: #FF0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 20px;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 0, 0, 1), 0 0 60px rgba(255, 0, 0, 0.8); }
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

.cta-btn {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #fff;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.6);
}

/* Event Details Section */
.event-details {
    padding: 50px 20px;
    background: #0a0a0a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #FF0000;
    text-align: center;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
}

.detail-card i {
    font-size: 3rem;
    color: #FF0000;
    margin-bottom: 20px;
}

.detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.detail-card p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.8;
}

.about-event {
    background: #1a1a1a;
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 40px;
    border-left: 5px solid #FF0000;
}

.about-event h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FF0000;
}

.about-event p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 15px;
}

.instructions {
    background: #1a1a1a;
    padding: 60px;
    border-radius: 20px;
    border-left: 5px solid #FF0000;
}

.instructions h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #FF0000;
}

.instructions ul {
    list-style: none;
    padding: 0;
}

.instructions li {
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    color: #ddd;
    position: relative;
    padding-left: 40px;
}

.instructions li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF0000;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Ticket Booking Section */
.booking-section {
    padding: 0px 20px;
    background: linear-gradient(135deg, #0a0a0a, #1a0000);
}

.booking-form {
    background: #1a1a1a;
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 60px;
    border: 2px solid #FF0000;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #FF0000;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #333;
    background: #0a0a0a;
    color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* Ticket Cards */
.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.ticket-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #FF0000;
    text-align: center;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4);
}

.ticket-card h3 {
    font-size: 2rem;
    color: #FF0000;
    margin-bottom: 20px;
}

.ticket-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.quantity-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.qty-btn {
    background: #FF0000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #CC0000;
    transform: scale(1.1);
}

.qty-display {
    font-size: 1.5rem;
    font-weight: 600;
    min-width: 40px;
}

/* Summary Section */
.summary {
    background: #1a1a1a;
    padding: 60px;
    border-radius: 20px;
    border: 2px solid #FF0000;
    margin-bottom: 60px;
}

.summary h3 {
    font-size: 2rem;
    color: #FF0000;
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    font-size: 1.2rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    font-size: 2rem;
    font-weight: 700;
    color: #FF0000;
}

.book-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: #fff;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.book-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.6);
}

/* Footer */
footer {
    background: #000;
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 2px solid #FF0000;
}

.footer-logo-img {
    width: 200px;
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(255, 0, 0, 0.4));
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF0000;
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-icons a {
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #FF0000;
    transform: translateY(-5px);
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FF0000;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.modal-content {
    background: #1a1a1a;
    margin: 5% auto;
    padding: 60px;
    border: 2px solid #FF0000;
    border-radius: 20px;
    max-width: 800px;
    position: relative;
}

.close {
    color: #FF0000;
    float: right;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #fff;
}

.modal h2 {
    color: #FF0000;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.modal p {
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        width: 200px;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-event, .instructions, .booking-form, .summary {
        padding: 30px;
    }

    .modal-content {
        padding: 30px;
        margin: 10% 20px;
    }

    .footer-logo-img {
        width: 150px;
    }
}

/* Wrapper to horizontally center spinner + text */
.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Modern red/white spinner */
.loading-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #ffffff; /* White */
    border-top: 4px solid #ff0000; /* Red */
    border-right: 4px solid #ff4d4d; /* Lighter red for gradient effect */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Smooth spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* ==================== SOLD OUT STYLES ==================== */

/* Ticket Card - Add position relative for overlay */
.ticket-card {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #FF0000;
    text-align: center;
    transition: all 0.3s ease;
    position: relative; /* Added for overlay positioning */
    overflow: hidden; /* Added to contain overlay */
}

.ticket-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4);
}

/* Disabled State for Sold Out Tickets */
.ticket-card.disabled {
    border-color: #666;
    opacity: 0.7;
    cursor: not-allowed;
}

.ticket-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.ticket-card.disabled h3,
.ticket-card.disabled .ticket-price {
    color: #666;
}

.ticket-card.disabled p {
    color: #555;
}

/* Sold Out Overlay */
.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    backdrop-filter: blur(3px);
}

/* Sold Out Text */
.sold-out-text {
    font-size: 3rem;
    font-weight: 900;
    color: #FF0000;
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: rotate(-15deg);
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    animation: soldOutPulse 2s ease-in-out infinite;
}

/* Sold Out Subtext */
.sold-out-subtext {
    font-size: 1rem;
    color: #999;
    margin-top: 15px;
    font-weight: 400;
}

/* Pulse Animation for Sold Out Text */
@keyframes soldOutPulse {
    0%, 100% {
        opacity: 1;
        transform: rotate(-15deg) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: rotate(-15deg) scale(1.05);
    }
}

/* Disable Quantity Buttons for Sold Out Tickets */
.ticket-card.disabled .qty-btn {
    background: #555;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.ticket-card.disabled .qty-btn:hover {
    background: #555;
    transform: none;
}

/* Responsive Adjustments for Sold Out */
@media (max-width: 768px) {
    .sold-out-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .sold-out-subtext {
        font-size: 0.85rem;
    }
}

/* Proceed To Book Button Disable */
.book-btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}