:root {
    --neon-green: #84fa90;
    --neon-green-rgb: 132, 250, 144;
    --neon-glow: 0 0 10px rgba(132, 250, 144, 0.8);
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-color: #ffffff;
    --card-bg: rgba(20, 20, 20, 0.95);
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(132, 250, 144, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
    background-image: 
        linear-gradient(135deg, #0a0a0a 0%, #111 100%),
        radial-gradient(circle at 10% 20%, rgba(132, 250, 144, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(132, 250, 144, 0.08) 0%, transparent 30%),
        linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
    min-height: 100vh;
    background-attachment: fixed;
    font-family: var(--font-body);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(10, 10, 10, 0.7), rgba(5, 5, 5, 0.9));
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(132, 250, 144, 0.1);
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo {
    max-width: 200px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px var(--neon-green));
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--neon-green));
}

h1 {
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(132, 250, 144, 0.7);
    margin: 15px 0 0;
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.controls {
    background: var(--glass-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.controls:hover {
    border-color: rgba(132, 250, 144, 0.3);
    box-shadow: 0 0 20px rgba(132, 250, 144, 0.2);
}

.date-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.date-navigation button {
    background: rgba(132, 250, 144, 0.1);
    border: 1px solid rgba(132, 250, 144, 0.3);
    color: var(--neon-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.date-navigation button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.date-navigation button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: shine 3s infinite;
}

.date-navigation button:hover {
    background: rgba(132, 250, 144, 0.2);
    box-shadow: 0 0 20px rgba(132, 250, 144, 0.4);
    transform: translateY(-2px) scale(1.05);
}

.date-navigation button:hover i {
    transform: scale(1.2);
}

.date-navigation button:hover::before {
    opacity: 1;
}

.date-navigation button:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
    background: transparent;
    transform: none !important;
    box-shadow: none;
}

.date-navigation button:disabled:hover::before {
    display: none;
}

.date-navigation button:disabled i {
    transform: none !important;
}

h2 {
    color: var(--neon-green);
    text-align: center;
    margin: 0 20px;
    min-width: 250px;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(132, 250, 144, 0.7);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    position: relative;
    padding: 0 20px;
}

h2::before,
h2::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-green);
    font-size: 0.8em;
    opacity: 0.7;
}

h2::before {
    left: -10px;
}

h2::after {
    right: -10px;
}

.view-toggle {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.view-toggle button {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 10px 15px;
    margin: 0;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.85em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex: 1 0 auto;
    min-width: 80px;
    max-width: 120px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.9;
}

@media (max-width: 992px) {
    .view-toggle {
        justify-content: center;
        padding: 0 10px;
    }
    
    .view-toggle button {
        min-width: 70px;
        padding: 8px 12px;
        font-size: 0.8em;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .view-toggle {
        gap: 4px;
    }
    
    .view-toggle button {
        min-width: 55px;
        padding: 5px 6px;
        font-size: 0.65em;
    }
}

.view-toggle button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(132, 250, 144, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.view-toggle button.active {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 15px var(--neon-green);
    font-weight: bold;
    transform: translateY(-2px);
}

.view-toggle button:hover {
    background: var(--neon-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(132, 250, 144, 0.4);
}

.view-toggle button:hover::before {
    left: 100%;
}

.month-divider {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(132, 250, 144, 0.3);
    position: relative;
}

.month-divider h2 {
    color: var(--neon-green);
    font-size: 1.5em;
    margin: 0;
    text-shadow: 0 0 10px rgba(132, 250, 144, 0.5);
    position: relative;
    display: inline-block;
    padding-right: 15px;
    background: var(--dark-bg);
    padding-left: 0;
}

.month-divider::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 150px;
    height: 2px;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 25px auto 0;
    position: relative;
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-green);
    font-size: 1.1em;
    z-index: 2;
    pointer-events: none;
    opacity: 0.7;
}

#searchInput {
    flex: 1;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(132, 250, 144, 0.3);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 30px;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#searchInput:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(132, 250, 144, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

#searchInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#searchBtn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 25px;
    height: calc(100% - 10px);
    background: linear-gradient(45deg, var(--neon-green), #6de07a);
    color: #000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(132, 250, 144, 0.3);
}

#searchBtn:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 6px 20px rgba(132, 250, 144, 0.5);
}

.week-divider {
    margin: 50px 0 35px;
    position: relative;
    padding: 20px 0 20px 30px;
    text-align: left;
}

.week-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--neon-green) 0%,
        rgba(132, 250, 144, 0.7) 40%,
        rgba(132, 250, 144, 0.3) 70%,
        transparent 100%
    );
    z-index: 1;
    box-shadow: 0 0 15px rgba(132, 250, 144, 0.2);
}

