/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0F0F1A;
    --secondary-bg: #1A1A2E;
    --accent-1: #FF9800;
    --accent-2: #00BCD4;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0C0;
    --success: #4CAF50;
    --error: #F44336;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 16px;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-bg);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 1.5rem;
}

.contact-info a:hover {
    color: var(--accent-1);
}

.social-links a {
    color: var(--text-secondary);
    margin-left: 1rem;
    font-size: 1.1rem;
}

.social-links a:hover {
    color: var(--accent-1);
}

/* Navigation */
.nav {
    background-color: var(--primary-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    width: 100%;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 15, 26, 0.8), rgba(26, 26, 46, 0.8)),
                url('../images/hero-bg.jpg') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-bg);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-1);
    margin-bottom: 1rem;
}

/* Games Section */
.games {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 1.5rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: var(--secondary-bg);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-1);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: #fb8c00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--primary-bg);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        gap: 1rem;
    }

    .logo {
        flex-shrink: 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-bg);
        padding: 80px 2rem 2rem;
        flex-direction: column;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

.full-width-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.payment-method span {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-1);
    border-radius: 4px;
}

/* Remove old banner styles */
.main-banner-area,
.main-banner-box,
.main-banner-text,
.main-banner-title,
.main-banner-subtitle,
.main-banner-btn,
.main-banner-img {
    display: none;
}

/* New promo banner styles */
.promo-banner {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    min-height: 220px;
    margin-bottom: 1rem;
}

.promo-banner picture,
.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    text-align: center;
    z-index: 2;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    background: rgba(0,0,0,0.35);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-banner-text {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    width: 100%;
    white-space: normal;
    hyphens: auto;
    line-height: 1.6;
    display: block;
}

.promo-banner-btn {
    display: inline-block;
    margin: 0 auto;
    width: 180px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .promo-banner {
        min-height: 120px;
    }
    .promo-banner-content {
        max-width: 95vw;
        padding: 1rem 0.5rem;
    }
    .promo-banner-text {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    .promo-banner-btn {
        font-size: 1rem;
        padding: 0.8rem 2rem;
        min-width: 160px;
    }
}

.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--secondary-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .top-menu {
        padding: 0 0.5rem;
    }
}

.top-menu-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.top-logo {
    height: 40px;
    margin-right: 1.5rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--accent-1);
    background: rgba(255,152,0,0.08);
}

.top-menu-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-lang {
    background: #23242c;
    color: var(--text-primary);
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-support {
    width: 90%;
    margin: 2rem auto 0 auto;
    background: #23242c;
    color: var(--text-primary);
    border-radius: 24px;
    font-size: 1.1rem;
    padding: 0.7rem 0;
    display: block;
    border: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-support:hover {
    background: var(--accent-1);
    color: #fff;
}

.sidebar {
    position: fixed;
    top: 64px;
    left: 0;
    width: 220px;
    height: calc(100vh - 64px);
    background: #181a20;
    padding: 2rem 0 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.08);
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.sidebar-links li {
    width: 100%;
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.08rem;
    padding: 0.7rem 2rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-links a:hover, .sidebar-links a.active {
    background: rgba(255,152,0,0.10);
    color: var(--accent-1);
}

.sidebar-icon {
    font-size: 1.3rem;
    width: 1.8rem;
    text-align: center;
}

.main-content {
    margin-left: 220px;
    margin-top: 64px;
    padding: 0;
    background: var(--primary-bg);
    min-height: calc(100vh - 64px);
    width: calc(100% - 220px);
}

.main-banner-area {
    margin-bottom: 2.5rem;
    width: 100%;
    position: relative;
}

.main-banner-box {
    display: flex;
    align-items: center;
    background: var(--secondary-bg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    position: relative;
    min-height: 240px;
    width: 100%;
}

.main-banner-text {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem;
    z-index: 2;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.7) 70%, rgba(26, 26, 46, 0) 100%);
}

.main-banner-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.main-banner-subtitle {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.main-banner-btn {
    margin-top: 0.5rem;
}

.main-banner-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.popular-section {
    margin-top: 2.5rem;
}

.popular-section h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.game-card {
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(255,152,0,0.18);
}

.game-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.game-card div {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 1rem 0.5rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .main-content {
        padding: 2rem 0.5rem 2rem 0.5rem;
    }
    .main-banner-text {
        padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 900px) {
    .sidebar {
        width: 60px;
        padding: 1rem 0 1rem 0;
    }
    .sidebar-links a {
        padding: 0.7rem 0.5rem;
        justify-content: center;
    }
    .sidebar-links a span:not(.sidebar-icon) {
        display: none;
    }
    .main-content {
        margin-left: 60px;
        width: calc(100% - 60px);
    }
    .main-banner-text {
        width: 70%;
        padding: 1.5rem;
    }
}

@media (max-width: 700px) {
    .top-menu {
        height: 60px;
        padding: 0 1rem;
    }

    .top-menu-left {
        gap: 1rem;
    }

    .top-logo {
        height: 32px;
        margin-right: 0;
    }

    .main-nav {
        display: none;
    }

    .top-menu-right {
        gap: 0.5rem;
    }

    .btn-lang {
        display: none;
    }

    .btn-secondary, .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: all 0.3s ease;
    }

    .main-banner-area {
        padding: 0;
    }

    .main-banner-box {
        flex-direction: column;
        min-height: 180px;
    }

    .main-banner-text {
        position: static;
        width: 100%;
        align-items: center;
        text-align: center;
        padding: 1rem 0.5rem 0.5rem 0.5rem;
        background: linear-gradient(180deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.7) 70%, rgba(26, 26, 46, 0) 100%);
    }

    .main-banner-img {
        height: 140px;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .container, .hero-content, .features-grid, .games-grid, .cta-content, .footer-grid {
        padding: 0 1rem;
    }

    .sidebar {
        display: none;
    }
}

/* Section Styles */
.hero, .features, .games, .cta, .footer {
    width: 100%;
    padding: 4rem 0;
}

.hero-content, .features-grid, .games-grid, .cta-content, .footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-bg);
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    height: 32px;
}

.mobile-close-btn {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.mobile-close-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    top: 50%;
    left: 0;
}

.mobile-close-btn span:first-child {
    transform: rotate(45deg);
}

.mobile-close-btn span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav-menu {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-menu a.active,
.mobile-nav-menu a:hover {
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent-1);
}

.mobile-nav-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mobile-nav-footer .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 700px) {
    .mobile-menu-btn {
        display: flex;
    }
} 