/* Global Styles */
:root {
    --primary-color: #6C63FF;
    --secondary-color: #4CAF50;
    --accent-color: #FF6B6B;
    --background-color: #0A0A1F;
    --text-color: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --transition-speed: 0.3s;
    --gradient-1: linear-gradient(135deg, #6C63FF 0%, #4CAF50 100%);
    --gradient-2: linear-gradient(135deg, #FF6B6B 0%, #6C63FF 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(108, 99, 255, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(76, 175, 80, 0.1), transparent 40%);
    z-index: -1;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 31, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-speed);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    height: 80px;
    transition: var(--transition-speed);
    filter: drop-shadow(0 0 10px rgba(108, 99, 255, 0.3));
}

.logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.5));
}

.college-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    margin: 0 2rem;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    z-index: 1;
    padding: 2rem;
    background: rgba(10, 10, 31, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.organizer {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Floating Shapes */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-2);
    filter: blur(40px);
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -3s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-20px, 20px);
    }
    50% {
        transform: translate(20px, -20px);
    }
    75% {
        transform: translate(-20px, -20px);
    }
}

/* Countdown Styles */
.countdown-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    margin: 0;
    width: 100%;
    max-width: 600px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-item span:first-child {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(108, 99, 255, 0.3);
    transition: transform 0.3s ease;
}

.countdown-item span:last-child {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Countdown Animation */
.countdown-flip {
    animation: flipAnimation 0.3s ease;
    transform-origin: center;
}

@keyframes flipAnimation {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

/* Button Styles */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

.cta-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.cta-button {
    background: var(--gradient-1);
    color: var(--text-color);
}

.secondary-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button:hover, .secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: rgba(10, 10, 31, 0.5);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--card-border);
    transition: var(--transition-speed);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Events Preview */
.events-preview {
    padding: 5rem 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.highlight-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    text-align: center;
    transition: var(--transition-speed);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.highlight-icon {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* Coordinators Section */
.coordinators {
    padding: 5rem 2rem;
    background: rgba(10, 10, 31, 0.5);
}

.coordinator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.coordinator-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--card-border);
    text-align: center;
    transition: var(--transition-speed);
}

.coordinator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.coordinator-icon {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.coordinator-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-link {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition-speed);
}

.contact-link:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Sponsors Section */
.sponsors {
    padding: 5rem 2rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-placeholder {
    width: 200px;
    height: 100px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-speed);
}

.sponsor-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

/* Footer */
footer {
    background: rgba(10, 10, 31, 0.9);
    padding: 3rem 2rem 1rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-logo-img {
    height: 60px;
    filter: drop-shadow(0 0 5px rgba(108, 99, 255, 0.3));
    transition: var(--transition-speed);
}

.footer-logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.5));
}

.footer-content .college-title {
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-speed);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-speed);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition-speed);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-bottom p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Animations */
@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 20px rgba(108, 99, 255, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 0.5rem;
        height: auto;
        min-height: 50px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 31, 0.9);
    }

    .logo-container {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 0;
        display: none; /* Hide logos in mobile mode */
    }

    .college-title {
        font-size: 1rem;
        margin: 0.25rem 0;
        display: block;
        text-align: center;
        width: 100%;
    }

    /* Hamburger Menu Styles */
    .hamburger-menu {
        display: flex;
        position: absolute;
        top: 0.75rem;
        right: 1rem;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 31, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }

    .hero-section {
        padding: 1rem;
        margin-top: 50px; /* Add margin to account for smaller header */
    }

    .hero-content {
        padding: 1.5rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .countdown-container {
        padding: 1.5rem;
        max-width: 100%;
    }

    #countdown {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-item span:first-child {
        font-size: 2rem;
    }
    
    .countdown-item span:last-child {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-links {
        margin-top: 1rem;
    }

    .hero-decoration {
        display: none;
    }

    .logo {
        height: 60px;
    }

    .footer-logo-img {
        height: 45px;
    }

    .events-hero {
        margin-top: 50px; /* Add margin to account for smaller header */
    }

    .event-card {
        width: 100%;
        margin: 10px 0;
        min-height: auto;
        padding: 15px;
    }
    
    .event-card h3 {
        font-size: 1.3rem;
    }
    
    .event-card p {
        font-size: 0.9rem;
    }
    
    .event-details {
        padding: 10px;
        gap: 6px;
    }
    
    .event-details span {
        font-size: 0.85rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        padding: 1rem;
    }
    
    #countdown {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-item span:first-child {
        font-size: 1.5rem;
    }
    
    .countdown-item span:last-child {
        font-size: 0.7rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page Load Animation */
.page-load {
    animation: pageLoad 1s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Events Hero Section */
.events-hero {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.events-hero .hero-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    z-index: 1;
    padding: 2rem;
    background: rgba(10, 10, 31, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Events Section */
.events-section {
    padding: 5rem 2rem;
    background: rgba(10, 10, 31, 0.5);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 300px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    height: auto;
    min-height: 450px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
}

.event-icon {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.event-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 10px 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.event-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 15px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    flex-grow: 1;
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    opacity: 0.9;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

.event-details i {
    color: var(--primary-color);
    width: 20px;
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    padding: 3rem 2rem;
    background: rgba(10, 10, 31, 0.5);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--card-border);
    transition: var(--transition-speed);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

.contact-item i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.9rem;
}

.contact-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--card-border);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-color);
    opacity: 0.7;
}

.contact-form button {
    margin-top: 1rem;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Event Poster Styles */
.event-poster {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(108, 99, 255, 0.2);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-poster:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(108, 99, 255, 0.3);
}

.event-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-poster:hover::after {
    opacity: 1;
}

.event-poster-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
    background-color: rgba(10, 10, 31, 0.5);
    padding: 5px;
}

.event-poster:hover .event-poster-img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}

.event-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 300px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    height: auto;
    min-height: 450px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
}

.event-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 10px 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.event-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 15px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    flex-grow: 1;
}

.event-details span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    opacity: 0.9;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

.event-details i {
    color: var(--primary-color);
    width: 20px;
    flex-shrink: 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

/* Poster Modal Styles */
.poster-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.poster-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

.modal-poster-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
}

.poster-modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: var(--text-color);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.poster-modal-close:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments for posters */
@media (max-width: 768px) {
    .event-poster {
        height: 180px;
    }
    
    .event-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .event-poster {
        height: 160px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
} 