.week-dates {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(90deg, 
        rgba(20, 20, 20, 0.9) 0%,
        rgba(15, 15, 15, 0.9) 100%
    );
    padding: 15px 35px 15px 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(5px);
    transform: translateY(-2px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.week-dates:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 30px rgba(132, 250, 144, 0.25);
}

.week-dates::before {
    content: '✦';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: var(--neon-green);
    font-size: 2em;
    text-shadow: 0 0 15px var(--neon-green);
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 20px rgba(132, 250, 144, 0.3);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.week-dates:hover::before {
    transform: translateY(-50%) rotate(15deg);
    text-shadow: 0 0 25px var(--neon-green);
}

.week-dates span {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    font-size: 1.3em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff, #b3ffb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 5px;
}

.date-separator {
    color: var(--neon-green);
    font-weight: 400;
    font-size: 1.4em;
    line-height: 1;
    margin: 0 8px;
    opacity: 0.9;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px rgba(132, 250, 144, 0.7);
    animation: glow 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateY(-50%) scale(1.1); opacity: 1; }
    100% { transform: translateY(-50%) scale(1); opacity: 0.8; }
}

@keyframes glow {
    from { text-shadow: 0 0 5px var(--neon-green); }
    to { text-shadow: 0 0 15px var(--neon-green), 0 0 25px rgba(132, 250, 144, 0.5); }
}

.week-dates:hover .date-start,
.week-dates:hover .date-end {
    text-shadow: 0 0 15px var(--neon-green);
    transform: translateY(-1px);
}

.week-dates:hover .date-separator {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .week-dates {
        padding: 0 15px;
        gap: 10px;
    }
    
    .week-dates span {
        font-size: 1em;
    }
    
    .date-separator {
        font-size: 1.1em;
    }
}

.day-group {
    margin-bottom: 30px;
    break-inside: avoid;
}

.day-group:not(:first-child) {
    margin-top: 10px;
}

.day-group-header {
    color: var(--neon-green);
    font-size: 1.4rem;
    margin: 0 0 15px 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(132, 250, 144, 0.2);
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.event-card {
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.95));
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--day-accent, rgba(100, 220, 120, 0.15));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), var(--day-glow, 0 0 0 transparent);
    min-height: 160px;
    transform: translateZ(0);
    will-change: transform, box-shadow;
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--day-accent, rgba(132, 250, 144, 0.1));
    border-left: 4px solid var(--day-color, #84fa90);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--day-accent, rgba(132, 250, 144, 0.1)), 
        color-mix(in srgb, var(--day-color, #84fa90) 40%, transparent),
        var(--day-accent, rgba(132, 250, 144, 0.1)), 
        transparent);
    z-index: 1;
    opacity: 0.7;
}

.event-card.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.event-card.clickable:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(132, 250, 144, 0.15), 0 5px 15px rgba(0, 0, 0, 0.4);
    border-color: rgba(132, 250, 144, 0.4);
    opacity: 1;
    z-index: 10;
    background: linear-gradient(145deg, rgba(25, 25, 30, 0.98), rgba(15, 15, 20, 0.98));
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card.clickable:active {
    transform: translateY(-2px) scale(0.99);
    transition: all 0.1s ease;
}

.event-card.clickable:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(132, 250, 144, 0.3);
}

.event-card.today-event .event-date-section {
    background: linear-gradient(145deg, #84fa90, #00e5ff) !important;
    box-shadow: 0 0 10px rgba(132, 250, 144, 0.8);
}

.event-card.past-event .event-date-section {
    background: linear-gradient(145deg, #6a8a6a, #4a6a4a) !important;
    opacity: 0.9;
}

.event-card.past-event .event-date-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(100, 120, 100, 0.3), rgba(70, 90, 70, 0.2));
    pointer-events: none;
    border-radius: 0 8px 8px 0;
}

