:root {
    --primary-color: #9D4EDD;
    --secondary-color: #00F5FF;
    --accent-color: #FF006E;
    --dark-color: #0A0A0A;
    --highlight-color: #FFD60A;
    --text-color: #FFFFFF;
    --font-main: 'Noto Sans KR', sans-serif;
    --font-header: 'Black Han Sans', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
}

.big-font {
    font-size: 4.5rem;
    color: var(--primary-color);
    text-shadow:
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color),
        0 0 40px var(--primary-color),
        0 0 50px var(--secondary-color),
        0 0 60px var(--secondary-color);
    letter-spacing: 4px;
}

.medium-font {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold;
    color: var(--highlight-color);
    text-shadow: 0 0 10px var(--highlight-color);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0A0A0A 0%, #1a0033 50%, #0A0A0A 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(0deg, transparent 24%, rgba(157, 78, 221, 0.1) 25%, rgba(157, 78, 221, 0.1) 26%, transparent 27%, transparent 74%, rgba(157, 78, 221, 0.1) 75%, rgba(157, 78, 221, 0.1) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 245, 255, 0.1) 25%, rgba(0, 245, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(0, 245, 255, 0.1) 75%, rgba(0, 245, 255, 0.1) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

.hero-image-container {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    overflow: hidden;
    margin: 0 auto 2rem;
    box-shadow:
        0 0 30px var(--primary-color),
        0 0 60px var(--secondary-color),
        0 0 80px var(--accent-color),
        inset 0 0 20px rgba(157, 78, 221, 0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kpop-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: floatParticle 4s ease-in-out infinite;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

.btn-kpop {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-family: var(--font-header);
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow:
        0 0 10px var(--primary-color),
        0 4px 15px rgba(157, 78, 221, 0.4);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-kpop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-kpop:hover::before {
    left: 100%;
}

.btn-kpop:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px var(--primary-color),
        0 0 30px var(--secondary-color),
        0 6px 20px rgba(157, 78, 221, 0.6);
    color: #fff;
}

.kpop-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(26, 0, 51, 0.9));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow:
        0 0 20px rgba(157, 78, 221, 0.3),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.kpop-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.kpop-card:hover::before {
    left: 100%;
}

.kpop-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow:
        0 0 30px rgba(157, 78, 221, 0.5),
        0 0 40px rgba(0, 245, 255, 0.3),
        inset 0 0 30px rgba(0, 245, 255, 0.2);
}

.kpop-icon {
    color: var(--accent-color);
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.kpop-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a0033 100%);
    position: relative;
}

.hunter-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #001a33 100%);
    position: relative;
}

.demon-section {
    background: linear-gradient(135deg, #1a0033 0%, #0A0A0A 100%);
    position: relative;
}

.countdown-item.kpop-box {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2), rgba(0, 245, 255, 0.2));
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 15px;
    min-width: 90px;
    margin: 0 10px;
    box-shadow:
        0 0 15px rgba(0, 245, 255, 0.3),
        inset 0 0 15px rgba(157, 78, 221, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--highlight-color);
    font-family: var(--font-header);
    text-shadow: 0 0 10px var(--highlight-color);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: bold;
}

.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: 3px solid var(--secondary-color);
    box-shadow:
        0 0 20px var(--primary-color),
        0 0 30px var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    animation: lightstickGlow 2s ease-in-out infinite;
}

@keyframes lightstickGlow {

    0%,
    100% {
        box-shadow:
            0 0 20px var(--primary-color),
            0 0 30px var(--secondary-color);
    }

    50% {
        box-shadow:
            0 0 30px var(--primary-color),
            0 0 50px var(--secondary-color),
            0 0 60px var(--accent-color);
    }
}

.btn-music-circle i {
    color: #fff;
    font-size: 1.5rem;
    z-index: 1;
    filter: drop-shadow(0 0 5px #fff);
}

.btn-music-circle:hover {
    transform: scale(1.2) rotate(15deg);
}

.marinero-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item-marinero {
    width: 250px;
    height: 300px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1), rgba(0, 245, 255, 0.1));
    padding: 10px;
    box-shadow:
        0 0 15px rgba(157, 78, 221, 0.3),
        inset 0 0 15px rgba(0, 245, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery-item-marinero:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 25px rgba(157, 78, 221, 0.5),
        0 0 35px rgba(0, 245, 255, 0.3);
    border-color: var(--secondary-color);
}

.gallery-item-marinero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

footer {
    background: linear-gradient(135deg, #0A0A0A, #1a0033) !important;
    border-top: 2px solid var(--primary-color);
}

.wave-divider svg {
    fill: var(--dark-color);
}

.anchor-icon {
    color: var(--highlight-color);
    margin-bottom: 1rem;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--highlight-color));
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--highlight-color));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--highlight-color));
    }
}

.section-padding {
    padding: 5rem 0;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .big-font {
        font-size: 3rem;
    }

    .medium-font {
        font-size: 2rem;
    }

    .countdown-container {
        gap: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .gallery-item-marinero {
        width: calc(50% - 20px);
        height: auto;
        min-height: 250px;
    }

    .btn-music-circle {
        width: 50px;
        height: 50px;
    }

    .btn-music-circle i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-item-marinero {
        width: 100%;
        max-width: 300px;
    }
}