/* --- TICKET SELECTION STYLES --- */
.ticket-selection-section {
    padding: 4rem 1rem;
    background-color: #000000;
}

.ticket-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.ticket-card {
    background-color: #1b1919; /* Matches your countdown box color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticket-card:hover {
    transform: translateY(-10px);
    border-color: #f50909;
}

/* Highlighted card (Student) */
.ticket-card.highlight {
    border: 2px solid #f50909;
    background-color: #111111;
}

.card-header h3 {
    font-family: 'aadi', sans-serif;
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    color: #f50909;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1; /* Pushes button to the bottom */
}

.benefit-list li {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

/* Red Dot Bullet Points */
.benefit-list li::before {
    content: "•";
    color: #f50909;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .ticket-grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .ticket-grid-container {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 1.5rem;
    }
    
    .ticket-card {
        padding: 1.5rem;
    }

    .section-main-titles {
        font-size: 2.2rem; /* Adjusted based on your mobile CSS */
    }
}





/* --- Title Container Logic --- */
.section-titles-containers {
    display: flex;
    align-items: center; /* Centers lines vertically with the text */
    justify-content: center;
    width: 100%;
    max-width: 1100px;  /* Limits how wide the whole title block can be */
    margin: 0 auto 3rem auto; /* Centers the container on the page */
    margin-top: 70px;
    padding: 0 20px;
}

/* --- The Decorative HR Lines --- */
.title-lines {
    display: block;      /* Ensures they show on both desktop & mobile */
    flex-grow: 1;        /* Tells the line to fill the space */
    border: none;
    height: 2px;         /* Thickness */

    max-width: 250px;    /* Prevents lines from being too long on Desktop */
}

/* --- The Title Text Styling --- */
.section-main-titles {
    color: #ffffff;
    font-size: 4rem;      /* Large desktop size */
    font-weight: 800;
    margin: 0 2rem;       /* Gap between text and lines */
    text-transform: uppercase;
    white-space: nowrap;  /* Keeps title on one line */
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 768px) {
    .section-main-titles {
        font-size: 2rem;  /* Smaller font for phones */
        margin: 0 1rem;   /* Smaller gap for phones */
    }

    .title-lines {
        max-width: 50px;  /* Shortens lines on mobile to fit the screen */
    }

    .section-titles-containers {
        margin-bottom: 2rem;
    }
}









/* Position the badge in the top right of the card */
.sold-out-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 250px; /* Adjust size as needed */
    z-index: 10;
    pointer-events: none; /* Allows clicks to pass through to the button if needed */
    transform: rotate(-10deg); /* Slight tilt like the image */
}

/* The Shake & Zoom Animation */
@keyframes shakeZoom {
    0% { transform: scale(1) rotate(15deg); }
    20% { transform: scale(1.2) rotate(10deg); }
    40% { transform: scale(1.2) rotate(20deg); }
    60% { transform: scale(1.2) rotate(10deg); }
    80% { transform: scale(1.2) rotate(20deg); }
    100% { transform: scale(1) rotate(15deg); }
}

/* Class to be added via JavaScript */
.animate-sold-out {
    animation: shakeZoom 0.5s ease-in-out;
}

/* Ensure card doesn't hide the badge */
.ticket-card {
    overflow: visible !important; 
}





















/* --- Ticket Support Styling --- */
.ticket-support-container {
    margin-top: 2rem;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.support-title {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.support-contacts {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-item i {
    color: #f50909; /* Your TEDx Red */
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #f50909;
}

.contact-item span {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Responsive Support */
@media (max-width: 768px) {
    .support-contacts {
        flex-direction: column;
        gap: 2rem;
    }
    
    .support-title {
        font-size: 1.2rem;
    }
}