.event-card.past-event {
    opacity: 0.9;
    filter: grayscale(25%);
}

.event-card.past-event .event-date .day,
.event-card.past-event .event-date .month,
.event-card.past-event .event-date .weekday {
    opacity: 0.9;
}

.event-date-section {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, background, box-shadow, border;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--day-color, #84fa90), color-mix(in srgb, var(--day-color, #84fa90) 80%, #000));
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border-radius: 0 8px 8px 0;
}

.event-date-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.8;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.event-card:hover .event-date-section {
    background: linear-gradient(135deg, 
        #81da8c,
        #6ce67d,
        #4ad65e);
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.2),
                0 0 20px rgba(132, 250, 144, 0.4);
    transform: scale(1.02) translateZ(0);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.event-card:hover .event-date-section::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(0, 0, 0, 0.1) 100%);
}

.event-date .day,
.event-date .month,
.event-date .time {
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: color, text-shadow;
    position: relative;
    z-index: 2;
}

.event-card:hover .event-date .day,
.event-card:hover .event-date .month,
.event-card:hover .event-date .time {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    transform: translateX(2px);
}

.event-date-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
}

.event-card:hover .event-date-section::after {
    transform: translateX(0);
    transition-delay: 0.1s;
}

.event-date-section {
    width: 25%;
    background: linear-gradient(145deg, #84fa90, #5de06e);
    padding: 1.5rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    color: #000;
    position: relative;
    overflow: hidden;
    min-width: 90px;
}

.event-date-section::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(132, 250, 144, 0.3), 
        transparent);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 5px 0;
}

