/*!
Theme Name: Novibet Chile
Theme URI: https://novibetchileno.com/
Author: Novibet Chile Team
Author URI: https://novibetchileno.com/
Description: Tema para Novibet Chile — análisis y opiniones
Version: 2.2.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: novibet
Tags: gambling, casino, betting, spanish, dark-theme
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
*/

/* ==========================================================================
   Novibet Chile — Custom Styles
   Brand: Novibet | Market: CL | Palette: Dark + Teal accent
   ========================================================================== */

/* --- CSS Reset (minimal — needed because global.min.css loaded async) --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    border-style: none;
}

html {
    -webkit-text-size-adjust: 100%;
}

/* --- CSS Variables — Novibet Brand Palette --- */
:root {
    /* Backgrounds — brand dark (exact match cl.novibet.com) */
    --nv-bg:           #0A1324;
    --nv-bg-secondary: #111B2E;
    --nv-card-bg:      #111B2E;
    --nv-input-bg:     #1A2336;

    /* Dark backgrounds (header/footer — same as body) */
    --nv-dark:         #0A1324;
    --nv-dark-secondary: #111B2E;

    /* Accent — Novibet Teal (>= 4.5:1 on #0A1324 = 6.2:1 PASS) */
    --nv-accent:       #29A8AC;
    --nv-accent-brand: #29A8AC;
    --nv-accent-hover: #33BFC3;
    --nv-accent-glow:  rgba(41, 168, 172, 0.15);
    --nv-accent-light: #6DF6FF;

    /* Secondary accents */
    --nv-gold:         #F5C518;
    --nv-gold-hover:   #FFD740;
    --nv-orange:       #E8922A;
    --nv-red:          #DC3545;
    --nv-green:        #1A9B54;

    /* Text — white/light on dark */
    --nv-text:         #FFFFFF;
    --nv-text-secondary: #C8D0DA;
    --nv-text-muted:   #8A94A6;
    --nv-text-on-dark: #FFFFFF;
    --nv-text-on-accent: #FFFFFF;

    /* Borders — dark subtle */
    --nv-border:       #2A3245;
    --nv-border-accent: var(--nv-accent-brand);

    /* Spacing (from brand: compact/modern) */
    --nv-radius:       8px;
    --nv-radius-sm:    6px;
    --nv-radius-lg:    12px;
    --nv-gap:          12px;
    --nv-section-gap:  40px;
    --nv-container-px: 24px;

    /* Shadows — deep dark */
    --nv-shadow:       0 2px 12px rgba(0, 0, 0, 0.3);
    --nv-shadow-hover: 0 4px 20px rgba(41, 168, 172, 0.25);

    /* Transitions */
    --nv-transition:   0.25s ease;

    /* Header dimensions (2-tier) */
    --nv-header-top-height: 56px;
    --nv-header-nav-height: 38px;
    --nv-header-total: 94px;
    --nv-header-border: #2a3245;
}

/* --- Global --- */
html {
    overflow-x: hidden;
}

body {
    background-color: var(--nv-bg);
    color: var(--nv-text-secondary);
    font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    overflow-x: hidden;
}

/* --- Links --- */
a {
    color: var(--nv-accent);
    transition: color var(--nv-transition);
    text-decoration: none;
}

a:hover {
    color: var(--nv-accent-hover);
}

/* --- Headings — Brand navy --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--nv-text);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   GAME CARDS
   ========================================================================== */

.nv-game-card {
    background: var(--nv-card-bg);
    border-radius: var(--nv-radius);
    overflow: hidden;
    transition: transform var(--nv-transition), box-shadow var(--nv-transition);
    cursor: pointer;
    position: relative;
}

.nv-game-card:hover {
    transform: scale(1.04);
    box-shadow: var(--nv-shadow-hover);
}

.nv-game-card__image {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    display: block;
}

.nv-game-card__body {
    padding: 0.6rem 0.75rem;
}

