* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --gradient-red: linear-gradient(135deg, #8b0000 0%, #a52a2a 50%, #ffffff 100%);
    --gradient-burgundy: linear-gradient(135deg, #8b0000 0%, #a52a2a 100%);
    --gradient-burgundy-white: linear-gradient(135deg, #8b0000 0%, #ffffff 100%);
    --gradient-red-white: linear-gradient(135deg, #a52a2a 0%, #ffffff 100%);
    --text-white: #ffffff;
    --text-gray: #b8b8b8;
    --card-bg: rgba(26, 31, 58, 0.8);
    --border-radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-btn {
    background: var(--gradient-burgundy);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
}

.gradient-text-pink {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green {
    background: var(--gradient-burgundy-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-green-solid {
    color: #8b0000;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-burgundy);
    color: var(--text-white);
    border: none;
    padding: 16px 40px;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid #8b0000;
    padding: 14px 38px;
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: #a52a2a;
}

/* Categories Section */
.categories {
    padding: 60px 0;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 40px;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.games-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 40px auto 0;
}

.category-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.2);
    border-color: rgba(139, 0, 0, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-burgundy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-white);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
}

.card-description {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* Games Section */
.games-section {
    padding: 60px 0;
}

.games-banner {
    background: var(--gradient-burgundy);
    border-radius: var(--border-radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.games-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    opacity: 0.3;
}

.banner-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.banner-icon svg {
    width: 80px;
    height: 80px;
    stroke: var(--text-white);
}

.banner-icon text {
    fill: var(--text-white);
    font-family: Arial, sans-serif;
}

/* Bonuses Section */
.bonuses {
    padding: 60px 0;
    background: rgba(26, 31, 58, 0.3);
}

.bonus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.bonus-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.2);
    border-color: rgba(139, 0, 0, 0.3);
}

.bonus-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.bonus-description {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: rgba(26, 31, 58, 0.2);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 71, 87, 0.3);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s;
}

.faq-question:hover {
    color: #8b0000;
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-gray);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: #8b0000;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* Footer */
.footer {
    padding: 50px 0 100px;
    background: rgba(10, 14, 39, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
    padding: 5px 10px;
}

.footer-nav a:hover {
    color: #8b0000;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 5px;
}

.footer-copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-disclaimer {
    text-align: center;
    color: var(--text-gray);
    font-size: 12px;
    line-height: 1.6;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 10px;
    transition: all 0.2s;
}

.nav-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-gray);
    transition: all 0.2s;
}

.nav-item span {
    font-size: 12px;
    color: var(--text-gray);
    transition: all 0.2s;
}

.nav-item.active,
.nav-item:hover {
    background: rgba(139, 0, 0, 0.1);
}

.nav-item.active svg,
.nav-item:hover svg {
    stroke: #8b0000;
    filter: drop-shadow(0 0 5px rgba(139, 0, 0, 0.5));
}

.nav-item.active span,
.nav-item:hover span {
    color: var(--text-white);
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .category-cards,
    .bonus-cards {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
    
    .games-banner {
        height: 150px;
    }
    
    .banner-icon {
        width: 80px;
        height: 80px;
    }
    
    .banner-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .categories,
    .bonuses {
        padding: 40px 0;
    }
    
    .category-card,
    .bonus-card {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card,
.bonus-card {
    animation: fadeInUp 0.6s ease-out;
}

.category-card:nth-child(2) {
    animation-delay: 0.1s;
}

.category-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-burgundy);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8b0000 0%, #a52a2a 100%);
}

