:root {
    --primary-color: #6c63ff;
    --secondary-color: #ff6584;
    --accent-color: #43f4ff;
    --background-dark: #0f0f1a;
    --background-card: #1a1a2e;
    --background-light: #ffffff;
    --text-dark: #213547;
    --text-light: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #6c63ff 0%, #43f4ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6584 0%, #ff9b4e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes gradientBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    background-color: var(--background-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

#app {
    width: 100%;
    min-height: 100vh;
}

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 26, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Loader Animation */
.loader {
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Header Styles */
header {
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 0.7rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-actions button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.nav-actions button:hover {
    transform: translateY(-2px);
}

.notification-btn,
.profile-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.notification-btn:hover,
.profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.login-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.5);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(108, 99, 255, 0.7);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--background-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(67, 244, 255, 0.2) 100%);
    background-size: 400% 400%;
    animation: gradientBg 15s ease infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    line-height: 1.2;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.get-started-btn {
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.5);
    animation: pulse 2s infinite;
}

.get-started-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.7);
}

.learn-more-btn {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.search-box {
    position: relative;
    margin-top: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 25px rgba(108, 99, 255, 0.3);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.7rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    filter: brightness(1.1);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    max-width: 1280px;
    margin: 2rem auto 0;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.tab {
    padding: 0.7rem 2rem;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab.active {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Search containers */
.search-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
    max-width: 1280px;
    margin: 0 auto 1rem;
}

#clubs-search-input,
#events-search-input {
    width: 100%;
    max-width: 600px;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
}

#clubs-search-input:focus,
#events-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

/* Clubs Grid */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 2rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
}

.club-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.club-card:nth-child(3n+1) {
    animation-delay: 0.1s;
}

.club-card:nth-child(3n+2) {
    animation-delay: 0.2s;
}

.club-card:nth-child(3n+3) {
    animation-delay: 0.3s;
}

.club-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.club-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.club-card:hover .club-image {
    transform: scale(1.05);
}

.club-content {
    padding: 1.5rem;
    position: relative;
}

.club-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.club-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: white;
}

.club-school {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Event Cards */
.event-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.event-card:nth-child(3n+1) {
    animation-delay: 0.1s;
}

.event-card:nth-child(3n+2) {
    animation-delay: 0.2s;
}

.event-card:nth-child(3n+3) {
    animation-delay: 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 1.5rem;
    position: relative;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.event-details {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-club,
.event-date,
.event-time,
.event-venue {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.event-card:hover .event-club,
.event-card:hover .event-date,
.event-card:hover .event-time,
.event-card:hover .event-venue {
    background: rgba(255, 255, 255, 0.12);
}

.event-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.event-status.ended {
    background-color: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.event-status.live {
    background-color: rgba(0, 200, 83, 0.2);
    color: #00c853;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

/* Event Tags (Rounded Cylinder Style) */
.event-tag {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.07);
    display: inline-block;
    margin: 0.2rem 0;
    transition: all 0.3s ease;
}

.event-card:hover .event-tag {
    background: rgba(255, 255, 255, 0.12);
}

/* Specific Styling for DL Info */
.event-dl {
    background: rgba(108, 99, 255, 0.2);
    /* Slightly different background for DL info */
    color: #6c63ff;
    /* Primary color for DL info */
    font-weight: 600;
}

/* Calendar */
#calendar-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

#calendar {
    background: var(--background-card);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fc-theme-standard .fc-scrollgrid {
    border-color: rgba(255, 255, 255, 0.1);
}

.fc-theme-standard th,
.fc-theme-standard td {
    border-color: rgba(255, 255, 255, 0.1);
}

.fc-col-header-cell {
    background: rgba(255, 255, 255, 0.05);
}

.fc-daygrid-day-number {
    color: rgba(255, 255, 255, 0.8);
}

.fc-day-today {
    background: rgba(108, 99, 255, 0.1) !important;
}

.fc-daygrid-day:hover {
    cursor: pointer;
    background-color: rgba(108, 99, 255, 0.05);
}

.fc-button-primary {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.fc-button-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.fc-button-active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.3) !important;
}

#event-list {
    margin-top: 2rem;
}

.event-item {
    background: var(--background-card);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.event-item p {
    margin: 0.3rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.event-item p strong {
    color: white;
}

.add-to-calendar {
    cursor: pointer;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.add-to-calendar:hover {
    background: rgba(108, 99, 255, 0.2);
    transform: scale(1.1);
}

.no-events {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: var(--background-dark);
    border-radius: 20px;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header {
    padding: 2rem;
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
    color: white;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-club-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.club-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.club-event-card {
    background: var(--background-card);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.club-event-card:nth-child(3n+1) {
    animation-delay: 0.1s;
}

.club-event-card:nth-child(3n+2) {
    animation-delay: 0.2s;
}

.club-event-card:nth-child(3n+3) {
    animation-delay: 0.3s;
}

.club-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.club-event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.club-event-card:hover .club-event-image {
    transform: scale(1.05);
}

.club-event-details {
    padding: 1.5rem;
}

.club-event-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.club-event-info {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.no-events-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem;
    font-size: 1.2rem;
}

.event-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.event-details-modal.active {
    opacity: 1;
}

.event-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--background-dark);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-details-modal.active .event-modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.event-modal-header {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.event-poster {
    width: 100%;
    height: 100%;
    position: relative;
}

.event-poster::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--background-dark), transparent);
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-modal-content:hover .event-poster img {
    transform: scale(1.05);
}

.event-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 300px);
}

.event-info-container {
    max-width: 800px;
    margin: 0 auto;
}

.event-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.event-organizer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.club-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.meta-item svg {
    color: var(--primary-color);
}

.event-dl-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.event-description {
    margin-bottom: 2rem;
}

.event-description h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.event-description p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Add these styles to your CSS file */
/* Updated CSS for event poster hover and fullscreen display */
.event-poster {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-poster:hover img {
    transform: scale(1.05);
}

.event-poster::after {
    content: "View Full Image";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    /* Higher than any other elements */
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 2001;
}

.register-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

.register-button svg {
    transition: transform 0.3s ease;
}

.register-button:hover svg {
    transform: translateX(5px);
}

/* Filter container styles with your theme */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 12px 20px;
    background-color: var(--background-card);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    width: 90%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 180px;
    margin: 5px 0;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-light);
    font-size: 14px;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(15, 15, 26, 0.8);
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-group select:hover {
    border-color: var(--accent-color);
}

.filter-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.3);
}

.filter-group select option {
    background-color: var(--background-dark);
    color: var(--text-light);
}


@media (max-width: 768px) {
    .event-modal-header {
        height: 200px;
    }

    .event-modal-title {
        font-size: 2rem;
    }

    .event-meta {
        gap: 1rem;
    }

    .meta-item {
        width: 100%;
    }

    .filter-container {
        flex-direction: column;
        gap: 12px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        flex-grow: 1;
    }
}

@media (max-width: 480px) {
    .event-modal-header {
        height: 150px;
    }

    .event-modal-title {
        font-size: 1.5rem;
    }

    .event-modal-body {
        padding: 1rem;
    }
}

/* Additional Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .clubs-grid,
    .club-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .get-started-btn,
    .learn-more-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }

    .tab {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav {
        padding: 0.5rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .search-box input {
        padding: 0.8rem 1rem;
    }

    .submit-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .event-details {
        flex-direction: column;
        gap: 0.4rem;
    }

    .event-club,
    .event-date,
    .event-time,
    .event-venue {
        width: 100%;
    }
}