/* Unified Premium Light Theme and Aesthetics */
:root {
    --bg-main: #f8fafc; /* slate-50 */
    --bg-slate: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-light: rgba(15, 23, 42, 0.08); /* slate-900 at 8% opacity */
    --text-main: #0f172a; /* slate-900 */
    --text-muted: #475569; /* slate-600 */
    --primary: #059669; /* emerald-600 */
    --primary-hover: #047857; /* emerald-700 */
    --secondary: #d97706; /* amber-600 */
    --secondary-hover: #b45309; /* amber-700 */
    --danger: #dc2626;
    --success: #059669;
    --font-gaming: 'Outfit', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .fs-4, .name, .hero-title, .section-title {
    font-family: var(--font-gaming);
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

a:hover {
    color: var(--primary-hover);
}

/* Glassmorphism Utilities with Soft Shadows */
.glass-panel {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
}

/* Header Navbar Overhaul */
header.bg-primary {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 38px;
    height: 38px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f172a 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main) !important;
    background-color: rgba(15, 23, 42, 0.04);
}

.nav-link.active {
    border-bottom: 2px solid var(--primary);
    border-radius: 8px 8px 0 0;
}

/* Marquee Bar styling */
.bg-dark.pt-2 {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border-light);
}

marquee {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
}

/* Premium Hero Section */
.hero-section {
    padding: 60px 0 40px 0;
    text-align: center;
    background: radial-gradient(circle at top, rgba(5, 150, 105, 0.05) 0%, rgba(248, 250, 252, 0) 60%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0f172a 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

/* Stats Badges */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.stat-item {
    padding: 15px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-gaming);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Interactive Category Filter Chips */
.chips-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.chip-btn {
    background-color: var(--bg-slate);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.chip-btn:hover {
    color: var(--text-main);
    border-color: rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

.chip-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

/* Search bar styling */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.search-input {
    width: 100%;
    background-color: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-main) !important;
    padding: 15px 20px 15px 50px !important;
    border-radius: 50px !important;
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}

.search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.1) !important;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Game Grid Layout - 3 columns on desktop, 1 on mobile */
.games-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 576px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Glassmorphic Game Cards */
.premium-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    background-color: var(--bg-slate);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border-color: rgba(5, 150, 105, 0.25);
}

.card-top-info {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.card-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.premium-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card-game-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.2;
}

.rating-pill {
    background: rgba(217, 119, 6, 0.08);
    color: var(--secondary);
    border: 1px solid rgba(217, 119, 6, 0.15);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.meta-box {
    display: flex;
    flex-direction: column;
}

.meta-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-value {
    font-weight: 700;
    color: var(--text-main);
}

.meta-value.bonus {
    color: var(--secondary);
}

.meta-value.redeem {
    color: var(--primary);
}

.card-actions {
    margin-top: auto;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.btn-premium:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* Carousel / Game Slider Styles */
.game-slider-wrapper {
    position: relative;
    padding: 0 50px;
    margin-bottom: 40px;
}

.game-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.game-slider::-webkit-scrollbar {
    display: none;
}

.game-slide {
    flex: 0 0 auto;
    width: 90px;
    text-align: center;
    transition: var(--transition-smooth);
}

.game-slide:hover {
    transform: scale(1.1) translateY(-4px);
}

.game-slide img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-light);
}

.game-slide .game-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 10px;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-main) !important;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.slider-btn:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Premium Quick Shortcuts Navigation Dashboard */
.shortcuts-container {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 45px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.shortcuts-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.shortcuts-title i {
    color: var(--primary);
}

.shortcuts-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
}

.shortcut-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.shortcut-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border-color: rgba(5, 150, 105, 0.2);
}

.shortcut-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(5, 150, 105, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

.shortcut-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Latest Blogs Grid Section */
.blogs-section-title {
    margin: 50px 0 25px 0;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.premium-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: var(--transition-smooth);
    background-color: var(--bg-slate);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.premium-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.15);
}

.blog-img-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.premium-blog-card:hover .blog-img-wrapper img {
    transform: scale(1.06);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.blog-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

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

/* Telegram banner overhaul */
.telegram-block {
    margin: 40px 0;
}

.telegram-card {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.25);
    flex-wrap: wrap;
    gap: 20px;
}

.telegram-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.telegram-icon {
    font-size: 3rem;
    color: #ffffff;
}

.telegram-text h4 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 6px;
}

.telegram-text p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.telegram-join-btn {
    background-color: #ffffff;
    color: #0088cc !important;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.telegram-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: #f8fafc;
}

