* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

html, body {
    width: 100%;
    background: #11141e; 
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ==========================================
   FIXED TOP NAVBAR (DESKTOP DRIVEN LAYOUT)
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: linear-gradient(135deg, #1f2335 0%, #161824 100%);
    border-bottom: 2px solid #dec77d; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 40px; /* Desktop side padding */
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* 1. LEFT SIDE ELEMENT (DESKTOP) */
.menu-btn {
    font-size: 32px;
    color: #dec77d;
    cursor: pointer;
    width: 150px; /* Fixed width prevents pushing the logo */
    text-align: left;
}

/* 2. CENTER LOGO AND TITLE (DESKTOP) */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #dec77d;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(222, 199, 125, 0.3);
}

.logo h1 {
    font-size: 22px;
    font-weight: 800;
    color: #dec77d; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* 3. RIGHT SIDE DOWNLOAD BUTTON (DESKTOP) */
.download-btn {
    background: linear-gradient(90deg, #1fd0a4 0%, #17b890 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 3px 12px rgba(23, 184, 144, 0.3);
    width: 150px; /* Matches exact width of menu-btn for absolute balance */
    text-align: center;
    white-space: nowrap;
    transition: 0.2s ease;
}

.download-btn:hover {
    opacity: 0.9;
}

.nav-links {
    display: none; 
}

/* ==========================================
   PROFESSIONAL SUB-HEADER BUTTONS LAYOUT
   ========================================== */
.top-header {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: #11141e;
    padding: 14px 20px;
    z-index: 99998;
}

.top-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    max-width: 430px; 
    margin: 0 auto;
}

.btn {
    flex: 1;
    text-decoration: none;
    padding: 11px 5px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.login-btn {
    background: transparent;
    color: #dec77d;
    border: 2px solid #dec77d;
}

.register-btn {
    background: linear-gradient(90deg, #dec77d 0%, #bfa55a 100%);
    color: #111;
    box-shadow: 0 4px 12px rgba(222, 199, 125, 0.2);
}

.telegram-btn {
    background: linear-gradient(90deg, #009df3 0%, #007cc2 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 157, 243, 0.2);
}

/* ==========================================
   CENTER CONTENT WRAPPER 
   ========================================== */
.main-content-wrapper {
    width: 100%;
    max-width: 430px; 
    margin: 0 auto;   
    background: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.hero {
    padding-top: 155px; 
    padding-bottom: 40px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
}

.hero h1 {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

/* Mobile Menu Slide Configuration */
.mobile-menu {
    position: fixed;
    top: 75px;
    left: -100%; 
    width: 280px;
    height: 100vh;
    background: #1f2335;
    transition: .4s;
    box-shadow: 5px 0 25px rgba(0,0,0,0.4);
    z-index: 99999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    display: block;
    padding: 18px;
    color: #dec77d;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #2d324d;
}

/* Blocks Content Styles inside White Body Container */
.content-box, .register-guide, .step-section {
    background: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
    text-align: left;
}

.content-box h2, .register-guide h2, .step-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
    line-height: 1.3;
}

.content-box p, .content-box li, .register-guide p, .step-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.content-box ul {
    padding-left: 20px;
}

/* Video Section Setup */
.video-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.video-container video {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 12px;
}

/* Table of Contents */
.toc-box {
    background: #fdfaf2;
    border-radius: 12px;
    margin: 15px 0;
    overflow: hidden;
    border: 1px solid #f2e9cb;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #bfa55a;
}

.toc-links {
    display: none;
    padding: 15px;
    border-top: 1px solid #f2e9cb;
    text-align: left;
}

.toc-links a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #1976d2;
    font-size: 14px;
}

/* Cards Layout inside Content */
.step-card, .guide-card {
    background: #f9f9fa;
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
    border: 1px solid #eee;
}

.step-card h3, .guide-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.step-card img, .guide-card img {
    width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
    border-radius: 8px;
}

/* ==========================================
   FOOTER (FULL-WIDTH LUXURY DARK)
   ========================================== */
.footer {
    background: #11141e;
    color: #fff;
    padding: 50px 24px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: left;
    width: 100%;
    border-top: 1px solid #232838;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #dec77d;
}

.footer-section a {
    display: block;
    color: #a0a5b5;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #dec77d;
}

.footer-section p {
    color: #a0a5b5;
    font-size: 14px;
    line-height: 1.6;
}

.copyright {
    grid-column: 1 / -1;
    border-top: 1px solid #232838;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #686d7d;
}

/* ==========================================
   RESPONSIVE DESIGN (RESPONSIBLE FOR MOBILE VIEW ONLY)
   ========================================== */
@media(max-width: 480px) {
    .navbar {
        height: 65px;
        padding: 0 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Reset width constraints for Mobile flexibility */
    .menu-btn {
        font-size: 26px;
        width: auto; 
        flex: 1;
        text-align: left;
    }

    .logo {
        gap: 6px;
        flex: 2;
        justify-content: center;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo h1 {
        font-size: 15px;
    }

    .download-btn {
        padding: 7px 10px;
        font-size: 11px;
        border-radius: 6px;
        width: auto; 
        flex: 1;
        text-align: right;
    }

    .top-header {
        top: 65px;
        padding: 10px 12px;
    }

    .btn {
        padding: 9px 4px;
        font-size: 12px;
    }

    .hero {
        padding-top: 135px;
    }
    
    .mobile-menu {
        top: 65px;
    }
}