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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a2e;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo img {
    height: 40px;
    border-radius: 4px;
}

.nav-search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    background: rgba(44, 44, 84, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff4757;
    box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff3838, #ff2929);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
}

.language-selector img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    width: 240px;
    height: calc(100vh - 64px);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    overflow-y: auto;
    z-index: 999;
}

.welcome-pack {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pack-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.pack-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.pack-amount {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.app-download {
    background: rgba(44, 44, 84, 0.6);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-download:hover {
    background: rgba(44, 44, 84, 0.8);
    transform: translateY(-2px);
}

.app-icon svg {
    width: 24px;
    height: 24px;
    color: #ff4757;
}

.app-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.nav-item.active {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

/* Main Content Styles */
.main {
    margin-left: 240px;
    margin-top: 64px;
    min-height: calc(100vh - 64px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.55), rgba(44, 44, 84, 0.45)), url('img/banner.png');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: none;
}

.hero-content {
    max-width: 600px;
}

.tournament-badge {
    display: inline-block;
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid #ff4757;
    color: #ff4757;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Game Categories */
.game-categories {
    padding: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-grid {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(44, 44, 84, 0.4);
    transition: all 0.3s ease;
    min-width: 120px;
}

.category-item:hover {
    background: rgba(44, 44, 84, 0.6);
    color: #ffffff;
    transform: translateY(-4px);
}

.category-item.active {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.category-icon {
    width: 32px;
    height: 32px;
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Featured Games */
.featured-games {
    padding: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.view-all-btn {
    color: #ff4757;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-all-btn:hover {
    color: #ff6b7d;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.game-card {
    background: rgba(44, 44, 84, 0.4);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.game-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.game-provider {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Winners Section */
.winners {
    padding: 40px;
    background: rgba(44, 44, 84, 0.2);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.winner-card {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-4px);
    background: rgba(26, 26, 46, 0.8);
}

.winner-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.winner-amount {
    font-size: 18px;
    font-weight: 700;
    color: #ff4757;
    margin-bottom: 4px;
}

.winner-game {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Content Section */
.content-section {
    padding: 60px 40px;
    background: rgba(26, 26, 46, 0.3);
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.seo-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.seo-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff4757;
}

.seo-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ff4757;
    margin: 30px 0 15px 0;
}

.seo-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 20px 0 10px 0;
}

.seo-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.seo-content strong {
    color: #ff4757;
    font-weight: 600;
}

.bonus-table {
    margin: 40px 0;
    background: rgba(44, 44, 84, 0.4);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
}

.bonus-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.bonus-table th,
.bonus-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-table th {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    font-weight: 600;
    font-size: 14px;
}

.bonus-table td {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Payment Methods */
.payment-methods {
    padding: 40px;
    background: rgba(44, 44, 84, 0.2);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.payment-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
}

.payment-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

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

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

.footer-section ul li a:hover {
    color: #ff4757;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main {
        margin-left: 0;
    }
    
    .hero {
        padding: 60px 20px;
        background-position: calc(100% - 850px) center !important;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .featured-games,
    .winners,
    .content-section,
    .payment-methods,
    .game-categories {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .nav-search {
        order: 3;
        width: 100%;
        max-width: none;
    }
    
    .hero {
        background-position: calc(100% - 850px) center !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .winners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .seo-content h1 {
        font-size: 2rem;
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        background-position: calc(100% - 850px) center !important;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .winners-grid {
        grid-template-columns: 1fr;
    }
    
    .payments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bonus-table {
        font-size: 12px;
    }
    
    .bonus-table th,
    .bonus-table td {
        padding: 8px 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-card,
.winner-card,
.category-item {
    animation: fadeIn 0.6s ease-out;
}

.nav-item {
    animation: slideInLeft 0.4s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.4);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 71, 87, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 71, 87, 0.8);
}