@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Outfit:wght@300;400;700&display=swap');

:root {
    --primary-color: #ffe400;
    /* 무한도전 옐로우 */
    --secondary-color: #ff007f;
    /* 무한도전 핑크 */
    --accent-color: #00d4ff;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Black Han Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Background Animation */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
    background: var(--secondary-color);
    width: 300px;
    height: 300px;
    right: 0;
    bottom: 0;
    animation-delay: -5s;
}

@keyframes move {
    from {
        transform: translate(-10%, -10%) scale(1);
    }

    to {
        transform: translate(20%, 20%) scale(1.2);
    }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header (Logo Style at Top) */
header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.header-logo {
    width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 0px var(--secondary-color), 4px 4px 0px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
    font-weight: 200;
}

.hero-subtitle {
    font-size: 1.1rem;
    background: var(--secondary-color);
    padding: 0.3rem 1.5rem;
    transform: rotate(1deg);
    box-shadow: 5px 5px 0px var(--dark-color);
}

/* Main Content */
.main-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.main-card:hover {
    transform: translateY(-10px);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Interactive Elements */
.skull-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.skull-btn:hover {
    transform: scale(1.1) rotate(15deg);
}

.skull-btn img {
    width: 60%;
}

.skull-fx {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-200px) scale(2);
        opacity: 0;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .main-card {
        padding: 1.5rem;
    }

    .header-logo {
        width: 180px;
    }
}

/* Added Utility Classes */
.text-center-italic {
    text-align: center;
    font-style: italic;
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 3rem;
}