* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #050508;
    color: #ffffff;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050508;
    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.05);
    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(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    z-index: 1000;
}

.logo {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1px;
}

.logo span {
    color: #DCB450;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #8e8e93;
    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: #050508;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: #e6c265;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 180, 80, 0.2);
}

.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;
}

.dev-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 20px;
    background: #050508;
    overflow: hidden;
}

.hero-bg-fx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(220, 180, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(220, 180, 80, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220,180,80,0.1) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    filter: blur(40px);
}

.hero-core {
    max-width: 900px;
    z-index: 2;
}

.badge {
    background: rgba(220, 180, 80, 0.1);
    color: #DCB450;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid rgba(220, 180, 80, 0.3);
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(220, 180, 80, 0.15);
}

.dev-hero h1 {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.glow-text {
    color: #DCB450;
    text-shadow: 0 0 40px rgba(220, 180, 80, 0.5);
}

.dev-hero p {
    font-size: 20px;
    color: #a1a1aa;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
    font-weight: 400;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.mouse {
    width: 30px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: #DCB450;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
    box-shadow: 0 0 10px rgba(220, 180, 80, 0.8);
}

@keyframes scrollMouse {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

.showcase-container {
    position: relative;
    width: 100%;
}

.scroll-section {
    position: relative;
    height: 200vh;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    overflow: hidden;
    gap: 80px;
}

.media-container {
    flex: 1.2;
    position: relative;
    height: 65vh;
    background: #0d0d12;
    border-radius: 24px;
    border: 1px solid rgba(220, 180, 80, 0.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9), 0 0 60px rgba(220, 180, 80, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) scale(0.9) translateY(100px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 1.2s ease;
}

.media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(5,5,8,0.95) 100%);
    pointer-events: none;
}

.text-container {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateY(60px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

.section-number {
    font-size: 18px;
    font-weight: 800;
    color: #DCB450;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(220, 180, 80, 0.4);
}

.text-container h2 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 25px;
    line-height: 1.1;
    text-transform: uppercase;
}

.text-container p {
    font-size: 17px;
    color: #a1a1aa;
    line-height: 1.8;
    margin-bottom: 35px;
}

.feature-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-tags span {
    background: rgba(220, 180, 80, 0.05);
    border: 1px solid rgba(220, 180, 80, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #DCB450;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.media-container.active {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) scale(1) translateY(0);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9), 0 0 80px rgba(220, 180, 80, 0.1);
}

.text-container.active {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050508;
}

::-webkit-scrollbar-thumb {
    background: #DCB450;
    border-radius: 10px;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #DCB450 #050508;
}

.footer {
    background: #020203;
    padding: 80px 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 800;
}

.footer-brand span {
    color: #DCB450;
}

.footer-brand p {
    color: #666;
    font-size: 15px;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 15px;
    color: #DCB450;
    font-weight: 700;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #8e8e93;
    font-size: 15px;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #DCB450;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
    color: #444;
}

@media (max-width: 1024px) {
    .sticky-wrapper {
        padding: 0 5%;
        gap: 40px;
    }
    
    .text-container h2 {
        font-size: 38px;
    }

    .dev-hero h1 {
        font-size: 56px;
    }
}

@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: 80%;
        height: 100vh;
        background: #0a0a0f;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.6);
        border-left: 1px solid rgba(255,255,255,0.03);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .btn-sidebar {
        display: block;
        background: #DCB450;
        color: #050508 !important;
        padding: 12px 30px;
        border-radius: 6px;
        font-weight: 700;
    }

    .dev-hero h1 {
        font-size: 42px;
    }

    .dev-hero p {
        font-size: 16px;
    }

    .scroll-section {
        height: auto;
    }

    .sticky-wrapper {
        position: relative;
        height: auto;
        flex-direction: column;
        padding: 80px 20px;
        gap: 35px;
    }

    .media-container {
        width: 100%;
        height: 45vh;
        flex: none;
        opacity: 1;
        transform: none !important;
    }

    .text-container {
        width: 100%;
        max-width: 100%;
        flex: none;
        opacity: 1;
        transform: none !important;
        text-align: left;
    }
    
    .text-container h2 {
        font-size: 32px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}