* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffa800;
    --secondary-color: #1c1c2e;
    --accent-color: #00d4ff;
    --dark-bg: #0a0a14;
    --card-bg: #151520;
    --text-light: #ffffff;
    --text-gray: #8e8e9e;
    --gradient-1: linear-gradient(135deg, #ffa800 0%, #ff6b00 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(255, 168, 0, 0.15), transparent 70%);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    /* Space for fixed header */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: center;
    /* Center logo */
    align-items: center;
    position: relative;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo i {
    color: var(--primary-color);
    font-size: 28px;
}

/* Hero Banner Slider */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.banner-slider {
    height: 100%;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.banner-image {
    position: relative;
    z-index: 1;
}

.banner-image i {
    font-size: 200px;
    color: rgba(255, 168, 0, 0.2);
    filter: drop-shadow(0 0 30px rgba(255, 168, 0, 0.3));
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Games Section */
.games-section {
    padding: 40px 0;
}

.game-categories {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    /* Firefox */
    justify-content: center;
}

.game-categories::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.category-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 168, 0, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-count {
    background: rgba(255, 168, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Game Card Redesign */
.game-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
}

.game-image {
    position: relative;
    padding-top: 133%;
    /* 3:4 Aspect Ratio */
    background: #1e1e2f;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-card:hover .game-image img {
    transform: scale(1.12);
}

.game-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(45deg, #151520, #1e1e2f);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.btn-play {
    padding: 12px 28px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(255, 168, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card:hover .btn-play {
    transform: translateY(0) scale(1);
}

.btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 168, 0, 0.6);
}

.game-info {
    padding: 15px 5px 5px;
}

.game-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.game-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-favorite {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    padding: 0;
    margin-top: 2px;
}

.btn-favorite:hover {
    color: #ff4757;
    transform: scale(1.2);
}

/* Footer */
.footer {
    background: #05050a;
    padding: 80px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 400px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-badges {
    display: flex;
    gap: 15px;
    align-items: center;
}

.badge-18 {
    background: #ff4757;
    color: #fff;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.badge-gamble {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 30px;
    }

    .social-links {
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .hero-banner {
        height: 350px;
        border-radius: 0 0 20px 20px;
    }

    .banner-slide {
        background-size: cover !important;
        background-position: center !important;
    }

    .banner-slide .container {
        justify-content: center;
    }

    .banner-content {
        max-width: 100%;
        text-align: center;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .banner-image {
        display: none;
    }

    .slider-dots {
        bottom: 20px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Mobile */
        gap: 15px;
        padding: 0 5px;
    }

    .game-image {
        border-radius: 10px;
    }

    .game-info h3 {
        font-size: 13px;
    }

    .btn-play {
        padding: 8px 16px;
        font-size: 12px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-column a:hover {
        transform: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .game-categories {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        padding: 0 10px 15px 10px;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    .game-categories::-webkit-scrollbar {
        height: 6px;
    }
    
    .game-categories::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .game-categories::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .category-btn {
        padding: 12px 24px;
        font-size: 14px;
        flex-shrink: 0;
        min-width: fit-content;
    }

    .category-btn i {
        font-size: 18px;
    }
    
    .category-btn span {
        display: inline;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }

    .logo i {
        font-size: 22px;
    }

    .hero-banner {
        height: 250px;
    }

    .banner-content h2 {
        font-size: 22px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .btn-large {
        padding: 10px 20px;
        font-size: 13px;
    }

    .games-grid {
        gap: 12px;
    }

    .game-info h3 {
        font-size: 12px;
    }

    .game-info {
        padding: 12px 5px 5px;
    }

    .category-btn span {
        display: inline;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Page Styles */
        .page-header {
            background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
            padding: 80px 0 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 50% 50%, rgba(255, 168, 0, 0.1), transparent 70%);
        }

        .page-header h1 {
            font-size: 48px;
            font-weight: 900;
            margin-bottom: 15px;
            position: relative;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            gap: 15px;
        }

        .page-header h1 i {
            color: var(--primary-color);
        }

        .page-header p {
            font-size: 18px;
            color: var(--text-gray);
            position: relative;
            z-index: 2;
        }

        .page-content {
            padding: 60px 0;
        }

        .content-box {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 50px;
            border: 1px solid rgba(255, 168, 0, 0.1);
            max-width: 900px;
            margin: 0 auto;
        }

        .content-box h2 {
            font-size: 32px;
            margin-bottom: 20px;
            color: var(--primary-color);
        }

        .content-box h3 {
            font-size: 22px;
            margin-top: 35px;
            margin-bottom: 15px;
            color: var(--text-light);
        }

        .content-box p {
            line-height: 1.8;
            color: var(--text-gray);
            margin-bottom: 20px;
        }

        .terms-list {
            list-style: none;
            padding-left: 0;
            margin: 20px 0;
        }

        .terms-list li {
            padding: 10px 0 10px 30px;
            position: relative;
            color: var(--text-gray);
            line-height: 1.6;
        }

        .terms-list li::before {
            content: '•';
            position: absolute;
            left: 10px;
            color: var(--primary-color);
            font-size: 20px;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 25px 0;
        }

        .feature-list li {
            padding: 12px 0;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-gray);
            font-size: 16px;
        }

        .feature-list i {
            color: var(--primary-color);
            font-size: 18px;
        }

        .contact-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }

        .contact-item {
            background: var(--dark-bg);
            padding: 30px;
            border-radius: 15px;
            display: flex;
            align-items: flex-start;
            gap: 20px;
            border: 1px solid rgba(255, 168, 0, 0.1);
        }

        .contact-item i {
            font-size: 32px;
            color: var(--primary-color);
        }

        .contact-item h3 {
            margin: 0 0 8px 0;
            font-size: 18px;
        }

        .contact-item p {
            margin: 0;
            color: var(--text-gray);
        }

        .contact-form {
            margin-top: 40px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: var(--text-light);
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 18px;
            background: var(--dark-bg);
            border: 1px solid rgba(255, 168, 0, 0.2);
            border-radius: 10px;
            color: var(--text-light);
            font-size: 15px;
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 168, 0, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            font-family: inherit;
        }

        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 32px;
            }

            .content-box {
                padding: 30px 20px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .contact-info {
                grid-template-columns: 1fr;
            }
        }

/*
 Banner Mobile Background Images */
@media (max-width: 768px) {
    .banner-slide[data-slide="1"] {
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://casino.topspingame.com/dashboard/endOfUsIcon.png') center/cover !important;
    }
    
    .banner-slide[data-slide="2"] {
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://casino.topspingame.com/dashboard/kaboomIcon.png') center/cover !important;
    }
    
    .banner-slide[data-slide="3"] {
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://casino.topspingame.com/dashboard/airavaticon_global.jpg') center/cover !important;
    }
    
    .banner-right {
        display: none !important;
    }
    
    .banner-left {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .banner-features {
        justify-content: center !important;
    }
}

/* Custom Game Loader with Logo */
.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 168, 0, 0.4);
}
