/* ==========================================================================
   Dedo Link Premium Gaming Stylesheet
   Theme: NewsPinch Navy-Blue, Red & Yellow Accent layout Vibe
   ========================================================================== */

/* Root Definitions & Theme Variables */
:root {
    --bg-main: #0a0d17;
    --bg-surface: #101626;
    --bg-surface-elevated: #161e33;
    --border-color: #1f2b48;
    
    --color-primary: #ffc600; /* Gold / Yellow */
    --color-secondary: #00f2fe; /* Neon Cyan */
    --color-accent: #e50914; /* News Red */
    --color-success: #00e676; /* Bright Green */
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Rajdhani', var(--font-sans);
    
    --shadow-neon: 0 0 15px rgba(255, 198, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
    
    --transition-smooth: all 0.25s ease;
    --border-radius: 4px; /* Crisp borders like NewsPinch */
}

/* 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: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

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

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

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

/* Header & Navigation */
.main-header {
    background-color: #121824;
    border-bottom: 1px solid var(--border-color);
}

.header-top-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

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

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

/* NewsPinch Yellow Box Logo Vibe */
.logo-box {
    background-color: var(--color-primary);
    color: #000;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 24px;
    line-height: 1.0;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.logo-top {
    font-size: 16px;
    border-bottom: 1px solid #000;
    width: 100%;
    text-align: center;
    padding-bottom: 1px;
}

.logo-bottom {
    font-size: 24px;
    letter-spacing: 1px;
}

.header-date {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-left: 1px solid var(--border-color);
    padding-left: 16px;
    letter-spacing: 0.5px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 12px;
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--color-primary);
    color: #000;
}

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

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

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

.search-box input:focus {
    width: 220px;
    border-color: var(--color-primary);
}

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

.search-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    width: 300px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-card);
    padding: 4px;
}

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

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

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

.search-item img {
    width: 45px;
    height: 30px;
    object-fit: cover;
    border-radius: 2px;
}

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

.search-item-info span {
    font-size: 10px;
    color: var(--color-primary);
}

/* Subscribe Red Button */
.youtube-subscribe-btn {
    background-color: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.youtube-subscribe-btn:hover {
    background-color: #b7070f;
    color: #fff;
}

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

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

/* Subheader Strip: Marquee/Ticker */
.header-bottom-strip {
    background-color: #0b0f19;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
}

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

.breaking-label {
    background-color: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 2px;
    white-space: nowrap;
    position: relative;
}

.breaking-label::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px 0 4px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-accent);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

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

.marquee-content span {
    margin-right: 40px;
    font-size: 13px;
    color: var(--text-secondary);
}

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

