* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0d0d12;
    color: #ffffff;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d12;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top: 4px solid #DCB450;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#main-content {
    opacity: 0;
    transition: opacity 0.8s ease;
}

#main-content.visible {
    opacity: 1;
}

.navbar {
    position: fixed;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13,13,18,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 22px;
}

.logo span {
    color: #DCB450;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #bbb;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #DCB450;
}

.btn-sidebar {
    display: none;
}

.btn-primary {
    background: #DCB450;
    color: #111;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    background: #e6c265;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: #fff;
    color: #111;
    transform: translateY(-2px);
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a24, #0d0d12);
    padding: 0 20px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #DCB450;
}

.hero p {
    color: #aaa;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.section {
    padding: 100px 20px;
    text-align: center;
}

.container {
    max-width: 900px;
    margin: auto;
}

.section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #DCB450;
}

.section p {
    color: #aaa;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.dark {
    background: #0f0f15;
}

.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 8px;
    width: 100%;
}

.lead-text {
    font-size: 20px !important;
    color: #fff !important;
    font-weight: 600;
    margin-bottom: 25px !important;
}

.announcement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.date-card {
    transition: border-color 0.3s;
}

.date-card:hover {
    border-color: #DCB450;
}

.date-card h3 {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 10px;
    font-weight: 600;
}

.date-card .highlight {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #DCB450;
}

.info-box {
    background: rgba(220, 180, 80, 0.05);
    border-left: 4px solid #DCB450;
    padding: 30px;
    text-align: left;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.info-box h3 {
    color: #DCB450;
    margin-bottom: 15px;
    font-size: 20px;
}

.info-box p {
    margin: 0;
    color: #ddd;
}

.future-plans {
    color: #777 !important;
    font-style: italic;
    margin-top: 30px !important;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.gallery-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: #DCB450;
}

.img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.gallery-item:hover .img-wrapper img {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-info {
    padding: 20px;
    text-align: center;
}

.gallery-info h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.gallery-action {
    margin-top: 20px;
}

.btn-dev-explore {
    display: inline-block;
    background: transparent;
    color: #DCB450;
    border: 2px solid #DCB450;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-dev-explore:hover {
    background: #DCB450;
    color: #111;
    box-shadow: 0 0 20px rgba(220, 180, 80, 0.4);
    transform: translateY(-3px);
}

.join-section {
    background: #0d0d12;
}

.team-signature {
    margin-top: 30px !important;
    color: #fff !important;
}

.team-signature strong {
    color: #DCB450;
    font-size: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d12;
}

::-webkit-scrollbar-thumb {
    background: #DCB450;
    border-radius: 10px;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #DCB450 #0d0d12;
}

.footer {
    background: #0a0a0f;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-brand span {
    color: #DCB450;
}

.footer-brand p {
    color: #777;
    font-size: 14px;
}

.footer-links h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #DCB450;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #DCB450;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #666;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 25px;
    }

    .nav-discord {
        display: none;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #DCB450;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #DCB450;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #0f0f15;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid rgba(255,255,255,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .btn-sidebar {
        display: block;
        background: #DCB450;
        color: #111 !important;
        padding: 12px 30px;
        border-radius: 6px;
        font-weight: 700;
    }

    .hero h1 {
        font-size: 42px;
    }

    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .info-box {
        padding: 20px;
        border-radius: 8px;
        border-left: none;
        border-top: 4px solid #DCB450;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}