/* ===== 1xbet Style - Blue & White Theme ===== */

:root {
    --primary-color: #0066CC;
    --primary-hover: #0052A3;
    --secondary-color: #1a1f2e;
    --dark-bg: #0f1318;
    --card-bg: #ffffff;
    --light-bg: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #000000;
    --text-gray: #000000;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --android-green: #3DDC84;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    vertical-align: middle;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover {
    opacity: 0.8;
}

.lang-switch {
    padding: 8px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.btn-download {
    background: var(--android-green);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(61, 220, 132, 0.4);
    font-size: 18px;
    padding: 18px 40px;
}

.btn-download:hover {
    background: #2CC070;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 220, 132, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-color);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 30px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 30px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052A3 100%);
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff !important;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff !important;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ffffff !important;
    opacity: 1;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-features {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--android-green);
    font-size: 24px;
}

.feature-item span {
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-light {
    background: var(--light-bg);
}

.section-white {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    font-size: 56px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 20px;
    color: #000000;
    font-weight: 500;
}

/* ===== Feature Cards ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052A3 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: #000000;
    line-height: 1.7;
    font-size: 15px;
}

/* ===== Installation Steps ===== */
.installation-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    color: #000000;
    line-height: 1.8;
    font-size: 15px;
}

/* ===== Download Box ===== */
.download-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052A3 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 10px 40px rgba(0, 102, 204, 0.3);
    margin: 60px auto;
    max-width: 700px;
}

.download-box h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.download-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== App Specifications Table ===== */
.app-specs-table {
    margin-top: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.app-specs-table tr:last-child {
    border-bottom: none;
}

.app-specs-table tr:hover {
    background: rgba(255, 255, 255, 0.15);
}

.app-specs-table td {
    padding: 15px 20px;
    color: #ffffff;
}

.spec-label {
    font-weight: 600;
    width: 50%;
    font-size: 15px;
}

.spec-label i {
    margin-right: 10px;
    color: var(--android-green);
    font-size: 16px;
    width: 20px;
    display: inline-block;
}

.spec-value {
    font-weight: 500;
    text-align: right;
    font-size: 15px;
}

/* ===== Requirements ===== */
.requirements-list {
    max-width: 700px;
    margin: 0 auto;
}

.requirement-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.requirement-item i {
    font-size: 32px;
    color: var(--primary-color);
}

.requirement-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.requirement-content p {
    color: #000000;
    font-size: 15px;
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(0, 102, 204, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    line-height: 1.8;
    color: #000000;
    font-size: 15px;
}

/* ===== SEO Text ===== */
.seo-text {
    padding: 40px 0;
    background: #ffffff;
    border-top: none;
    border-bottom: none;
    margin-top: 40px;
}

.seo-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #0052A3 !important;
    text-align: justify;
    opacity: 1 !important;
    text-shadow: none;
    font-weight: 500;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-section p {
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .nav {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 38px;
    }
    
    .hero-text h2 {
        font-size: 20px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .download-box {
        padding: 30px 20px;
    }
    
    .download-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== КНОПКА SOMALIA - ОРАНЖЕВАЯ С ЗОЛОТОЙ РАМКОЙ ===== */
.lang-switch {
    background: #FF6B00 !important;
    color: #FFFFFF !important;
    border: 3px solid #FFD700 !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(255,107,0,0.5), 0 4px 8px rgba(0,0,0,0.3) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items:center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    animation: glow 2s ease-in-out infinite !important;
}

.lang-switch:hover {
    background: #FF8C00 !important;
    border-color: #FFFFFF !important;
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 0 30px rgba(255,107,0,0.8), 0 6px 12px rgba(0,0,0,0.4) !important;
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255,107,0,0.5), 0 4px 8px rgba(0,0,0,0.3); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(255,215,0,0.7), 0 4px 8px rgba(0,0,0,0.3); 
    }
}

/* Mobile: Keep Somalia button visible */
@media (max-width: 768px) {
    .nav a:not(.lang-switch) {
        display: none !important;
    }
    .lang-switch {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }
}