/* Global / Leaderboard Ads */
.global-banner {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.adsense-placeholder {
    width: 728px;
    height: 90px;
    background: #0f1524;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.adsense-placeholder.vertical {
    width: 300px;
    height: 250px;
}

.adsense-placeholder.horizontal {
    width: 100%;
    height: 100px;
}

/* Manual Ad Banner Styles */
.manual-ad {
    background: #101626;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 20px;
    width: 100%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.ad-tag {
    position: absolute;
    top: 2px;
    left: 8px;
    font-size: 8px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.ad-badge {
    background: var(--color-primary);
    color: #000;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    font-family: var(--font-heading);
}

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

.ad-text strong {
    color: #fff;
}

.ad-btn {
    background: var(--color-primary);
    color: #000;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 13px;
    white-space: nowrap;
    text-transform: uppercase;
}

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

/* Vertical Ads */
.vertical-ad {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 16px;
    text-align: center;
}

.ad-header {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

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

.ad-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 8px 0;
}

.ad-rating {
    color: var(--color-primary);
    margin-bottom: 8px;
}

/* Inline Ad */
.inline-ad {
    background: #101626;
    border: 1px solid var(--border-color);
}

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

.ad-icon {
    font-size: 24px;
}

.ad-info h4 {
    font-size: 14px;
    color: var(--color-primary);
}

.ad-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Main Grid Layout (NewsPinch Vibe) */
.main-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

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

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

.column-title {
    font-size: 20px;
    color: #fff;
    position: relative;
}

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

.tab-btn {
    background: #121824;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

/* Large Spotlight Card Vibe */
.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);
}

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

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

.spotlight-card:hover .spotlight-img-link img {
    transform: scale(1.02);
}

.badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 2px;
    z-index: 2;
    border-bottom: 2px solid var(--color-primary);
}

.badge-category.pc { border-bottom-color: var(--color-accent); }
.badge-category.vr { border-bottom-color: var(--color-secondary); }
.badge-category.mobile { border-bottom-color: var(--color-success); }

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

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

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

.spotlight-meta {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.spotlight-rating {
    color: var(--color-primary);
}

.spotlight-details h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.spotlight-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Small Grid Cards Row */
.games-grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 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;
}

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

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

.small-grid-card:hover .grid-img-wrapper img {
    transform: scale(1.03);
}

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

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

.grid-card-details h3 {
    font-size: 16px;
    margin-bottom: 12px;
    text-transform: none;
    flex-grow: 1;
}

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

.grid-card-rating {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 700;
}

.grid-download-btn {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 2px;
}

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

/* Sidebar Widgets (NewsPinch style list views) */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.widget-title {
    font-size: 16px;
    color: #fff;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
    margin-bottom: 16px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Sidebar List Item (Taaza Khabare style) */
.sidebar-news-item {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

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

.news-item-thumb {
    width: 80px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
}

.news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-tag {
    font-size: 9px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
}

.news-item-details h4 {
    font-size: 13px;
    line-height: 1.3;
    font-family: var(--font-sans);
    font-weight: 600;
    margin: 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Sidebar Affiliate Links */
.sidebar-affiliate-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.affiliate-deal-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0b0f19;
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 2px;
}

.affiliate-deal-link h5 {
    font-size: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
    color: #fff;
}

.deal-btn-link {
    background: var(--color-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
}

/* Partnership Gold Banner Strip */
.sponsor-bar-strip {
    background-color: var(--color-primary);
    color: #000;
    padding: 16px 0;
    margin-top: 40px;
}

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

.sponsor-label {
    background-color: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
}

.sponsor-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    flex-grow: 1;
    letter-spacing: 0.5px;
}

.sponsor-btn {
    background-color: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.sponsor-btn:hover {
    background-color: #222;
    color: var(--color-primary);
}

/* Game Details Page Layout */
.game-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 20px;
}

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

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

.game-main-thumb {
    width: 140px;
    height: 90px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.game-title-area h1 {
    font-size: 28px;
    margin-bottom: 6px;
}

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

.meta-pill {
    background: #0b0f19;
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    color: var(--text-secondary);
}

.meta-pill.highlight {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.stars-rating {
    color: var(--color-primary);
}

.stars-rating .empty {
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-section {
    margin: 24px 0;
}

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

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

/* Specifications Table */
.specs-section {
    margin-top: 24px;
}

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

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

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

.specs-table td.spec-name {
    font-weight: 700;
    color: var(--text-secondary);
    width: 30%;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.specs-table td.spec-val {
    color: #fff;
}

/* Sidebars (Details / Blog) */
.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: 20px;
}

.sidebar-widget h3 {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 6px;
}

.download-widget-box {
    text-align: center;
}

.download-main-btn {
    display: block;
    width: 100%;
    background: var(--color-primary);
    color: #000;
    padding: 12px;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: var(--shadow-neon);
    margin-bottom: 12px;
}

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

.affiliate-widget-box {
    border: 1px solid var(--border-color);
}

.affiliate-widget-box h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.affiliate-widget-box p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.affiliate-widget-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 12px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.affiliate-widget-btn:hover {
    background-color: #e0af00;
}

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

.timer-container-box h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

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

.progress-bar {
    height: 100%;
    background: var(--color-primary);
    width: 0%;
    transition: width 0.1s linear;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.revealed-link-area {
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

.direct-download-btn {
    display: inline-block;
    background: var(--color-success);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    padding: 10px 32px;
    border-radius: 2px;
    text-transform: uppercase;
}

.direct-download-btn:hover {
    background-color: #00c853;
}

/* Double-column layout with ads for timer page */
.timer-page-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    margin-top: 20px;
}

/* Blog Index & Single Blog Post */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 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;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-content {
    padding: 16px;
    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: 18px;
    margin-bottom: 8px;
    text-transform: none;
}

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

.read-more-link {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}

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

.blog-post-header h1 {
    font-size: 32px;
    text-transform: none;
    margin-bottom: 8px;
}

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

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

.blog-post-content h2 { font-size: 22px; color: var(--color-primary); }
.blog-post-content h3 { font-size: 18px; color: var(--color-secondary); }

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

.blog-post-content ul, .blog-post-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.blog-post-content li {
    margin-bottom: 6px;
}

/* Footer Section */
.main-footer {
    background-color: #0b0f19;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px 0;
    margin-top: 40px;
}

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

.footer-col h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

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

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

.social-icon {
    background: var(--bg-surface-elevated);
    width: 32px;
    height: 32px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 14px;
}

.social-icon:hover {
    background: var(--color-primary);
    color: #000;
}

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

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

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

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

.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 rgba(255, 255, 255, 0.03);
    padding-top: 16px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

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

/* ============================================================
   RESPONSIVE DESIGN – Complete 4-Tier Breakpoint System
   ============================================================ */

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

    .main-layout-grid {
        grid-template-columns: 1fr 290px;
        gap: 20px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 20px;
    }
}

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

    /* Sidebar moves below main content */
    .sidebar-column,
    .detail-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    /* Spotlight card */
    .spotlight-img-link { height: 280px; }

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

    /* Blog grid 2 cols on tablet */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer 2-col on tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid .about-col {
        grid-column: 1 / -1;
    }

    /* Nav dropdown — show inline on tablet */
    .nav-dropdown-menu {
        min-width: 180px;
    }
}

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

    /* Header */
    .mobile-toggle { display: flex; }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #121824;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 16px 20px;
        gap: 4px;
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    }
    .nav-menu.open { display: flex; }

    /* Nav links full width on mobile */
    .nav-link {
        padding: 10px 14px;
        border-radius: 4px;
        font-size: 15px;
        display: block;
        width: 100%;
    }

    /* Nav dropdown inside mobile menu */
    .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.04);
        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 20px; font-size: 14px; }

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

    /* Hamburger animation */
    .mobile-toggle span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Sponsor strip */
    .sponsor-bar-flex { flex-direction: column; text-align: center; gap: 12px; }
    .sponsor-text { font-size: 15px; }

    /* Spotlight card */
    .spotlight-img-link { height: 200px; }
    .spotlight-details h3 { font-size: 18px; }

    /* Games grid — 2 columns on mobile */
    .games-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Sidebar collapses back to single column */
    .sidebar-column,
    .detail-sidebar {
        grid-template-columns: 1fr;
    }

    /* Game header */
    .game-header-flex { flex-direction: column; gap: 14px; }
    .game-main-thumb { width: 100%; height: 180px; }
    .game-title-area h1 { font-size: 22px; }

    /* Blog grid single column */
    .blog-grid { grid-template-columns: 1fr; }
    .blog-post-header h1 { font-size: 24px; }
    .blog-post-featured-img { height: 220px; }

    /* Specs table — make label a block on mobile */
    .specs-table,
    .specs-table tbody,
    .specs-table tr,
    .specs-table td {
        display: block;
        width: 100%;
    }
    .specs-table tr {
        margin-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 8px;
    }
    .specs-table td.spec-name {
        width: 100%;
        padding-bottom: 2px;
        font-size: 11px;
    }
    .specs-table td.spec-val { padding-top: 0; }

    /* Footer — single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-grid .about-col { grid-column: auto; }

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

    /* Timer page */
    .countdown-number { font-size: 40px; }
    .timer-container-box { padding: 20px 16px; }
    .timer-container-box h1 { font-size: 20px; }
    .direct-download-btn { font-size: 16px; padding: 10px 24px; width: 100%; text-align: center; }

    /* Ad wrappers — prevent horizontal scroll */
    .ad-wrapper-cls {
        max-width: 100%;
        overflow: hidden;
    }
    .adsense-placeholder { width: 100%; height: 70px; }

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

    /* Category tabs wrap */
    .category-tabs-row { flex-wrap: wrap; }

    /* Section header wraps */
    .section-header-row { flex-wrap: wrap; gap: 8px; }

    /* Marquee strip hidden on mobile to save space */
    .header-bottom-strip { display: none; }

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

    /* Legal pages */
    .container { padding: 0 12px; }
}

/* ── Small Phone (max-width: 480px) ─────────────────────────── */
@media (max-width: 480px) {
    /* Typography scale */
    h1, .column-title { font-size: 20px !important; }
    h2 { font-size: 17px; }
    h3 { font-size: 15px; }

    /* Single column game grid on tiny screens */
    .games-grid-row {
        grid-template-columns: 1fr;
    }

    /* Spotlight */
    .spotlight-img-link { height: 170px; }
    .spotlight-details { padding: 14px; }
    .spotlight-details h3 { font-size: 16px; }
    .spotlight-desc { font-size: 12px; }

    /* Blog grid */
    .blog-grid { grid-template-columns: 1fr; gap: 16px; }
    .blog-card img { height: 160px; }

    /* Header actions compact */
    .header-actions { gap: 8px; }
    .search-box input { width: 100px; font-size: 12px; }
    .search-box input:focus { width: 130px; }

    /* Logo smaller */
    .logo-box { padding: 4px 8px; }
    .logo-top { font-size: 12px; }
    .logo-bottom { font-size: 18px; }

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

    /* Timer */
    .countdown-number { font-size: 36px; }
    .direct-download-btn { font-size: 14px; padding: 10px 16px; }

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

    /* Game meta pills wrap */
    .game-meta-pills { gap: 6px; }
    .meta-pill { font-size: 10px; }

    /* Download btn */
    .download-main-btn { font-size: 16px; padding: 10px; }

    /* Breadcrumbs wrap */
    .breadcrumb-nav ol { flex-wrap: wrap; }
}

/* ── Tiny Phone (max-width: 360px) ──────────────────────────── */
@media (max-width: 360px) {
    .container { padding: 0 10px; }

    .logo-bottom { font-size: 16px; }
    .logo-top { font-size: 11px; }

    .search-box { display: none; } /* Hide search on tiny screens to preserve logo */

    .games-grid-row { gap: 10px; }

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

    .nav-link { font-size: 14px; }

    .footer-links { column-count: 1; }

    .grid-download-btn { font-size: 10px; padding: 2px 6px; }
}


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

.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 & Affiliate Deals Style Integrations */
.category-header-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 4px;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.product-deal-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.product-deal-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent) !important;
    box-shadow: 0 8px 30px rgba(230, 92, 0, 0.15);
}

.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: #121824;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 6px 0;
    min-width: 200px;
    list-style: none;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.nav-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    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,198,0,0.1);
    color: var(--color-primary);
}

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

.nav-dropdown-wrapper:hover .nav-dropdown-toggle {
    background-color: var(--color-primary);
    color: #000;
}

/* ============================================================
   Utility Classes (Bootstrap-compatible subset)
   ============================================================ */
.text-warning { color: var(--color-primary) !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 Hover Effect (Homepage)
   ============================================================ */
.category-block-card {
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-block-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary) !important;
    box-shadow: 0 8px 28px rgba(255,198,0,0.12);
}

/* Blog grid card hover */
.blog-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Small grid card active state enhancements */
.small-grid-card {
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.small-grid-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,198,0,0.4);
}

/* Legal page shared utility */
.legal-page-box h2 {
    font-size: 18px;
    color: #fff;
    margin: 28px 0 12px;
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
}

/* Footer icon spacing */
.footer-links li a .bi {
    font-size: 13px;
    opacity: 0.8;
}

