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

:root {
    /* Yorqin (Light) Theme — Image 1 & 3 Palitrasi */
    --bg-primary: #e8f0fe;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --border-glass: rgba(0, 0, 0, 0.06);

    /* Image 3 Aniq Hex Kodlari */
    --accent-blue: #0DBFF0;
    --accent-pink: #F95F9F;
    --accent-yellow: #FFB500;
    --accent-green: #00BF7F;
    --accent-red: #F43F5E;

    /* Typography */
    --text-primary: #121212;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    /* Gradients */
    --gradient-btn: linear-gradient(135deg, #0DBFF0, #0b99c2);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Dark Theme */
body.dark-theme {
    --bg-primary: #0f1117;
    --bg-secondary: #1a1b23;
    --bg-card: #22232e;
    --border-glass: rgba(255, 255, 255, 0.06);
    --accent-blue: #00fbff;
    --accent-green: #00ff88;
    --accent-pink: #ff007f;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-primary);
    background-image: url('../img/bg_pattern.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ============= NAVBAR ============= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar.scrolled {
    height: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
    background: linear-gradient(135deg, #2c3e50, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

body.dark-theme .brand-text {
    background: linear-gradient(135deg, #ffffff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hamburger */
.nav-toggle-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 6px;
}

.nav-toggle-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle-btn:hover span {
    background: var(--accent-blue);
}

.nav-toggle-btn:hover span:nth-child(2) {
    width: 16px;
}

/* Nav icon buttons */
.nav-icon-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-icon-btn:hover {
    color: var(--accent-blue);
    background: rgba(13, 191, 240, 0.08);
}

/* Brand */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: var(--text-primary);
}

.navbar-brand .logo-icon {
    font-size: 1.6rem;
}

.navbar-brand .brand-text {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-btn);
    color: white !important;
    box-shadow: 0 4px 15px rgba(13, 191, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 191, 240, 0.5);
}

/* ============= GAMES GRID ============= */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}

/* ============= GAME CARDS (Image 1 Match) ============= */
.game-card-premium {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 14px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.game-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
}

.card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e0ecff, #f0e6ff);
}

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

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

.card-title-premium {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    margin: 4px 0 12px;
    color: var(--text-primary);
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-play {
    display: block;
    background: var(--gradient-btn);
    color: white !important;
    text-align: center;
    padding: 11px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-play:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 18px rgba(13, 191, 240, 0.4);
    transform: translateY(-2px);
}

/* ============= TAGS ============= */
.tags-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.section-title-sm {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.tag-pill:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(13, 191, 240, 0.08);
    transform: translateY(-2px);
}

/* Game Card Specific Tags (Image Match Refinement) */
.game-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
    justify-content: center;
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.03);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
    text-transform: capitalize;
}

body.dark-theme .card-tag {
    background: rgba(255, 255, 255, 0.03);
}

.game-card-premium:hover .card-tag {
    color: var(--accent-blue);
    border-color: rgba(13, 191, 240, 0.2);
    background: rgba(13, 191, 240, 0.05);
}

.card-category {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    background: rgba(13, 191, 240, 0.05);
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid rgba(13, 191, 240, 0.1);
}

/* ============= ADSENSE POLICY ============= */
.adsense-policy-section {
    margin: 60px 0;
    padding: 35px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
}

body.dark-theme .adsense-policy-section {
    background: rgba(34, 35, 46, 0.6);
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--accent-blue);
}

.policy-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.policy-content {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-top: 12px;
    padding-left: 20px;
}

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

/* ============= EMPTY STATE ============= */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px dashed var(--border-glass);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

/* ============= FOOTER ============= */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    margin-top: 80px;
}

body.dark-theme footer {
    background: rgba(255, 255, 255, 0.02);
}

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

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

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

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-blue), #5eede2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-glass);
}

body.dark-theme .social-link {
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.newsletter-box {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
}

body.dark-theme .newsletter-box {
    background: rgba(255, 255, 255, 0.03);
}

.newsletter-box h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.newsletter-box p {
    font-size: 0.85rem;
    margin-bottom: 15px;
    color: var(--text-muted);
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent-blue);
}

.newsletter-form button {
    background: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #0b99c2;
}

/* ============= THEATER MODE (Image 2) ============= */
.play-page-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
}

.theater-perfect-layout {
    display: grid;
    grid-template-columns: 280px 1fr 170px;
    gap: 30px;
    align-items: flex-start;
}

.theater-info-side {
    padding: 30px;
    background: rgba(255, 255, 255, 0.04);
}

.game-identity-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.game-preview-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid var(--border-glass);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-play-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.game-rating-stars {
    color: #ffb500;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.game-play-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.meta-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    font-size: 0.75rem;
    margin: 2px;
}

.player-glow-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 40px rgba(13, 191, 240, 0.15);
}

