:root {
    --bg-color: #0a0a0a;
    --accent-color: #ff6600; 
    --accent-glow: rgba(255, 102, 0, 0.4);
    --text-main: #ffffff;
    --text-secondary: #a0a0a0;
    --btn-hover: #e65c00;
    --github-color: #1a1e22;
    --discord-color: #5865F2;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior: none;
}

#smooth-wrapper { width: 100%; height: 100vh; }
#smooth-content { width: 100%; perspective: 1000px; }

.bg-glow {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at center, #1a1005 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.footer-link {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}


.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    transform-style: preserve-3d;
}

h1 {
    font-size: clamp(3rem, 15vw, 7rem);
    line-height: 1;
    letter-spacing: -3px;
    text-transform: uppercase;
}

h1 .accent {
    color: var(--accent-color);
    text-shadow: 0 0 40px var(--accent-glow);
    font-weight: 900;
}

h1 .dim { font-weight: 300; opacity: 0.9; }

.tagline {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    margin-top: 15px;
    letter-spacing: 4px;
    text-transform: lowercase;
}

.stats {
    margin-top: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--glass);
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    backdrop-filter: blur(5px);
}

.stats span { color: var(--accent-color); font-weight: 700; }

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    font-size: 1rem;
    color: white;
    border: none;
    white-space: nowrap;
}

.btn-main { background: var(--accent-color); box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2); }
.btn-main:hover { background: var(--btn-hover); transform: translateY(-3px); }

.btn-github { background: var(--github-color); border: 1px solid var(--border); }
.btn-github:hover { background: #24292e; transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }

.btn svg { margin-right: 10px; width: 20px; height: 20px; fill: currentColor; }

.video-section { 
    padding: 100px 20px;
    max-width: 1100px; 
    margin: 0 auto; 
    text-align: center;
    transform-style: preserve-3d;
}

.video-title { 
    font-size: clamp(1rem, 4vw, 1.2rem); 
    margin-bottom: 40px; 
    color: var(--text-secondary); 
    letter-spacing: 5px; 
    text-transform: uppercase; 
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9; 
    border-radius: clamp(12px, 4vw, 24px);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    background: #000;
}

.video-container iframe { width: 100%; height: 100%; border: none; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}

.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: #111;
    padding: clamp(20px, 8vw, 40px);
    border-radius: 24px;
    max-width: 450px;
    width: 100%;
    border: 1px solid var(--accent-color);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content { transform: scale(1); }

.modal-title { color: var(--accent-color); font-size: 1.5rem; margin-bottom: 20px; font-weight: 800; }
.modal-steps { list-style: none; counter-reset: step; }
.modal-steps li {
    margin-bottom: 12px; padding-left: 40px; position: relative;
    color: #ddd; font-size: 0.95rem;
}
.modal-steps li::before {
    content: counter(step); counter-increment: step;
    position: absolute; left: 0; top: -2px;
    width: 28px; height: 28px; background: var(--accent-color);
    border-radius: 50%; display: flex; justify-content: center;
    align-items: center; font-weight: bold; color: white; font-size: 0.8rem;
}

.discord-floating {
    position: fixed;
    bottom: 25px; right: 25px;
    width: 55px; height: 55px;
    background: #2c2f33; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transition: 0.3s; z-index: 1000; color: white;
    border: 1px solid var(--border);
}
.discord-floating:hover { transform: scale(1.1); background: var(--discord-color); }
.discord-floating svg { width: 28px; height: 28px; fill: currentColor; }

.show-more {
    position: absolute; bottom: 30px; 
    color: var(--text-secondary); background: none; border: none;
    cursor: pointer; display: flex; flex-direction: column; align-items: center;
    gap: 8px; font-family: inherit; font-size: 0.8rem; letter-spacing: 2px;
}
.arrow-down { font-size: 1.2rem; animation: bounce 2s infinite; }

footer { padding: 60px 20px; text-align: center; opacity: 0.5; font-size: 0.8rem; }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(6px);} }

@media (max-width: 600px) {
    .btn { width: 100%; }
    .hero { padding-bottom: 100px; }
    .video-section { padding: 60px 15px; }
}

.footer-link {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
}
