/* ==========================================================================
   Dedo Link Premium Gaming Stylesheet - Stripe/Vercel Minimalist Redesign
   Theme: High-Contrast Monochromatic Dark & Minimal Layout
   ========================================================================== */

/* Root Definitions & Theme Variables */
:root {
    --bg-main: #000000;
    --bg-surface: #0a0a0a;
    --bg-surface-elevated: #121212;
    --border-color: #1a1a1a;
    --border-color-hover: #333333;
    
    --color-primary: #ffffff; /* Solid White */
    --color-secondary: #888888; /* Slate Gray */
    --color-accent: #ff4757; /* Minimalist Red Accent */
    --color-success: #10b981; /* Soft Green */
    --color-warning: #f59e0b; /* Soft Yellow */
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --text-muted: #525252;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Inter', var(--font-sans);
    
    --shadow-card: 0 0 0 1px #1a1a1a, 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 8px; /* Classic modern Vercel styling */
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

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

a:hover {
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.main-header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top-row {
    padding: 14px 0;
}

.header-top-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

/* Sleek minimalist text logotype */
.logo-box {
    background: transparent;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
}

.logo-top {
    font-weight: 700;
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
}

.logo-bottom {
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 2px;
}

.header-date {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    border-left: 1px solid var(--border-color);
    padding-left: 12px;
    letter-spacing: 0.05em;
}

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

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Minimalist Search Box */
.search-box {
    position: relative;
}

.search-box input {
    background: #0d0d0d;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 32px 6px 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    outline: none;
    width: 170px;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    width: 220px;
    border-color: #444;
    background: #111;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-btn:hover {
    color: #fff;
}

.search-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 320px;
    background: #0f0f0f;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    padding: 6px;
}

.search-dropdown.hidden {
    display: none;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.search-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.search-item img {
    width: 48px;
    height: 28px;
    object-fit: cover;
    border-radius: 4px;
}

.search-item-info h4 {
    font-size: 13px;
    text-transform: none;
    color: #fff;
}

.search-item-info span {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Subscribe Vercel Button style */
.youtube-subscribe-btn {
    background: #ffffff;
    color: #000000;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.youtube-subscribe-btn:hover {
    background: #e6e6e6;
    color: #000000;
}

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

.mobile-toggle span {
    width: 20px;
    height: 1.5px;
    background-color: var(--text-primary);
}

/* Minimal Top Announcement Banner (announcements style) */
.header-bottom-strip {
    background-color: #0a0a0a;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
}

.header-strip-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-label {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
}

.ticker-item a {
    font-size: 12px;
    color: var(--text-secondary);
}

.ticker-item a:hover {
    color: #fff;
}

/* Marquee strip fallback styling */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    padding-left: 100%;
}

.marquee-content span {
    display: inline-block;
    padding-right: 30px;
    color: var(--text-secondary);
    font-size: 12px;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Sponsor strip banner */
.sponsor-bar-container {
    background: #050505;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.sponsor-bar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sponsor-badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

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

.sponsor-cta {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
}

.sponsor-cta:hover {
    background: #fff;
    color: #000;
}

/* Main Grid Layout */
.main-layout-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.content-column {
    display: flex;
    flex-direction: column;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.column-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-left: 0;
}

.column-title::before {
    display: none;
}

.category-tabs-row {
    display: flex;
    gap: 6px;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 11px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Spotlight Card Vercel Overhaul */
.spotlight-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.spotlight-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.9);
}

.spotlight-img-link {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    display: block;
}

.spotlight-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.9);
}

.spotlight-card:hover .spotlight-img-link img {
    filter: brightness(1.0);
}

/* Category badging (Clean outline pills) */
.badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-weight: 600;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 4px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

.badge-category.pc { border-color: rgba(255, 255, 255, 0.2); }
.badge-category.vr { border-color: rgba(255, 255, 255, 0.2); }
.badge-category.mobile { border-color: rgba(255, 255, 255, 0.2); }

.play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.spotlight-card:hover .play-overlay-btn {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
}

.spotlight-details {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.spotlight-meta {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.spotlight-rating {
    color: #fff;
    font-weight: 600;
}

.spotlight-details h3 {
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.spotlight-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Small Grid Cards Row */
.games-grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.small-grid-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.small-grid-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.grid-img-wrapper {
    position: relative;
    height: 135px;
    overflow: hidden;
}

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

.small-grid-card:hover .grid-img-wrapper img {
    filter: brightness(1.0);
}

.grid-card-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--border-color);
}

.grid-card-size {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.grid-card-details h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: none;
    flex-grow: 1;
    color: #fff;
    letter-spacing: -0.01em;
}

.grid-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    margin-top: 4px;
}

.grid-card-rating {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.grid-download-btn {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 500;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.grid-download-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Sidebar Widgets (Stripe/Vercel panel style) */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-sidebar-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.sidebar-widget-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.sidebar-widget-title::before {
    display: none;
}

.news-sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.news-item-details {
    flex-grow: 1;
}

.news-item-details h4 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    margin-bottom: 4px;
}

.news-item-details h4 a {
    color: #eee;
}

.news-item-details h4 a:hover {
    color: #fff;
}

.news-item-date {
    font-size: 10px;
    color: var(--text-muted);
}

/* Sidebar Affiliate Box */
.sidebar-affiliate-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.sidebar-affiliate-content:hover {
    border-color: var(--border-color-hover);
}

/* Manual fallbacks & deals */
.manual-ad {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.manual-ad:hover {
    border-color: var(--border-color-hover);
}

.ad-tag {
    position: absolute;
    top: 4px;
    left: 12px;
    font-size: 8px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ad-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.ad-badge {
    font-weight: 600;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-text {
    font-size: 12px;
    color: var(--text-secondary);
    flex-grow: 1;
}

.ad-btn {
    background: #ffffff;
    color: #000000;
    font-weight: 500;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 4px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.ad-btn:hover {
    background: #e6e6e6;
    color: #000000;
}

/* Game Details Page Layout */
.game-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
}

.game-main-info {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.game-header-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.game-main-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.game-title-area {
    flex-grow: 1;
}

.game-title-area h1 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.game-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.meta-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
}

.meta-pill.highlight {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
}

.stars-rating {
    color: var(--color-warning);
    font-size: 13px;
}

.description-section, .gallery-section, .specs-section {
    margin-bottom: 32px;
}

.description-section h2, .gallery-section h2, .specs-section h2 {
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.description-section p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.gallery-grid img:hover {
    border-color: #444;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 10px 14px;
    font-size: 13px;
}

.specs-table td.spec-name {
    color: var(--text-muted);
    font-weight: 500;
    width: 30%;
}

.specs-table td.spec-val {
    color: #eee;
    font-weight: 400;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.sidebar-widget h3 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

/* Download box widget design */
.download-widget-box {
    background: #0f0f0f;
    border-color: #222;
}

.download-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #000000;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.download-main-btn:hover {
    background: #e6e6e6;
    color: #000000;
}

.affiliate-widget-box {
    background: var(--bg-surface);
    border-color: var(--border-color);
    position: relative;
    overflow: hidden;
}

.affiliate-widget-btn {
    display: block;
    text-align: center;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    margin-top: 14px;
}

.affiliate-widget-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* 15 Second Timer Page (download.php) */
.timer-container-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.timer-container-box h1 {
    font-size: 22px;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.timer-status {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 24px;
}

.progress-container {
    background: #111;
    border-radius: 4px;
    height: 6px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.progress-bar {
    height: 100%;
    background: #ffffff;
    width: 0%;
    transition: width 0.1s linear;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.revealed-link-area {
    display: none;
    animation: fadeInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.direct-download-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 30px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.direct-download-btn:hover {
    background: #e6e6e6;
    color: #000000;
}

/* Double column timer layout */
.timer-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}

/* Blog layouts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.blog-card:hover {
    border-color: var(--border-color-hover);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.9);
}

.blog-card:hover img {
    filter: brightness(1.0);
}

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

.blog-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.blog-card-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    text-transform: none;
    color: #fff;
    letter-spacing: -0.01em;
}

.blog-card-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    flex-grow: 1;
}

.read-more-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    align-self: flex-start;
}

.read-more-link:hover {
    border-bottom-color: #fff;
}

.blog-post-detail {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-card);
}

.blog-post-header h1 {
    font-size: 28px;
    text-transform: none;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.blog-post-featured-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 24px;
}

.blog-post-content h2, .blog-post-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: -0.01em;
}

.blog-post-content h2 { font-size: 20px; color: #fff; }
.blog-post-content h3 { font-size: 16px; color: var(--text-secondary); }

.blog-post-content p {
    margin-bottom: 16px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer Section */
.main-footer {
    background: #050505;
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px 0;
    margin-top: 60px;
}

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

.footer-col h3 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col h3::after {
    display: none;
}

.about-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icon {
    background: transparent;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: #444;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
}

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

.footer-disclaimer {
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

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

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* ── Laptop / Large Tablet (max-width: 1200px) ─────────────── */
@media (max-width: 1200px) {
    .container { max-width: 100%; padding: 0 20px; }

    .main-layout-grid {
        grid-template-columns: 1fr 280px;
        gap: 24px;
    }

    .spotlight-img-link { height: 300px; }

    .games-grid-row {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    }
}

/* ── Tablet (max-width: 1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
    .main-layout-grid {
        grid-template-columns: 1fr;
    }
    .timer-page-layout {
        grid-template-columns: 1fr;
    }
    .game-detail-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-column,
    .detail-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .spotlight-img-link { height: 260px; }

    .game-header-flex {
        flex-direction: column;
    }
    .game-main-thumb {
        width: 100%;
        height: 200px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid .about-col {
        grid-column: 1 / -1;
    }
}

/* ── Mobile / Large Phone (max-width: 768px) ────────────────── */
@media (max-width: 768px) {
    body { font-size: 13.5px; }

    .mobile-toggle { display: flex; }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        padding: 12px 20px 20px;
        gap: 4px;
        z-index: 999;
    }
    .nav-menu.open { display: flex; }

    .nav-link {
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 14px;
        display: block;
        width: 100%;
    }

    .nav-dropdown-wrapper { width: 100%; }
    .nav-dropdown-toggle { display: block; width: 100%; }
    .nav-dropdown-menu {
        position: static;
        display: none;
        border: none;
        background: rgba(255,255,255,0.03);
        border-radius: 4px;
        padding: 4px 0;
        margin-top: 4px;
        box-shadow: none;
    }
    .nav-dropdown-menu.open-mobile { display: block; }
    .nav-dropdown-menu li a { padding: 8px 16px; font-size: 13px; }

    .logo-area { gap: 8px; }
    .header-date { display: none; }
    .search-box input { width: 120px; }
    .search-box input:focus { width: 150px; }
    .youtube-subscribe-btn { display: none !important; }

    .mobile-toggle span {
        transition: all 0.2s ease;
    }
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .sponsor-bar-flex { flex-direction: column; text-align: center; gap: 10px; }

    .spotlight-img-link { height: 190px; }
    .spotlight-details h3 { font-size: 17px; }

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

    .sidebar-column,
    .detail-sidebar {
        grid-template-columns: 1fr;
    }

    .game-header-flex { flex-direction: column; gap: 12px; }
    .game-main-thumb { width: 100%; height: 160px; }
    .game-title-area h1 { font-size: 20px; }

    .blog-grid { grid-template-columns: 1fr; }
    .blog-post-header h1 { font-size: 22px; }
    .blog-post-featured-img { height: 200px; }

    .specs-table,
    .specs-table tbody,
    .specs-table tr,
    .specs-table td {
        display: block;
        width: 100%;
    }
    .specs-table tr {
        margin-bottom: 8px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 6px;
    }
    .specs-table td.spec-name {
        width: 100%;
        padding-bottom: 2px;
        font-size: 11px;
    }
    .specs-table td.spec-val { padding-top: 0; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-grid .about-col { grid-column: auto; }

    .footer-bottom-flex { flex-direction: column; gap: 8px; text-align: center; }

    .countdown-number { font-size: 36px; }
    .timer-container-box { padding: 20px 16px; }
    .timer-container-box h1 { font-size: 18px; }
    .direct-download-btn { font-size: 14px; padding: 8px 20px; width: 100%; text-align: center; }

    .ad-wrapper-cls {
        max-width: 100%;
        overflow: hidden;
    }
    .adsense-placeholder { width: 100%; height: 70px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 100px; }

    .category-tabs-row { flex-wrap: wrap; }

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

    .header-bottom-strip { display: none; }

    .search-dropdown { width: 250px; right: -30px; }

    .container { padding: 0 16px; }
}

/* ── Small Phone (max-width: 480px) ─────────────────────────── */
@media (max-width: 480px) {
    .games-grid-row {
        grid-template-columns: 1fr;
    }

    .spotlight-img-link { height: 160px; }
    .spotlight-details { padding: 12px; }
    .spotlight-details h3 { font-size: 15px; }

    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-card img { height: 150px; }

    .header-actions { gap: 8px; }
    .search-box input { width: 90px; font-size: 11px; }
    .search-box input:focus { width: 110px; }

    .logo-box { font-size: 16px; }
    .logo-bottom { margin-left: 1px; }

    .footer-links { column-count: 2; column-gap: 16px; }
    .footer-links li { break-inside: avoid; }

    .sidebar-news-item { flex-direction: column; gap: 8px; }
    .news-item-thumb { width: 100%; height: 100px; }

    .game-meta-pills { gap: 6px; }
    .meta-pill { font-size: 9px; }

    .download-main-btn { font-size: 13px; padding: 8px; }
}

/* SEO & Layout Shift Optimization Utilities */
img {
    max-width: 100%;
    height: auto;
    content-visibility: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.category-header-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-top: 10px;
    box-shadow: var(--shadow-card);
}

.product-deal-card {
    transition: var(--transition-smooth);
}

.product-deal-card:hover {
    border-color: var(--border-color-hover) !important;
}

.product-deal-card .grid-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: auto;
}

/* Nav Dropdown (MORE menu) */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #0f0f0f;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 6px 0;
    min-width: 180px;
    list-style: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    display: block;
}

.nav-dropdown-wrapper:hover .nav-dropdown-toggle {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

/* Utility Classes */
.btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--transition-smooth) !important;
    border: none !important;
    cursor: pointer !important;
}
.btn-primary:hover {
    background: #e6e6e6 !important;
    color: #000000 !important;
}
.btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--transition-smooth) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    cursor: pointer !important;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}
.text-warning { color: var(--color-warning) !important; }
.text-danger  { color: var(--color-accent) !important; }
.text-success { color: var(--color-success) !important; }
.text-muted-cls { color: var(--text-muted) !important; }

.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.ms-1 { margin-left: 4px !important; }
.ms-2 { margin-left: 8px !important; }
.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }

.category-block-card {
    transition: var(--transition-smooth);
}

.category-block-card:hover {
    border-color: #444 !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

.blog-card {
    transition: var(--transition-smooth);
}

.blog-card:hover {
    border-color: var(--border-color-hover);
}

.small-grid-card {
    transition: var(--transition-smooth);
}

.small-grid-card:hover {
    border-color: var(--border-color-hover);
}

.legal-page-box h2 {
    font-size: 16px;
    color: #fff;
    margin: 24px 0 10px;
    border-left: 2px solid #fff;
    padding-left: 8px;
}

.footer-links li a .bi {
    font-size: 12px;
    opacity: 0.8;
}

/* ============================================================
   HOMEPAGE — Premium Section Styles
   ============================================================ */

/* ── Layout wrapper reset for homepage ── */
.hp-wrap { padding-top: 14px; }

/* ── Every homepage section ── */
.hp-sec {
    margin-bottom: 28px;
    border: 1px solid #181818;
    border-radius: 10px;
    overflow: hidden;
    background: #080808;
}

/* ── Section header bar ── */
.hp-sec-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #181818;
    background: #0d0d0d;
}
.hp-sec-hdr h2 {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}
.hp-sec-hdr h2 .hdr-icon { font-size: 14px; }
.hp-sec-hdr .sec-sub { font-size: 9px; color: #333; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.hp-view-all {
    font-size: 9px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .05em; color: #444;
    text-decoration: none; display: flex; align-items: center; gap: 3px;
    transition: color .18s;
}
.hp-view-all:hover { color: #ffc600; }

/* ── Badge variants ── */
.sec-badge {
    font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    padding: 2px 7px; border-radius: 3px; margin-left: 6px;
    animation: badge-pulse 2s ease-in-out infinite;
}
.sec-badge.live   { background: #ff4757; color: #fff; }
.sec-badge.fresh  { background: #10b981; color: #fff; }
.sec-badge.hot    { background: #ff6b35; color: #fff; }
.sec-badge.new    { background: #ffc600; color: #000; }
.sec-badge.top    { background: #9b51e0; color: #fff; }
@keyframes badge-pulse {
    0%,100%{ opacity:1; } 50%{ opacity:.7; }
}

/* accent colour line on left of header */
.hp-sec-hdr.accent-gold  { border-left: 3px solid #ffc600; }
.hp-sec-hdr.accent-blue  { border-left: 3px solid #00e5ff; }
.hp-sec-hdr.accent-red   { border-left: 3px solid #ff4757; }
.hp-sec-hdr.accent-green { border-left: 3px solid #10b981; }
.hp-sec-hdr.accent-purple{ border-left: 3px solid #9b51e0; }
.hp-sec-hdr.accent-orange{ border-left: 3px solid #ff6b35; }
.hp-sec-hdr.accent-white { border-left: 3px solid #fff; }

/* ── Mini 6-column game card grid ── */
.mg-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: #181818; /* 1px grid lines via background */
}
@media(max-width:1100px){ .mg-grid { grid-template-columns: repeat(4,1fr); } }
@media(max-width:768px)  { .mg-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:480px)  { .mg-grid { grid-template-columns: repeat(2,1fr); } }

.mg-card {
    background: #080808;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: background .2s;
}
.mg-card:hover { background: #0f0f0f; }

/* image */
.mg-img-box { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.mg-img-box img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .3s; }
.mg-card:hover .mg-img-box img { transform: scale(1.06); }

/* gradient overlay on image */
.mg-img-box::after {
    content:''; position:absolute; inset:0;
    background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.88) 100%);
    pointer-events: none;
}

/* floating badges on image */
.mg-cat {
    position: absolute; top:5px; left:5px; z-index:2;
    font-size:7px; font-weight:800; text-transform:uppercase; letter-spacing:.07em;
    padding:1px 5px; border-radius:2px; color:#000;
}
.mg-cat.vr     { background:#00e5ff; }
.mg-cat.pc     { background:#ffc600; }
.mg-cat.mobile { background:#ff4757; color:#fff; }

.mg-star {
    position: absolute; bottom:5px; right:5px; z-index:2;
    font-size:8px; font-weight:700; color:#ffd700;
    background:rgba(0,0,0,.75); border-radius:2px; padding:1px 4px;
}

/* card info */
.mg-info { padding:7px 8px 9px; flex:1; display:flex; flex-direction:column; gap:5px; }
.mg-title {
    font-size:10px; font-weight:700; color:#e0e0e0; line-height:1.25;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-decoration:none;
    display:block;
}
.mg-title:hover { color:#fff; }
.mg-foot { display:flex; justify-content:space-between; align-items:center; }
.mg-size { font-size:8px; color:#3a3a3a; font-weight:600; }
.mg-btn {
    font-size:8px; font-weight:800; text-transform:uppercase;
    background:#fff; color:#000; padding:2px 7px; border-radius:2px;
    text-decoration:none; letter-spacing:.03em; transition: background .18s;
}
.mg-btn:hover { background:#ffc600; color:#000; }

/* ── 4-column grid variant ── */
.mg-grid-4 { grid-template-columns: repeat(4,1fr); }
@media(max-width:768px){ .mg-grid-4 { grid-template-columns: repeat(3,1fr); } }
@media(max-width:480px){ .mg-grid-4 { grid-template-columns: repeat(2,1fr); } }

/* ── Editor's Picks grid ── */
.ep-grid {
    display: grid;
    grid-template-columns: 2fr repeat(2,1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1px;
    background: #181818;
}
@media(max-width:768px){ .ep-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .ep-grid { grid-template-columns: 1fr; } }

.ep-main {
    grid-row: span 2;
    position: relative; overflow: hidden;
}
.ep-main img { width:100%; height:100%; min-height:260px; object-fit:cover; display:block; }
.ep-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.15) 65%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.ep-pick-badge { font-size:8px; font-weight:800; color:#ffc600; text-transform:uppercase; letter-spacing:.06em; margin-bottom:5px; }
.ep-main-title { font-size:16px; font-weight:800; color:#fff; line-height:1.2; margin:0 0 6px; }
.ep-desc { font-size:10px; color:#888; margin:0 0 10px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ep-row { display:flex; align-items:center; gap:10px; }
.ep-dl-btn { font-size:10px; font-weight:800; background:#fff; color:#000; padding:5px 14px; border-radius:3px; text-decoration:none; }
.ep-dl-btn:hover { background:#ffc600; }
.ep-star { font-size:11px; color:#ffd700; font-weight:700; }
.ep-size { font-size:10px; color:#444; }

.ep-small { position:relative; overflow:hidden; }
.ep-small img { width:100%; height:120px; object-fit:cover; display:block; transition: transform .3s; }
.ep-small:hover img { transform:scale(1.05); }
.ep-small-overlay {
    position:absolute; inset:0;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, transparent 55%);
    display:flex; flex-direction:column; justify-content:flex-end; padding:8px 10px;
}
.ep-small-title { font-size:10px; font-weight:700; color:#fff; margin:0 0 3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ep-small-row { display:flex; justify-content:space-between; align-items:center; }
.ep-s-star { font-size:9px; color:#ffd700; }
.ep-s-btn { font-size:7px; font-weight:800; background:rgba(255,255,255,.12); color:#ccc; padding:2px 5px; border-radius:2px; text-decoration:none; }
.ep-s-btn:hover { background:#ffc600; color:#000; }

/* ── Spotlight (2-wide) ── */
.sp-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:#181818; }
@media(max-width:640px){ .sp-grid { grid-template-columns:1fr; } }
.sp-card { position:relative; overflow:hidden; }
.sp-card img { width:100%; height:180px; object-fit:cover; display:block; transition:transform .3s; }
.sp-card:hover img { transform:scale(1.04); }
.sp-card-overlay {
    position:absolute; inset:0;
    background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
    display:flex; flex-direction:column; justify-content:flex-end; padding:12px 14px;
}
.sp-cat-badge { font-size:7px; font-weight:800; text-transform:uppercase; padding:2px 5px; border-radius:2px; color:#000; margin-bottom:4px; display:inline-block; }
.sp-card-title { font-size:13px; font-weight:800; color:#fff; margin:0 0 6px; line-height:1.2; }
.sp-card-row { display:flex; align-items:center; gap:10px; }
.sp-card-rating { font-size:10px; color:#ffd700; font-weight:700; }
.sp-card-btn { font-size:8px; font-weight:800; background:#fff; color:#000; padding:3px 9px; border-radius:2px; text-decoration:none; }
.sp-card-btn:hover { background:#ffc600; }

/* ── Horizontal scroll strip ── */
.hs-strip { display:flex; gap:8px; overflow-x:auto; padding:10px 14px; scrollbar-width:thin; scrollbar-color:#1a1a1a transparent; border-top:1px solid #141414; }
.hs-strip::-webkit-scrollbar { height:3px; }
.hs-strip::-webkit-scrollbar-thumb { background:#1e1e1e; border-radius:2px; }
.hs-card { flex-shrink:0; width:110px; background:#0d0d0d; border:1px solid #181818; border-radius:7px; overflow:hidden; transition:transform .2s,border-color .2s; }
.hs-card:hover { transform:translateY(-2px); border-color:#2a2a2a; }
.hs-card img { width:110px; height:65px; object-fit:cover; display:block; }
.hs-card-info { padding:5px 7px 7px; }
.hs-card-info h5 { font-size:9px; font-weight:700; color:#ddd; margin:0 0 3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hs-card-meta { display:flex; justify-content:space-between; align-items:center; }
.hs-star { font-size:8px; color:#ffd700; }
.hs-btn { font-size:7px; font-weight:800; background:#1a1a1a; color:#888; padding:2px 5px; border-radius:2px; text-decoration:none; }
.hs-btn:hover { background:#ffc600; color:#000; }

/* ── Ranked chart list ── */
.ranked-table { width:100%; border-collapse:collapse; }
.ranked-table tr { border-bottom:1px solid #131313; transition: background .18s; }
.ranked-table tr:last-child { border-bottom:none; }
.ranked-table tr:hover { background:#0d0d0d; }
.ranked-table td { padding:8px 12px; vertical-align:middle; }
.rank-num { font-size:14px; font-weight:900; color:#1e1e1e; width:28px; text-align:center; font-variant-numeric: tabular-nums; }
.ranked-table tr:nth-child(1) .rank-num { color:#ffd700; }
.ranked-table tr:nth-child(2) .rank-num { color:#c0c0c0; }
.ranked-table tr:nth-child(3) .rank-num { color:#cd7f32; }
.rank-img { width:44px; height:28px; border-radius:4px; object-fit:cover; }
.rank-title-cell { padding-left:10px; }
.rank-game-title { font-size:11px; font-weight:700; color:#e0e0e0; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:160px; text-decoration:none; }
.rank-game-title:hover { color:#fff; }
.rank-cat { font-size:8px; color:#3a3a3a; font-weight:600; text-transform:uppercase; }
.rank-size { font-size:9px; color:#3a3a3a; text-align:right; white-space:nowrap; }
.rank-rating { font-size:10px; font-weight:800; color:#ffd700; text-align:right; white-space:nowrap; }
.rank-dl-btn { text-align:right; }
.rank-dl-btn a { font-size:8px; font-weight:800; background:#151515; border:1px solid #222; color:#888; padding:3px 8px; border-radius:3px; text-decoration:none; white-space:nowrap; }
.rank-dl-btn a:hover { background:#ffc600; color:#000; border-color:#ffc600; }

/* ── News ticker ── */
.hp-ticker {
    background:#0a0a0a; border:1px solid #181818; border-radius:8px;
    display:flex; align-items:center; overflow:hidden; margin-bottom:20px; height:36px;
}
.hp-ticker-label {
    background:#ffc600; color:#000; font-size:8px; font-weight:800;
    text-transform:uppercase; letter-spacing:.07em;
    padding:0 12px; height:100%; display:flex; align-items:center; white-space:nowrap; flex-shrink:0;
}
.hp-ticker-track { flex:1; overflow:hidden; position:relative; }
.hp-ticker-inner { display:flex; gap:36px; white-space:nowrap; animation:hp-ticker 28s linear infinite; padding:0 16px; }
.hp-ticker-inner:hover { animation-play-state:paused; }
.hp-ticker-item { font-size:10px; color:#555; display:inline-flex; align-items:center; gap:6px; }
.hp-ticker-item a { color:#666; text-decoration:none; }
.hp-ticker-item a:hover { color:#ffc600; }
@keyframes hp-ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Ad strips ── */
.hp-ad-strip {
    width:100%; display:flex; justify-content:center; align-items:center;
    padding:10px 14px; position:relative; background:#060606;
    border-top:1px solid #131313; border-bottom:1px solid #131313;
    margin:16px 0;
}
.hp-ad-label {
    position:absolute; top:-9px; left:50%; transform:translateX(-50%);
    background:#060606; color:#222; font-size:8px; font-weight:700;
    letter-spacing:.08em; padding:1px 10px; border-radius:20px;
    border:1px solid #1a1a1a; text-transform:uppercase; white-space:nowrap;
}

/* standalone strip that spans full width below a section card */
.hp-ad-row { margin:0 0 28px; border:1px solid #181818; border-radius:10px; overflow:hidden; background:#060606; }
.hp-ad-row-inner { display:flex; justify-content:center; align-items:center; padding:12px; }

/* ── Category promo grid ── */
.cat-grid {
    display:grid; grid-template-columns:repeat(6,1fr); gap:1px;
    background:#181818;
}
@media(max-width:900px){ .cat-grid{grid-template-columns:repeat(3,1fr);} }
@media(max-width:480px){ .cat-grid{grid-template-columns:repeat(2,1fr);} }
.cat-card {
    background:#080808; padding:16px 12px; text-align:center;
    text-decoration:none; display:flex; flex-direction:column;
    align-items:center; gap:5px; transition:background .2s;
}
.cat-card:hover { background:#0f0f0f; }
.cat-card-icon { font-size:22px; }
.cat-card-name { font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:#fff; }
.cat-card-count { font-size:8px; color:#333; font-weight:600; }

/* ── Download badge grid (numbered) ── */
.dl-num-grid {
    display:grid; grid-template-columns:repeat(6,1fr); gap:1px;
    background:#181818;
}
@media(max-width:900px){ .dl-num-grid{grid-template-columns:repeat(4,1fr);} }
@media(max-width:480px){ .dl-num-grid{grid-template-columns:repeat(3,1fr);} }
.dl-num-card { background:#080808; position:relative; overflow:hidden; transition:background .2s; }
.dl-num-card:hover { background:#0e0e0e; }
.dl-num-card img { width:100%; height:64px; object-fit:cover; display:block; }
.dl-num { position:absolute; top:3px; left:3px; background:rgba(0,0,0,.8); color:#333; font-size:9px; font-weight:800; padding:1px 5px; border-radius:2px; }
.dl-num-card:nth-child(1) .dl-num,
.dl-num-card:nth-child(2) .dl-num,
.dl-num-card:nth-child(3) .dl-num { color:#ffc600; }
.dl-num-title { padding:4px 6px 6px; font-size:8px; font-weight:700; color:#aaa; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ── Sidebar compact top-rated list ── */
.sb-ranked-item {
    display:flex; align-items:center; gap:8px; padding:7px 0;
    border-bottom:1px solid #131313; text-decoration:none;
}
.sb-ranked-item:last-child { border-bottom:none; padding-bottom:0; }
.sb-rank-num { font-size:11px; font-weight:900; min-width:16px; text-align:center; }
.sb-rank-num.gold   { color:#ffd700; }
.sb-rank-num.silver { color:#c0c0c0; }
.sb-rank-num.bronze { color:#cd7f32; }
.sb-rank-num.other  { color:#2a2a2a; }
.sb-rank-img { width:42px; height:28px; border-radius:3px; object-fit:cover; flex-shrink:0; }
.sb-rank-info h5 { font-size:10px; font-weight:700; color:#ccc; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:150px; }
.sb-rank-info span { font-size:8px; color:#333; text-transform:uppercase; font-weight:600; }
.sb-rank-star { font-size:9px; color:#ffd700; font-weight:700; margin-left:auto; flex-shrink:0; }

/* ── Quick picks mini 2-col ── */
.sb-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.sb-quick-card { border-radius:5px; overflow:hidden; border:1px solid #181818; transition:border-color .2s; text-decoration:none; }
.sb-quick-card:hover { border-color:#2a2a2a; }
.sb-quick-card img { width:100%; height:48px; object-fit:cover; display:block; }
.sb-quick-title { font-size:8px; font-weight:700; color:#aaa; padding:4px 5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ── Genre pill row ── */
.genre-pill-row { display:flex; align-items:center; gap:8px; padding:0 14px 10px; flex-wrap:wrap; }
.gp { display:inline-flex; align-items:center; gap:4px; padding:3px 9px; border-radius:20px; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; border:1px solid; }
.gp.bus    { color:#ff6b35; border-color:rgba(255,107,53,.3); background:rgba(255,107,53,.08); }
.gp.race   { color:#ffc600; border-color:rgba(255,198,0,.3);  background:rgba(255,198,0,.07); }
.gp.battle { color:#ff4757; border-color:rgba(255,71,87,.3);  background:rgba(255,71,87,.07); }
.gp.open   { color:#10b981; border-color:rgba(16,185,129,.3); background:rgba(16,185,129,.07);}
.gp.sim    { color:#9b51e0; border-color:rgba(155,81,224,.3); background:rgba(155,81,224,.07);}

/* ── Sponsor bar ── */
.sponsor-bar-strip { background:#050505; border-top:1px solid #131313; padding:14px 0; margin-top:4px; }
.sponsor-bar-flex  { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.sponsor-label { font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.07em; color:#222; white-space:nowrap; }
.sponsor-text  { font-size:11px; color:#444; flex:1; }
.sponsor-btn   { font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; background:#ffc600; color:#000; padding:5px 14px; border-radius:4px; text-decoration:none; white-space:nowrap; }
.sponsor-btn:hover { background:#fff; color:#000; }

/* ── Responsive collapse ── */
@media(max-width:900px){
    .main-layout-grid { grid-template-columns:1fr !important; gap:0 !important; }
    .sidebar-column { margin-top:24px; }
}