.player-glow-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.theater-action-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-label {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    color: white;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

.action-btn .btn-icon {
    font-size: 1.1rem;
}

.btn-blue {
    background: var(--accent-blue);
}

.btn-yellow {
    background: var(--accent-yellow);
    color: #222;
}

.btn-pink {
    background: var(--accent-pink);
}

.action-btn:hover {
    transform: translateX(4px);
    filter: brightness(1.1);
}

.related-games-section {
    margin-top: 60px;
}

.game-card-mini {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.game-card-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-mini:hover {
    transform: scale(1.05);
    border-color: var(--accent-blue);
}

/* ============= ALERTS ============= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(0, 191, 127, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 191, 127, 0.2);
}

.alert-error {
    background: rgba(244, 63, 94, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

/* ============= ARTICLE / BLOG ============= */
.article-header {
    padding: 140px 24px 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-glass);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.article-title {
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-secondary);
    padding: 40px 24px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

/* Grid for blog posts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

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

.card-content {
    padding: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card-category {
    color: var(--accent-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-title a {
    color: var(--text-primary);
}

.card-title a:hover {
    color: var(--accent-blue);
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
}

.read-more {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1100px) {
    .theater-perfect-layout {
        grid-template-columns: 1fr;
    }

    .theater-info-side {
        order: 2;
    }

    .theater-player-main {
        order: 1;
    }

    .theater-action-side {
        order: 3;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .navbar-grid {
        grid-template-columns: 40px 1fr 80px;
    }
}

@media (max-width: 480px) {
    .game-card-premium {
        border-radius: 18px;
        padding: 10px;
    }

    .card-img-container {
        border-radius: 14px;
    }

    .btn-play {
        padding: 10px;
        font-size: 0.7rem;
    }
}

/* ============= CATEGORY NAVIGATION BAR ============= */
.category-nav-wrapper {
    margin-bottom: 35px;
    position: relative;
    padding: 5px 0;
}

.category-nav-scroll {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    /* Ko'p qatorli ko'rinishga o'tkazish */
    padding: 5px 0 20px;
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    white-space: nowrap;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

body.dark-theme .category-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.category-pill:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

body.dark-theme .category-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-blue);
}

.category-pill.active {
    background: linear-gradient(135deg, #0DBFF0, #00BF7F);
    color: white !important;
    border: none;
    box-shadow: 0 10px 25px rgba(13, 191, 240, 0.4);
}

.cat-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-name {
    letter-spacing: 0.4px;
}

/* Catalog Button (Header) */
.nav-catalog-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-theme .nav-catalog-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-catalog-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-theme .nav-catalog-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-catalog-btn svg {
    transition: transform 0.3s ease;
}

.nav-catalog-btn:hover svg {
    transform: rotate(90deg);
}

/* BLOG NEWS SECTION */
.blog-news-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.view-all-link-sm {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
    transition: var(--transition);
}

.view-all-link-sm:hover {
    text-decoration: underline;
    transform: translateX(5px);
}

.blog-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.blog-card-mini {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

body.dark-theme .blog-card-mini {
    background: rgba(255, 255, 255, 0.03);
}

.blog-card-mini:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
}

.blog-card-inner {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-img-box {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-mini:hover .blog-img-box img {
    transform: scale(1.1);
}

.blog-info-box {
    padding: 20px;
}

.blog-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted, #888);
    margin-bottom: 8px;
    font-weight: 500;
}

.blog-title-mini {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt-mini {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* BLOG & ARTICLE PAGES */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 992px) {
    .page-with-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Popular Games Widget */
.popular-games-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-game-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.popular-game-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-blue);
    transform: translateX(5px);
}

.pop-game-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.pop-game-info {
    flex-grow: 1;
    overflow: hidden;
}

.pop-game-title {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    display: block;
}

.pop-game-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pop-views {
    color: var(--accent-blue);
    font-weight: 800;
}

/* Ad Slots */
.ad-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    overflow: hidden;
}

.ad-300x250 {
    width: 300px;
    height: 250px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed var(--border-glass);
}

.ad-728x90 {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed var(--border-glass);
}

body.dark-theme .ad-300x250,
body.dark-theme .ad-728x90 {
    background: rgba(255, 255, 255, 0.02);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 20px 0;
}

.breadcrumbs a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    opacity: 0.5;
}

/* Sidebar Widgets */
.widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

body.dark-theme .widget {
    background: rgba(255, 255, 255, 0.03);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}

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

.widget-list li {
    margin-bottom: 12px;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 10px;
    background: transparent;
}

.widget-list a:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--accent-blue);
    transform: translateX(5px);
}

body.dark-theme .widget-list a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.widget-list .count {
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

/* Article Styling */
.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 20px;
}

.card-category {
    display: inline-block;
    background: var(--accent-blue);
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}