/*
Theme Name: CRMPRP Games
Theme URI: https://crmprp.com
Author: CRMPRP Team
Author URI: https://crmprp.com
Description: Профессиональная тема для каталога CRMP и RP игр. Поддержка ACF PRO, кастомные типы записей, AJAX фильтрация и поиск.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crmprp
Tags: games, gaming, catalog, custom-post-types, acf

CRMPRP Games Theme - Каталог лучших RP игр
*/

/* ==========================================
   CSS VARIABLES
========================================== */
:root {
    --accent-1: #0EA5E9;
    --accent-2: #14B8A6;
    --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #14B8A6 100%);
    --gradient-hot: linear-gradient(135deg, #EF4444 0%, #EC4899 100%);
    --gradient-new: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    
    /* LSI Badge Colors */
    --badge-money: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    --badge-unlock: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --badge-premium: linear-gradient(135deg, #A855F7 0%, #7C3AED 100%);
    --badge-noads: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    --badge-mod: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --badge-offline: linear-gradient(135deg, #6B7280 0%, #4B5563 100%);
    --badge-russian: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    --badge-godmode: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
    --badge-safe: linear-gradient(135deg, #10B981 0%, #059669 100%);
    
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F1F5F9;
    --bg-dark: #0F172A;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ==========================================
   RESET & BASE
========================================== */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
    background: var(--bg-primary); 
    color: var(--text-primary); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: all 0.2s ease;
}

ul, ol { 
    list-style: none; 
}

button { 
    font-family: inherit; 
    cursor: pointer; 
    border: none; 
    background: none;
}

/* ==========================================
   ANIMATIONS
========================================== */
@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
}

@keyframes pulse { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.6; } 
}

@keyframes gradientMove { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================
   HEADER
========================================== */
.header { 
    position: relative; 
    z-index: 100; 
    background: white; 
    border-bottom: 1px solid var(--border-light); 
    transition: all 0.3s ease;
}

/* Favorites counter badge */
.favorites-count {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    background: var(--gradient-hot);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: white;
    margin-left: 4px;
}

.header.scrolled { 
    box-shadow: var(--shadow-md); 
}

.header-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 32px; 
    height: 72px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 32px; 
}

/* Logo */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.logo-icon { 
    width: 44px; 
    height: 44px; 
    background: var(--gradient-primary); 
    border-radius: var(--radius-md); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-weight: 800; 
    font-size: 20px; 
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3); 
}

.logo-text { 
    font-weight: 800; 
    font-size: 24px; 
    color: var(--text-primary); 
}

.logo-text span { 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search */
.search-wrapper { 
    flex: 1; 
    max-width: 480px; 
}

.search-box { 
    position: relative; 
}

.search-box input { 
    width: 100%; 
    height: 48px; 
    padding: 0 20px 0 52px; 
    background: var(--bg-tertiary); 
    border: 2px solid transparent; 
    border-radius: var(--radius-full); 
    font-family: inherit; 
    font-size: 15px; 
    font-weight: 500; 
    color: var(--text-primary); 
    transition: all 0.3s; 
}

.search-box input::placeholder { 
    color: var(--text-muted); 
}

.search-box input:focus { 
    outline: none; 
    background: var(--bg-secondary); 
    border-color: var(--accent-1); 
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); 
}

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

/* Search Results Dropdown */
.search-dropdown-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-top: 8px;
    box-shadow: var(--shadow-xl);
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-dropdown-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: var(--bg-tertiary);
}

.search-result-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-result-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.search-result-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Navigation */
.nav { 
    display: flex; 
    gap: 6px; 
}

.nav-link { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 10px 18px; 
    color: var(--text-secondary); 
    font-weight: 600; 
    font-size: 14px; 
    border-radius: var(--radius-full); 
    transition: all 0.2s; 
}

.nav-link:hover { 
    color: var(--text-primary); 
    background: var(--bg-tertiary); 
}

.nav-link.active { 
    color: white; 
    background: var(--gradient-primary); 
}

.nav-link i { 
    font-size: 20px; 
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-toggle .dropdown-arrow {
    font-size: 14px;
    margin-left: 2px;
    transition: transform 0.2s;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 12px;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.nav-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--accent-1);
}

.nav-dropdown-item i {
    font-size: 20px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-dropdown-item:hover i {
    color: var(--accent-1);
}

/* Секции в выпадающем меню */
.nav-dropdown-section {
    padding: 12px;
}

.nav-dropdown-section + .nav-dropdown-section {
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}

.nav-dropdown-section .nav-dropdown-grid {
    padding: 0;
}

.nav-dropdown-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 4px;
}

.nav-dropdown-devices .nav-dropdown-item {
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.08), rgba(var(--accent-2-rgb), 0.08));
    border: 1px solid rgba(var(--accent-1-rgb), 0.15);
}

.nav-dropdown-devices .nav-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.15), rgba(var(--accent-2-rgb), 0.15));
    border-color: rgba(var(--accent-1-rgb), 0.3);
}

.nav-dropdown-devices .nav-dropdown-item i {
    color: var(--accent-1);
}

.nav-dropdown-footer {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
}

.nav-dropdown-footer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-1);
}

.nav-dropdown-footer a:hover {
    color: var(--accent-2);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 24px;
    color: var(--text-primary);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero { 
    padding: 60px 32px 80px; 
    position: relative; 
    overflow: hidden; 
}

.hero-blob { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(80px); 
    pointer-events: none; 
}

.hero-blob-1 { 
    top: -100px; 
    right: -100px; 
    width: 500px; 
    height: 500px; 
    background: var(--accent-1); 
    opacity: 0.12; 
}

.hero-blob-2 { 
    bottom: -150px; 
    left: -100px; 
    width: 400px; 
    height: 400px; 
    background: var(--accent-2); 
    opacity: 0.1; 
}

.hero-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 64px; 
    align-items: center; 
    position: relative; 
    z-index: 1; 
}

.hero-content { 
    max-width: 600px; 
}

.hero-badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 8px 16px 8px 10px; 
    background: var(--bg-secondary); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-full); 
    font-size: 13px; 
    font-weight: 600; 
    color: var(--text-secondary); 
    margin-bottom: 24px; 
    box-shadow: var(--shadow-sm); 
}

.hero-badge-icon { 
    width: 24px; 
    height: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--badge-money); 
    border-radius: var(--radius-full); 
    color: white; 
    font-size: 12px; 
}

.hero-title { 
    font-size: 56px; 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 24px; 
    letter-spacing: -0.02em; 
}

.hero-title .gradient { 
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 50%, #EC4899 100%); 
    background-size: 200% 200%; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease infinite;
    padding: 0 2px;
    margin: 0 -2px;
}

.hero-description { 
    font-size: 18px; 
    color: var(--text-secondary); 
    margin-bottom: 36px; 
    line-height: 1.7; 
}

.hero-buttons { 
    display: flex; 
    gap: 16px; 
    margin-bottom: 48px; 
}

.hero-stats { 
    display: flex; 
    gap: 48px; 
}

.stat-value { 
    font-size: 36px; 
    font-weight: 800; 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { 
    font-size: 14px; 
    color: var(--text-muted); 
    font-weight: 500; 
}

/* ==========================================
   BUTTONS
========================================== */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    padding: 16px 32px; 
    border-radius: var(--radius-full); 
    font-family: inherit; 
    font-size: 15px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s; 
    border: none; 
}

.btn-primary { 
    background: var(--gradient-primary); 
    color: white; 
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3); 
}

.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4); 
}

.btn-secondary { 
    background: var(--bg-secondary); 
    color: var(--text-primary); 
    border: 2px solid var(--border); 
}

.btn-secondary:hover { 
    border-color: var(--accent-1); 
    color: var(--accent-1); 
}

.btn i { 
    font-size: 20px; 
}

/* ==========================================
   FEATURED CARD (HERO)
========================================== */
.hero-featured { 
    position: relative; 
}

.featured-card-hero { 
    background: var(--bg-secondary); 
    border-radius: 28px; 
    overflow: hidden; 
    box-shadow: var(--shadow-xl); 
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); 
    transition: transform 0.5s; 
}

.featured-card-hero:hover { 
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg); 
}

.featured-card-image { 
    position: relative; 
    aspect-ratio: 16/10; 
    overflow: hidden; 
}

.featured-card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.featured-card-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.8) 100%); 
}

.featured-card-badge { 
    position: absolute; 
    top: 16px; 
    left: 16px; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    padding: 8px 14px; 
    background: var(--gradient-hot); 
    border-radius: var(--radius-full); 
    color: white; 
    font-size: 12px; 
    font-weight: 700; 
    text-transform: uppercase; 
}

.featured-card-info { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    padding: 24px; 
    color: white; 
}

.featured-card-title { 
    font-size: 24px; 
    font-weight: 800; 
    margin-bottom: 8px; 
}

.featured-card-meta { 
    display: flex; 
    gap: 16px; 
    font-size: 14px; 
    opacity: 0.9; 
}

.featured-card-meta span { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}

.featured-card-content { 
    padding: 20px 24px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 12px; 
}

.featured-card-tags { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
}

.featured-card-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
    padding: 10px 18px;
    background: var(--gradient-primary); 
    border-radius: var(--radius-full); 
    color: white; 
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s; 
}

.featured-card-btn:hover { 
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.featured-card-btn i {
    font-size: 16px;
}

.hero-floating { 
    position: absolute; 
    background: var(--bg-secondary); 
    border-radius: var(--radius-lg); 
    padding: 12px 16px; 
    box-shadow: var(--shadow-lg); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 13px; 
    font-weight: 600; 
    animation: float 4s ease-in-out infinite; 
}

.hero-floating-1 { 
    top: 10%; 
    right: -20px; 
}

.hero-floating-2 { 
    bottom: 20%; 
    left: -30px; 
    animation-delay: 1s; 
}

.hero-floating i { 
    font-size: 20px; 
    color: var(--accent-1); 
}

.online-dot { 
    width: 8px; 
    height: 8px; 
    background: #22C55E; 
    border-radius: 50%; 
    animation: pulse 2s ease infinite; 
}

/* ==========================================
   LSI BADGES
========================================== */
.lsi-badge { 
    padding: 5px 10px; 
    border-radius: var(--radius-full); 
    font-size: 11px; 
    font-weight: 700; 
    color: white; 
    text-transform: uppercase; 
    letter-spacing: 0.02em; 
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lsi-badge i {
    font-size: 12px;
}

.lsi-badge.money { background: var(--badge-money); }
.lsi-badge.unlock { background: var(--badge-unlock); }
.lsi-badge.premium { background: var(--badge-premium); }
.lsi-badge.noads { background: var(--badge-noads); }
.lsi-badge.mod { background: var(--badge-mod); }
.lsi-badge.offline { background: var(--badge-offline); }
.lsi-badge.russian { background: var(--badge-russian); }
.lsi-badge.godmode { background: var(--badge-godmode); }
.lsi-badge.safe { background: var(--badge-safe); }

/* ==========================================
   LIVE STATS
========================================== */
.live-stats { 
    padding: 0 32px 60px; 
}

.live-stats-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
}

.live-stats-bar { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px; 
}

.live-stat-card { 
    background: var(--bg-secondary); 
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-xl); 
    padding: 24px; 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    transition: all 0.3s; 
}

.live-stat-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1); 
}

.live-stat-icon { 
    width: 56px; 
    height: 56px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: var(--radius-lg); 
    font-size: 26px; 
}

