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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f1419;
    color: #ffffff;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #6366f1 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(99, 102, 241, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
}

.nav-brand .logo {
    width: 140px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #f8fafc;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid #6366f1;
    color: #6366f1;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.85) 0%, rgba(30, 27, 75, 0.75) 50%, rgba(99, 102, 241, 0.65) 100%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: #f1c40f;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(241, 196, 15, 0.3);
}

.btn-hero {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #1a1a1a;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(241, 196, 15, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.6);
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(99, 102, 241, 0.8));
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.promo-card:hover::before {
    left: 100%;
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
}

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

.card-subtitle {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.card-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.card-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.3);
}

/* Game Categories */
.game-categories {
    background: #1a1f25;
    padding: 20px 0;
    border-bottom: 1px solid #2d3748;
}

.category-nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 10px;
    min-width: 120px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.category-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-item:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.category-item:hover svg {
    transform: scale(1.1);
    color: #6366f1;
}

.category-item.active {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.category-item.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.providers-btn {
    margin-left: auto;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

/* Games Section */
.games-section {
    background: #0f1419;
    padding: 40px 0;
}

.section-header {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

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

.see-all-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.see-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.nav-arrow {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #6366f1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #6366f1;
    color: white;
    transform: scale(1.1);
}

.games-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #1a1f25;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

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

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

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    color: white;
}

.game-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.game-badge {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.game-provider {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

/* SEO Content */
.seo-content {
    background: #f8fafc;
    color: #1a202c;
    padding: 60px 0;
}

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

.seo-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 30px;
    line-height: 1.2;
}

.seo-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 50px 0 25px 0;
    border-bottom: 3px solid #6366f1;
    padding-bottom: 10px;
}

.seo-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #4a5568;
    margin: 35px 0 20px 0;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4a5568;
}

.seo-content ol,
.seo-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.seo-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #4a5568;
}

.info-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.table-title {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 18px;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.info-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #2d3748;
}

.info-table td {
    color: #4a5568;
}

.info-table tr:hover {
    background: #f8fafc;
}

/* Author Section */
.author-section {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.author-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #6366f1;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 5px;
}

.author-title {
    font-size: 14px;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.article-meta {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    display: flex;
    gap: 30px;
}

.publish-date,
.last-updated {
    font-size: 14px;
    color: #64748b;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6366f1;
}

.footer-text {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-logos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.age-restriction {
    background: #dc2626;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
}

.rg-logo {
    background: #059669;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    text-align: center;
}

.footer-copyright {
    color: #94a3b8;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-hidden {
        display: none !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-cards {
        order: -1;
    }

    .category-nav {
        padding: 0 10px;
    }

    .category-item {
        min-width: 100px;
        padding: 12px 15px;
        font-size: 12px;
    }

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

    .section-header {
        flex-wrap: wrap;
        gap: 15px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .seo-content h1 {
        font-size: 32px;
    }

    .seo-content h2 {
        font-size: 26px;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 40px 10px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn-hero {
        padding: 14px 30px;
        font-size: 16px;
    }

    .promo-card {
        padding: 20px;
    }

    .category-item {
        min-width: 80px;
        padding: 10px 12px;
        font-size: 11px;
    }

    .games-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .info-table {
        overflow-x: auto;
    }

    .info-table table {
        min-width: 600px;
    }

    .content-wrapper {
        padding: 0 15px;
    }
}

/* Additional Mobile Menu Styles */
.nav-menu.mobile-open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    z-index: 999;
}

.nav-actions.mobile-open {
    display: flex;
    position: fixed;
    top: calc(70px + 200px);
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    padding: 20px;
    gap: 15px;
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    z-index: 999;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.game-card {
    animation: fadeInUp 0.6s ease forwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }
.game-card:nth-child(7) { animation-delay: 0.7s; }