.nv-game-card__title {
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--nv-text);
    margin: 0 0 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nv-game-card__provider {
    font-size: 0.7rem;
    color: var(--nv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nv-game-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nv-game-card__badge--new {
    background: var(--nv-green);
    color: #FFFFFF;
}

.nv-game-card__badge--hot {
    background: var(--nv-red);
    color: #fff;
}

.nv-game-card__rating {
    color: var(--nv-gold);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.nv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--nv-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all var(--nv-transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}

/* Primary — teal */
.nv-btn--primary {
    background: var(--nv-accent);
    color: #ffffff;
}

.nv-btn--primary:hover {
    background: var(--nv-accent-hover);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--nv-accent-glow);
}

/* Ghost / Outline */
.nv-btn--ghost {
    background: transparent;
    color: var(--nv-text);
    border: 1px solid var(--nv-border);
}

.nv-btn--ghost:hover {
    border-color: var(--nv-text-secondary);
    background: var(--nv-card-bg);
}

/* Secondary — dark card bg */
.nv-btn--secondary {
    background: var(--nv-card-bg);
    color: var(--nv-text);
}

.nv-btn--secondary:hover {
    background: var(--nv-input-bg);
}

/* Gold — for jackpot/money CTA */
.nv-btn--gold {
    background: var(--nv-gold);
    color: #ffffff;
}

.nv-btn--gold:hover {
    background: var(--nv-gold-hover);
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.2);
}

/* ==========================================================================
   SECTION LAYOUT (Game rows)
   ========================================================================== */

.nv-section {
    padding: var(--nv-section-gap) 0;
}

.nv-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.nv-section__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nv-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.nv-section__actions {
    display: flex;
    gap: 0.5rem;
}

/* Horizontal scroll row */
.nv-game-row {
    display: flex;
    gap: var(--nv-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;      /* IE/Edge */
    padding-bottom: 4px;
}

.nv-game-row::-webkit-scrollbar {
    display: none;                 /* Chrome/Safari */
}

.nv-game-row .nv-game-card {
    flex: 0 0 calc((100% - var(--nv-gap) * 5) / 6);
    min-width: 160px;
}

/* Category grid (for category pages) */
.nv-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--nv-gap);
}

/* ==========================================================================
   TABS (Category filters)
   ========================================================================== */

.nv-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.nv-tabs::-webkit-scrollbar {
    display: none;
}

.nv-tab {
    padding: 0.5rem 1rem;
    border-radius: var(--nv-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--nv-text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--nv-transition);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nv-tab:hover {
    color: var(--nv-text);
    background: var(--nv-card-bg);
}

.nv-tab--active {
    color: var(--nv-text);
    background: var(--nv-card-bg);
    box-shadow: inset 0 -2px 0 var(--nv-accent);
}

/* ==========================================================================
   HERO BANNER (Promo carousel area)
   ========================================================================== */

.nv-hero-banner {
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1e27 0%, #12151b 100%);
    padding: 2.5rem;
}

.nv-hero-banner__jackpot {
    font-size: 2rem;
    font-weight: 700;
    color: var(--nv-gold);
    text-shadow: 0 2px 12px rgba(245, 197, 24, 0.3);
}

/* ==========================================================================
   JACKPOT COUNTER
   ========================================================================== */

.nv-jackpot-section {
    text-align: center;
    padding: 3rem 0;
}

.nv-jackpot-section__label {
    font-size: 0.85rem;
    color: var(--nv-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.nv-jackpot-section__amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--nv-gold);
    text-shadow: 0 2px 16px rgba(245, 197, 24, 0.25);
}

/* ==========================================================================
   GAME PAGE (Level 3)
   ========================================================================== */

.nv-game-hero {
    background: var(--nv-card-bg);
    border-radius: var(--nv-radius-lg);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nv-game-hero__info {
    flex: 1;
}

.nv-game-hero__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nv-text);
    margin: 0 0 0.75rem;
}

.nv-game-hero__meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.nv-game-hero__meta-item {
    font-size: 0.82rem;
    color: var(--nv-text-muted);
}

.nv-game-hero__meta-item span {
    color: var(--nv-text);
    font-weight: 500;
}

.nv-game-hero__image {
    width: 220px;
    border-radius: var(--nv-radius);
    box-shadow: var(--nv-shadow);
}

