.events-container {
    padding-top: 0;
    /* min-height: 100vh; - REMOVED */
    background-color: #00000F;
    padding-inline: 5%;
    /* padding-bottom: 50px; - REMOVED */
    max-width: 1400px;
    margin: 0 auto;
}

.year-section {
    margin-bottom: 80px;
}

.year-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(241, 0, 141, 0.3);
}

.year-header h2 {
    color: white;
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.events-section {
    margin-bottom: 0;
}

.section-title {
    color: #f1008d;
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.series-section {
    margin-top: 50px;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.series-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.event-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 123, 216, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e7bd8 0%, #5000f1 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.event-card.active::before {
    transform: scaleX(1);
}

.event-card::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #1e7bd8 0%, #5000f1 50%, #f1008d 100%);
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
    mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    padding: 3px;
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 123, 216, 0.6);
    box-shadow: 0 20px 40px rgba(30, 123, 216, 0.3);
    z-index: 10;
}

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

.event-card.inactive {
    opacity: 0.6;
    cursor: not-allowed;
}

.event-card.series-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #1e2a3e 100%);
    border-left: 3px solid #1e7bd8;
}

.event-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-info {
    flex: 1;
    margin-bottom: 20px;
}

.event-info h4 {
    color: white;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.series-card .event-info h4 {
    font-size: 18px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 15px;
}

.event-detail i {
    color: #f1008d;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.event-card.inactive .event-detail i {
    color: #666;
}

.event-action {
    margin-top: auto;
}

.btn-event {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f1008d 0%, #ff6b9d 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-event:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #f1008d 100%);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(241, 0, 141, 0.4);
    color: white;
}

.btn-event i {
    transition: transform 0.3s ease;
}

.btn-event:hover i {
    transform: translateX(3px);
}

.btn-event.disabled {
    background: #333;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-event.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* HERO SECTION - BAV SE SPORTEM (Added New) */
.events-hero {
    height: auto;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
    margin-top: 0;
    padding: 30px 0 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.events-hero-content {
    max-width: 800px;
    padding: 0 16px;
    animation: fadeIn 1s ease-out;
    margin-top: 0;
}

.events-brand-logo-wrap {
    margin-bottom: 18px;
}

.events-brand-logo {
    width: min(260px, 88%);
    height: auto;
    filter: drop-shadow(0 0 18px rgba(0, 130, 255, 0.35));
}

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

.hero-subtitle {
    color: #cfd2e6;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text {
    color: #aeb3ca;
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle .highlight {
    color: #22b5ff;
    font-weight: 600;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: transparent;
    color: #33baff;
    text-decoration: none;
    border: 2px solid #33baff;
    border-radius: 999px;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #33baff;
    color: white;
    transform: none;
    box-shadow: 0 0 18px rgba(51, 186, 255, 0.35);
}

.btn-hero i {
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .events-container {
        padding-inline: 20px;
    }

    .year-header h2 {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .series-list {
        grid-template-columns: 1fr;
    }

    .event-card {
        padding: 20px;
    }

    .event-info h4 {
        font-size: 18px;
    }

    .year-section {
        margin-bottom: 60px;
    }

    /* Hero Responsive */
    .events-hero {
        min-height: auto;
        padding: 20px 0 4px;
        margin-bottom: 30px;
    }

    .events-hero-content {
        margin-top: 0;
        padding: 0 10px;
    }

    .events-brand-logo-wrap {
        margin-bottom: 12px;
    }

    .events-brand-logo {
        width: min(220px, 88%);
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 15px;
        letter-spacing: 2px;
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .events-brand-logo {
        width: min(190px, 84%);
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.5;
    }

    .year-header h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .event-card {
        padding: 15px;
    }

    .event-info h4 {
        font-size: 16px;
    }

    .event-detail {
        font-size: 14px;
    }

    .btn-event {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 32px;
    }
}