/* Custom Scroll to Top Button */
.scroll-btn {
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

/* Specifications Table details page styles */
.table {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

.table th, .table td {
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(15, 23, 42, 0.02);
}

/* Featured App spotlight badge styles */
.featured-box {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, rgba(217, 119, 6, 0.04) 100%);
    border: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.featured-box img {
    border: 2px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Search Suggestions styling */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-slate);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    margin-top: 8px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: none;
    overflow: hidden;
}

.suggestion-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: rgba(15, 23, 42, 0.02);
}

.suggestion-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.suggestion-info {
    display: flex;
    flex-direction: column;
}

.suggestion-name {
    font-weight: 600;
    color: var(--text-main);
}

.suggestion-bonus {
    font-size: 0.8rem;
    color: var(--secondary);
}

/* Responsive breakdowns & Phone UI Optimization */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        gap: 10px;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .telegram-card {
        flex-direction: column;
        text-align: center;
    }
    
    .telegram-info {
        flex-direction: column;
    }
    
    .slider-btn {
        display: none !important;
    }
    
    .game-slider-wrapper {
        padding: 0;
    }
}

/* Specific Phone Viewport sizing upgrades to "work bigger perfectly" */
@media (max-width: 576px) {
    body {
        font-size: 1.05rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .chip-btn {
        padding: 12px 24px;
        font-size: 1.05rem;
    }
    
    .premium-card {
        padding: 24px !important;
    }
    
    .card-game-title {
        font-size: 1.45rem;
    }
    
    .card-img-wrapper {
        width: 90px;
        height: 90px;
        border-radius: 20px;
    }
    
    .meta-label {
        font-size: 0.8rem;
    }
    
    .meta-value {
        font-size: 1.1rem;
    }
    
    .btn-premium {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .shortcuts-container {
        padding: 24px 15px;
    }
    
    .shortcut-card {
        padding: 24px 15px;
    }
    
    .shortcut-name {
        font-size: 1.25rem;
    }
    
    .shortcut-desc {
        font-size: 0.95rem;
    }
}

/* Vanilla Share Buttons styling */
.share-buttons-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-facebook {
    background-color: #1877f2;
}

.share-twitter {
    background-color: #000000;
}

.share-whatsapp {
    background-color: #25d366;
}

.share-telegram {
    background-color: #0088cc;
}

/* 4-column quick shortcuts navigation layout overrides */
@media (min-width: 992px) {
    .shortcuts-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (max-width: 992px) and (min-width: 576px) {
    .shortcuts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    .shortcuts-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Calculator Grid & Cards Styling */
.calc-apps-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}
.calc-apps-grid::-webkit-scrollbar {
    width: 6px;
}
.calc-apps-grid::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
    border-radius: 4px;
}
.calc-app-card {
    transition: var(--transition-smooth) !important;
}
.calc-app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.05);
    border-color: rgba(5, 150, 105, 0.2) !important;
}
.calc-app-card.active {
    border-color: var(--primary) !important;
    background-color: rgba(5, 150, 105, 0.05) !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.1) !important;
}

/* ==========================================
   ULTRA-MODERN HERO BANNER & GAMING UI STYLES
   ========================================== */
.hero-banner-wrapper {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 60px 0 50px 0;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.35;
}
.hero-bg-glow.glow-1 {
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #10b981 0%, rgba(0,0,0,0) 70%);
}
.hero-bg-glow.glow-2 {
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, rgba(0,0,0,0) 70%);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-main-heading {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stat Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 12px;
    transition: var(--transition-smooth);
}
.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.stat-icon {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.stat-val {
    font-family: var(--font-gaming);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}
.stat-lbl {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Hero Search Component */
.hero-search-box {
    position: relative;
    max-width: 620px;
    margin: 0 auto 16px auto;
}
.hero-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 16px 20px 16px 52px !important;
    border-radius: 50px !important;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}
.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.hero-search-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25) !important;
}
.hero-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
}

.hero-quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.quick-tag-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.quick-tag-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Featured Spotlight Banner */
.featured-spotlight-card {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.spotlight-border-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #10b981, #06b6d4, #8b5cf6, #10b981);
    background-size: 300% 300%;
    z-index: 1;
    border-radius: 26px;
    opacity: 0.4;
    animation: borderRotate 6s linear infinite;
    pointer-events: none;
}
@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.spotlight-app-icon {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    transition: var(--transition-smooth);
}
.spotlight-img-link:hover .spotlight-app-icon {
    transform: scale(1.05);
}