.live-stat-icon.blue { background: rgba(14, 165, 233, 0.1); color: var(--accent-1); }
.live-stat-icon.green { background: rgba(34, 197, 94, 0.1); color: #22C55E; }
.live-stat-icon.orange { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.live-stat-icon.purple { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }

.live-stat-content .live-stat-label { 
    display: block;
    font-size: 13px; 
    font-weight: 600; 
    color: var(--text-muted); 
    margin-bottom: 4px; 
    text-transform: uppercase; 
    letter-spacing: 0.03em; 
}

.live-stat-value { 
    font-size: 28px; 
    font-weight: 800; 
}

/* ==========================================
   SECTION HEADERS
========================================== */
.section-header { 
    display: flex; 
    align-items: flex-end; 
    justify-content: space-between; 
    margin-bottom: 32px; 
}

.section-title-group { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.section-label { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--accent-1); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}

.section-label i { 
    font-size: 16px; 
}

.section-title { 
    font-size: 32px; 
    font-weight: 800; 
    letter-spacing: -0.02em; 
}

.section-link { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    color: var(--text-muted); 
    font-size: 14px; 
    font-weight: 600; 
    transition: all 0.2s; 
}

.section-link:hover { 
    color: var(--accent-1); 
    gap: 10px; 
}

/* ==========================================
   BEST PROJECTS (Лучшие проекты - партнёры)
========================================== */
.best-projects {
    padding: 80px 32px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, #F0F9FF 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.best-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.best-projects-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.best-projects .section-label.best {
    color: #D97706;
}

.best-projects .section-label.best i {
    color: #F59E0B;
}

.best-projects .section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
    max-width: 600px;
}

.best-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.best-project-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
}

.best-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-1);
}

.best-project-link {
    display: block;
    color: inherit;
}

.best-project-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.best-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.best-project-card:hover .best-project-image img {
    transform: scale(1.08);
}

.best-project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.best-project-badge i {
    font-size: 12px;
}

.best-project-content {
    padding: 20px;
}

.best-project-header {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.best-project-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    border: 2px solid var(--border-light);
}

.best-project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.best-project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.best-project-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.best-project-title a {
    color: inherit;
    transition: color 0.2s;
}

.best-project-title a:hover {
    color: var(--accent-1);
}

.best-project-stats {
    display: flex;
    gap: 14px;
}

.best-project-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.best-project-stats .stat-item.rating i {
    color: #FBBF24;
}

.best-project-stats .stat-item.online i {
    color: #22C55E;
}

.best-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.best-project-cta {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
}

.best-project-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    color: white;
    transition: all 0.3s;
    flex: 1;
}

.best-project-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}

.best-project-cta .cta-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.best-project-cta .cta-btn.secondary:hover {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

@media (max-width: 1200px) {
    .best-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .best-projects {
        padding: 60px 20px;
    }
    
    .best-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   TOP WEEK
========================================== */
.top-week { 
    padding: 60px 32px; 
    background: var(--bg-secondary); 
    border-top: 1px solid var(--border-light); 
}

.top-week-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
}

.top-week-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 20px; 
}

.top-card { 
    position: relative; 
    border-radius: var(--radius-xl); 
    overflow: hidden; 
    color: inherit; 
    transition: all 0.4s; 
}

.top-card:hover { 
    transform: translateY(-6px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); 
}

.top-card:hover .top-card-image img { 
    transform: scale(1.1); 
}

.top-card-rank { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    width: 36px; 
    height: 36px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    color: white; 
    font-size: 14px; 
    font-weight: 800; 
    z-index: 2; 
    box-shadow: var(--shadow-md); 
}

.top-card:nth-child(1) .top-card-rank { background: linear-gradient(135deg, #FFD700, #FFA500); }
.top-card:nth-child(2) .top-card-rank { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.top-card:nth-child(3) .top-card-rank { background: linear-gradient(135deg, #CD7F32, #B87333); }

.top-card-image { 
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden; 
}

.top-card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

/* Gradient overlay */
.top-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.top-card-title { 
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    font-size: 15px; 
    font-weight: 700; 
    color: white;
    z-index: 1;
    line-height: 1.3;
}

/* ==========================================
   GAMES SECTION
========================================== */
.games-section { 
    padding: 60px 32px 80px; 
}

.games-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
}

/* Filters */
.filters-bar { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 32px; 
    flex-wrap: wrap; 
    z-index: 10; 
    border-bottom: 1px solid var(--border-light); 
}

.filter-btn { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 12px 20px; 
    background: var(--bg-secondary); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-full); 
    font-family: inherit; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-secondary); 
    cursor: pointer; 
    transition: all 0.2s; 
}

.filter-btn:hover { 
    border-color: var(--accent-1); 
    color: var(--accent-1); 
}

.filter-btn.active { 
    background: var(--gradient-primary); 
    color: white; 
    border-color: transparent; 
}

.filter-btn i { 
    font-size: 18px; 
}

/* Кнопки-переключатели платформ (ПК/Android) */
.filter-btn.filter-toggle {
    background: var(--bg-tertiary);
    border-style: dashed;
}

.filter-btn.filter-toggle:hover {
    background: var(--bg-secondary);
    border-style: solid;
}

.filter-btn.filter-toggle.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    color: white;
    border-style: solid;
    border-color: transparent;
}

.filter-divider { 
    width: 1px; 
    height: 32px; 
    background: var(--border); 
}

.sort-dropdown { 
    margin-left: auto; 
    position: relative;
}

.sort-btn { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 12px 20px; 
    background: var(--bg-secondary); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-full); 
    font-family: inherit; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-secondary); 
    cursor: pointer; 
}

.sort-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    display: none;
    z-index: 100;
}

.sort-dropdown-menu.active {
    display: block;
}

.sort-dropdown-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.sort-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--accent-1);
}

/* Games Grid */
.games-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); 
    gap: 24px; 
}

/* Games Grid - List View */
.games-grid.list-view {
    grid-template-columns: 1fr;
    gap: 16px;
}

.games-grid.list-view .game-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 20px;
    align-items: center;
}

.games-grid.list-view .game-card-image {
    aspect-ratio: 16/10;
}

.games-grid.list-view .game-card-content {
    padding: 16px 0;
}

.games-grid.list-view .game-card-footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding: 16px;
    border-left: 1px solid var(--border-light);
    border-top: none;
}

@media (max-width: 768px) {
    .games-grid.list-view .game-card {
        grid-template-columns: 1fr;
    }
    
    .games-grid.list-view .game-card-footer {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--border-light);
    }
}

/* Game Card */
.game-card { 
    background: var(--bg-secondary); 
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-xl); 
    overflow: hidden; 
    color: inherit; 
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
    animation: fadeIn 0.5s ease;
    position: relative;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(139, 92, 246, 0.05));
}

.game-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}

.game-card:hover::after {
    opacity: 1;
}

.game-card:hover .card-image img { 
    transform: scale(1.06); 
}

.game-card:hover .card-btn { 
    transform: scale(1.1) rotate(0deg); 
}

.card-image { 
    position: relative; 
    aspect-ratio: 16/10; 
    overflow: hidden; 
}

.card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s; 
}

.card-badges { 
    position: absolute; 
    top: 14px; 
    left: 14px; 
    display: flex; 
    gap: 8px; 
    z-index: 2; 
}

.card-badge { 
    padding: 6px 12px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(8px); 
    border-radius: var(--radius-full); 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--text-primary); 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    text-transform: uppercase; 
}

.card-badge.hot { background: var(--gradient-hot); color: white; }
.card-badge.new { background: var(--gradient-new); color: white; }

.card-rating { 
    position: absolute; 
    top: 14px; 
    right: 14px; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    padding: 6px 10px; 
    background: rgba(15, 23, 42, 0.7); 
    backdrop-filter: blur(8px); 
    border-radius: var(--radius-full); 
    font-size: 13px; 
    font-weight: 700; 
    color: white; 
    z-index: 2; 
}

.card-rating i { 
    color: #FBBF24; 
}

.card-content { 
    padding: 20px; 
}

.card-header { 
    display: flex; 
    gap: 14px; 
    margin-bottom: 14px; 
}

.card-icon { 
    width: 52px; 
    height: 52px; 
    border-radius: var(--radius-md); 
    overflow: hidden; 
    box-shadow: var(--shadow-md); 
    flex-shrink: 0; 
}

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

.card-header-info { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    min-width: 0; 
}

.card-title { 
    font-size: 18px; 
    font-weight: 700; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.card-developer { 
    font-size: 13px; 
    color: var(--text-muted); 
}

.card-description { 
    font-size: 14px; 
    color: var(--text-secondary); 
    line-height: 1.6; 
    margin-bottom: 16px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.card-lsi-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 6px; 
    margin-bottom: 16px; 
}

.card-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    margin-bottom: 16px; 
}

.card-tag { 
    padding: 6px 12px; 
    background: var(--bg-tertiary); 
    border-radius: var(--radius-sm); 
    font-size: 12px; 
    font-weight: 600; 
    color: var(--text-muted); 
}

.card-footer { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding-top: 16px; 
    border-top: 1px solid var(--border-light); 
}

.card-meta { 
    display: flex; 
    gap: 16px; 
}

.card-meta-item { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 13px; 
    color: var(--text-muted); 
    font-weight: 500; 
}

.card-meta-item i { 
    font-size: 16px; 
}

.card-btn { 
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--gradient-primary); 
    border-radius: var(--radius-full); 
    color: white; 
    font-size: 18px; 
    transition: all 0.3s; 
    transform: rotate(-45deg); 
}

/* ==========================================
   GUIDES SECTION
========================================== */
/* ==========================================
   GUIDES SECTION - ARCHIVE STYLE CARDS
   ========================================== */
.guides-section { 
    padding: 80px 32px; 
    background: var(--bg-secondary); 
    border-top: 1px solid var(--border-light); 
}

.guides-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
}

/* Archive Grid */
.guides-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Archive Card */
.guide-archive-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: inherit;
    transition: all 0.25s;
}

.guide-archive-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.guide-archive-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.guide-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.guide-archive-card:hover .guide-archive-image img {
    transform: scale(1.05);
}

.guide-archive-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 48px;
    color: var(--text-muted);
    opacity: 0.4;
}

.guide-archive-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: var(--accent-1);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.guide-archive-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-archive-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.guide-archive-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.guide-archive-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.guide-archive-card:hover .guide-archive-title {
    color: var(--accent-1);
}

.guide-archive-games {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.guide-archive-game {
    padding: 3px 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================
   NEWS SECTION - SIMPLE GRID
   ========================================== */
.news-section {
    padding: 80px 32px;
    background: var(--bg-primary);
}

.news-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Simple Grid */
.news-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.news-simple-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: inherit;
    transition: all 0.2s;
}

.news-simple-card:hover {
    border-color: #6366F1;
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.news-simple-card:hover .news-simple-title {
    color: #6366F1;
}

.news-simple-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    color: #6366F1;
}

.news-simple-day {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.news-simple-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

.news-simple-content {
    flex: 1;
    min-width: 0;
}

.news-simple-game {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6366F1;
    margin-bottom: 4px;
}

.news-simple-game img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.news-simple-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-simple-arrow {
    font-size: 18px;
    color: var(--text-muted);
    transition: all 0.2s;
    flex-shrink: 0;
}

.news-simple-card:hover .news-simple-arrow {
    color: #6366F1;
    transform: translateX(3px);
}

/* ==========================================
   PROMOCODES SECTION - GRADIENT CARDS
   ========================================== */
.promos-section {
    padding: 80px 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.promos-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-label.promo {
    color: #F59E0B;
}

.section-label.promo i {
    color: #F59E0B;
}

/* Gradient Cards Grid */
.promos-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.promo-gradient-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--promo-color) 15%, var(--bg-primary)) 0%, 
        color-mix(in srgb, var(--promo-color) 5%, var(--bg-primary)) 100%);
    border: 1px solid color-mix(in srgb, var(--promo-color) 25%, transparent);
    border-radius: var(--radius-xl);
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
}

