/* Event Page Styles */
.event-details {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out;
}

/* Back Button Styles */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(0, 255, 136, 0.1);
}

.back-button .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-button:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateX(-5px);
}

.back-button:hover .arrow {
    transform: translateX(-5px);
}

/* Event Header Styles */
.event-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideDown 0.8s ease-out;
}

.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
}

/* Content Layout */
.event-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    animation: fadeIn 1s ease-out;
}

/* Information Sections */
.info-section {
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease-out;
}

.info-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.info-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.info-section h2:hover::after {
    width: 100%;
}

/* Prize Cards */
.prizes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.prize-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.prize-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Lists Styling */
.problem-list, .rules-list {
    list-style: none;
    padding: 0;
}

.problem-list li, .rules-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.problem-list li::before, .rules-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

/* Registration Section */
.registration-section {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.registration-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.fee {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: var(--primary-color);
}

.register-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: var(--secondary-color);
    color: #00ccff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-btn:hover {
    transform: translateY(-5px);
    box-shadow: #00ccff;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.register-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-content {
        grid-template-columns: 1fr;
    }

    .event-meta {
        flex-direction: column;
        align-items: center;
    }

    .prizes {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .event-title {
        font-size: 2.5rem;
    }
}