/* ===================================
   Mostbet APK - Main Stylesheet
   2026 Official Mobile Application
   ================================== */

/* ============= RESET & BASE ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #18181A;
    --text-secondary: #060509;
    --text-tertiary: #333333;
    --btn-primary: #FAE0A0;
    --btn-secondary: #262627;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --accent: #FFD700;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: #fff;
}

p {
    margin-bottom: 1rem;
    color: var(--text-tertiary);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============= HEADER & NAVIGATION ============= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(0.95);
}

.logo:active {
    transform: scale(0.9);
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.2s ease;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.nav .dropdown {
    position: relative;
}

.nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav .dropdown:hover .dropdown-content {
    display: block;
}

.nav .dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #fff;
    transition: background 0.3s ease;
}

.nav .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-login {
    background: var(--btn-secondary) !important;
    color: #fff !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login:hover {
    background: #1a1a1b !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        display: none;
        border-top: 1px solid var(--border-color);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav .dropdown-content {
        position: static;
        display: none;
        margin-top: 0.5rem;
        border: none;
        padding-left: 1rem;
    }
    
    .nav .dropdown.active .dropdown-content {
        display: block;
    }
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--btn-primary);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(250, 224, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 224, 160, 0.4);
    background: #fbe7b8;
}

.btn-secondary {
    background: var(--btn-secondary);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #1a1a1b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.btn-outline:hover {
    background: var(--btn-primary);
    color: var(--text-primary);
}

/* ============= HERO SECTION ============= */
.hero {
    padding: 4rem 2rem;
    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% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #aaa;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-image {
    max-width: 800px;
    margin: 3rem auto 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============= PROMO CODE ============= */
.promo-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.promo-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.promo-box {
    display: inline-block;
    background: linear-gradient(135deg, var(--btn-primary) 0%, #ffd17a 100%);
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(250, 224, 160, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.promo-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.promo-code {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 1;
}

.promo-description {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ============= SECTIONS ============= */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #888;
    max-width: 700px;
    margin: 0 auto;
}

/* ============= GRID LAYOUTS ============= */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============= CARDS ============= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============= STATS ============= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #888;
    font-size: 0.95rem;
}

/* ============= FEATURE LIST ============= */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent);
    min-width: 30px;
}

.feature-content h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

/* ============= FOOTER ============= */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

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

.footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer a {
    color: var(--accent);
}

.footer a:hover {
    text-decoration: underline;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1.5rem;
    }
    
    .hero {
        padding: 3rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .promo-box {
        padding: 1.5rem 2rem;
    }
    
    .promo-code {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 0 1rem;
    }
}

/* ============= ANIMATIONS ============= */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============= INFO BLOCKS ============= */
.info-block {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.info-block-icon {
    font-size: 1.75rem;
    color: var(--accent);
}

.info-block p {
    color: #ccc;
    line-height: 1.8;
}

.info-block ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.info-block li {
    color: #ccc;
    margin: 0.75rem 0;
    line-height: 1.7;
}

.info-block li::marker {
    color: var(--accent);
}

/* ============= COMPARISON TABLE ============= */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.comparison-table thead {
    background: linear-gradient(135deg, #1a1a1a 0%, #262627 100%);
}

.comparison-table th {
    padding: 1.25rem;
    text-align: left;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    color: #ccc;
}

.comparison-table tbody tr {
    transition: background 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.comparison-table .highlight {
    color: var(--accent);
    font-weight: 600;
}

.comparison-table .badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, #FFA500 100%);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }
}

/* ============= TESTIMONIALS / USER CASES ============= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-info h4 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-info .meta {
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.testimonial-content {
    color: #ccc;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-stat {
    flex: 1;
}

.testimonial-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-stat-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

/* ============= TIMELINE ============= */
.timeline {
    position: relative;
    margin: 3rem 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.timeline-item h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #ccc;
    line-height: 1.7;
}

/* ============= ICON LIST ============= */
.icon-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.icon-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.icon-list-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.icon-list-icon {
    font-size: 2rem;
    color: var(--accent);
    min-width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-list-content h4 {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
}

.icon-list-content p {
    color: #aaa;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ============= HIGHLIGHT BOX ============= */
.highlight-box {
    background: linear-gradient(135deg, rgba(250, 224, 160, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid rgba(250, 224, 160, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '★';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 4rem;
    color: rgba(255, 215, 0, 0.1);
}

.highlight-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: #ddd;
    line-height: 1.8;
}

.highlight-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.highlight-box li {
    color: #ddd;
    margin: 0.75rem 0;
    line-height: 1.7;
}

.highlight-box li::marker {
    color: var(--accent);
}

/* ============= STEP-BY-STEP GUIDE ============= */
.steps {
    margin: 3rem 0;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #FFA500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(250, 224, 160, 0.3);
}

.step-content h4 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-content p {
    color: #ccc;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-item::before {
        left: -2.5rem;
    }
}

/* ============= UTILITY CLASSES ============= */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
