:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #e50914; /* Netflix/Cinema Red */
    --discord-color: #5865F2;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background Effects */
#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle 600px at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.03), transparent 80%);
    transition: background 0.1s ease;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: -2;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hero Content */
.hero-content {
    animation: fadeIn 1.5s ease-out;
}

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

.glitch {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Glitch Effect - Simple CSS version */
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(12px, 9999px, 86px, 0); }
    5% { clip: rect(65px, 9999px, 20px, 0); }
    10% { clip: rect(6px, 9999px, 60px, 0); }
    15% { clip: rect(48px, 9999px, 32px, 0); }
    20% { clip: rect(3px, 9999px, 98px, 0); }
    100% { clip: rect(45px, 9999px, 12px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(82px, 9999px, 3px, 0); }
    5% { clip: rect(35px, 9999px, 100px, 0); }
    10% { clip: rect(2px, 9999px, 45px, 0); }
    15% { clip: rect(98px, 9999px, 12px, 0); }
    20% { clip: rect(54px, 9999px, 63px, 0); }
    100% { clip: rect(15px, 9999px, 78px, 0); }
}

.sub-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #ccc;
    font-weight: 300;
}

.description strong {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 4px;
}

/* Discord Button */
.discord-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background-color: var(--discord-color);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.icon-wrapper {
    margin-right: 12px;
    font-size: 1.4rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.small-text {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
}

footer {
    text-align: center;
    padding-bottom: 1rem;
    font-size: 0.8rem;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .glitch {
        font-size: 3rem;
    }
    .sub-title {
        font-size: 1.5rem;
    }
    .description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    .discord-btn {
        width: 100%;
        max-width: 300px;
    }
}