.promo-gradient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--promo-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.promo-gradient-card:hover::before {
    transform: scaleX(1);
}

.promo-gradient-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--promo-color) 20%, transparent);
    border-color: color-mix(in srgb, var(--promo-color) 40%, transparent);
}

.promo-new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: var(--promo-color);
    color: white;
    font-size: 10px;
    font-weight: 800;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.promo-gradient-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--promo-color) 0%, color-mix(in srgb, var(--promo-color) 70%, #000) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--promo-color) 30%, transparent);
}

.promo-gradient-icon i {
    font-size: 28px;
    color: white;
}

.promo-gradient-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-gradient-content {
    flex: 1;
    margin-bottom: 16px;
}

.promo-gradient-game {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--promo-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.promo-gradient-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-gradient-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.promo-gradient-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.promo-gradient-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--promo-color);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.promo-gradient-card:hover .promo-gradient-link {
    gap: 8px;
}

.promo-gradient-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--promo-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================
   CATEGORIES SECTION - BIG PLATFORM CARDS
   ========================================== */
.categories-section { 
    padding: 80px 32px; 
    background: var(--bg-primary);
}

.categories-inner { 
    max-width: 1400px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.section-label.platform {
    color: var(--accent-1);
}

/* Platforms Showcase */
.platforms-showcase {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.platforms-big-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.platform-big-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-big-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--platform-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.platform-big-card:hover::before {
    opacity: 1;
}

.platform-big-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--platform-color) 40%, var(--border-light));
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.platform-big-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.platform-big-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--platform-color) 12%, var(--bg-tertiary));
    border-radius: var(--radius-lg);
    font-size: 28px;
    color: var(--platform-color);
    flex-shrink: 0;
    transition: all 0.3s;
}

.platform-big-card:hover .platform-big-icon {
    background: var(--platform-gradient);
    color: white;
}

.platform-big-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-big-name {
    font-size: 24px;
    font-weight: 800;
}

.platform-big-count {
    font-size: 14px;
    color: var(--text-muted);
}

.platform-big-games {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.platform-game-preview {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    overflow: hidden;
    border: 2px solid var(--bg-primary);
    transition: transform 0.2s;
}

.platform-game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-big-card:hover .platform-game-preview {
    transform: scale(1.05);
}

.platform-game-more {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    border: 2px solid var(--bg-primary);
}

.platform-big-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.2s;
}

.platform-big-card:hover .platform-big-action {
    background: var(--platform-gradient);
    border-color: transparent;
    color: white;
}

.platform-big-action i {
    transition: transform 0.2s;
}

.platform-big-card:hover .platform-big-action i {
    transform: translateX(4px);
}

/* Game Types Row */
.game-types-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.game-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.game-type-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    color: inherit;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}

.game-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-color, var(--accent-1));
    transform: scaleX(0);
    transition: transform 0.25s;
}

.game-type-card:hover {
    transform: translateY(-4px);
    border-color: var(--cat-color, var(--accent-1));
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.game-type-card:hover::before {
    transform: scaleX(1);
}

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

.game-type-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cat-color, var(--accent-1)) 12%, transparent);
    border-radius: var(--radius-md);
    font-size: 20px;
    color: var(--cat-color, var(--accent-1));
    transition: all 0.25s;
    flex-shrink: 0;
}

.game-type-card:hover .game-type-icon {
    background: var(--cat-color, var(--accent-1));
    color: white;
    transform: scale(1.05);
}

.game-type-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.game-type-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-type-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* Games Preview */
.game-type-games {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.game-type-game {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--bg-primary);
    background: var(--bg-tertiary);
    margin-left: -10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-type-game:first-child {
    margin-left: 0;
}

.game-type-card:hover .game-type-game {
    margin-left: -6px;
}

.game-type-card:hover .game-type-game:first-child {
    margin-left: 0;
}

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

.game-type-game i {
    font-size: 18px;
    color: var(--text-muted);
}

.game-type-more {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: -10px;
    transition: all 0.2s;
}

.game-type-card:hover .game-type-more {
    margin-left: -6px;
    background: var(--cat-color, var(--accent-1));
    color: white;
}

.game-type-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--cat-color, var(--accent-1));
}

.game-type-footer i {
    transition: transform 0.2s;
}

.game-type-card:hover .game-type-footer i {
    transform: translateX(4px);
}

/* ==========================================
   FOOTER
========================================== */
.footer { 
    background: var(--bg-dark); 
    color: white; 
    padding: 80px 32px 32px; 
}

.footer-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
}

