@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Indigo Palette */
    --primary-color: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.2);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --secondary-color: #111827;
    
    --bg-light: #ffffff;
    --bg-soft: #f9fafb;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --border-soft: #f3f4f6;
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --shadow-premium: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    width: 96%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
}

/* Header & Navbar */
header {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-soft);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
    background: #fff;
    box-shadow: var(--shadow-premium);
}


.navbar {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

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

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-tg-btn {
    background: #24A1DE;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(36, 161, 222, 0.2);
}

.nav-tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(36, 161, 222, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 350px; /* Reduced for Game Focus */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 75px;
    background: #000;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    color: #fff;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 25px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 15px var(--primary-glow);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px var(--primary-glow);
}


/* Games Section */
.games-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 35px;
    color: var(--secondary-color);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
    padding: 5px;
    background: #fff;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-premium);
}


.tab-btn {
    padding: 10px 25px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px var(--primary-glow);
}

.tabs-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Game Card - Compact Height */
.game-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-premium);
    margin-bottom: 8px;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.game-card-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-icon-card {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.game-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.game-bonus {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-withdraw, .game-rating {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-rating i {
    color: #f59e0b;
}

.download-btn {
    background: #111827;
    color: #fff;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.index-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px var(--primary-glow);
}

/* Info Section */
.info-section {
    padding: 60px 0;
    background: #fff;
}

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

.info-card {
    padding: 35px 25px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    text-align: center;
    border: 1px solid var(--border-soft);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.4rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Game Details Page Redesign */
.details-wrapper {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.08), transparent 40%);
}

.details-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: 1px solid var(--border-glass);
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-premium);
}

.details-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.details-icon {
    width: 160px;
    height: 160px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--border-glass);
}

.details-name {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 35px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-large {
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-download {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 15px var(--primary-glow);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--primary-glow);
}

.btn-tg {
    background: #000;
    color: #fff;
}

.btn-tg:hover {
    background: #222;
    transform: translateY(-3px);
}

.desc-box {
    text-align: left;
    background: var(--bg-soft);
    padding: 35px;
    border-radius: var(--radius-md);
    line-height: 1.8;
}

.desc-box h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

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

/* Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .details-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .game-card{
        padding: 12px 6px;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        z-index: 1001;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1002;
    }

    .hero {
        height: 400px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .actions-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .game-meta-row {
        display: none;
    }
}

/* Related Games */
.related-games {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-soft);
}

.related-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: left;
}
