/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #110e1b;
    --bg-secondary: #1a1625;
    --bg-card: #211d2e;
    --bg-header: rgba(17, 14, 27, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #b4afc4;
    --text-alt: #ffffff;
    --primary-1: #6b4ce6;
    --primary-2: #5239c4;
    --secondary-5: #e91e63;
    --secondary-6: rgba(255, 255, 255, 0.1);
    --tertiary-2: rgba(255, 255, 255, 0.05);
    --tertiary-3: rgba(255, 255, 255, 0.15);
    --gradient-primary: linear-gradient(135deg, #6b4ce6 0%, #e91e63 100%);
    --gradient-secondary: linear-gradient(135deg, #197402 0%, #8cc514 100%);
    --gradient-vip: linear-gradient(135deg, #1B0861 0%, #1A1233 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    width: 50px;
    height: 24px;
}

.nav-menu {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu .special {
    color: #e91e63;
}

.nav-menu .vip-link {
    color: var(--secondary-5);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-new {
    background: var(--primary-1);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 0.25rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-secondary {
    background: var(--secondary-6);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: var(--primary-1);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-2);
}

.chat-button {
    background: transparent;
    padding: 0.5rem;
    color: var(--text-primary);
}

.chat-button:hover {
    background: var(--tertiary-2);
}

/* Hero Carousel */
.hero-carousel {
    margin: 2rem auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
}

.carousel-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-wrapper::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: white;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
}

.carousel-container:hover .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

.carousel-nav:hover {
    background: rgba(107, 76, 230, 0.9);
    transform: translateY(-50%) scale(1.15);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* Carousel Pagination - Hidden on desktop */
.carousel-pagination {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.banner-card {
    min-width: 100%;
    height: 256px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    text-decoration: none;
    color: white;
    scroll-snap-align: start;
    position: relative;
}

.banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.banner-card.gradient-primary::before {
    background: linear-gradient(to right, #2c0a5b 0%, #3b0b7d 50%, #6c01f3 100%);
}

.banner-card.gradient-sport::before {
    background: linear-gradient(to right, #197402 0%, #3b8c09 50%, #8cc514 100%);
}

.banner-card.gradient-calendar::before {
    background: linear-gradient(to right, #1c0764 0%, #1e047a 51%, #26039d 100%);
}

.banner-card.gradient-sportsbook::before {
    background: linear-gradient(to right, #0D3A3B 0%, #085E54 50%, #00AD8E 100%);
}

.banner-card.gradient-vip::before {
    background: var(--gradient-vip);
}

.banner-card.gradient-nba::before {
    background: linear-gradient(to right, #073E66 0%, #035C9C 50%, #00A1E5 100%);
}

.banner-content {
    width: 50%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.banner-caption {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.banner-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.banner-title .variable-box {
    color: #ffd700;
}

.banner-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--tertiary-3);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-1);
    align-self: flex-start;
}

.banner-image {
    width: 50%;
    position: relative;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* Features Carousel */
.features-carousel {
    margin: 2rem auto;
}

.features-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.features-wrapper:active {
    cursor: grabbing;
}

.features-wrapper::-webkit-scrollbar {
    display: none;
}

.feature-card {
    min-width: 280px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-badge {
    background: #e91e63;
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.feature-badge.new {
    background: var(--primary-1);
}

.feature-badge.live {
    background: #e91e63;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.feature-arrow {
    color: var(--text-secondary);
    font-size: 20px;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin: 3rem 0 2rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    background: var(--secondary-6);
    color: var(--text-secondary);
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-1);
    color: white;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.game-image-wrapper {
    position: relative;
    padding-top: 140%;
    background: #000;
    overflow: hidden;
}

.game-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.game-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.game-badge img {
    width: 16px;
    height: 16px;
}

.game-info {
    padding: 1rem;
}

.game-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.game-provider {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-logo {
    width: 60px;
    height: auto;
}

/* SEO Content Section */
.seo-content {
    background: var(--bg-secondary);
    padding: 4rem 0;
    margin-top: 4rem;
}

.seo-block {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-block h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.seo-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.seo-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.seo-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.seo-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.seo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-1);
    font-weight: bold;
    font-size: 18px;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.seo-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.seo-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.seo-card h4 {
    font-size: 18px;
    margin-bottom: 0.75rem;
}

.seo-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.seo-cta {
    background: linear-gradient(135deg, #6b4ce6 0%, #e91e63 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.seo-cta h3 {
    color: white;
    margin-top: 0;
    font-size: 28px;
}

.seo-cta p {
    color: white;
    font-size: 18px;
    margin-bottom: 1.5rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seo-keywords {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-keywords p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.seo-keywords strong {
    color: var(--primary-1);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.payment-methods {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.payment-icon {
    width: 40px;
    height: 28px;
    background: white;
    border-radius: 4px;
    padding: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 13px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(33, 29, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 9999;
    max-width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-notice.hidden {
    display: none;
}

.cookie-text {
    font-size: 14px;
    color: var(--text-primary);
}

.cookie-emoji {
    font-size: 24px;
}

/* Responsive */
@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }

    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .banner-card {
        min-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .header-container {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }

    /* Mobile carousel optimization */
    .banner-card {
        height: 200px;
        flex-direction: row;
    }

    .banner-content {
        width: 60%;
        padding: 1.25rem;
        justify-content: center;
    }

    .banner-image {
        width: 40%;
        height: auto;
        position: relative;
        opacity: 0.9;
    }

    .banner-image img {
        object-fit: contain;
    }

    .banner-title {
        font-size: 20px;
        line-height: 1.2;
    }

    .banner-caption {
        font-size: 11px;
        margin-bottom: 0.5rem;
    }

    .banner-button {
        font-size: 12px;
        padding: 0.5rem 0.75rem;
    }

    /* Show navigation on mobile */
    .carousel-nav {
        width: 36px;
        height: 36px;
        opacity: 1;
        pointer-events: auto;
        background: rgba(0, 0, 0, 0.6);
    }

    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }

    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }

    /* Show pagination on mobile */
    .carousel-pagination {
        display: flex;
        bottom: 0.75rem;
    }

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

    .features-wrapper {
        padding-bottom: 1rem;
    }

    .seo-content {
        padding: 2rem 0;
    }

    .seo-block h2 {
        font-size: 24px;
    }

    .seo-block h3 {
        font-size: 20px;
    }

    .seo-grid {
        grid-template-columns: 1fr;
    }

    .seo-cta {
        padding: 2rem 1rem;
    }

    .seo-cta h3 {
        font-size: 22px;
    }

    .btn-large {
        padding: 0.75rem 2rem;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .banner-card {
        height: 180px;
    }

    .banner-content {
        width: 55%;
        padding: 1rem;
    }

    .banner-image {
        width: 45%;
    }

    .banner-title {
        font-size: 18px;
        line-height: 1.1;
    }

    .banner-caption {
        font-size: 10px;
        margin-bottom: 0.4rem;
    }

    .banner-button {
        font-size: 11px;
        padding: 0.4rem 0.6rem;
    }

    .variable-box {
        font-size: 22px;
    }

    /* Even smaller navigation on very small screens */
    .carousel-nav {
        width: 32px;
        height: 32px;
        opacity: 1;
        pointer-events: auto;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }

    .carousel-pagination {
        display: flex;
        bottom: 0.5rem;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
    }

    .carousel-dot.active {
        width: 18px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

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

.animate-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
