/* styles.css */
* { margin: 0; padding: 0; box-sizing: border-box; border: none; }
body { font-family: 'Kanit', Helvetica, sans-serif; background: #1c1c1c; color: white; }

.main-content {
    position: relative;
    min-height: 100vh;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    opacity: 0;
    transform: translateY(-1rem);
    animation: fadeIn 1s 0.2s ease forwards;
    position: relative;
    margin-left: -33px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 23px;
    transition: all 0.3s;
    font-size: 1.5rem;
    position: relative;
    min-width: 140px;
    justify-content: center;
    flex-direction: row;
    cursor: pointer;
}
.nav-item span{
    white-space: nowrap;
}
.nav-item:hover { background: rgba(253, 127, 56, 0.3); }
.nav-item.active { background: #fd7f38; box-shadow: 0 4px 20px rgba(253, 127, 56, 0.4); }

.icon { width: 30px; height: 30px; object-fit: cover; transition: all 0.3s; }
.home { width: 30px; height: 30px; fill: #fd7f38; }
.nav-item.active .icon { transform: scale(1.1); filter: brightness(1.2); }

.indicator { width: 0; height: 3px; background: #fd7f38; border-radius: 2px; transition: all 0.3s;
    opacity: 0; margin-top: 4px; box-shadow: 0 0 8px #fd7f38; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); }
    .indicator.active { width: 40px; opacity: 1; animation: pulse 2s ease-in-out infinite; }
    .nav-item:hover .indicator:not(.active) { width: 20px; opacity: 0.6; }

    /* Hero */
    .hero { padding: 3rem 1rem; display: flex; align-items: center; justify-content: center;
        gap: 2rem; max-width: 1200px; margin: 0 auto; position: relative; }
        .hero-group { display: flex; align-items: center; gap: 1.5rem; }
        .server-info { text-align: right; }
        .count { color: #fd7f38; font-size: 1.5rem; }
        .address { color: white; font-size: 1.2rem; }

        .play-btn { width: 89px; height: 89px; background: #fd7e14; border-radius: 50%; display: flex;
            align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s; }
            .play-btn:hover { transform: scale(1.1); }
            .play { width: 37px; height: 42px; fill: white; }

            .logo { width: 450px; height: auto; }
            .discord { width: 91px; height: 91px; object-fit: cover; }

            /* Welcome Section */
            .welcome .countdown-wrap {
                width: 100%;
            }
            .welcome {
                justify-content: center;
                text-align: center;
                padding: 2rem 1rem;
                display: flex;
                align-items: center;
                gap: 1.5rem;
                max-width: 1200px;
                margin: 0 auto;
                background: #1c1c1c;
                padding: 2rem;
                border-radius: 12px;
                border: 1px solid rgba(255, 255, 255, 0.05);
                position: relative;
                z-index: 5;
            }

            .welcome img {
                width: 240px;
                height: 160px;
                object-fit: cover;
                flex-shrink: 0;
            }

            .text {
                flex: 1;
            }

            .text h1 {
                color: #fd7f38;
                font-size: 2rem;
                margin-bottom: 0.5rem;
            }

            .text p {
                color: #6f6f6f;
                font-size: 1.4rem;
            }

            .buttons {
                display: flex;
                gap: 1rem;
                flex-shrink: 0;
                margin-left: auto;
            }

            .buttons .btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                padding: 0.75rem 2rem;
                border-radius: 6px;
                font-size: 1.1rem;
                background: #fd7f38;
                color: white;
                cursor: pointer;
                transition: all 0.2s;
                font-family: 'Kanit', Helvetica;
                border: none;
                min-width: 120px;
                white-space: nowrap;
            }

            .buttons .btn:hover {
                background: rgba(253, 127, 56, 0.9);
                transform: translateY(-2px);
            }

            /* Countdown Section */
            .countdown-section {
                padding: 40px 20px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
            }

            .countdown-wrap {
                z-index: 2;
                text-align: center;
                color: #fff;
                backdrop-filter: blur(4px);
            }

            .countdown-title {
                font-family: Kanit, sans-serif;
                font-size: 28px;
                margin: 0 0 14px;
                color: #ffb86b;
                text-shadow: 0 6px 18px rgba(253,127,56,.12);
            }

            .countdown {
                display: flex;
                gap: 18px;
                justify-content: center;
                align-items: center;
            }

            .time-box {
                background: rgba(253,127,56,0.14);
                padding: 12px 18px;
                border-radius: 12px;
                min-width: 84px;
            }

            .num {
                display: block;
                font-family: Kanit, sans-serif;
                font-weight: 700;
                font-size: 28px;
                color: #ffd8b3;
                text-align: center;
            }

            .label {
                display: block;
                font-size: 12px;
                color: #ffd;
                opacity: .85;
                text-align: center;
                margin-top: 6px;
            }

            .countdown-sub {
                margin-top: 12px;
                color: #ffeedb;
                opacity: .9;
                font-size: 14px;
            }

            .time-box.pulse {
                transform: scale(1.08);
                transition: transform .18s ease;
            }

            /* Glow effect */
            .glow-effect {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 169px;
                background: #fd7f38;
                filter: blur(255.5px);
                pointer-events: none;
                z-index: 1;
            }

            /* Footer */
            footer {
                background: #1c1c1c;
                width: 100%;
                position: relative;
                z-index: 20;
                margin-top: -1px;
            }

            .footer-content {
                background: #1c1c1c;
                border-radius: 23px 23px 0 0;
                padding: 4rem 3rem 3rem;
                max-width: 1800px;
                margin: 0 auto;
                position: relative;
                z-index: 20;
            }
            .columns { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6rem; margin-bottom: 4rem; justify-content: center; }
            .col { text-align: left; }

            .columns .col:nth-child(2) {
                margin-left: 3.5rem;
            }
            .columns .col:nth-child(3) {
                margin-left: 25rem;
            }
            .col .title { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
            .col h3 { font-size: 2.375rem; }
            .col p, .col nav { color: #4a4a4a; font-size: 1.25rem; line-height: 1.4; }
            .col nav button { background: none; color: #4a4a4a; cursor: pointer; font: inherit; }
            .col nav button:hover { color: #949494; }
            .col span { color: #949494; }

            .glow { width: 39px; height: 15px; background: #fd7f38; border-radius: 23px;
                box-shadow: 0 0 7px #fd7f38, 0 0 14px #fd7f38, 0 0 49px #fd7f38, 0 0 98px #fd7f38, 0 0 168px #fd7f38, 0 0 250px #fd7f38; }

                .separator { height: 1px; background: rgba(255, 255, 255, 0.1); margin-bottom: 2rem; }
                .bottom { font-size: 1.125rem; line-height: 1.4; text-align: center; }
                .copyright { color: white; }
                .disclaimer { color: #4a4a4a; }

                /* Animations */
                @keyframes fadeIn {
                    0% { opacity: 0; transform: translateY(-10px); }
                    100% { opacity: 1; transform: none; }
                }
                @keyframes pulse {
                    0%, 100% { box-shadow: 0 0 8px #fd7f38; }
                    50% { box-shadow: 0 0 15px #fd7f38, 0 0 20px rgba(253, 127, 56, 0.5); }
                }

                [class*="fade-"] { opacity: 0; transform: translateY(-1rem); animation: fadeIn 1s ease forwards; }
                .fade-1 { animation-delay: 0.2s; } .fade-2 { animation-delay: 0.4s; }
                .fade-3 { animation-delay: 0.6s; } .fade-4 { animation-delay: 0.8s; }

                /* Responsive */
                @media (max-width: 768px) {
                    .hero { flex-direction: column; gap: 2rem; }
                    .nav { gap: 1rem; flex-wrap: wrap; }
                    .nav-item { font-size: 1.2rem; padding: 0.5rem 1rem; }
                    .indicator.active { width: 30px; }
                    .welcome { flex-direction: column; text-align: center; }
                    .text { margin-right: 0; }
                    .buttons { margin-left: 0; margin-top: 1rem; }
                    .logo { width: 300px; }
                    .footer-content { padding: 2rem 1rem; }
                    .columns { grid-template-columns: 1fr; gap: 3rem; }
                    .columns .col:nth-child(2) { margin-left: 0; }
                    .columns .col:nth-child(3) { margin-left: 0; }
                }
                .bottom {
                    font-size: 1.125rem;
                    line-height: 1.4;
                    text-align: left;
                }

                .copyright {
                    color: white;
                }

                .disclaimer {
                    color: #4a4a4a;
                    display: block;
                    margin-top: 0.5rem;
                }
                .play-btn {
                    width: 79px;
                    height: 79px;
                    background: #fd7e14;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    cursor: default;
                    opacity: 0.7;
                }
                .play {
                    width: 40px;
                    height: 44px;
                    fill: #1c1c1c;
                }
                .play-btn:hover {
                    transform: none;
                }
                /* Logo floating animation */
                .logo {
                    width: 450px;
                    height: auto;
                    animation: fadeIn 1s 0.4s ease forwards, float 3s ease-in-out infinite;
                    animation-delay: 0.4s, 1.4s;
                }

                @keyframes float {
                    0%, 100% {
                        transform: translateY(0);
                    }
                    50% {
                        transform: translateY(-10px);
                    }
                }
                .hero-group.fade-3 .server-info {
                    min-width: 200px;
                    text-align: left;
                }

                .hero-group.fade-3 .address {
                    display: inline-block;
                    min-width: 180px;
                    text-align: left;
                    transition: all 0.3s ease;
                }

                /* Countdown Responsive */
                @media (max-width: 520px) {
                    .countdown {
                        gap: 10px;
                    }
                    .time-box {
                        min-width: 60px;
                        padding: 8px 10px;
                    }
                    .num {
                        font-size: 20px;
                    }
                }