/* ==========================================================================
   INFO TABLE (Game specs)
   ========================================================================== */

.nv-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--nv-card-bg);
    border-radius: var(--nv-radius-sm);
    overflow: hidden;
}

.nv-info-table th,
.nv-info-table td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--nv-border);
}

.nv-info-table th {
    background: var(--nv-input-bg);
    color: var(--nv-text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: 40%;
}

.nv-info-table td {
    color: var(--nv-text);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.nv-breadcrumbs {
    font-size: 0.78rem;
    color: var(--nv-text-muted);
    padding: 0;
    margin-bottom: 1rem;
}

.nv-breadcrumbs p {
    margin: 0;
    background: var(--nv-input-bg);
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid var(--nv-border);
}

.nv-breadcrumbs a {
    color: var(--nv-text-muted);
    transition: color var(--nv-transition);
}

.nv-breadcrumbs a:hover {
    color: var(--nv-accent);
}

.nv-breadcrumbs .separator {
    color: var(--nv-text-muted);
    margin: 0 0.4rem;
    font-size: 0.7rem;
}

.nv-breadcrumbs .last {
    color: var(--nv-accent);
}

/* ==========================================================================
   CONTENT AREA
   ========================================================================== */

/* Content styles use .nv-article__body — see ARTICLE section */

/* SEO text at bottom (accordion-like, muted) */
.nv-seo-text {
    color: var(--nv-text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    padding: 2rem 0;
    border-top: 1px solid var(--nv-border);
    margin-top: var(--nv-section-gap);
}

/* ==========================================================================
   PROVIDERS GRID (logos)
   ========================================================================== */

.nv-providers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem 0;
}

.nv-providers-grid__item {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all var(--nv-transition);
    max-height: 32px;
}

.nv-providers-grid__item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */

/* Widget/footer styles use .nv-widget, .nv-footer — see respective sections */

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.nv-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--nv-bg);
}

.nv-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--nv-container-px);
}

.nv-page__layout,
.nv-single__layout,
.nv-archive__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 0 3rem;
}

.nv-page__layout--has-sidebar,
.nv-single__layout--has-sidebar,
.nv-archive__layout--has-sidebar {
    grid-template-columns: 1fr 300px;
}

.nv-main {
    min-width: 0;
}

/* ==========================================================================
   SKIP LINK
   ========================================================================== */

.nv-skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--nv-accent);
    color: #ffffff;
    font-weight: 600;
}

.nv-skip-link:focus {
    top: 0;
}

/* ==========================================================================
   HEADER — 3-TIER BRAND LAYOUT
   ========================================================================== */

.nv-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nv-dark);
}

/* Offset body for fixed header */
.nv-content {
    padding-top: var(--nv-header-total);
}

/* --- TIER 1: Top Bar --- */
.nv-header__top {
    height: var(--nv-header-top-height);
    border-bottom: 1px solid var(--nv-header-border);
}

.nv-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nv-header-top-height);
}

.nv-header__brand {
    flex-shrink: 0;
}

.nv-header__site-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nv-header__site-name:hover {
    color: var(--nv-accent-brand);
}

.nv-header__logo {
    display: flex;
    align-items: center;
}

.nv-header__logo a {
    display: flex;
    align-items: center;
}

.nv-header__logo img {
    height: 34px;
    width: auto;
    max-width: 200px;
}

/* CTA buttons (desktop) */
.nv-header__cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nv-header__cta .nv-btn--outline {
    background: transparent;
    border: 1px solid #8a94a6;
    color: #8a94a6;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--nv-radius-sm);
    text-decoration: none;
    transition: all var(--nv-transition);
}

.nv-header__cta .nv-btn--outline:hover {
    border-color: var(--nv-accent-brand);
    color: var(--nv-accent-brand);
}

.nv-header__cta .nv-btn--primary {
    background: var(--nv-accent-brand);
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--nv-radius-sm);
    text-decoration: none;
    transition: all var(--nv-transition);
}

.nv-header__cta .nv-btn--primary:hover {
    background: #008f93;
    color: #ffffff;
}

/* Mobile toggle (hamburger) */
.nv-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nv-header__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: transform var(--nv-transition), opacity var(--nv-transition);
}

