:root {
    --bg-color: #050510;
    --text-color: #e0e0ff;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ea;
    --neon-purple: #9d00ff;
    --glass-bg: rgba(15, 15, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* AURORA BACKGROUND EFFECT */
.aurora-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 243, 255, 0.15), 
        rgba(157, 0, 255, 0.15), 
        rgba(255, 0, 234, 0.1) 60%, 
        transparent 80%);
    filter: blur(100px);
    z-index: -1;
    animation: aurora-shift 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes aurora-shift {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(15deg) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* NEON TEXT STYLES */
.neon-text {
    font-weight: 700;
    color: #fff;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-purple);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

/* GLASSMORPHISM */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Add a subtle glow inner border to glass panel */
.glass-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* COUNTDOWN STYLES */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 120px;
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.3), 0 0 20px rgba(0, 243, 255, 0.4);
    border-color: var(--neon-cyan);
}

.time-value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.separator {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 0, 234, 0.5);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; text-shadow: 0 0 5px rgba(255, 0, 234, 0.2); }
    100% { opacity: 1; text-shadow: 0 0 20px rgba(255, 0, 234, 0.8); }
}

/* BUTTON / LINK STYLES */
.back-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--neon-purple);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.back-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.back-link:hover {
    box-shadow: 0 0 20px var(--neon-purple);
    border-color: transparent;
}

.back-link:hover::before {
    opacity: 1;
}

/* CUSTOM LINKS */
.custom-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.neon-button {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-button:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* INDEX PAGE STYLES */
.index-body {
    align-items: flex-start;
    padding-top: 5rem;
}

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

.event-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 234, 0.2);
}

.event-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.event-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.date-badge {
    align-self: flex-start;
    background: rgba(157, 0, 255, 0.2);
    border: 1px solid var(--neon-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.hidden {
    display: none !important;
}

.success-text {
    text-shadow: 
        0 0 5px #fff,
        0 0 20px #00ff88,
        0 0 40px #00ff88;
}

.error-text {
    text-shadow: 
        0 0 5px #fff,
        0 0 20px #ff0055,
        0 0 40px #ff0055;
    font-size: 6rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .countdown-wrapper {
        gap: 0.5rem;
    }
    
    .time-box {
        min-width: 80px;
        padding: 1rem;
    }

    .time-value {
        font-size: 2rem;
    }
    
    .separator {
        display: none; /* Hide separators on small screens for better wrapping */
    }
}

/* FULLSCREEN COUNTDOWN */
#fullscreen-countdown {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 5, 16, 0.95);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
}

.massive-number {
    font-size: 35vw;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 20px #fff,
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan),
        0 0 120px var(--neon-purple);
    animation: heartbeat 1s infinite;
    font-variant-numeric: tabular-nums;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.1); text-shadow: 0 0 40px #fff, 0 0 80px var(--neon-cyan), 0 0 160px var(--neon-cyan); }
    30% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* YOUTUBE VIDEO CONTAINER */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
    border: 2px solid var(--neon-cyan);
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* MUSIC TOGGLE BUTTON */
.music-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
}

.music-toggle:hover {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.5);
    background: rgba(0, 243, 255, 0.1);
}

.music-toggle.playing {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 234, 0.2);
}

.music-toggle.playing:hover {
    box-shadow: 0 0 25px rgba(255, 0, 234, 0.5);
    background: rgba(255, 0, 234, 0.1);
}

/* LIVE BADGE */
.live-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff0055;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: live-pulse 1.5s infinite;
    box-shadow: 0 0 10px #ff0055;
}

@keyframes live-pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px #ff0055; }
    50% { transform: scale(1.1); box-shadow: 0 0 20px #ff0055; }
    100% { transform: scale(1); box-shadow: 0 0 10px #ff0055; }
}

.event-live {
    border-color: #ff0055;
    position: relative;
}

/* ADMIN DASHBOARD STYLES */
.admin-body {
    align-items: flex-start;
    padding-top: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.admin-form label {
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
    font-weight: 500;
}

.admin-form input, .admin-form textarea {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.admin-form input:focus, .admin-form textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0,243,255,0.3);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
}

.admin-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-event-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.admin-event-info {
    text-align: left;
}

.admin-event-info h3 {
    margin-bottom: 0.2rem;
    color: #fff;
}

.slug-badge {
    color: var(--neon-pink);
    font-size: 0.9rem;
    font-weight: 400;
}

.admin-event-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    cursor: pointer;
}

.danger-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(255,0,85,0.1);
    border-color: #ff0055;
    cursor: pointer;
}

.danger-btn:hover {
    background: #ff0055;
    box-shadow: 0 0 15px #ff0055;
}