.footer-top { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 64px; 
    padding-bottom: 48px; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.footer-brand .logo { 
    margin-bottom: 20px; 
}

.footer-brand .logo-text { 
    color: white; 
}

.footer-description { 
    font-size: 14px; 
    color: rgba(255,255,255,0.6); 
    line-height: 1.8; 
    max-width: 340px; 
    margin-bottom: 24px; 
}

.footer-socials { 
    display: flex; 
    gap: 12px; 
}

.social-link { 
    width: 44px; 
    height: 44px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(255,255,255,0.08); 
    border-radius: var(--radius-full); 
    color: white; 
    font-size: 20px; 
    transition: all 0.3s; 
}

.social-link:hover { 
    background: var(--gradient-primary); 
    transform: translateY(-3px); 
}

.footer-title { 
    font-size: 13px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    margin-bottom: 24px; 
    color: rgba(255,255,255,0.4); 
}

.footer-links { 
    display: flex; 
    flex-direction: column; 
    gap: 14px; 
}

.footer-link { 
    color: rgba(255,255,255,0.7); 
    font-size: 14px; 
    transition: all 0.2s; 
}

.footer-link:hover { 
    color: white; 
    padding-left: 6px; 
}

/* Footer E-E-A-T Section */
.footer-eeat {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-eeat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-eeat-item i {
    font-size: 18px;
    color: var(--accent-1);
}

.footer-bottom { 
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 20px;
    padding-top: 24px; 
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-copy { 
    font-size: 14px; 
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-legal {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    max-width: 500px;
    line-height: 1.6;
    text-align: right;
    margin: 0;
}

.footer-copy a { 
    color: var(--accent-1); 
}

/* ==========================================
   BACK TO TOP
========================================== */
.back-to-top { 
    position: fixed; 
    bottom: 32px; 
    right: 32px; 
    width: 52px; 
    height: 52px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--gradient-primary); 
    border: none; 
    border-radius: var(--radius-full); 
    color: white; 
    font-size: 24px; 
    cursor: pointer; 
    box-shadow: var(--shadow-lg); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(20px); 
    transition: all 0.3s; 
    z-index: 99; 
}

.back-to-top.visible { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.back-to-top:hover { 
    transform: translateY(-4px); 
}

/* ==========================================
   PAGINATION
========================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.pagination .current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ==========================================
   LOADING STATES
========================================== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 1200px) {
    .hero-inner { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero-content { 
        max-width: 700px; 
        margin: 0 auto; 
    }
    
    .hero-buttons, .hero-stats { 
        justify-content: center; 
    }
    
    .hero-featured { 
        display: none; 
    }
    
    .live-stats-bar { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .top-week-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
    
    .top-week-grid .top-card:nth-child(4), 
    .top-week-grid .top-card:nth-child(5) { 
        display: none; 
    }
    
    .footer-top { 
        grid-template-columns: 1fr 1fr; 
    }
    
    /* Guides archive grid */
    .guides-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* News simple grid */
    .news-simple-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Promo cards */
    .promos-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Platform big cards */
    .platforms-big-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .game-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner { 
        padding: 0 20px; 
    }
    
    .search-wrapper { 
        display: none; 
    }
    
    .nav-link span { 
        display: none; 
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero { 
        padding: 40px 20px 60px; 
    }
    
    .hero-title { 
        font-size: 36px; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
    }
    
    .hero-stats { 
        gap: 32px; 
    }
    
    .stat-value { 
        font-size: 28px; 
    }
    
    .live-stats, .top-week, .games-section, .guides-section, .categories-section,
    .news-section, .promos-section { 
        padding-left: 20px; 
        padding-right: 20px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .live-stats-bar { 
        grid-template-columns: 1fr; 
    }
    
    .top-week-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .top-week-grid .top-card:nth-child(3) { 
        display: none; 
    }
    
    .filters-bar { 
        overflow-x: auto; 
        flex-wrap: nowrap; 
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn { 
        flex-shrink: 0; 
    }
    
    .games-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Guides archive grid */
    .guides-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* News simple grid */
    .news-simple-grid {
        grid-template-columns: 1fr;
    }
    
    /* Promo cards grid */
    .promos-cards {
        grid-template-columns: 1fr;
    }
    
    .promo-gradient-card {
        padding: 18px;
    }
    
    /* Platform cards */
    .platforms-big-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-big-card {
        padding: 20px;
    }
    
    .game-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-card {
        padding: 16px;
    }
    
    .promo-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .promo-card-icon i {
        font-size: 22px;
    }
    
    /* Categories - Mobile */
    .categories-inner {
        gap: 32px;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card {
        padding: 18px 20px;
        gap: 16px;
    }
    
    .platform-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .platform-name {
        font-size: 17px;
    }
    
    .game-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .game-type-card {
        padding: 14px;
        gap: 12px;
    }
    
    .game-type-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .game-type-name {
        font-size: 14px;
    }
    
    .game-type-game,
    .game-type-more {
        width: 32px;
        height: 32px;
    }
    
    .game-type-footer {
        font-size: 12px;
    }
    
    .footer { 
        padding: 60px 20px 24px; 
    }
    
    .footer-top { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .footer-eeat {
        gap: 16px 24px;
        margin-top: 32px;
    }
    
    .footer-eeat-item {
        font-size: 12px;
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 16px; 
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom-left {
        align-items: center;
    }
    
    .footer-legal {
        text-align: center;
        max-width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .top-week-grid {
        grid-template-columns: 1fr;
    }
    
    .top-week-grid .top-card:nth-child(2),
    .top-week-grid .top-card:nth-child(3) {
        display: block;
    }
    
    /* Game Types - Extra small */
    .game-types-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .game-type-card {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .game-type-header {
        gap: 10px;
    }
    
    .game-type-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .game-type-name {
        font-size: 14px;
    }
    
    .game-type-games {
        padding: 10px 0;
    }
    
    .game-type-game,
    .game-type-more {
        width: 34px;
        height: 34px;
        margin-left: -8px;
    }
    
    .game-type-game:first-child {
        margin-left: 0;
    }
}

/* ==========================================
   GAMES ARCHIVE PAGE
   ========================================== */
.games-header {
    padding: 32px 32px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.games-header-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.games-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.games-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.games-hero-text {
    flex: 1;
}

.games-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.games-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.games-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.games-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.games-stat i {
    font-size: 20px;
    color: var(--accent-1);
}

.games-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
}

.platform-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.platform-tab i {
    font-size: 18px;
}

.platform-tab:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.platform-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.games-section {
    padding: 40px 32px 80px;
}

.games-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.games-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.games-view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn:hover {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.view-btn.active {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: white;
}

.games-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label {
    font-size: 14px;
    color: var(--text-muted);
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.sort-btn:hover {
    border-color: var(--accent-1);
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 100;
}

.sort-dropdown-menu.active,
.sort-dropdown.open .sort-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.sort-dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.sort-dropdown-item.active {
    color: var(--accent-1);
    font-weight: 600;
}

.sort-dropdown-item i {
    font-size: 18px;
}

.no-games {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-games-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin: 0 auto 24px;
}

.no-games-icon i {
    font-size: 48px;
    color: var(--text-muted);
}

.no-games h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.no-games p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .games-header {
        padding: 32px 20px;
    }
    
    .games-title {
        font-size: 28px;
    }
    
    .games-section {
        padding: 32px 20px 60px;
    }
    
    .games-toolbar {
        flex-direction: column;
        gap: 16px;
    }
    
    .games-view-options {
        order: 1;
    }
    
    .games-sort {
        width: 100%;
        justify-content: space-between;
    }
    
    .platform-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ==========================================
   UNIFIED ARCHIVE PAGES (News, Guides, Promocodes)
   ========================================== */

/* Archive Header - Unified */
.archive-header {
    padding: 20px 32px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.archive-header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.archive-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.archive-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.archive-icon.news { background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%); }
.archive-icon.guides { background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%); }
.archive-icon.promocodes { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }

.archive-hero-text {
    flex: 1;
}

.archive-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.archive-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0 0;
}

/* Archive Filters - Unified */
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.archive-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.archive-filter-btn:hover {
    border-color: var(--accent-1);
    color: var(--text-primary);
}

.archive-filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.archive-filter-btn .filter-icon {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-filter-btn .filter-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-filter-btn.active .filter-icon {
    background: rgba(255,255,255,0.2);
}

.archive-filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
}

.archive-filter-btn.active .filter-count {
    background: rgba(255,255,255,0.25);
}

/* Games sub-filter */
.archive-games-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.archive-filter-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.archive-games-list {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.archive-game-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 5px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
}

.archive-game-item:hover {
    border-color: var(--accent-1);
    color: var(--text-primary);
}

.archive-game-item.active {
    background: var(--accent-1);
    border-color: var(--accent-1);
    color: white;
}

.archive-game-item .game-icon {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.archive-game-item .game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Archive Content Area */
.archive-content {
    padding: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Unified Grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Unified Card */
.archive-card {
    display: block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.archive-card:hover {
    border-color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.archive-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.archive-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-card:hover .archive-card-image img {
    transform: scale(1.05);
}

.archive-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}

.archive-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.archive-card-content {
    padding: 16px;
}

.archive-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.archive-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.archive-card-meta i {
    font-size: 14px;
}

.archive-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.archive-card-tag {
    padding: 3px 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.archive-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.archive-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.archive-card-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-1);
}

.archive-card:hover .archive-card-link {
    gap: 8px;
}

/* Promocode specific card variant */
.archive-card.promocode-card .archive-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
}

.archive-card.promocode-card .promo-game-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-card.promocode-card .promo-game-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.archive-card.promocode-card .promo-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-card.promocode-card .promo-game-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.archive-card.promocode-card .promo-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.archive-card.promocode-card .archive-card-content {
    padding: 14px 16px;
}

/* No results */
.archive-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
}

.archive-empty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--text-muted);
}

.archive-empty .archive-empty-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.archive-empty p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Pagination */
.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.archive-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.archive-pagination .page-numbers:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.archive-pagination .page-numbers.current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .archive-header {
        padding: 16px;
    }
    
    .archive-hero {
        gap: 12px;
    }
    
    .archive-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .archive-title {
        font-size: 18px;
    }
    
    .archive-filters {
        gap: 6px;
    }
    
    .archive-filter-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .archive-games-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .archive-games-list {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    
    .archive-content {
        padding: 20px 16px;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================
   ARCHIVE NEWS GRID - REDESIGNED
   ========================================== */
.archive-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.archive-news-card {
    display: flex;
    align-items: stretch;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: inherit;
    transition: all 0.25s;
    overflow: hidden;
}

.archive-news-card:hover {
    border-color: #6366F1;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.archive-news-card:hover .archive-news-title {
    color: #6366F1;
}

.archive-news-card:hover .archive-news-link {
    gap: 8px;
}

/* Date column */
.archive-news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: white;
    min-width: 80px;
    flex-shrink: 0;
}

.archive-news-day {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.archive-news-month {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 4px;
}

/* Body */
.archive-news-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    flex: 1;
    min-width: 0;
}

.archive-news-game {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6366F1;
    background: var(--bg-tertiary);
    padding: 5px 10px 5px 5px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

.archive-news-game img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

.archive-news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.archive-news-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

.archive-news-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.archive-news-time i {
    font-size: 14px;
}

.archive-news-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6366F1;
    transition: gap 0.2s;
}

/* Thumbnail */
.archive-news-thumb {
    width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.archive-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.archive-news-card:hover .archive-news-thumb img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .archive-news-grid {
        grid-template-columns: 1fr;
    }
    
    .archive-news-thumb {
        width: 140px;
    }
}

@media (max-width: 768px) {
    .archive-news-card {
        flex-wrap: wrap;
    }
    
    .archive-news-date {
        min-width: 70px;
        padding: 16px;
    }
    
    .archive-news-day {
        font-size: 26px;
    }
    
    .archive-news-body {
        padding: 14px 16px;
        flex: 1;
        min-width: 200px;
    }
    
    .archive-news-title {
        font-size: 15px;
    }
    
    .archive-news-thumb {
        width: 100%;
        height: 140px;
        order: -1;
    }
    
    .archive-news-card.has-image .archive-news-date {
        position: absolute;
        top: 10px;
        left: 10px;
        min-width: auto;
        padding: 8px 12px;
        border-radius: var(--radius-md);
    }
    
    .archive-news-card.has-image {
        position: relative;
        flex-direction: column;
    }
    
    .archive-news-card.has-image .archive-news-body {
        padding-top: 12px;
    }
}

/* Legacy compatibility */
.guides-list,
.news-list,
.promocodes-list { padding: 32px; max-width: 1200px; margin: 0 auto; }

.guides-list-inner,
.news-list-inner,
.promocodes-list-inner { max-width: 100%; }

/* Old archive page styles removed - using unified .archive-* classes */

/* ==========================================
   WORDPRESS SPECIFIC
========================================== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Admin bar - header is relative, no top offset needed */

/* ==========================================
   MOBILE NAVIGATION
========================================== */
.mobile-nav {
    position: fixed;
    top: 72px; /* Height of header */
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    visibility: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .header {
    position: relative;
    z-index: 1000;
}

.mobile-nav-inner {
    padding: 20px;
}

.mobile-search-box {
    position: relative;
    margin-bottom: 20px;
}

.mobile-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 20px;
}

.mobile-search-box input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 48px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
}

.mobile-search-box input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: var(--bg-secondary);
}

.mobile-nav-section {
    margin-bottom: 20px;
}

.mobile-nav-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 4px;
}

.mobile-nav-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-platform-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.mobile-platform-link:hover,
.mobile-platform-link:active {
    background: var(--gradient-primary);
    color: white;
}

.mobile-platform-link i {
    font-size: 16px;
}

.mobile-device-link {
    background: linear-gradient(135deg, rgba(var(--accent-1-rgb), 0.1), rgba(var(--accent-2-rgb), 0.1));
    border: 1px solid rgba(var(--accent-1-rgb), 0.2);
    color: var(--accent-1);
}

.mobile-device-link:hover,
.mobile-device-link:active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--gradient-primary);
    color: white;
}

.mobile-nav-link i {
    font-size: 24px;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
    background: var(--gradient-primary);
    color: white;
}

/* Active state when menu is open */
body.mobile-menu-open .mobile-menu-toggle {
    background: var(--gradient-primary);
    color: white;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
    
    /* Mobile nav adjustments */
    .mobile-nav {
        top: 72px;
    }
}

@media (max-width: 768px) {
    .old-cookie-placeholder {
        display: none;
    }
    
    .cookie-text {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   FAVORITE BUTTON ACTIVE STATE
========================================== */
.action-btn.active,
.action-btn.is-favorite {
    background: var(--gradient-hot);
    border-color: transparent;
    color: white;
}

.action-btn.active i,
.action-btn.is-favorite i {
    color: white;
}

/* Card favorite button */
.card-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: var(--radius-full);
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    opacity: 0;
}

.game-card:hover .card-favorite {
    opacity: 1;
}

.card-favorite:hover {
    background: white;
    color: #EF4444;
    transform: scale(1.1);
}

.card-favorite.is-favorite {
    opacity: 1;
    background: var(--gradient-hot);
    color: white;
}

.card-favorite.is-favorite i {
    font-weight: bold;
}

/* LSI Tags in cards */
.card-lsi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.card-lsi-tags .lsi-tag {
    padding: 4px 10px;
    font-size: 11px;
}

/* Platform tags in cards */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.card-tag i {
    font-size: 14px;
}

/* ==========================================
   PAGE STYLES
========================================== */
.page-main,
.page-template {
    padding: 0;
}

.page-main .breadcrumbs {
    max-width: 1400px;
    margin: 0 auto;
}

.page-container,
.page-template-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

.page-header {
    padding: 32px 0;
}

.page-title,
.page-template h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.page-content,
.page-template-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.page-content h2,
.page-template-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

.page-content h2:first-child,
.page-template-content h2:first-child {
    margin-top: 0;
}

.page-content h3,
.page-template-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.page-content p,
.page-template-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.page-content ul,
.page-content ol,
.page-template-content ul,
.page-template-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.page-content ul,
.page-template-content ul {
    list-style: disc;
}

.page-content ol,
.page-template-content ol {
    list-style: decimal;
}

.page-content li,
.page-template-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.page-content a,
.page-template-content a {
    color: var(--accent-1);
    text-decoration: underline;
}

.page-content a:hover,
.page-template-content a:hover {
    color: var(--accent-2);
}

.page-content strong,
.page-template-content strong {
    font-weight: 700;
    color: var(--text-primary);
}

.page-template-meta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================
   SEARCH PAGE
========================================== */
.search-page {
    min-height: 60vh;
}

.search-header {
    background: var(--bg-secondary);
    padding: 48px 32px;
    border-bottom: 1px solid var(--border-light);
}

.search-header-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.search-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.search-title span {
    color: var(--accent-1);
}

.search-form-large {
    margin-bottom: 16px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper > i {
    position: absolute;
    left: 20px;
    font-size: 22px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    height: 60px;
    padding: 0 60px 0 54px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: var(--bg-primary);
}

.search-submit-btn {
    position: absolute;
    right: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-submit-btn:hover {
    transform: scale(1.05);
}

.search-count {
    font-size: 14px;
    color: var(--text-muted);
}

.search-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px;
}

.search-section {
    margin-bottom: 48px;
}

.search-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.search-section-title i {
    color: var(--accent-1);
}

.search-section-count {
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all 0.2s;
}

.search-result-card:hover {
    border-color: var(--accent-1);
    box-shadow: var(--shadow-md);
}

.search-result-image {
    width: 200px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.search-result-type {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.search-result-date {
    font-size: 13px;
    color: var(--text-muted);
}

.search-result-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.search-result-title a:hover {
    color: var(--accent-1);
}

.search-result-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.search-result-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-1);
}

.search-result-link:hover {
    gap: 10px;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin: 0 auto 24px;
}

.no-results-icon i {
    font-size: 48px;
    color: var(--text-muted);
}

.no-results h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.no-results > p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

.no-results-suggestions {
    max-width: 600px;
    margin: 0 auto;
}

.no-results-suggestions h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.suggestions-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.suggestion-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.suggestion-link:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

/* Search Pagination */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-wrapper .page-numbers:hover {
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.pagination-wrapper .page-numbers.current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.pagination-wrapper .page-numbers.prev,
.pagination-wrapper .page-numbers.next {
    padding: 0 16px;
}

.pagination-wrapper .page-numbers.dots {
    background: transparent;
    border: none;
    min-width: auto;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .pagination-wrapper .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: var(--bg-secondary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit-btn {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .page-container,
    .page-template-inner {
        padding: 0 16px;
    }
    
    .page-title,
    .page-template h1 {
        font-size: 28px;
    }
    
    .page-content,
    .page-template-content {
        padding: 24px;
    }
    
    .search-header {
        padding: 32px 20px;
    }
    
    .search-title {
        font-size: 24px;
    }
    
    .search-content {
        padding: 24px 16px;
    }
    
    .search-result-card {
        flex-direction: column;
    }
    
    .search-result-image {
        width: 100%;
        aspect-ratio: 16/9;
    }
}

/* ==========================================
   SINGLE POST / ARTICLE STYLES
========================================== */
.single-post-header {
    padding: 40px 32px 40px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.single-post-header-inner {
    max-width: 900px;
    margin: 0 auto;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.single-post-category {
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.single-post-date {
    font-size: 14px;
    color: var(--text-muted);
}

.single-post-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.single-post-content {
    padding: 48px 32px 80px;
}

.single-post-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.single-post-featured-image {
    margin-bottom: 32px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
}

.single-post-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.single-post-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.single-post-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.single-post-body p {
    margin-bottom: 20px;
}

.single-post-body ul,
.single-post-body ol {
    margin: 20px 0;
    padding-left: 28px;
}

.single-post-body ul {
    list-style: disc;
}

.single-post-body ol {
    list-style: decimal;
}

.single-post-body li {
    margin-bottom: 10px;
}

.single-post-body a {
    color: var(--accent-1);
    text-decoration: underline;
}

.single-post-body blockquote {
    margin: 28px 0;
    padding: 24px 28px;
    background: var(--bg-tertiary);
    border-left: 4px solid var(--accent-1);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

.single-post-body img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.single-post-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.single-post-tags-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .single-post-header {
        padding: 100px 20px 32px;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-content {
        padding: 32px 20px 60px;
    }
}

/* ==========================================
   SHARE MODAL
   ========================================== */
.share-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}

.share-modal {
    width: 100%;
    max-width: 420px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.2s ease;
}

.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.share-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.share-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.share-modal-close:hover {
    background: #EF4444;
    color: white;
}

.share-modal-body {
    padding: 24px;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.share-btn-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.share-btn-social i {
    font-size: 24px;
}

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

.share-btn-social.vk:hover {
    background: #0077FF;
    color: white;
}

.share-btn-social.ok:hover {
    background: #EE8208;
    color: white;
}

.share-btn-social.telegram:hover {
    background: #0088CC;
    color: white;
}

.share-copy-link {
    display: flex;
    gap: 12px;
}

.share-copy-link input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
}

.share-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.share-copy-btn:hover {
    transform: scale(1.02);
}

.share-copy-btn.copied {
    background: #22C55E;
}

/* ==========================================
   NOTIFICATIONS
   ========================================== */
.crmprp-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-dark);
    border-radius: var(--radius-full);
    color: white;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.crmprp-notification i {
    font-size: 18px;
    color: #22C55E;
}

.crmprp-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================
   COOKIE CONSENT
   ========================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 20px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
    transition: all 0.3s ease;
}

.cookie-consent.hidden {
    opacity: 0;
    transform: translateY(100%);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-text i {
    font-size: 32px;
    color: var(--accent-1);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent-1);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: var(--gradient-primary);
    color: white;
}

.cookie-btn.accept:hover {
    transform: scale(1.02);
}

.cookie-btn.decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 16px 12px;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .cookie-content {
        flex-direction: column;
        text-align: left;
        gap: 14px;
    }
    
    .cookie-text {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-text i {
        font-size: 24px;
        margin-top: 2px;
    }

    .cookie-text p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .cookie-buttons {
        width: 100%;
        gap: 8px;
    }
    
    .cookie-btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .cookie-consent {
        padding: 12px 10px;
    }

    .cookie-content {
        gap: 10px;
    }

    .cookie-text i {
        font-size: 20px;
    }

    .cookie-text p {
        font-size: 11px;
        line-height: 1.4;
    }

    .cookie-btn {
        padding: 9px 12px;
        font-size: 12px;
        border-radius: var(--radius-md, 8px);
    }
}

/* ==========================================
   HERO FEATURED CLICKABLE
   ========================================== */
.hero-featured {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.hero-featured:hover .featured-card-hero {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hero-featured:hover .featured-card-btn {
    background: var(--gradient-primary);
    color: white;
}

/* ==========================================
   SINGLE GUIDE / NEWS / PROMOCODE - Unified Design
   ========================================== */
.single-guide,
.single-news,
.single-promocode {
    padding: 0;
    max-width: 100%;
    margin: 0;
    background: var(--bg-primary);
}

.single-guide-breadcrumbs,
.single-news-breadcrumbs,
.single-promocode-breadcrumbs {
    padding: 16px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.single-guide-layout,
.single-news-layout,
.single-promocode-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 40px;
}

.single-guide-content,
.single-news-content,
.single-promocode-content {
    min-width: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 32px;
}

/* Game Badge - Link to related game */
.content-game-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    color: inherit;
    transition: all 0.2s;
}

.content-game-badge:hover {
    border-color: var(--accent-1);
    background: var(--bg-secondary);
}

.content-game-badge img {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.content-game-badge span {
    font-size: 14px;
    font-weight: 600;
}

.content-game-badge i {
    font-size: 16px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.content-game-badge:hover i {
    transform: translateX(3px);
    color: var(--accent-1);
}

.single-guide-header,
.single-news-header,
.single-promocode-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.single-guide-meta,
.single-news-meta,
.single-promocode-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* Unified type badge */
.guide-platform,
.news-type-badge,
.promo-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-platform {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}

.news-type-badge {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.promo-type-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.guide-meta-item,
.news-meta-item,
.promo-count,
.promo-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.guide-meta-item i,
.news-meta-item i,
.promo-count i,
.promo-date i {
    font-size: 14px;
}

.single-guide-title,
.single-news-title,
.single-promocode-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    color: var(--text-primary);
}

.single-guide-excerpt,
.single-news-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 12px;
}

.single-guide-image,
.single-news-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

.single-guide-image img,
.single-news-image img {
    width: 100%;
    height: auto;
}

.single-guide-body,
.single-news-body,
.single-promocode-body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.single-guide-body h2,
.single-news-body h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 28px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.single-guide-body h3,
.single-news-body h3 {
    font-size: 17px;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.single-guide-body p,
.single-news-body p {
    margin-bottom: 14px;
}

.single-guide-body img,
.single-news-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

/* ==========================================
   RICH TEXT CONTENT STYLES - GUIDES/NEWS/PROMOCODES
   ========================================== */

/* Headings */
.single-guide-body h2,
.single-news-body h2,
.single-promocode-body h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 36px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.single-guide-body h2::after,
.single-news-body h2::after,
.single-promocode-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.single-guide-body h3,
.single-news-body h3,
.single-promocode-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-guide-body h3::before,
.single-news-body h3::before,
.single-promocode-body h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.single-guide-body h4,
.single-news-body h4,
.single-promocode-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 22px 0 10px;
}

.single-guide-body h5,
.single-news-body h5,
.single-promocode-body h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 18px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* First heading - no top margin */
.single-guide-body > h2:first-child,
.single-guide-body > h3:first-child,
.single-news-body > h2:first-child,
.single-news-body > h3:first-child,
.single-promocode-body > h2:first-child,
.single-promocode-body > h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Lists */
.single-guide-body ul,
.single-news-body ul,
.single-promocode-body ul {
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.single-guide-body ul li,
.single-news-body ul li,
.single-promocode-body ul li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.single-guide-body ul li::before,
.single-news-body ul li::before,
.single-promocode-body ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 9px;
    width: 7px;
    height: 7px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.single-guide-body ol,
.single-news-body ol,
.single-promocode-body ol {
    margin: 18px 0;
    padding: 0;
    list-style: none;
    counter-reset: list-counter;
}

.single-guide-body ol li,
.single-news-body ol li,
.single-promocode-body ol li {
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
    counter-increment: list-counter;
}

.single-guide-body ol li::before,
.single-news-body ol li::before,
.single-promocode-body ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nested lists */
.single-guide-body ul ul,
.single-guide-body ol ol,
.single-news-body ul ul,
.single-news-body ol ol {
    margin: 10px 0;
}

.single-guide-body ul ul li::before,
.single-news-body ul ul li::before {
    width: 5px;
    height: 5px;
    background: var(--text-muted);
    top: 10px;
}

/* Blockquotes */
.single-guide-body blockquote,
.single-news-body blockquote,
.single-promocode-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-left: 4px solid #F59E0B;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
}

.single-guide-body blockquote::before,
.single-news-body blockquote::before,
.single-promocode-body blockquote::before {
    content: '!';
    position: absolute;
    top: -10px;
    left: -14px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.single-guide-body blockquote p,
.single-news-body blockquote p,
.single-promocode-body blockquote p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.single-guide-body blockquote p:not(:last-child),
.single-news-body blockquote p:not(:last-child),
.single-promocode-body blockquote p:not(:last-child) {
    margin-bottom: 10px;
}

/* Links */
.single-guide-body a,
.single-news-body a,
.single-promocode-body a {
    color: var(--accent-1);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-1);
    transition: all 0.2s;
}

.single-guide-body a:hover,
.single-news-body a:hover,
.single-promocode-body a:hover {
    color: var(--accent-2);
    border-bottom-style: solid;
}

/* Strong and emphasis */
.single-guide-body strong,
.single-guide-body b,
.single-news-body strong,
.single-news-body b,
.single-promocode-body strong,
.single-promocode-body b {
    color: var(--text-primary);
    font-weight: 700;
}

.single-guide-body mark,
.single-news-body mark,
.single-promocode-body mark {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(251, 191, 36, 0.15) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    color: inherit;
}

/* Code inline */
.single-guide-body code,
.single-news-body code,
.single-promocode-body code {
    padding: 3px 7px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: var(--accent-1);
}

/* Code block */
.single-guide-body pre,
.single-news-body pre,
.single-promocode-body pre {
    margin: 20px 0;
    padding: 18px 22px;
    background: #1a1a2e;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-guide-body pre code,
.single-news-body pre code,
.single-promocode-body pre code {
    padding: 0;
    background: none;
    border: none;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.6;
}

/* Horizontal rule */
.single-guide-body hr,
.single-news-body hr,
.single-promocode-body hr {
    margin: 28px 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* Tables */
.single-guide-body table,
.single-news-body table,
.single-promocode-body table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.single-guide-body th,
.single-guide-body td,
.single-news-body th,
.single-news-body td,
.single-promocode-body th,
.single-promocode-body td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.single-guide-body th,
.single-news-body th,
.single-promocode-body th {
    background: var(--bg-tertiary);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.single-guide-body tr:last-child td,
.single-news-body tr:last-child td,
.single-promocode-body tr:last-child td {
    border-bottom: none;
}

.single-guide-body tr:nth-child(even),
.single-news-body tr:nth-child(even),
.single-promocode-body tr:nth-child(even) {
    background: var(--bg-tertiary);
}

/* Images with captions */
.single-guide-body figure,
.single-news-body figure,
.single-promocode-body figure {
    margin: 24px 0;
}

.single-guide-body figcaption,
.single-news-body figcaption,
.single-promocode-body figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Image alignment */
.single-guide-body .aligncenter,
.single-news-body .aligncenter,
.single-promocode-body .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.single-guide-body .alignleft,
.single-news-body .alignleft,
.single-promocode-body .alignleft {
    float: left;
    margin: 6px 20px 14px 0;
}

.single-guide-body .alignright,
.single-news-body .alignright,
.single-promocode-body .alignright {
    float: right;
    margin: 6px 0 14px 20px;
}

/* Clear floats */
.single-guide-body p::after,
.single-news-body p::after,
.single-promocode-body p::after {
    content: '';
    display: table;
    clear: both;
}

/* Keyboard shortcut */
.single-guide-body kbd,
.single-news-body kbd,
.single-promocode-body kbd {
    display: inline-block;
    padding: 4px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 0 var(--border);
    font-family: inherit;
    font-size: 0.85em;
    font-weight: 600;
}

/* ==========================================
   PROMOCODE ARTICLE SPECIFIC STYLES
   ========================================== */

/* ==========================================
   PROMO CODE INLINE SHORTCODE - LIGHT YELLOW
   ========================================== */
.promo-code-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    vertical-align: middle;
    margin: 5px 0px;
}

.promo-code-inline:hover {
    background: #FDE68A;
    border-color: #FCD34D;
}

.promo-code-inline:active {
    transform: scale(0.98);
}

.promo-code-inline code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #92400E;
    background: none;
    border: none;
    padding: 0;
}

.promo-code-inline i {
    font-size: 16px;
    color: #B45309;
    opacity: 0.6;
    transition: all 0.2s;
}

.promo-code-inline:hover i {
    opacity: 1;
}

.promo-code-inline.copied {
    background: #D1FAE5;
    border-color: #A7F3D0;
}

.promo-code-inline.copied code {
    color: #065F46;
}

.promo-code-inline.copied i {
    color: #059669;
    opacity: 1;
}

/* ==========================================
   SINGLE PROMOCODE - HEADER STATS
   ========================================== */
.single-promocode-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.promo-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.promo-stat-card.highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.promo-stat-card.highlight i {
    color: #F59E0B;
}

.promo-stat-card i {
    font-size: 24px;
    color: var(--text-muted);
}

.promo-stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.promo-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.promo-stat-card.highlight .promo-stat-value {
    font-size: 22px;
    color: #F59E0B;
}

.promo-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==========================================
   PROMO INFO BANNER
   ========================================== */
.promo-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}

.promo-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.promo-info-icon i {
    font-size: 24px;
    color: white;
}

.promo-info-content {
    flex: 1;
}

.promo-info-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.promo-info-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Game badge for promo */
.promo-game-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

.promo-game-badge:hover {
    border-color: #F59E0B;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
}

/* ==========================================
   PROMO FEATURED IMAGE
   ========================================== */
.promo-featured-image {
    position: relative;
    margin-bottom: 32px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-height: 280px;
}

.promo-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

/* Promocode article body */
.promocode-article {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* First h1 in article - already shown as title */
.promocode-article > h1:first-child {
    display: none;
}

/* Headings in promo article */
.promocode-article h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    color: var(--text-primary);
}

.promocode-article h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--text-primary);
}

/* Remove date paragraph styling (usually em at top) */
.promocode-article > p:first-of-type em:only-child {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    font-style: normal;
}

/* Promocode tables - special styling */
.promocode-article table {
    margin: 28px 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.promocode-article table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 13px;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-light);
}

.promocode-article table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.promocode-article table tr:last-child td {
    border-bottom: none;
}

.promocode-article table tr:nth-child(even) {
    background: var(--bg-secondary);
}

.promocode-article table td:first-child {
    position: relative;
    font-weight: 600;
}

/* Regular code in article (not promo shortcode) */
.promocode-article code:not(.promo-code-inline code) {
    display: inline;
    padding: 3px 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    color: var(--text-primary);
}

/* Promo shortcode code inside article - override */
.promocode-article .promo-code-inline code {
    display: inline;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #92400E;
}

.promocode-article .promo-code-inline.copied code {
    color: #065F46;
}

/* Lists in promo article */
.promocode-article ul,
.promocode-article ol {
    margin: 20px 0;
    padding-left: 24px;
}

.promocode-article li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.promocode-article li::marker {
    color: #F59E0B;
}

/* Blockquotes */
.promocode-article blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-left: 4px solid #F59E0B;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Links */
.promocode-article a:not(.promo-code-inline) {
    color: #D97706;
    text-decoration: underline;
    text-decoration-color: rgba(245, 158, 11, 0.3);
    transition: all 0.2s;
}

.promocode-article a:not(.promo-code-inline):hover {
    text-decoration-color: #F59E0B;
}

/* Code with copy button wrapper */
.promo-code-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.promo-code-copy {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.promo-code-copy:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: white;
}

.promo-code-copy.copied {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

/* Emphasized info blocks */
.promocode-article p strong:first-child {
    color: var(--text-primary);
}

/* Sidebar promo icon */
.sidebar-post-icon.promo-icon i {
    color: #F59E0B;
}

/* Copy tooltip */
.copy-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #10B981;
    color: white;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    opacity: 0;
    transition: all 0.3s;
    z-index: 10000;
    pointer-events: none;
}

.copy-tooltip i {
    font-size: 18px;
}

.copy-tooltip.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Mobile adjustments for content */
@media (max-width: 768px) {
    .single-guide-body h2,
    .single-news-body h2,
    .single-promocode-body h2 {
        font-size: 18px;
        margin: 28px 0 14px;
    }
    
    .single-guide-body h3,
    .single-news-body h3,
    .single-promocode-body h3 {
        font-size: 16px;
        margin: 22px 0 10px;
    }
    
    .single-guide-body blockquote,
    .single-news-body blockquote,
    .single-promocode-body blockquote {
        padding: 16px 18px;
        margin: 18px 0;
    }
    
    .single-guide-body table,
    .single-news-body table,
    .single-promocode-body table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .single-guide-body table tbody,
    .single-news-body table tbody,
    .single-promocode-body table tbody,
    .single-guide-body table thead,
    .single-news-body table thead,
    .single-promocode-body table thead {
        display: table;
        width: 100%;
        min-width: 500px;
    }
    
    .single-guide-body th,
    .single-guide-body td,
    .single-news-body th,
    .single-news-body td,
    .single-promocode-body th,
    .single-promocode-body td {
        padding: 10px 12px;
        white-space: normal;
    }
    
    .single-guide-body pre,
    .single-news-body pre,
    .single-promocode-body pre {
        padding: 14px;
        font-size: 12px;
    }
}

/* Related Games - Compact */
.single-guide-related,
.single-news-related {
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.single-guide-related .related-title,
.single-news-related .related-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.related-games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-game-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.related-game-card:hover {
    border-color: var(--accent-1);
    box-shadow: var(--shadow-sm);
}

.related-game-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.related-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-game-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.related-game-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--text-muted);
}

.related-game-rating i {
    color: #FBBF24;
    font-size: 11px;
}

/* Content Share Block */
.content-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.content-share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.content-share-buttons {
    display: flex;
    flex: 1;
    gap: 8px;
}

.content-share-btn {
    flex: 1;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 20px;
    color: white;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.content-share-btn svg {
    width: 20px;
    height: 20px;
}

.content-share-btn.vk {
    background: #0077FF;
}

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

.content-share-btn.copy {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.content-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.content-share-btn.copy:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
}

.content-share-btn.copy.copied {
    background: #10B981;
    color: white;
    border-color: #10B981;
}

.content-share-btn.copy .copy-text {
    display: none;
    font-size: 12px;
    font-weight: 600;
}

.content-share-btn.copy.copied i {
    display: none;
}

.content-share-btn.copy.copied .copy-text {
    display: block;
}

@media (max-width: 480px) {
    .content-share {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .content-share-label {
        text-align: center;
    }
}

/* Sidebar - Compact */
.single-guide-sidebar,
.single-news-sidebar,
.single-promocode-sidebar {
    top: 90px;
}

/* Sidebar Sticky Ad Block */
.sidebar-ad-sticky {
    position: sticky;
    top: 100px;
    margin-top: 24px;
}

.sidebar-ad-sticky .ad-recommend-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-ad-sticky .ad-recommend-label i {
    color: var(--accent-1);
    font-size: 18px;
}

.sidebar-ad-sticky .ad-recommend-banner {
    text-align: center;
}

.sidebar-ad-sticky .ad-recommend-banner a {
    display: block;
}

.sidebar-ad-sticky .ad-recommend-banner img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* ==========================================
   SIDEBAR - REDESIGNED
   ========================================== */

/* Big Game Card (like in games) */
.sidebar-game-card-big {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 20px;
    color: white;
}

.sidebar-game-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.sidebar-game-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

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

.sidebar-game-card-info {
    flex: 1;
    min-width: 0;
}

.sidebar-game-card-title {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: white;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-game-card-dev {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-game-card-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-game-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.sidebar-game-stat i {
    font-size: 16px;
}

.sidebar-game-stat i.ph-fill.ph-star {
    color: #FBBF24;
}

.sidebar-game-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    color: white;
    transition: all 0.2s;
}

.sidebar-game-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.sidebar-game-card-btn i {
    font-size: 18px;
}

/* Old style Game Link Card (keeping for compatibility) */
.sidebar-game-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
    color: inherit;
    transition: all 0.25s;
}

.sidebar-game-link:hover {
    border-color: var(--accent-1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.sidebar-game-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sidebar-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-game-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-game-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-game-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-game-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.sidebar-game-rating i {
    color: #FBBF24;
    font-size: 14px;
}

.sidebar-game-arrow {
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.sidebar-game-link:hover .sidebar-game-arrow {
    color: var(--accent-1);
    transform: translateX(3px);
}

/* Widget Container */
.sidebar-widget {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    margin-bottom: 20px;
}

.sidebar-widget .sidebar-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.sidebar-widget .sidebar-widget-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Posts List */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-post-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    color: inherit;
    transition: all 0.2s;
}

.sidebar-post-card:hover {
    background: var(--bg-primary);
    transform: translateX(4px);
}

.sidebar-post-card:hover .sidebar-post-title {
    color: var(--accent-1);
}

.sidebar-post-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.sidebar-post-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-icon i {
    font-size: 18px;
    color: var(--accent-1);
}

.sidebar-post-icon.news-icon i {
    color: var(--accent-2);
}

.sidebar-post-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.sidebar-post-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.sidebar-post-meta i {
    font-size: 12px;
}

/* Legacy lists compatibility */
.sidebar-guides-list,
.sidebar-news-list,
.sidebar-promos-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-guides-list li,
.sidebar-news-list li,
.sidebar-promos-list li {
    margin: 0;
    padding: 0;
    border: none;
}

.sidebar-promos-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: all 0.2s;
}

.sidebar-promos-list a:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-promos-list a i {
    font-size: 20px;
    color: #8B5CF6;
    flex-shrink: 0;
}

.sidebar-promos-list a span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Empty state */
.sidebar-empty {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    padding: 16px;
    margin: 0;
}

/* Promocode specific - Compact */
.promocode-game-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
}

.promocode-game-link:hover {
    border-color: var(--accent-1);
}

.promocode-game-link img {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-sm);
}

.single-promocode-codes {
    margin-top: 20px;
}

.single-promocode-codes .codes-section-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.promocodes-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promocode-single-card {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.promocode-single-card.expired {
    opacity: 0.5;
}

.promo-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.promo-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 20px;
    color: var(--accent-1);
}

.promo-card-bonus {
    font-size: 15px;
    font-weight: 700;
    display: block;
    color: var(--text-primary);
}

.promo-card-expiry {
    font-size: 12px;
    color: var(--text-muted);
}

.promo-card-expiry.expired {
    color: #EF4444;
}

.promo-card-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.promo-card-code {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-1);
    letter-spacing: 0.05em;
}

.promo-card-conditions {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    padding: 8px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.promo-card-conditions i {
    color: var(--accent-1);
    flex-shrink: 0;
}

.single-promocode-howto {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.single-promocode-howto .howto-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.single-promocode-howto ol {
    margin: 0;
    padding-left: 18px;
}

.single-promocode-howto li {
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.sidebar-game-widget {
    padding: 0 !important;
    overflow: hidden;
}

.sidebar-game-widget h4 {
    padding: 14px 16px;
    margin: 0 !important;
}

.sidebar-game-card {
    display: block;
    transition: all 0.2s;
}

.sidebar-game-card:hover {
    opacity: 0.9;
}

.sidebar-game-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.sidebar-game-name {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background: var(--bg-tertiary);
}

@media (max-width: 1024px) {
    .single-guide-layout,
    .single-news-layout,
    .single-promocode-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .single-guide-sidebar,
    .single-news-sidebar,
    .single-promocode-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .single-guide,
    .single-news,
    .single-promocode {
        padding: 0;
    }
    
    .single-guide-breadcrumbs,
    .single-news-breadcrumbs,
    .single-promocode-breadcrumbs {
        padding: 12px 16px;
    }
    
    .single-guide-layout,
    .single-news-layout,
    .single-promocode-layout {
        padding: 0 16px 32px;
    }
    
    .single-guide-content,
    .single-news-content,
    .single-promocode-content {
        padding: 20px;
    }
    
    .single-guide-title,
    .single-news-title,
    .single-promocode-title {
        font-size: 20px;
    }
    
    .single-guide-sidebar,
    .single-news-sidebar,
    .single-promocode-sidebar {
        grid-template-columns: 1fr;
    }
    
    .promo-card-code-wrapper {
        flex-direction: column;
    }
    
    .promocode-copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Promocode page stats */
    .single-promocode-stats {
        flex-direction: column;
    }
    
    .promo-stat-card {
        width: 100%;
    }
    
    .promo-info-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-info-icon {
        margin: 0 auto;
    }
    
    /* Promo code inline */
    .promo-code-inline {
        padding: 8px 14px;
        gap: 8px;
    }
    
    .promo-code-inline code {
        font-size: 14px;
    }
    
    /* Promo featured image */
    .promo-featured-image {
        max-height: 200px;
        margin-bottom: 24px;
    }
}

/* ==========================================
   COMMENTS ON POSTS (General)
   ========================================== */
.single-post-content .comments-area {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.single-post-content .comments-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 32px;
}

.single-post-content .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.single-post-content .comment {
    padding: 24px;
    margin-bottom: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
}

.single-post-content .comment-body {
    display: flex;
    gap: 16px;
}

.single-post-content .comment .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.single-post-content .comment-content {
    flex: 1;
    min-width: 0;
}

.single-post-content .comment-author {
    margin-bottom: 8px;
}

.single-post-content .comment-author .fn {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.single-post-content .comment-author .says {
    display: none;
}

.single-post-content .comment-metadata {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.single-post-content .comment-metadata a {
    color: inherit;
}

.single-post-content .comment-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.single-post-content .reply a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.single-post-content .reply a:hover {
    background: var(--gradient-primary);
    color: white;
}

.single-post-content .children {
    list-style: none;
    margin: 20px 0 0 32px;
    padding: 0;
}

.single-post-content .comment-respond {
    background: var(--bg-secondary);
    padding: 32px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.single-post-content .comment-reply-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.single-post-content .comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.single-post-content .comment-form .required {
    color: #EF4444;
}

.single-post-content .comment-form input[type="text"],
.single-post-content .comment-form input[type="email"],
.single-post-content .comment-form input[type="url"],
.single-post-content .comment-form input[type="number"],
.single-post-content .comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.single-post-content .comment-form input:focus,
.single-post-content .comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: var(--bg-secondary);
}

.single-post-content .comment-form textarea {
    min-height: 140px;
    resize: vertical;
}

.single-post-content .submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.single-post-content .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* Comments on posts - custom callback styles */
.single-post-comments .comments-list,
.single-post-content .comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-post-comments .comment,
.single-post-content .comment {
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.single-post-comments .comment-header,
.single-post-content .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.single-post-comments .comment-avatar,
.single-post-content .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.single-post-comments .comment-author,
.single-post-content .comment-author {
    font-weight: 600;
    font-size: 15px;
}

.single-post-comments .comment-date,
.single-post-content .comment-date {
    font-size: 12px;
    color: var(--text-muted);
}

.single-post-comments .comment-text,
.single-post-content .comment-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.single-post-comments .comment-text p,
.single-post-content .comment-text p {
    margin: 0;
}

.single-post-comments .comment-actions,
.single-post-content .comment-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.single-post-comments .comment-action a,
.single-post-content .comment-action a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

.single-post-comments .comment-action a:hover,
.single-post-content .comment-action a:hover {
    color: var(--accent-1);
}

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

.comments-count {
    font-size: 18px;
    font-weight: 700;
}

/* Comment submit button style */
.comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.comment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

/* ==========================================
   LSI TAGS STYLING
   ========================================== */
.lsi-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.lsi-tag:hover {
    background: var(--gradient-primary);
    color: white;
}

.lsi-tag.small {
    padding: 4px 10px;
    font-size: 11px;
}

.featured-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================
   NO GAMES PLACEHOLDER
   ========================================== */
.no-games {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
}

.no-games i {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-games p {
    font-size: 18px;
    color: var(--text-muted);
}

/* ==========================================
   LOAD MORE WRAPPER
   ========================================== */
.load-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================
   SPONSORED / PARTNER CARDS
   ========================================== */
.sponsored-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #F59E0B;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.sponsored-card-inner {
    display: flex;
    flex-direction: column;
}

.sponsored-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.sponsored-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sponsored-card:hover .sponsored-card-image img {
    transform: scale(1.05);
}

.sponsored-card-content {
    padding: 20px;
    background: white;
}

.sponsored-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.sponsored-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.sponsored-card-meta i {
    color: #F59E0B;
}

.sponsored-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    color: white;
    transition: all 0.2s;
}

.sponsored-card:hover .sponsored-card-btn {
    transform: translateX(4px);
}

/* Sponsored top card in rankings */
.top-card.sponsored {
    box-shadow: 0 0 0 2px #F59E0B;
}

.top-card.sponsored .top-card-rank {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* ==========================================
   AD BLOCKS
   ========================================== */
.ad-block {
    margin: 24px 0;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.ad-block-top {
    margin-bottom: 32px;
}

.ad-block-sidebar {
    margin-bottom: 24px;
}

.ad-block-content {
    margin: 32px 0;
}

.ad-block::before {
    content: 'Реклама';
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   SPONSORED GAMES SIDEBAR (global)
   ========================================== */
.sidebar-block--sponsored {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, var(--bg-secondary) 40%);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent-1);
    border-radius: var(--radius-xl);
    padding: 24px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-block--sponsored .sidebar-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sidebar-block--sponsored .sidebar-block-header i {
    font-size: 22px;
    color: #FBBF24;
}

.sidebar-block--sponsored .sidebar-block-title {
    font-size: 16px;
    font-weight: 700;
}

.sponsored-games {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sponsored-game {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.sponsored-game:hover {
    border-color: var(--border-light);
}

.sponsored-game-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.sponsored-game-link:hover .sponsored-game-title {
    color: var(--accent-1);
}

.sponsored-game-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.sponsored-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsored-game-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 20px;
}

.sponsored-game-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sponsored-game-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.sponsored-game-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.sponsored-game-meta i {
    color: #FBBF24;
    font-size: 10px;
}

.sponsored-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    white-space: nowrap;
}

.sponsored-game-btn i {
    font-size: 12px;
}

.sponsored-game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

/* ==========================================
   PLATFORM PAGES
   ========================================== */
.platform-header {
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.platform-header-bg {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--platform-color, var(--accent-1));
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(60px);
}

.platform-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.platform-breadcrumbs {
    margin-bottom: 24px;
}

/* Breadcrumbs - General */
.breadcrumbs {
    margin-bottom: 16px;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumbs-list a {
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.breadcrumbs-list .sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumbs-list .current {
    color: var(--text-secondary);
}

/* Breadcrumbs - Platform pages */
.platform-breadcrumbs .breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
}

.platform-breadcrumbs .breadcrumbs-list a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.platform-breadcrumbs .breadcrumbs-list a:hover {
    color: var(--accent-1);
}

.platform-breadcrumbs .sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.platform-breadcrumbs .current {
    color: var(--text-primary);
    font-weight: 600;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.platform-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

.platform-text {
    flex: 1;
}

.platform-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.platform-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 600px;
}

.platform-stats {
    display: flex;
    gap: 24px;
}

.platform-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.platform-stat i {
    font-size: 18px;
    color: var(--accent-1);
}

.platform-children {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.platform-children-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.platform-children-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-child-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.platform-child-link:hover {
    background: var(--gradient-primary);
    color: white;
}

.platform-child-link .count {
    padding: 2px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
}

.platform-child-link:hover .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Platform Best Section */
.platform-best {
    padding: 60px 32px;
    background: linear-gradient(180deg, #FEF3C7 0%, var(--bg-primary) 100%);
}

.platform-best-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.platform-best-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platform-best-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid #F59E0B;
    transition: all 0.3s;
    display: block;
    color: inherit;
}

.platform-best-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.2);
}

.platform-best-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.platform-best-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.platform-best-card:hover .platform-best-card-image img {
    transform: scale(1.05);
}

.platform-best-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.platform-best-card-content {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.platform-best-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.platform-best-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.platform-best-card-info {
    flex: 1;
    min-width: 0;
}

.platform-best-card-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-best-card-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.platform-best-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.platform-best-card-meta i.ph-fill.ph-star {
    color: #FBBF24;
}

.platform-best-card-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-lg);
    font-size: 13px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    transition: all 0.2s;
}

.platform-best-card:hover .platform-best-card-btn {
    gap: 10px;
}

/* Platform Games Section */
.platform-games {
    padding: 60px 32px 80px;
}

.platform-games-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Platform Guides Section */
.platform-guides {
    padding: 60px 32px 80px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.platform-guides-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.guide-type {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

@media (max-width: 1200px) {
    .platform-best-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .platform-header {
        padding: 32px 20px;
    }
    
    .platform-info {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-title {
        font-size: 28px;
    }
    
    .platform-children {
        flex-direction: column;
        align-items: stretch;
    }
    
    .platform-children-list {
        justify-content: center;
    }
    
    .platform-best,
    .platform-games,
    .platform-guides {
        padding: 40px 20px;
    }
    
    .platform-best-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-best-card-content {
        flex-wrap: wrap;
    }
    
    .platform-best-card-btn {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
}

/* ==========================================
   PARTNER GAME BANNER
   ========================================== */
.partner-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
    border-radius: var(--radius-xl);
    color: white;
    margin-bottom: 32px;
}

.partner-banner-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.partner-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-banner-content {
    flex: 1;
}

.partner-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.partner-banner-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.partner-banner-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.partner-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 700;
    color: white;
    transition: all 0.2s;
}

.partner-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

@media (max-width: 768px) {
    .partner-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-banner-title {
        font-size: 20px;
    }
}

/* ==========================================
   E-E-A-T SECTIONS
   About Author Page & Trust Signals
========================================== */

/* === About Author Page === */
.about-author-page {
    padding: 40px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-author-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Author Hero */
.author-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    color: white;
}

.author-hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.author-badge i {
    font-size: 18px;
    color: #F59E0B;
}

.author-name {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.author-role {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

.author-stats-row {
    display: flex;
    gap: 32px;
    margin-top: 8px;
}

.author-stat {
    display: flex;
    flex-direction: column;
}

.author-stat-value {
    font-size: 28px;
    font-weight: 800;
}

.author-stat-label {
    font-size: 13px;
    opacity: 0.8;
}

.author-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.author-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
}

.author-social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.author-social-link i {
    font-size: 20px;
}

.author-hero-photo {
    position: relative;
}

.author-photo,
.author-photo-placeholder {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.author-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.author-photo-placeholder i {
    font-size: 80px;
    opacity: 0.5;
}

.author-photo-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.author-photo-badge i {
    font-size: 28px;
    color: white;
}

/* Author Bio Section */
.author-bio-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.author-bio-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 24px;
}

.author-bio-card h2 i {
    color: var(--accent-1);
}

.author-bio-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.author-bio-content p.lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

.author-bio-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.author-bio-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.author-bio-content li::marker {
    color: var(--accent-1);
}

/* Expertise Section */
.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 24px;
}

.section-heading i {
    color: var(--accent-1);
}

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

.expertise-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.expertise-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.expertise-icon i {
    font-size: 26px;
    color: white;
}

.expertise-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Editorial Policy Section */
.editorial-policy-section .policy-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.policy-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 16px;
}

.policy-card h2 i {
    color: var(--accent-1);
}

.policy-intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.policy-item {
    display: flex;
    gap: 16px;
}

.policy-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-icon i {
    font-size: 22px;
    color: var(--accent-1);
}

.policy-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.policy-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.timeline-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact CTA */
.contact-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-2xl);
}

.contact-cta-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-cta-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 500px;
}

/* === Trust Section (Front Page) === */
.trust-section {
    padding: 64px 0;
    background: var(--bg-tertiary);
}

.trust-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-header {
    text-align: center;
    margin-bottom: 48px;
}

.trust-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.trust-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.trust-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-card-icon i {
    font-size: 32px;
    color: white;
}

.trust-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.trust-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* === Author Teaser (Front Page) === */
.author-teaser-section {
    padding: 64px 0;
}

.author-teaser-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.author-teaser-card {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

.author-teaser-photo {
    position: relative;
    flex-shrink: 0;
}

.author-teaser-photo img,
.author-teaser-photo .teaser-photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    border: 3px solid var(--accent-1);
}

.teaser-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}

.teaser-photo-placeholder i {
    font-size: 64px;
    color: var(--text-muted);
}

.author-teaser-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-teaser-badge i {
    font-size: 20px;
    color: white;
}

.author-teaser-content {
    flex: 1;
}

.author-teaser-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-1);
    margin-bottom: 16px;
}

.author-teaser-label i {
    font-size: 16px;
}

.author-teaser-content h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.author-teaser-role {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.author-teaser-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.author-teaser-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.teaser-stat {
    display: flex;
    flex-direction: column;
}

.teaser-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-1);
}

.teaser-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.author-teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
}

.author-teaser-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

/* Responsive for E-E-A-T sections */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-hero-photo {
        order: -1;
        margin: 0 auto;
    }
    
    .author-stats-row {
        justify-content: center;
    }
    
    .author-socials {
        justify-content: center;
    }
    
    .author-badge {
        margin: 0 auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .author-hero {
        padding: 32px 24px;
    }
    
    .author-name {
        font-size: 32px;
    }
    
    .author-stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .author-photo,
    .author-photo-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .author-bio-card,
    .policy-card {
        padding: 28px 20px;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .author-teaser-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .author-teaser-stats {
        justify-content: center;
    }
    
    .contact-cta-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-cta-content p {
        max-width: 100%;
    }
}

/* ==========================================
   CONTENT AUTHOR BOX (E-E-A-T)
   Used on single pages
========================================== */
.content-author-box {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: var(--radius-xl);
    margin: 24px 0;
}

.content-author-photo {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.content-author-photo img,
.content-author-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--accent-1);
    display: block;
}

.content-author-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}

.content-author-placeholder i {
    font-size: 32px;
    color: var(--text-muted);
}

.content-author-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-secondary);
    z-index: 1;
}

.content-author-badge i {
    font-size: 12px;
    color: white;
}

.content-author-info {
    flex: 1;
}

.content-author-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-1);
    margin-bottom: 6px;
}

.content-author-label i {
    font-size: 12px;
}

.content-author-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 2px;
}

.content-author-role {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.content-author-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 10px;
}

.content-author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-1);
    transition: all 0.2s;
}

