:root {
    --primary-bg: #070414;
    --secondary-bg: #120A24;
    --card-bg: rgba(20, 10, 40, 0.4);
    
    /* Neon Palette */
    --neon-cyan: #00f3ff;
    --neon-pink: #ff00ff;
    --neon-purple: #b026ff;
    --neon-green: #39ff14;
    
    --text-main: #ffffff;
    --text-muted: #b5a8d5;
    
    --glass-border: rgba(255, 0, 255, 0.2);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Noto Sans KR', sans-serif;
}

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

body {
    background-color: var(--primary-bg);
    background-image: radial-gradient(circle at 15% 50%, rgba(176, 38, 255, 0.1), transparent 50%),
                      radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.1), transparent 50%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.gold-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.6), 0 0 20px rgba(0, 243, 255, 0.4);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 4, 20, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 30px var(--neon-purple);
}

.navbar nav ul {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar nav a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(7, 4, 20, 0.9), rgba(18, 10, 36, 0.9));
    padding-top: 80px; /* Offset for navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 243, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 15px var(--neon-purple), 0 0 30px var(--neon-pink);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4), 0 0 60px rgba(255, 0, 255, 0.2);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.neon-border {
    border: 3px solid rgba(255, 0, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), inset 0 0 20px rgba(255, 0, 255, 0.3);
}

/* Visual Banner Section */
.banner-section {
    position: relative;
    z-index: 2;
    margin-top: -30px; /* Pull it slightly up */
}

.banner-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    max-height: 400px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.8), 0 0 40px rgba(176, 38, 255, 0.6);
    background: linear-gradient(90deg, #ff33ff, #c350ff);
}

.icon {
    width: 24px;
    height: 24px;
}

.channel-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Increased gap so buttons never touch or look merged */
    margin-bottom: 30px;
    width: 100%;
}

.channel-btn {
    padding: 16px 14px;
    font-size: 1rem;
    justify-content: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    overflow: hidden;
}

.channel-btn.ch-1 {
    background: linear-gradient(135deg, #ff007f 0%, #7928ca 100%);
    border-color: #ff66b2;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 0, 127, 0.6);
}
.channel-btn.ch-1:hover {
    background: linear-gradient(135deg, #ff3399 0%, #9833ff 100%);
    box-shadow: 0 0 35px rgba(255, 0, 127, 0.9), 0 12px 25px rgba(0, 0, 0, 0.9);
    transform: translateY(-4px) scale(1.03);
}
.channel-btn.ch-1 .channel-sub { color: #ffe6f2; text-shadow: 0 0 5px rgba(0,0,0,0.5); }

.channel-btn.ch-2 {
    background: linear-gradient(135deg, #00f2fe 0%, #0072ff 100%);
    border-color: #80f9ff;
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 254, 0.6);
}
.channel-btn.ch-2:hover {
    background: linear-gradient(135deg, #33f5ff 0%, #1a82ff 100%);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.9), 0 12px 25px rgba(0, 0, 0, 0.9);
    transform: translateY(-4px) scale(1.03);
}
.channel-btn.ch-2 .channel-sub { color: #00264d; font-weight: 700; text-shadow: none; }
.channel-btn.ch-2 .icon { color: #000; }

.channel-btn.ch-3 {
    background: linear-gradient(135deg, #ffd200 0%, #f7971e 100%);
    border-color: #ffe666;
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 210, 0, 0.6);
}
.channel-btn.ch-3:hover {
    background: linear-gradient(135deg, #ffe033 0%, #ffaa33 100%);
    box-shadow: 0 0 35px rgba(255, 210, 0, 0.9), 0 12px 25px rgba(0, 0, 0, 0.9);
    transform: translateY(-4px) scale(1.03);
}
.channel-btn.ch-3 .channel-sub { color: #4d3300; font-weight: 700; text-shadow: none; }
.channel-btn.ch-3 .icon { color: #000; }

.channel-btn-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.25;
}

.channel-btn-text span {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.channel-sub {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 3px;
    transition: all 0.3s ease;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px 20px;
    backdrop-filter: blur(15px);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.15), inset 0 0 15px rgba(0, 243, 255, 0.1);
    background: rgba(20, 10, 40, 0.6);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.benefit-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Rules Section */
.rules {
    background-color: var(--secondary-bg);
}

.rules-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-card {
    background: var(--card-bg);
    border: 1px solid rgba(176, 38, 255, 0.3); /* Neon purple border */
    padding: 30px 40px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 20px rgba(176, 38, 255, 0.05);
}

.rule-card:hover {
    transform: translateX(8px);
    border-color: var(--neon-pink);
    box-shadow: -5px 10px 30px rgba(255, 0, 255, 0.15), inset 0 0 15px rgba(255, 0, 255, 0.1);
}

.rule-card h3 {
    color: var(--neon-pink);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.4);
}

.rule-card p {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.rule-card p strong {
    color: var(--neon-cyan);
}

.rule-card p:last-child {
    margin-bottom: 0;
}

/* Contact Section in Hero */
.contact-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    min-width: 200px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-text h3 {
    margin-bottom: 2px;
    font-size: 1rem;
    color: var(--text-main);
}

.contact-text span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-card.telegram:hover {
    border-color: #00f3ff;
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.2);
}
.contact-card.telegram:hover .contact-icon {
    color: #00f3ff;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.contact-card.kakao:hover {
    border-color: #fae100;
    box-shadow: 0 10px 25px rgba(250, 225, 0, 0.2);
}
.contact-card.kakao:hover .contact-icon {
    color: #fae100;
    filter: drop-shadow(0 0 10px rgba(250, 225, 0, 0.5));
}

/* Footer */
footer {
    background: #04020a;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 0, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neon-purple);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

footer p {
    color: #7a6b9c;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.copyright {
    color: #554876;
    font-size: 0.8rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

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

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(255, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 255, 0); }
}

.pulse {
    animation: pulseGlow 2s infinite;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--neon-cyan);
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--neon-cyan);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .hamburger {
        display: flex;
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(7, 4, 20, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(0, 243, 255, 0.2);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .navbar nav.active {
        right: 0;
    }

    .navbar nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .navbar nav a {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rule-card {
        padding: 20px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image-wrapper {
        display: none; /* Optionally hide or shrink the 3D avatar on small mobile if it takes too much space, or we can just size it down */
    }

    /* We will just resize it instead of hiding */
    .hero-image-wrapper {
        display: flex;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .channel-buttons-grid {
        grid-template-columns: 1fr;
    }
}