.event-date .day {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-date .month {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #000;
    font-weight: 600;
    display: block;
    margin: 0.5rem 0 0.8rem;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.95;
}

.event-date .weekday {
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    width: auto;
    min-width: 80%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.event-time {
    margin-top: 1rem;
    padding-top: 0.8rem;
    color: var(--neon-green);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(132, 250, 144, 0.15);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.event-time::before {
    content: '🕒';
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.9;
    filter: grayscale(1) brightness(1.5);
}

.event-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    z-index: 2;
}

.event-details {
    width: 75%;
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: rgba(15, 15, 15, 0.7);
}

.event-title {
    font-size: 1.8rem;
    margin: 0 0 0.8rem 0;
    color: #fff;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateZ(0);
    will-change: transform;
    font-family: 'Montserrat', sans-serif;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    border-radius: 4px;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: left center;
    box-shadow: 0 0 0 rgba(132, 250, 144, 0);
    opacity: 0.8;
}

.event-card:hover .event-title {
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.event-card:hover .event-title::after {
    width: 80px;
    height: 2.5px;
    background: linear-gradient(90deg, 
        var(--neon-green) 0%, 
        rgba(132, 250, 144, 0.8) 100%);
    box-shadow: 0 0 15px rgba(132, 250, 144, 0.7);
    opacity: 1;
    transform: translateY(1px);
    border-radius: 2px;
}

.event-title::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 10px;
    background: radial-gradient(ellipse at center, 
        rgba(132, 250, 144, 0.3) 0%, 
        rgba(132, 250, 144, 0) 70%);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: left center;
    opacity: 0;
}

.event-card:hover .event-title::before {
    width: 100px;
    opacity: 1;
    transform: translateY(4px);
}

.event-location {
    margin: 0;
    color: #aaa;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    opacity: 0.9;
}

.event-location i.fa-map-marker-alt {
    color: var(--neon-green);
    margin-right: 8px;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(132, 250, 144, 0.5);
    font-size: 0.9em;
    filter: grayscale(1) brightness(1.5);
}

.event-today {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: var(--neon-green);
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    animation: pulse 2s infinite;
    z-index: 3;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.event-image-container {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.event-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(132, 250, 144, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(132, 250, 144, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(132, 250, 144, 0);
    }
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(132, 250, 144, 0.2), rgba(132, 250, 144, 0));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover::before {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.event-card:hover::after {
    opacity: 1;
    animation: cardGlow 4s infinite alternate;
}

@keyframes cardGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

#loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--neon-green);
    font-size: 1.2em;
    position: relative;
}

#loading::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 20px auto 0;
    border: 3px solid rgba(132, 250, 144, 0.2);
    border-top-color: var(--neon-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .event-card {
        flex-direction: column;
        height: auto;
    }
    
    .event-date-section {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        border-radius: 0 0 10px 10px;
    }
    
    .event-date {
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    
    .event-date .day {
        font-size: 2.5rem;
        margin: 0;
    }
    
    .event-date .month {
        margin: 0;
        font-size: 1.1rem;
    }
    
    .event-date .weekday {
        margin-left: auto;
        padding: 0.3rem 1rem;
    }
    
    .event-details {
        width: 100%;
        padding: 20px;
    }
    
    .event-time {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 6px;
        overflow-x: hidden;
    }
    
    h1 {
        font-size: 1.8em;
        padding: 0 10px;
    }
    
    .controls {
        padding: 10px 0 5px;
        margin: 0 0 15px;
        border-radius: 15px;
        width: 100%;
        position: relative;
        background: var(--dark-bg);
        border-bottom: 1px solid rgba(132, 250, 144, 0.1);
    }
    
    .date-navigation {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        margin: 0 auto 12px;
        padding: 0 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .date-navigation h2 {
        font-size: 1.1em;
        margin: 0;
        padding: 0 2px;
        flex: 1 1 auto;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        order: 0;
        font-weight: 600;
        color: var(--neon-green);
    }
    
    .date-navigation-buttons {
        display: flex;
        gap: 4px;
        align-items: center;
        flex-shrink: 0;
        margin: 0 2px;
    }
    
    .date-navigation button {
        margin: 0;
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 12px;
        border-radius: 50%;
        background: rgba(132, 250, 144, 0.1);
        border: 1px solid rgba(132, 250, 144, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-shrink: 0;
        transition: all 0.1s ease;
    }
    
    .date-navigation button:active {
        transform: scale(0.95);
        background: rgba(132, 250, 144, 0.2);
    }
    
    .view-toggle {
        display: flex;
        flex-wrap: nowrap;
        margin: 0 0 5px;
        padding: 8px 8px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: center;
        gap: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .view-toggle::after {
        content: '';
        flex: 0 0 8px;
    }
    
    .view-toggle::-webkit-scrollbar {
        height: 4px;
    }
    
    .view-toggle button {
        flex: 0 0 auto;
        padding: 8px 12px;
        margin: 0;
        font-size: 0.75em;
        white-space: nowrap;
        border-radius: 15px;
        background: rgba(132, 250, 144, 0.08);
        border: 1px solid rgba(132, 250, 144, 0.15);
        color: #eee;
        transition: all 0.2s ease;
    }
    
    .view-toggle button.active {
        background: var(--neon-green);
        color: #000;
        font-weight: 600;
    }
    
    .search-box {
        margin: 15px auto 0;
        max-width: 100%;
    }
    
    #searchInput {
        padding: 12px 15px 12px 40px;
        font-size: 0.9em;
        width: 100%;
        border-radius: 15px;
        
    }
    
    #searchBtn {
        padding: 0 15px;
        font-size: 0.85em;
        right: 2px;
    }
    
    .event-card {
        display: flex;
        flex-direction: row;
        margin: 0 0 15px;
        overflow: hidden;
        border-radius: 10px;
        border: 1px solid rgba(132, 250, 144, 0.1);
        background: rgba(20, 20, 25, 0.95);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        min-height: 100px;
        height: auto;
    }
    
    .event-card:active {
        transform: translateY(1px);
    }
    
    .event-date-section {
        width: 25%;
        min-width: 85px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 12px 5px;
        border-radius: 0;
        background: linear-gradient(145deg, #84fa90, #5de06e);
        flex-shrink: 0;
    }
    
    .event-date-section::after {
        display: none;
    }
    
    .event-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }
    
    .event-date .day {
        font-size: 1.8em;
        margin: 0;
        line-height: 1;
        font-weight: 700;
        color: #000;
    }
    
    .event-date .month {
        font-size: 0.9em;
        margin: 0;
        line-height: 1.2;
        color: #000;
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .event-date .weekday {
        margin: 4px auto 0;
        font-size: 0.7em;
        padding: 0.2rem 0.8rem;
        white-space: nowrap;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        color: #000;
        font-weight: 500;
        text-align: center;
        display: inline-block;
        min-width: 60%;
    }
    
    .event-details {
        flex: 1;
        padding: 15px;
        position: relative;
        z-index: 2;
        background: rgba(20, 20, 25, 0.95);
        display: flex;
        flex-direction: column;
    }
    
    .event-title {
        font-size: 1.15em;
        margin: 0 0 8px 0;
        line-height: 1.3;
        word-break: break-word;
        color: #fff;
    }
    
    .event-location {
        font-size: 0.9em;
        line-height: 1.4;
        margin: 0;
        color: #ddd;
    }
    
    .event-time {
        margin-top: auto;
        padding-top: 12px;
        font-size: 0.85em;
        color: #bbb;
        border-top: 1px solid rgba(132, 250, 144, 0.1);
        display: flex;
        align-items: center;
    }
    
    .events-grid > :last-child {
        margin-bottom: env(safe-area-inset-bottom, 20px);
    }
    
    .week-divider {
        margin: 30px 0 20px;
        padding: 15px 0 15px 20px;
    }
    
    .week-dates {
        padding: 10px 25px 10px 15px;
        font-size: 0.9em;
    }
    
    .week-dates::before {
        width: 30px;
        height: 30px;
        left: -12px;
        font-size: 1.5em;
    }
    
    .week-dates span {
        font-size: 1.1em;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.events-grid {
    animation: fadeIn 0.6s ease-out forwards;
}

button, .event-card, .event-date-section {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card {
    position: relative;
    overflow: hidden;
}

.event-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

html {
    scroll-behavior: smooth;
}

.no-events {
    text-align: center;
    padding: 3.5rem 2rem;
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(25, 25, 32, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(132, 250, 144, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.no-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--neon-green), 
        transparent);
    animation: slideIn 1.5s ease-out forwards;
}

.no-events p {
    color: #f0f0f0;
    font-size: 1.4rem;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 0 1rem;
}

.no-events .reset-filters-btn {
    background: linear-gradient(145deg, #84fa90, #5de06e);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 20px rgba(132, 250, 144, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.no-events .reset-filters-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #94faa0, #6ce67d);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.no-events .reset-filters-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(132, 250, 144, 0.5);
    color: #000;
    background: linear-gradient(145deg, #94faa0, #6ce67d);
}

.no-events .reset-filters-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 15px rgba(132, 250, 144, 0.3);
    background: linear-gradient(145deg, #74ea81, #5cd66d);
}

.no-events .reset-filters-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(132, 250, 144, 0.7);
}

.no-events .reset-filters-btn::after {
    content: '↻';
    display: inline-block;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.no-events .reset-filters-btn:hover::after {
    transform: rotate(180deg);
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    gap: 2rem;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent,
        var(--neon-green) 30%,
        var(--neon-green) 70%,
        transparent);
    box-shadow: var(--neon-glow);
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(var(--neon-green-rgb), 0.5));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 25px var(--neon-green));
    transform: scale(1.05);
}

header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #84fa90 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(132, 250, 144, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    padding: 0 1.5rem;
    margin: 0;
    text-align: center;
    animation: textGlow 2s ease-in-out infinite alternate;
}

header h1 span {
    display: block;
    line-height: 1.1;
}

header h1 span:first-child {
    margin-bottom: 0.2em;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #84fa90 0%, #00e5ff 100%);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    opacity: 0.8;
    border-radius: 2px;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(132, 250, 144, 0.3);
    }
    to {
        text-shadow: 0 0 25px rgba(0, 229, 255, 0.7);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo {
        height: 80px;
        margin: 0 auto;
    }
    
    header h1 {
        font-size: 2rem;
        padding: 0;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    
    header h1::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1.5px;
    }
}

button:focus, input:focus {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(132, 250, 144, 0.3);
}

.site-footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(132, 250, 144, 0.1);
    position: relative;
    z-index: 5;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 10px rgba(132, 250, 144, 0.5);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section {
    display: flex;
    align-items: center;
}

.social-link, .legal-link, .version {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-link:hover, .legal-link:hover {
    color: var(--neon-green);
    opacity: 1;
    text-shadow: 0 0 10px rgba(132, 250, 144, 0.5);
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.version {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--neon-green);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        justify-content: center;
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card {
    animation: cardAppear 0.5s ease-out forwards;
    animation-delay: calc(var(--delay, 0) * 0.05s);
    opacity: 0;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(132, 250, 144, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(132, 250, 144, 0.5);
}
