/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme - Dark Blue Theme like example */
    --bg-primary: #0f1419;
    --bg-secondary: #1a1a2e;
    --bg-sidebar: #151a23;
    --bg-card: #1e2532;
    --bg-card-hover: #252d3a;
    --primary-blue: #4A90E2;
    --primary-blue-light: #5BA3F5;
    --primary-blue-dark: #357ABD;
    --accent-gold: #FFD700;
    --accent-gold-dark: #FFA500;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d1;
    --text-muted: #8a9ba8;
    --border-color: #2a3441;
    --gradient-bonus-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-bonus-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-bonus-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(180deg, #1a1a2e 0%, #151a23 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover span {
    background: var(--primary-blue);
}

.logo,
.header__left {
    display: flex;
    align-items: center;
}

.wlc-logo-wrp {
    display: flex;
    align-items: center;
}

.wlc-logo__image {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.wlc-icon-content {
    display: flex;
    align-items: center;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

.wlc-logo__image svg {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

.search-box {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #8B4513;
    border: none;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
}

.search-btn:hover {
    background: #A0522D;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background: #8B4513;
    color: var(--text-primary);
    border: none;
    text-transform: lowercase;
}

.btn-login:hover {
    background: #A0522D;
}

.btn-register {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

.btn-register:hover {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6);
    transform: translateY(-2px);
}

.btn-bonus {
    background: var(--primary-blue);
    color: var(--text-primary);
    width: 100%;
    margin-top: 15px;
}

.btn-bonus:hover {
    background: var(--primary-blue-light);
}

/* Main Layout */
.main-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 70px);
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #151a23 0%, #0f1419 100%);
    border-right: 1px solid var(--border-color);
    padding: 25px 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-section {
    margin-bottom: 35px;
    padding: 0 10px;
}

.nav-section:first-child {
    margin-top: 10px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    padding: 0 15px;
    opacity: 0.7;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    margin: 2px 10px;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-blue);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.nav-item:hover {
    background: rgba(74, 144, 226, 0.1);
    color: var(--text-primary);
    transform: translateX(3px);
}

.nav-item:hover::before {
    height: 60%;
}

.nav-item.active {
    background: rgba(74, 144, 226, 0.15);
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-item.active::before {
    height: 80%;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.nav-icon {
    font-size: 20px;
    width: 28px;
    height: 28px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.nav-icon-yellow {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
}

.nav-icon-purple {
    background: rgba(138, 43, 226, 0.15);
    color: #8A2BE2;
}

.nav-icon-green {
    background: rgba(50, 205, 50, 0.15);
    color: #32CD32;
}

.nav-icon-red {
    background: rgba(255, 69, 0, 0.15);
    color: #FF4500;
}

.nav-icon-blue {
    background: rgba(74, 144, 226, 0.15);
    color: #4A90E2;
}

.nav-item-collapsible {
    cursor: pointer;
}

.nav-arrow {
    margin-left: auto;
    font-size: 12px;
}

.nav-section-bottom {
    margin-top: auto;
    padding-bottom: 20px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px;
    background: var(--bg-primary);
}

/* Hero Section */
.hero-section {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 20, 25, 0.9) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
}

.hero-content {
    position: relative;
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-hero {
    padding: 18px 50px;
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(255, 20, 147, 0.5);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.7);
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
}

.mirror-info {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.bonus-graphic {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 200px;
}

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
    }
}

.content-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.subsection-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 30px 0 15px;
}

.text-content {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 20px;
}

.numbered-list {
    margin: 20px 0;
    padding-left: 25px;
    color: var(--text-secondary);
}

.numbered-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Bonuses Grid */
.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-bonus-1);
}

.bonus-card:nth-child(2)::before {
    background: var(--gradient-bonus-2);
}

.bonus-card:nth-child(3)::before {
    background: var(--gradient-bonus-3);
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-blue);
}

.bonus-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.bonus-content {
    text-align: center;
    padding-top: 10px;
}

.bonus-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-gift {
    font-size: 80px;
    margin: 20px 0;
    filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.5));
}

.bonus-percent {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.bonus-info {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bonus-info:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-sidebar);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }
    
    .sidebar.mobile-open {
        display: block;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 0;
    }
    
    .nav-section {
        min-width: 200px;
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-box {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }
    
    .bonuses-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .subsection-title {
        font-size: 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-text {
        font-size: 16px;
    }

    .btn-hero {
        padding: 15px 30px;
        font-size: 16px;
    }

    .bonus-graphic {
        position: relative;
        margin: 20px auto;
        width: 150px;
        height: 150px;
    }

    .hero-actions {
        margin-bottom: 20px;
    }
}