.nv-header__toggle--active .nv-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nv-header__toggle--active .nv-header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nv-header__toggle--active .nv-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- TIER 2: Teal Navigation --- */
.nv-header__nav {
    background: var(--nv-accent-brand);
    height: var(--nv-header-nav-height);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nv-header__nav::-webkit-scrollbar {
    display: none;
}

.nv-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    height: var(--nv-header-nav-height);
}

.nv-nav__list li a {
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    height: var(--nv-header-nav-height);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: background var(--nv-transition);
}

.nv-nav__list li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.nv-nav__list li.current-menu-item > a,
.nv-nav__list li.current-menu-ancestor > a,
.nv-nav__list li.current-menu-parent > a {
    background: rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

/* --- Mobile Navigation Dropdown --- */
.nv-mobile-nav {
    display: none;
    background: var(--nv-dark);
    border-top: 1px solid var(--nv-header-border);
    padding: 1rem 0 1.5rem;
    max-height: calc(100vh - var(--nv-header-top-height) - var(--nv-header-nav-height));
    overflow-y: auto;
}

.nv-mobile-nav--open {
    display: block;
}

.nv-mobile-nav__cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--nv-header-border);
}

.nv-btn--block {
    display: block;
    width: 100%;
    text-align: center;
}

.nv-mobile-nav__cta .nv-btn--primary {
    background: var(--nv-accent-brand);
    color: #ffffff;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--nv-radius-sm);
    text-decoration: none;
}

.nv-mobile-nav__cta .nv-btn--outline {
    background: transparent;
    border: 1px solid #8a94a6;
    color: #8a94a6;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--nv-radius-sm);
    text-decoration: none;
}

.nv-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nv-mobile-nav__list li a {
    display: block;
    padding: 0.7rem 0;
    color: #8a94a6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(42, 50, 69, 0.5);
    transition: color var(--nv-transition);
}

.nv-mobile-nav__list li a:hover,
.nv-mobile-nav__list li.current-menu-item > a {
    color: #ffffff;
}


/* ==========================================================================
   HOMEPAGE HERO BANNER
   ========================================================================== */

.nv-home-hero {
    display: grid;
    border-radius: var(--nv-radius-lg);
    overflow: hidden;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.nv-home-hero__img {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
}

.nv-home-hero__overlay {
    grid-area: 1 / 1;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 45%, transparent 75%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
    z-index: 1;
}

.nv-home-hero__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    max-width: 55%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.nv-home-hero__subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nv-accent-light);
    margin: 0 0 1.25rem;
    max-width: 50%;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.nv-home-hero__cta {
    display: inline-block !important;
    width: auto !important;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* On homepage — remove teal border-top from content card */
.home .nv-article {
    border-top: none;
}

/* Gap between header and hero banner */
.home .nv-page > .nv-container {
    padding-top: 1.5rem;
}

/* ==========================================================================
   ARTICLE
   ========================================================================== */

.nv-article {
    margin-bottom: 2rem;
}

.nv-article__header {
    margin-bottom: 1.5rem;
}

.nv-article__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nv-text);
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.nv-article__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--nv-text-muted);
}

.nv-article__meta a {
    color: var(--nv-text-secondary);
}

.nv-article__meta a:hover {
    color: var(--nv-accent);
}

.nv-article__thumb {
    margin-bottom: 1.5rem;
    border-radius: var(--nv-radius);
    overflow: hidden;
}

.nv-article__img {
    width: 100%;
    height: auto;
    display: block;
}

.nv-article__body {
    color: var(--nv-text-secondary);
    font-size: 0.94rem;
    line-height: 1.75;
}

/* Brand-tinted headings inside article */
.nv-article__body h2 {
    color: var(--nv-text);
    border-bottom: 2px solid var(--nv-accent-brand);
    padding-bottom: 0.4rem;
    margin-top: 2rem;
}

.nv-article__body h3 {
    color: var(--nv-text);
}

.nv-article__body h4 {
    color: var(--nv-text);
}