.content-author-link:hover {
    gap: 10px;
    color: var(--accent-2);
}

.content-author-link i {
    font-size: 14px;
}

@media (max-width: 640px) {
    .content-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
    }
    
    .content-author-link {
        justify-content: center;
    }
}

/* ==========================================
   PAGE TEMPLATE WIDER OPTION
   For pages that need more width
========================================== */
.page-template.wide .page-template-inner {
    max-width: 1100px;
}

/* About Author Page specific fixes */
.about-author-page .author-bio-content ul {
    list-style: disc;
    margin: 20px 0;
    padding-left: 24px;
}

.about-author-page .author-bio-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.about-author-page .author-bio-content ul li::marker {
    color: var(--accent-1);
}

/* ==========================================
   COPYABLE CODE BLOCKS
   Click to copy commands in guides
========================================== */
.copyable-code {
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    padding-right: 28px !important;
}

.copyable-code::after {
    content: '\e997'; /* ph-copy icon code */
    font-family: 'Phosphor';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.2s ease;
}

.copyable-code:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.copyable-code:hover::after {
    opacity: 1;
    color: var(--accent-1);
}

.copyable-code:active {
    transform: scale(0.98);
}

.copyable-code.copied {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: #22C55E !important;
    color: #16A34A !important;
}

.copyable-code.copied::after {
    content: '\e19e'; /* ph-check icon code */
    opacity: 1;
    color: #22C55E;
}