.pulse-badge {
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

.spotlight-title {
    font-family: var(--font-gaming);
    font-weight: 900;
    font-size: 1.9rem;
    line-height: 1.25;
}
.spotlight-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 580px;
}
.spotlight-feat-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 8px;
}

.btn-spotlight-download {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35) !important;
    transition: var(--transition-smooth);
}
.btn-spotlight-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5) !important;
}

/* Slide Cards */
.slide-img-box {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}
.game-slide:hover .slide-img-box {
    transform: scale(1.08);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}
.slide-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-bonus-pill {
    background: rgba(217, 119, 6, 0.1);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 4px;
    display: inline-block;
}

/* Section Headings */
.section-heading {
    font-family: var(--font-gaming);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

/* Feature Showcase Grid */
.feature-card {
    transition: var(--transition-smooth);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto;
}
.bg-success-soft { background: rgba(16, 185, 129, 0.1); }
.bg-primary-soft { background: rgba(37, 99, 235, 0.1); }
.bg-warning-soft { background: rgba(245, 158, 11, 0.1); }
.bg-info-soft { background: rgba(6, 182, 212, 0.1); }

@media (max-width: 768px) {
    .hero-main-heading { font-size: 2.1rem; }
    .hero-subtext { font-size: 0.95rem; }
    .spotlight-title { font-size: 1.5rem; }
    .spotlight-app-icon { width: 85px; height: 85px; border-radius: 18px; }
}

/* ==========================================
   COMPACT INSTANT APP-FIRST HERO TOP BAR
   ========================================== */
.compact-hero-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 24px 0 16px 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.compact-title {
    font-family: var(--font-gaming);
    font-size: 1.75rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.compact-subtext {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}
.compact-search-box {
    position: relative;
    min-width: 280px;
    flex-grow: 1;
    max-width: 420px;
}
.compact-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    padding: 10px 16px 10px 42px !important;
    border-radius: 30px !important;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}
.compact-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.compact-search-input:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2) !important;
}
.compact-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}
.compact-stat-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 30px;
    white-space: nowrap;
}

/* Compact Featured Spotlight Card */
.featured-spotlight-compact {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
.compact-spotlight-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* 4-column Desktop Grid Override */
@media (min-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}


/* ==========================================
   PREMIUM DARK HEADER & FOOTER STYLES
   ========================================== */

/* Site Header - Dark Glassmorphism */
.site-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
}

/* Override Bootstrap bg-primary from old header */
header.bg-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.nav-brand-text {
    font-family: var(--font-gaming);
    font-size: 1.3rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.nav-link-modern {
    color: rgba(255,255,255,0.75) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}
.nav-link-modern:hover,
.nav-link-modern.active {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08);
}
.nav-link-modern.active {
    border-bottom: 2px solid #10b981;
    border-radius: 8px 8px 0 0;
}

.nav-cta-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: var(--transition-smooth);
}
.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: #ffffff !important;
}

/* Ticker Bar */
.ticker-bar {
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 6px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
}
.ticker-label {
    background: #10b981;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Navbar brand override */
.navbar-brand {
    font-size: 1rem;
    font-weight: 800;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* Mobile nav */
@media (max-width: 992px) {
    .nav-link-modern {
        padding: 10px 16px !important;
        border-radius: 8px;
        display: block;
        margin-bottom: 2px;
    }
    .nav-cta-btn {
        margin-top: 8px;
        display: block;
        text-align: center;
    }
}

/* ==========================================
   PREMIUM DARK FOOTER
   ========================================== */
.site-footer {
    background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #0a0f1e 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
}
.footer-top-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, #06b6d4, transparent);
}
.footer-heading {
    font-family: var(--font-gaming);
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}
.footer-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.footer-links li a:hover {
    color: #10b981;
    padding-left: 4px;
}
.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}
.footer-social-btn.telegram { background: #0088cc; }
.footer-social-btn.facebook { background: #1877f2; }
.footer-social-btn.youtube { background: #ff0000; }
.footer-social-btn:hover { opacity: 0.85; }

.footer-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0088cc 0%, #005b8a 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.25);
}
.footer-telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    color: #ffffff;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 40px 0 24px 0;
}
.footer-scroll-top {
    background: linear-gradient(135deg, #10b981, #047857);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}
.footer-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* ==========================================
   ALL-GAMES PAGE — 4 col grid
   ========================================== */
@media (min-width: 992px) {
    .all-games-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media (min-width: 1400px) {
    .all-games-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* Body background override - subtle pattern */
body {
    background-color: #f1f5f9;
    background-image: radial-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Card Padding fix */
.premium-card {
    padding: 18px !important;
}