/* Content card — brand-styled with teal accent */
.nv-page .nv-article,
.nv-single .nv-article {
    background: var(--nv-card-bg);
    border-radius: var(--nv-radius);
    padding: 2rem 2.5rem;
    border-top: 3px solid var(--nv-accent-brand);
    box-shadow: var(--nv-shadow);
}

@media (max-width: 768px) {
    .nv-page .nv-article,
    .nv-single .nv-article {
        padding: 1.25rem 1rem;
        border-radius: var(--nv-radius-sm);
    }
}

.nv-article__footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nv-border);
}

.nv-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    margin: 0.2rem;
    background: var(--nv-input-bg);
    border: 1px solid var(--nv-border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--nv-text-secondary);
}

/* ==========================================================================
   ARCHIVE GRID
   ========================================================================== */

.nv-archive__header {
    margin-bottom: 1.5rem;
}

.nv-archive__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nv-text);
    margin: 0;
}

.nv-archive__desc {
    margin-top: 0.5rem;
    color: var(--nv-text-secondary);
    font-size: 0.9rem;
}

.nv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--nv-gap);
}

/* Loop card */
.nv-card {
    background: var(--nv-card-bg);
    border-radius: var(--nv-radius);
    overflow: hidden;
    transition: transform var(--nv-transition), box-shadow var(--nv-transition);
}

.nv-card:hover {
    transform: scale(1.03);
    box-shadow: var(--nv-shadow-hover);
}

.nv-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.nv-card__thumb {
    overflow: hidden;
}

.nv-card__img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.nv-card__info {
    padding: 0.75rem 1rem;
}

.nv-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nv-text);
    margin: 0 0 0.25rem;
}

.nv-card__cat {
    font-size: 0.72rem;
    color: var(--nv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.nv-pagination {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.nv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    border-radius: var(--nv-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--nv-text-secondary);
    background: var(--nv-card-bg);
    text-decoration: none;
    transition: all var(--nv-transition);
}

.nv-pagination .page-numbers:hover {
    color: var(--nv-text);
    background: var(--nv-input-bg);
}

.nv-pagination .page-numbers.current {
    background: var(--nv-accent);
    color: #ffffff;
}

/* ==========================================================================
   POST NAVIGATION
   ========================================================================== */

.nv-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nv-border);
}

.nv-post-nav a {
    display: block;
    padding: 1rem;
    background: var(--nv-card-bg);
    border-radius: var(--nv-radius-sm);
    text-decoration: none;
    transition: background var(--nv-transition);
}

.nv-post-nav a:hover {
    background: var(--nv-input-bg);
}

.nv-post-nav__label {
    display: block;
    font-size: 0.72rem;
    color: var(--nv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.nv-post-nav__title {
    font-size: 0.9rem;
    color: var(--nv-text);
    font-weight: 500;
}

/* ==========================================================================
   COMMENTS
   ========================================================================== */

.nv-comments {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--nv-border);
}

.nv-comments__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--nv-text);
    margin-bottom: 1.5rem;
}

.nv-comments__list {
    list-style: none;
    padding: 0;
}

.nv-comments__closed {
    color: var(--nv-text-muted);
    font-size: 0.85rem;
}

.nv-comment-form input[type="text"],
.nv-comment-form input[type="email"],
.nv-comment-form input[type="url"],
.nv-comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    background: var(--nv-input-bg);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    color: var(--nv-text);
    font-size: 0.875rem;
    transition: border-color var(--nv-transition);
}

.nv-comment-form input:focus,
.nv-comment-form textarea:focus {
    outline: none;
    border-color: var(--nv-accent);
}

.nv-comment-form .submit {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: var(--nv-accent);
    color: #ffffff;
    border: none;
    border-radius: var(--nv-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background var(--nv-transition);
}

.nv-comment-form .submit:hover {
    background: var(--nv-accent-hover);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.nv-sidebar {
    min-width: 0;
}

.nv-widget {
    background: var(--nv-card-bg);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.nv-widget__title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--nv-text);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--nv-accent);
}