/* Toast notification (shared with promo codes) */
.copy-tooltip {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-tooltip i {
    font-size: 20px;
    color: #22C55E;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Enhance inline code in content areas */
.single-guide-body code,
.single-news-body code,
.description-text code,
.page-template-content code {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: var(--radius-md);
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9em;
    color: var(--accent-1);
    white-space: nowrap;
}

/* Block code (full line) */
.single-guide-body p > code:only-child,
.single-news-body p > code:only-child {
    display: block;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #67E8F9;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

.single-guide-body p > code:only-child.copyable-code,
.single-news-body p > code:only-child.copyable-code {
    padding-right: 40px !important;
}

.single-guide-body p > code:only-child.copyable-code::after,
.single-news-body p > code:only-child.copyable-code::after {
    color: rgba(255, 255, 255, 0.5);
    right: 16px;
}

.single-guide-body p > code:only-child.copyable-code:hover {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    border-color: var(--accent-1);
}

.single-guide-body p > code:only-child.copyable-code:hover::after {
    color: var(--accent-1);
}

.single-guide-body p > code:only-child.copyable-code.copied,
.single-news-body p > code:only-child.copyable-code.copied {
    background: linear-gradient(135deg, #064E3B 0%, #065F46 100%) !important;
    border-color: #22C55E !important;
}

/* ==========================================
   FAQ SECTION (Homepage SEO)
========================================== */
.faq-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.faq-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-section .section-header.centered {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 48px;
    gap: 16px;
}

.faq-section .section-header.centered > div {
    text-align: center;
}

.faq-section .section-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    margin-bottom: 8px;
}

.faq-section .section-icon i {
    font-size: 26px;
    color: white;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.faq-item.active {
    border-color: var(--accent-1);
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
}

.faq-question:hover {
    color: var(--accent-1);
}

.faq-question i {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer > div {
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 16px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-answer > div {
        padding: 0 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* ==========================================
   ARCHIVE TEXT BLOCKS (SEO)
========================================== */
.archive-text-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.archive-text-block.archive-text-top {
    margin-bottom: 32px;
}

.archive-text-block.archive-text-bottom {
    margin-top: 48px;
}

.archive-text-block h2,
.archive-text-block h3,
.archive-text-block h4 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.archive-text-block h2:first-child,
.archive-text-block h3:first-child,
.archive-text-block h4:first-child {
    margin-top: 0;
}

.archive-text-block h2 {
    font-size: 22px;
}

.archive-text-block h3 {
    font-size: 18px;
}

.archive-text-block p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.archive-text-block p:last-child {
    margin-bottom: 0;
}

.archive-text-block ul,
.archive-text-block ol {
    margin: 16px 0;
    padding-left: 24px;
}

.archive-text-block li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.archive-text-block a {
    color: var(--accent-1);
    text-decoration: underline;
}

.archive-text-block a:hover {
    color: var(--accent-2);
}

@media (max-width: 768px) {
    .archive-text-block {
        padding: 24px 20px;
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    
    .archive-text-block h2 {
        font-size: 20px;
    }
    
    .archive-text-block p,
    .archive-text-block li {
        font-size: 14px;
    }
}

/* ==========================================
   CATEGORY SEO TEXT BLOCKS
========================================== */
.category-seo-text {
    padding: 0 24px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.category-seo-text-inner {
    padding: 40px 48px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
}

.category-seo-text-top {
    margin-top: 28px;
}

.category-seo-text-bottom {
    margin-top: 56px;
    margin-bottom: 56px;
}

.category-seo-text-inner h2,
.category-seo-text-inner h3,
.category-seo-text-inner h4 {
    margin-top: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.category-seo-text-inner h2:first-child,
.category-seo-text-inner h3:first-child,
.category-seo-text-inner h4:first-child {
    margin-top: 0;
}

.category-seo-text-inner h2 {
    font-size: 24px;
    font-weight: 700;
}

.category-seo-text-inner h3 {
    font-size: 20px;
    font-weight: 600;
}

.category-seo-text-inner h4 {
    font-size: 18px;
    font-weight: 600;
}

.category-seo-text-inner p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.category-seo-text-inner p:last-child {
    margin-bottom: 0;
}

.category-seo-text-inner ul,
.category-seo-text-inner ol {
    margin: 20px 0;
    padding-left: 28px;
}

.category-seo-text-inner li {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.category-seo-text-inner li:last-child {
    margin-bottom: 0;
}

.category-seo-text-inner a {
    color: var(--accent-1);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.category-seo-text-inner a:hover {
    color: var(--accent-2);
}

.category-seo-text-inner strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Стиль для подзаголовка категории */
.platform-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    max-width: 600px;
}

@media (max-width: 1024px) {
    .category-seo-text {
        padding: 0 20px;
    }
    
    .category-seo-text-inner {
        padding: 32px 36px;
    }
}

@media (max-width: 768px) {
    .category-seo-text {
        padding: 0 16px;
    }
    
    .category-seo-text-inner {
        padding: 28px 24px;
        border-radius: var(--radius-lg);
    }
    
    .category-seo-text-top {
        margin-bottom: 32px;
    }
    
    .category-seo-text-bottom {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .category-seo-text-inner h2 {
        font-size: 20px;
    }
    
    .category-seo-text-inner h3 {
        font-size: 18px;
    }
    
    .category-seo-text-inner p,
    .category-seo-text-inner li {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .platform-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .category-seo-text {
        padding: 0 12px;
    }
    
    .category-seo-text-inner {
        padding: 24px 20px;
    }
}