/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 99%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header .container {
    width: 99%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header .logo {
    border: 1px solid #111;
    border-radius: 4px;
    padding: 2px 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header .logo img {
    height: 35px;
}

.header .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.header .nav-links a {
    font-weight: 700;
    font-size: 13px;
    color: #111;
    border: 1px solid #e0e0e0;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    display: block;
}

.header .nav-links a:hover {
    color: #c00000;
    border-color: #c00000;
}

.telegram-icon {
    background: #2AABEE;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.telegram-icon:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #111;
    cursor: pointer;
}

.mobile-dropdown {
    display: none;
    position: absolute;
    top: 70px;
    right: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    border: 1px solid #e0e0e0;
    z-index: 1000;
}

.mobile-dropdown.active {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown a {
    padding: 12px 20px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-dropdown a:last-child {
    border-bottom: none;
}

.mobile-dropdown a:hover {
    background: #f9f9f9;
}

.mobile-dropdown a i {
    margin-right: 5px;
}

/* Hero Banner */
.hero-banner {
    background-color: #ba0a0a;
    background-image: linear-gradient(135deg, #ba0a0a 0%, #8b0000 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner .title-small {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-banner .title-large {
    background: #fff;
    color: #c00000;
    display: inline-block;
    padding: 10px 30px;
    font-size: 28px;
    font-weight: 800;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-banner .warning-text {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-banner .download-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
    flex-wrap: wrap;
}

.hero-banner .fake-app-warning {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    max-width: 400px;
}

.fake-app-warning h3 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    color: #ffcccc;
}

.fake-app-warning p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ios-instructions {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    max-width: 800px;
    margin: 30px auto 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ios-instructions h3 {
    color: #c00000;
    margin-bottom: 15px;
    text-align: center;
}

.ios-instructions ol {
    margin-left: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.ios-instructions a {
    color: #c00000;
    font-weight: bold;
    text-decoration: underline;
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin: 40px 0 20px;
}

.section-heading h2 {
    color: #c00000;
    font-size: 32px;
    font-weight: 800;
}

.section-heading p {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Game Rates Grid */
.rates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.rate-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.rate-card .game-name {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rate-card .game-name i {
    color: #c00000;
}

.rate-card .game-rate {
    color: #c00000;
    font-weight: 700;
    font-size: 16px;
}

/* Available Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.game-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.game-card .game-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.game-card .game-title {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.game-card .game-time {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.game-card .play-btn {
    background: #c00000;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.game-card .play-btn:hover {
    background: #a00000;
}

.game-card .game-links {
    border-top: 1px solid #eee;
    padding-top: 12px;
    font-size: 13px;
    font-weight: 600;
}

.game-card .game-links a {
    color: #111;
    transition: color 0.2s;
}

.game-card .game-links a:hover {
    color: #c00000;
}

.game-card .game-links span {
    color: #ccc;
    margin: 0 5px;
}

/* Footer */
.footer {
    background: #ba0a0a;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.footer .footer-logo {
    background: #fff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.footer .footer-logo img {
    height: 35px;
}

.footer p {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer .copyright {
    margin-top: 30px;
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rates-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }

    .header .nav-links {
        display: none; /* Hide on mobile for simplicity, or implement a burger menu */
    }
    
    .header .telegram-icon {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .hero-banner .title-large {
        font-size: 20px;
        padding: 8px 15px;
    }
}

/* Swiper slider styling */
.swiper {
    width: 100%;
}
.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* iOS Install Box */
.ios-install-box {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.app-store-btn-container {
    text-align: center;
    margin-bottom: 25px;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    background: #ba0a0a;
    color: #fff;
    padding: 8px 25px;
    border-radius: 30px;
    text-decoration: none;
    gap: 12px;
    transition: background 0.3s;
}

.app-store-btn:hover {
    background: #8b0000;
    color: #fff;
}

.app-store-btn i {
    font-size: 28px;
}

.app-store-btn .btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-store-btn .btn-text span {
    font-size: 10px;
    line-height: 1;
}

.app-store-btn .btn-text strong {
    font-size: 18px;
    line-height: 1.2;
}

.ios-title {
    color: #ba0a0a;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.ios-steps {
    list-style-type: decimal;
    padding-left: 20px;
    color: #111;
}

.ios-steps li {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.text-red {
    color: #ba0a0a;
    text-decoration: none;
}
.text-red:hover {
    text-decoration: underline;
}
