.agenda-section {
    padding: 80px 40px;
    background: #000;
    margin-top: 60px;
    animation: fadeIn 0.8s ease;
}

.agenda-section h2 {
    font-size: 40px;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-align: center;
    animation: fadeInUp 0.8s ease;
    position: relative;
    display: inline-block;
    width: 100%;
}

.agenda-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
}

.events-loading {
    grid-column: 1/-1;
    text-align: center;
    padding: 40px;
    color: #888;
}

.agenda-admin-cta {
    text-align: center;
    margin-top: 30px;
}

.agenda-admin-cta-text {
    color: #888;
    margin-bottom: 15px;
}

.agenda-admin-cta-link {
    display: inline-block;
    padding: 12px 30px;
    background: #00d4ff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.login-container {
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
    background: rgba(17, 17, 17, 0.8);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInUp 0.6s ease;
    backdrop-filter: blur(10px);
}

.login-container p {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 16px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

#google-login-btn {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    border-color: #666;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.event-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.event-image::before {
    content: "🎪";
    font-size: 60px;
    opacity: 0.3;
    position: absolute;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #fff;
    padding: 10px 12px;
    text-align: center;
    border-radius: 3px;
    z-index: 2;
}

.event-date-badge .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 3px;
}

.event-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #fff;
}

.event-time {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

.event-location {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.event-description {
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.btn-reserver {
    display: block;
    width: 100%;
    border: 2px solid #fff;
    padding: 15px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    background: transparent;
    margin-top: auto;
}

.btn-reserver:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.btn-view-calendar {
    display: block;
    border: 2px solid #fff;
    padding: 15px 40px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    margin: 60px auto 0;
    width: fit-content;
    cursor: pointer;
    background: transparent;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.btn-view-calendar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-view-calendar:hover::before {
    left: 0;
}

.btn-view-calendar:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.calendar-container {
    max-width: 1200px;
    margin: 60px auto 0;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: none;
    backdrop-filter: blur(10px);
    animation: slideDownIn 0.4s ease;
}

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

.calendar-container.active {
    display: block;
}

.calendar-container iframe {
    width: 100%;
    height: 700px;
    border: none;
}

.user-info {
    text-align: right;
    color: #888;
    font-size: 13px;
    margin-bottom: 20px;
}

.user-info button {
    margin-left: 10px;
    padding: 8px 20px;
    background: #333;
    border: 1px solid #666;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    font-size: 12px;
}

.user-info button:hover {
    background: #555;
}

@media (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .agenda-section {
        padding: 60px 20px;
    }

    .agenda-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .agenda-section {
        padding: 50px 15px;
    }

    .agenda-section h2 {
        font-size: 26px;
        margin-bottom: 35px;
    }
}