/* --- Sidebar Widget 1: CTA Registration --- */
.nv-sidebar-cta {
    background: var(--nv-dark);
    border-radius: var(--nv-radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.nv-sidebar-cta__logo {
    margin-bottom: 1rem;
}

.nv-sidebar-cta__logo img {
    height: 28px;
    width: auto;
}

.nv-sidebar-cta__text {
    color: #8a94a6;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 1.25rem;
}

.nv-btn-shine {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--nv-accent-brand);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    border-radius: var(--nv-radius-sm);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background var(--nv-transition);
}

.nv-btn-shine:hover {
    background: #008f93;
    color: #ffffff;
}

.nv-btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: nv-shine 3s ease-in-out infinite;
}

@keyframes nv-shine {
    0% { left: -100%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

/* --- Sidebar Widget 2: Bonus Card --- */
.nv-sidebar-bonus {
    background: linear-gradient(180deg, #0a1324 0%, #111b2e 100%);
    border: 1px solid #2a3245;
    border-radius: var(--nv-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.nv-sidebar-bonus__title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.nv-sidebar-bonus__amount {
    color: var(--nv-gold);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.nv-sidebar-bonus__terms {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.nv-sidebar-bonus__terms li {
    color: #8a94a6;
    font-size: 0.78rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(42, 50, 69, 0.5);
}

.nv-sidebar-bonus__terms li::before {
    content: '\2713';
    color: var(--nv-accent-brand);
    margin-right: 0.5rem;
    font-weight: 700;
}

.nv-sidebar-bonus .nv-btn--primary {
    background: var(--nv-accent-brand);
    color: #ffffff;
}

.nv-sidebar-bonus .nv-btn--primary:hover {
    background: #008f93;
    color: #ffffff;
}

/* --- Sidebar Widget 3: App Download --- */
.nv-sidebar-app {
    border-radius: var(--nv-radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 1px solid #2a3245;
}

.nv-sidebar-app__header {
    background: var(--nv-accent-brand);
    padding: 0.65rem 1rem;
}

.nv-sidebar-app__title {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.nv-sidebar-app__body {
    background: var(--nv-dark);
    padding: 1.25rem;
}

.nv-sidebar-app__desc {
    color: #8a94a6;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.nv-sidebar-app__badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.nv-sidebar-app__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    background: #202735;
    color: #8a94a6;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
}

.nv-sidebar-app .nv-btn--outline {
    background: transparent;
    border: 1px solid #8a94a6;
    color: #8a94a6;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--nv-radius-sm);
    text-decoration: none;
    transition: all var(--nv-transition);
}

.nv-sidebar-app .nv-btn--outline:hover {
    border-color: var(--nv-accent-brand);
    color: var(--nv-accent-brand);
}

/* --- Sidebar Widget 4: Quick Links --- */
.nv-sidebar-links {
    background: var(--nv-card-bg);
    border: 1px solid var(--nv-border);
    border-left: 3px solid var(--nv-accent-brand);
    border-radius: var(--nv-radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.nv-sidebar-links__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--nv-text);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--nv-border);
}

.nv-sidebar-links__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nv-sidebar-links__list li {
    margin-bottom: 0.4rem;
}

.nv-sidebar-links__list a {
    color: var(--nv-text-secondary);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color var(--nv-transition);
}

.nv-sidebar-links__list a:hover {
    color: var(--nv-accent);
}

/* ==========================================================================
   FOOTER LAYOUT — Brand Dark
   ========================================================================== */

.nv-footer {
    background: #060d1a;
    border-top: 1px solid #2a3245;
    color: #7a8498;
    margin-top: auto;
}

.nv-footer .nv-widget__title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    border-bottom-color: #2a3245;
}

.nv-footer__widgets {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #2a3245;
}

.nv-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.nv-footer__col p {
    font-size: 0.78rem;
    color: #8a94a6;
    line-height: 1.5;
    margin: 0;
}

.nv-footer__bottom {
    padding: 1.5rem 0;
}

.nv-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.nv-footer__nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nv-footer__nav-list a {
    color: #8a94a6;
    font-size: 0.78rem;
    text-decoration: none;
    transition: color var(--nv-transition);
}

.nv-footer__nav-list a:hover {
    color: #29a8ac;
}

.nv-footer__copy {
    font-size: 0.72rem;
    color: #7a8498;
    text-align: center;
    width: 100%;
}

.nv-footer__copy p {
    margin: 0;
}

.nv-footer a {
    color: #8a94a6;
}

.nv-footer a:hover {
    color: #29a8ac;
}

.nv-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nv-footer__links li {
    margin-bottom: 0.3rem;
}

.nv-footer__links a {
    font-size: 0.78rem;
    color: #8a94a6;
    text-decoration: none;
    transition: color var(--nv-transition);
}

.nv-footer__links a:hover {
    color: #29a8ac;
}

.nv-footer__disclaimer {
    padding: 1.5rem 0;
    border-top: 1px solid #2a3245;
    border-bottom: 1px solid #2a3245;
}

.nv-footer__disclaimer-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.nv-footer__badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #29A8AC;
    color: #29A8AC;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.nv-footer__disclaimer p {
    margin: 0;
    font-size: 0.72rem;
    color: #7a8498;
    line-height: 1.5;
}

/* ==========================================================================
   ERROR PAGE
   ========================================================================== */

.nv-error {
    padding: 6rem 0;
    text-align: center;
}

.nv-error__code {
    font-size: 5rem;
    font-weight: 700;
    color: var(--nv-accent);
    margin: 0;
    line-height: 1;
}

.nv-error__title {
    font-size: 1.5rem;
    color: var(--nv-text);
    margin: 1rem 0 0.5rem;
}

.nv-error__text {
    color: var(--nv-text-secondary);
    margin-bottom: 2rem;
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.nv-empty {
    text-align: center;
    padding: 3rem 0;
    color: var(--nv-text-muted);
}

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

@media (max-width: 1024px) {
    .nv-page__layout--has-sidebar,
    .nv-single__layout--has-sidebar,
    .nv-archive__layout--has-sidebar {
        grid-template-columns: 1fr;
    }

    .nv-game-row .nv-game-card {
        flex: 0 0 calc((100% - var(--nv-gap) * 3) / 4);
        min-width: 140px;
    }

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

    /* Sidebar: 2 columns on tablet */
    .nv-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .nv-sidebar > * {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --nv-container-px: 16px;
        --nv-section-gap: 28px;
    }

    /* Header → mobile */
    .nv-header__cta {
        display: none;
    }

    .nv-header__toggle {
        display: flex;
    }

    .nv-header__logo img {
        height: 28px;
        max-width: 160px;
    }

    /* Sidebar responsive */
    .nv-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Content */
    .nv-game-hero {
        flex-direction: column;
        padding: 1.5rem;
    }

    .nv-game-hero__image {
        width: 100%;
        max-width: 280px;
    }

    .nv-game-hero__title {
        font-size: 1.35rem;
    }

    .nv-article__title {
        font-size: 1.35rem;
    }

    /* Hero banner mobile */
    .nv-home-hero__overlay {
        padding: 1.25rem 1rem;
        background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
        justify-content: flex-end;
    }

    .nv-home-hero__title {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .nv-home-hero__subtitle {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .nv-home-hero__cta {
        padding: 0.5rem 1.25rem;
        font-size: 0.82rem;
    }

    /* Hide sidebar on homepage mobile */
    .home .nv-sidebar {
        display: none;
    }

    .nv-game-row .nv-game-card {
        flex: 0 0 calc((100% - var(--nv-gap) * 1) / 2.3);
        min-width: 130px;
    }

    .nv-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .nv-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .nv-hero-banner {
        padding: 1.5rem;
    }

    .nv-jackpot-section__amount {
        font-size: 1.75rem;
    }

    .nv-post-nav {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .nv-footer__grid {
        grid-template-columns: 1fr;
    }

    .nv-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .nv-footer__nav-list {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .nv-game-row .nv-game-card {
        flex: 0 0 calc((100% - var(--nv-gap)) / 2.15);
        min-width: 120px;
    }

    .nv-section__title {
        font-size: 0.95rem;
    }

    .nv-grid {
        grid-template-columns: 1fr;
    }
}

/* Light theme overrides removed — site uses dark theme natively */
