/* 1xBet App Color Scheme - Blue & Dark */
:root {
    /* Blue tones - 1xBet brand colors */
    --primary-blue: #1E5FD7;
    --light-blue: #3A7FF0;
    --dark-blue: #0F4AB8;
    --accent-blue: #4A90FF;
    
    /* Dark backgrounds */
    --bg-dark: #0D1821;
    --bg-secondary: #1A2332;
    --bg-tertiary: #273447;
    
    /* Text colors */
    --text-white: #FFFFFF;
    --text-light: #F8F9FA;
    --text-gray: #C8D1DC;
    --text-dark-gray: #8B99A8;
    
    /* Accent colors */
    --accent-green: #28A745;
    --accent-orange: #FF9500;
    --accent-red: #DC3545;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #1E5FD7 0%, #0F4AB8 100%);
    --gradient-dark: linear-gradient(135deg, #0D1821 0%, #1A2332 50%, #273447 100%);
}

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

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

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

/* Header */
.header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-content > .logo {
    margin-right: auto;
}

.header-content > .language-selector {
    order: 2;
}

.header-content > .btn-primary {
    order: 3;
}

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

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

.nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

.nav a:hover {
    color: var(--primary-blue);
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: var(--bg-tertiary);
    border: 1px solid rgba(30, 95, 215, 0.3);
    color: var(--text-light);
    padding: 0.625rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    min-width: 120px;
}

.lang-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.lang-btn i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.lang-menu.active .lang-btn i {
    transform: rotate(180deg);
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(30, 95, 215, 0.3);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1001;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(30, 95, 215, 0.1);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-tertiary);
    color: var(--primary-blue);
}

.lang-option.active {
    background: rgba(30, 95, 215, 0.15);
    color: var(--primary-blue);
    font-weight: 600;
}

.lang-option .flag {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.lang-option span:last-child {
    flex: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(30, 95, 215, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 95, 215, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 95, 215, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-white);
}

.hero h1 .highlight {
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section with Phone Mockup */
.section-with-phone {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.section-content {
    flex: 1;
}

/* Phone Mockup */
.phone-mockup-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.phone-mockup {
    position: relative;
    width: 240px;
    height: 490px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.phone-mockup:hover {
    transform: translateY(-5px);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    z-index: 3;
}

@media (max-width: 968px) {
    .section-with-phone {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .phone-mockup-container {
        position: static;
        margin: 0 auto;
    }
    
    .phone-mockup {
        width: 200px;
        height: 410px;
    }
    
    .phone-mockup::before {
        width: 90px;
        height: 18px;
    }
    
    .phone-mockup::after {
        width: 38px;
        height: 3px;
    }
}

@media (max-width: 640px) {
    .phone-mockup {
        width: 180px;
        height: 370px;
    }
}

/* Section */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
}

.section p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 95, 215, 0.2);
    transition: all 0.3s;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* Tables */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
}

.specs-table thead {
    background: var(--gradient-blue);
}

.specs-table th {
    padding: 1.25rem;
    text-align: left;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.specs-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(30, 95, 215, 0.15);
    color: var(--text-gray);
}

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

.specs-table tr:hover {
    background: rgba(30, 95, 215, 0.05);
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--text-gray);
    line-height: 1.6;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.feature-list li strong {
    color: var(--text-white);
}

/* Download Section */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.download-card {
    background: var(--bg-secondary);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(30, 95, 215, 0.2);
    transition: all 0.3s;
}

.download-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.download-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.download-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.review-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(30, 95, 215, 0.2);
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.review-header h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-white);
}

.review-location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.review-stars {
    color: #FFC107;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.review-text {
    color: var(--text-gray);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.review-date {
    color: var(--text-dark-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--primary-blue);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-info-box {
    background: var(--bg-dark);
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(30, 95, 215, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.footer-info-box:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    color: var(--text-white);
}

.footer-info-box h4 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.footer-info-box p {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(30, 95, 215, 0.2);
    color: var(--text-dark-gray);
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav {
        display: none;
    }
    
    .header-content {
        gap: 0.75rem;
    }
    
    .lang-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: 90px;
    }
    
    .lang-menu {
        min-width: 180px;
    }
    
    .lang-option {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        white-space: nowrap;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .btn {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section h2 {
        font-size: 1.875rem;
        line-height: 1.3;
    }
    
    .section p {
        font-size: 1rem;
    }
    
    .features-grid,
    .download-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .footer-info-box {
        padding: 1.25rem 1rem;
    }
    
    .footer-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
    }
    
    .feature-card,
    .download-card,
    .review-card {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .platform-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section h2 {
        font-size: 1.75rem;
    }
    
    .specs-table {
        font-size: 0.9rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.75rem;
        display: block;
        width: 100%;
    }
    
    .specs-table thead {
        display: none;
    }
    
    .specs-table tr {
        margin-bottom: 1rem;
        display: block;
        border: 1px solid rgba(30, 95, 215, 0.2);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .specs-table td:first-child {
        background: var(--gradient-blue);
        color: var(--text-white);
        font-weight: 600;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
}
