/* ===== VARIABLES & RESET ===== */
:root {
    --color-primary: #00ffff;
    --color-secondary: #ff00ff;
    --color-accent: #8b00ff;
    --color-dark: #0a0a0f;
    --color-darker: #050508;
    --color-text: #ffffff;
    --color-text-muted: #a0a0b0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--color-darker);
    color: var(--color-text);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== VIDEO BACKGROUND ===== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: blur(4px) brightness(0.4);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
                rgba(10, 10, 15, 0.75) 0%,
                rgba(5, 5, 8, 0.92) 100%);
    z-index: 1;
}

/* ===== FLARES ===== */
.flares {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
    animation: flareFloat 20s infinite ease-in-out;
}

.flare-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.flare-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-secondary), transparent);
    bottom: 20%;
    right: 10%;
    animation-delay: 7s;
}

.flare-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-accent), transparent);
    top: 50%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes flareFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    33% {
        transform: translate(20px, -30px) scale(1.05);
        opacity: 0.18;
    }
    66% {
        transform: translate(-15px, 20px) scale(0.95);
        opacity: 0.08;
    }
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(15px, 3vw, 40px);
    flex-wrap: wrap;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
    background: rgba(0, 255, 255, 0.1);
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* ===== CONTAINER ===== */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    gap: 40px;
}

/* ===== PROFILE SECTION ===== */
.profile-section {
    position: relative;
}

.profile-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3),
                0 0 40px rgba(255, 0, 255, 0.2);
    border: 3px solid transparent;
    background: linear-gradient(var(--color-dark), var(--color-dark)) padding-box,
                linear-gradient(135deg, var(--color-primary), var(--color-secondary)) border-box;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5),
                0 0 60px rgba(255, 0, 255, 0.3);
}

.profile-circle:hover img {
    transform: scale(1.05);
}

/* ===== LOGO SECTION ===== */
.logo-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    background: linear-gradient(135deg,
                var(--color-primary) 0%,
                var(--color-secondary) 50%,
                var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-text-muted);
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== WAVEFORM ===== */
.waveform-container {
    width: 100%;
    max-width: 300px;
    height: 30px;
    position: relative;
    margin: 10px 0 -10px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

#waveformCanvas {
    width: 100%;
    height: 100%;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ===== LATEST SET SECTION ===== */
.latest-set-section {
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    padding: 40px 0;
    position: relative;
}

.latest-set-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    border: 2px solid rgba(0, 255, 255, 0.2);
}

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

/* ===== SETS SECTION ===== */
.sets-section {
    width: 100%;
    max-width: 1200px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    padding: 40px 0;
    position: relative;
}

.sets-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
}

.sets-empty-message {
    text-align: center;
    padding: 60px 40px;
    background: rgba(10, 10, 15, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.sets-empty-message p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.set-item {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.7);
    border: 2px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.set-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

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

/* ===== ABOUT SECTION ===== */
.about-section {
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    padding: 40px 0;
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 255, 0.3), transparent);
}

.about-content {
    background: rgba(10, 10, 15, 0.7);
    border-radius: 15px;
    padding: clamp(30px, 5vw, 50px);
    border: 2px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
}

.about-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ===== EVENTS SECTION ===== */
.events-section {
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    padding: 40px 0;
    position: relative;
}

.events-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
}

.events-empty-message {
    text-align: center;
    padding: 60px 40px;
    background: rgba(10, 10, 15, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.events-empty-message p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    gap: 20px;
    background: rgba(10, 10, 15, 0.7);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.event-item:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 10px;
    padding: 10px;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    text-transform: uppercase;
    margin-top: 5px;
}

.event-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
}

.event-location {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    padding: 40px 0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(10, 10, 15, 0.7);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.contact-item i {
    font-size: 2rem;
    color: var(--color-primary);
    min-width: 40px;
    text-align: center;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-primary);
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    display: flex;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-link {
    position: relative;
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.7);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: var(--color-text);
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.social-link:nth-child(2):hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.social-link:nth-child(3):hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav {
        padding: 12px 0;
    }

    .nav-container {
        gap: 10px;
        padding: 0 15px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .container {
        gap: 35px;
        padding: 90px 15px 30px;
    }

    .latest-set-section,
    .sets-section,
    .about-section,
    .events-section,
    .contact-section {
        padding: 30px 0;
    }

    .latest-set-section::after,
    .sets-section::after,
    .about-section::after,
    .events-section::after {
        bottom: -30px;
        width: 80%;
    }

    .profile-circle {
        width: 120px;
        height: 120px;
    }

    .main-title {
        letter-spacing: 4px;
    }

    .subtitle {
        letter-spacing: 1px;
    }

    .sets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .waveform-container {
        height: 25px;
        max-width: 250px;
        margin: 8px 0 -8px;
    }

    .sets-empty-message {
        padding: 40px 30px;
    }

    .events-empty-message {
        padding: 40px 30px;
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-date {
        min-width: 60px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .flare {
        opacity: 0.08;
    }

    .flare-1,
    .flare-2,
    .flare-3 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 10px 0;
    }

    .nav-container {
        gap: 8px;
        padding: 0 10px;
    }

    .nav-link {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .container {
        gap: 30px;
        padding: 80px 15px 30px;
    }

    .latest-set-section,
    .sets-section,
    .about-section,
    .events-section,
    .contact-section {
        padding: 20px 0;
    }

    .latest-set-section::after,
    .sets-section::after,
    .about-section::after,
    .events-section::after {
        bottom: -25px;
        width: 90%;
    }

    .profile-circle {
        width: 100px;
        height: 100px;
    }

    .waveform-container {
        height: 20px;
        max-width: 200px;
        margin: 5px 0 -5px;
    }

    .social-section {
        gap: 15px;
    }

    .about-content {
        padding: 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .sets-empty-message {
        padding: 30px 20px;
    }

    .events-empty-message {
        padding: 30px 20px;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Force GPU acceleration for smooth animations */
.profile-circle,
.social-link,
.set-item,
.event-item,
.contact-item,
.nav-link {
    will-change: transform;
}

.main-nav {
    will-change: background, backdrop-filter;
}