/* ===================================
   HERO SECTION - Crystalline Dark Theme
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 120px;
    background: transparent;
    overflow: hidden;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-on-dark);
    padding: var(--spacing-2xl);
    max-width: 900px;
}

/* Crystal Badge */
.hero-badge {
    --poly-roundness: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0 var(--spacing-md);
    height: 32px;
    background: rgba(38, 38, 38, 0.5);
    border: 1px solid var(--border-medium);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    margin-bottom: var(--spacing-lg);
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% var(--poly-roundness),
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        var(--poly-roundness) 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
    position: relative;
}

.hero-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 199, 0, 0.5);
    margin-right: var(--spacing-xs);
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-title strong {
    font-weight: 800;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Crystalline CTA Button */
.hero-cta {
    --poly-roundness: 16px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-2xl);
    height: 64px;
    background: var(--bg-primary);
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% 0,
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        0 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
    box-shadow: inset 0 0 54px 0 rgba(235, 184, 0, 0.15);
}

.hero-cta::before,
.hero-cta::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 2px;
    background: var(--primary-color);
}

.hero-cta::before {
    top: 6.5px;
    left: 6.5px;
    transform: rotate(-45deg);
    transform-origin: top left;
}

.hero-cta::after {
    bottom: 6.5px;
    right: 6.5px;
    transform: rotate(-45deg);
    transform-origin: bottom right;
}

.hero-cta:hover {
    box-shadow: 
        inset 0 0 54px 0 rgba(235, 184, 0, 0.25),
        0 0 30px rgba(255, 199, 0, 0.3);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow {
    width: 28px;
    height: 48px;
    border: 2px solid var(--primary-color);
    border-radius: 24px;
    position: relative;
    opacity: 0.6;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% { 
        top: 8px;
        opacity: 1;
    }
    50% { 
        top: 20px;
        opacity: 0.3;
    }
}

/* ===================================
   EVENTS SECTION - Dark Theme
   =================================== */

.events-section {
    position: relative;
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(255, 199, 0, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(245, 158, 11, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-title strong {
    font-weight: 800;
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

/* ===================================
   EVENT CARDS - Crystalline Style
   =================================== */

.event-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.event-card:hover {
    border-color: var(--border-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card), 0 0 40px rgba(255, 199, 0, 0.1);
}

.event-card:hover::before {
    opacity: 1;
}

.event-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.9);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Crystalline Badge */
.event-badge {
    --poly-roundness: 6px;
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    clip-path: polygon(
        var(--poly-roundness) 0,
        calc(100% - var(--poly-roundness)) 0,
        100% var(--poly-roundness),
        100% calc(100% - var(--poly-roundness)),
        calc(100% - var(--poly-roundness)) 100%,
        var(--poly-roundness) 100%,
        0 calc(100% - var(--poly-roundness)),
        0 var(--poly-roundness)
    );
}

.event-content {
    padding: var(--spacing-lg);
    background: rgba(10, 10, 10, 0.9);
}

.event-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
}

.event-meta svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.event-link:hover {
    gap: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(255, 199, 0, 0.5));
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-bottom: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .hero-cta {
        height: 56px;
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .event-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-content {
        padding: var(--spacing-md);
    }
    
    .event-title {
        font-size: 1.25rem;
    }
}
