/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    min-height: 100vh;
    cursor: pointer;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.highlight {
    color: #00d4ff;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ff4444;
    padding: 8px 16px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Top Join Section */
.top-join-section {
    margin: 30px 0;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.15));
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.top-join-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.join-container h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
}

.main-join-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.2); }
    100% { box-shadow: 0 20px 50px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.4); }
}

.main-join-button:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #0099cc, #00d4ff);
}

.main-join-button i:first-child {
    font-size: 1.5rem;
}

.main-join-button i:last-child {
    transition: transform 0.3s ease;
}

.main-join-button:hover i:last-child {
    transform: translateX(8px);
}

.auto-redirect-info {
    color: #ccc;
    font-size: 1rem;
}

.redirect-toggle {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.redirect-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00d4ff;
}

.redirect-toggle label {
    font-weight: 600;
    color: #00d4ff;
}

#redirectCountdown {
    color: #ff4444;
    font-weight: 700;
    font-size: 1.1rem;
}

.click-anywhere {
    font-style: italic;
    opacity: 0.8;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 0.8; }
    51%, 100% { opacity: 0.4; }
}

/* Click overlay effect */
.click-effect {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.6), transparent 70%);
    pointer-events: none;
    z-index: 1000;
    animation: clickRipple 0.8s ease-out;
}

@keyframes clickRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    margin: 40px 0;
}

.banner-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.banner-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.7);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 212, 255, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    max-width: 800px;
    padding: 20px;
}

.alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff4444;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Event Details */
.event-details {
    margin: 60px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.detail-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 5px;
}

.detail-content p {
    color: #ccc;
    font-weight: 400;
}

/* Guidelines */
.guidelines {
    margin: 60px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guidelines h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guidelines h2 i {
    color: #00d4ff;
}

.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guideline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid #00d4ff;
}

.guideline-item i {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.guideline-item span {
    color: #ccc;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    margin: 60px 0;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.cta-content h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    margin-bottom: 40px;
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099cc, #00d4ff);
}

.join-button i:first-child {
    font-size: 1.3rem;
}

.join-button i:last-child {
    transition: transform 0.3s ease;
}

.join-button:hover i:last-child {
    transform: translateX(5px);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 80px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 5px;
}

.countdown-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-content p {
    color: #888;
    margin-bottom: 10px;
}

.footer-content p:last-child {
    color: #00d4ff;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .top-join-section {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .join-container h2 {
        font-size: 1.5rem;
    }
    
    .main-join-button {
        padding: 18px 30px;
        font-size: 1.1rem;
    }
    
    .banner-image {
        height: 300px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .guidelines {
        padding: 25px;
        margin: 40px 0;
    }
    
    .guideline-item {
        flex-direction: column;
        text-align: left;
    }
    
    .cta-section {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .countdown {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .countdown {
        justify-content: space-around;
    }
    
    .countdown-item {
        flex: 1;
        max-width: 70px;
    }
    
    .guidelines h2 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}