/* ================================================
   GAME PORTAL WORDPRESS THEME - MAIN STYLES
   ================================================ */

:root {
    --game-card-text-scale: 1;
    --game-card-grid-cols: 4;
    --game-card-grid-tablet: 3;
    --game-card-grid-mobile: 2;
    --category-badge-scale: 1;
    --category-count: 2;
    --excerpt-lines: 3;
    --title-lines: 2;
    --card-height: 9;
    --card-min-width: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e5ddd6;
    background-color: #121212;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(18, 18, 18, 0.95) 100%);
    border-bottom: 1px solid #d4a574;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-logo {
    max-width: 60px;
    height: auto;
    border-radius: 8px;
}

.site-info h1.site-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.site-info h1.site-title a {
    color: #e5ddd6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-info h1.site-title a:hover {
    color: #d4a574;
}

.site-description {
    font-size: 12px;
    color: #a89682;
    margin: 5px 0 0 0;
}

.primary-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.primary-navigation li {
    position: relative;
}

.primary-navigation a {
    color: #e5ddd6;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.primary-navigation a:hover {
    color: #d4a574;
}

/* Dropdown Arrow */
.primary-navigation .dropdown-arrow {
    font-size: 10px;
    color: #d4a574;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.primary-navigation li.has-submenu:hover > a .dropdown-arrow {
    transform: translateY(2px);
}

/* Dropdown Menu */
.primary-navigation ul ul,
.primary-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.primary-navigation li:hover > ul,
.primary-navigation li:hover > .sub-menu,
.primary-navigation li.has-submenu:hover > ul,
.primary-navigation li.has-submenu:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-navigation ul ul li,
.primary-navigation .sub-menu li {
    padding: 0;
}

.primary-navigation ul ul a,
.primary-navigation .sub-menu a {
    padding: 10px 20px;
    display: block;
    color: #e5ddd6;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    font-size: 14px;
}

.primary-navigation ul ul a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
}

.primary-navigation ul ul li:last-child a {
    border-bottom: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column !important;
    gap: 5px;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #d4a574;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* MAIN CONTENT */

.game-portal-main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.games-header {
    margin-bottom: 40px;
    text-align: center;
}

.games-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #e5ddd6;
}

.search-wrapper {
    max-width: 600px;
    margin: 20px auto 40px;
    text-align: center;
}

.game-search-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid #1a1a1a;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e5ddd6;
}

.game-search-input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.2);
}

/* Loading and empty states for search */
#gameGrid p {
    font-size: 16px;
    line-height: 1.6;
}

/* Search Result Cards - Display format */
#gameGrid .game-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3f3f46;
    transition: all 0.3s ease;
    min-height: 320px;
    position: relative;
}

#gameGrid .game-card:hover {
    border-color: #d4a574;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
    transform: translateY(-4px);
}

#gameGrid .game-card-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

#gameGrid .game-card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

#gameGrid .game-card-content {
    position: relative;
    z-index: 10;
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

#gameGrid .game-card-category {
    margin-bottom: 15px;
}

#gameGrid .game-card-category .category-badge {
    display: inline-block;
    background: #d4a574;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

#gameGrid .game-card-title {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    color: #f5f5f5;
    line-height: 1.3;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gameGrid .game-card-title a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

#gameGrid .game-card-title a:hover {
    color: #d4a574;
}

#gameGrid .game-card-meta {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

#gameGrid .game-card-date {
    font-size: 13px;
    color: #a1a1a6;
}

/* SIDEBAR & GRID */

.games-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.games-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-widget {
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f5f5f5;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
}

.category-list a:hover {
    background-color: #3f3f46;
    padding-left: 15px;
}

/* GAMES GRID */

.games-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(var(--game-card-grid-cols, 4), 1fr);
    gap: 25px;
}

/* REVIEW CARD */

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #3f3f46;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    height: 100%;
}

.game-card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / var(--card-height, 9);
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: rgba(0, 0, 0, 0.3);
    margin: 0;
    position: relative;
    flex: 0 0 auto;
    height: 100%;
}

.game-card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.game-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Category Overlay on Thumbnail */
.thumbnail-category-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
    z-index: 10;
    align-items: center;
    align-content: flex-start;
}

.thumbnail-category-badge {
    background: rgba(212, 165, 116, 0.8);
    color: white;
    padding: calc(5px * var(--category-badge-scale, 1)) calc(12px * var(--category-badge-scale, 1));
    border-radius: 12px;
    font-size: calc(11px * var(--category-badge-scale, 1));
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    vertical-align: middle;
    line-height: 1;
}

.thumbnail-category-badge:hover {
    background: rgba(212, 165, 116, 0.95);
    transform: translateY(-1px);
}

/* Category Badge Icon Support - for accessibility */
.thumbnail-category-badge::before {
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    flex-shrink: 0;
    font-size: calc(11px * var(--category-badge-scale, 1));
    line-height: 1;
}

/* Optional: CSS-based fallback icons for common categories */
.badge-2d::before {
    content: '⊡';
    font-weight: bold;
}

.badge-3d::before {
    content: '⬢';
    font-weight: bold;
}

.badge-android::before {
    content: '📱';
}

.badge-windows::before {
    content: '🖥';
}

.badge-completed::before {
    content: '✓';
    font-weight: bold;
}

@media (max-width: 768px) {
    .thumbnail-category-badge {
        font-size: calc(9px * var(--category-badge-scale, 1));
        padding: calc(4px * var(--category-badge-scale, 1)) calc(8px * var(--category-badge-scale, 1));
    }

    .thumbnail-category-badge::before {
        font-size: calc(9px * var(--category-badge-scale, 1));
    }
}

/* Content Overlay */
.thumbnail-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 5;
    opacity: 1;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    padding: 20px 15px 15px 15px;
}

.overlay-title {
    font-size: calc(16px * var(--game-card-text-scale, 1));
    font-weight: 700;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: var(--title-lines, 2);
    -webkit-box-orient: vertical;
}

.overlay-title a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.overlay-title a:hover {
    color: #d4a574;
}

.overlay-meta {
    display: flex;
    gap: 12px;
    font-size: calc(12px * var(--game-card-text-scale, 1));
    margin-bottom: 10px;
}

.overlay-meta .meta-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #a1a1a6;
}

.overlay-meta .meta-icon {
    font-size: 14px;
}

.overlay-meta .meta-value {
    color: #60a5fa;
    font-weight: 600;
}

.overlay-btn {
    display: inline-block;
    background: #d4a574;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: calc(12px * var(--game-card-text-scale, 1));
    transition: all 0.3s ease;
    width: fit-content;
}

.overlay-btn:hover {
    background: #b8844a;
    transform: translateX(2px);
}

.review-card:hover .thumbnail-content-overlay {
    opacity: 1;
}

.review-card:hover .game-card-thumbnail img {
    transform: scale(1.05);
}

.review-card-header {
    padding: 20px 20px 0 20px;
}

.review-card-body {
    padding: 0 20px;
}

.review-card-footer {
    padding: 0 20px 20px 20px;
}

.game-card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.game-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.review-card:hover .game-card-thumbnail img {
    transform: scale(1.05);
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
    border-color: #d4a574;
    transform: translateY(-4px);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 15px 0 15px;
}

.review-title {
    font-size: calc(20px * var(--game-card-text-scale, 1));
    font-weight: 700;
    margin: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: var(--title-lines, 2);
    -webkit-box-orient: vertical;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-title:hover {
    -webkit-line-clamp: unset;
}

.review-title a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-title a:hover {
    color: #d4a574;
}

.review-rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.rating-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    border: 2px solid #d4a574;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rating-number {
    font-size: 24px;
    font-weight: 800;
    color: #d4a574;
}

.rating-max {
    font-size: 12px;
    color: #a1a1a6;
}

.rating-circle .rating-stars {
    display: flex;
    gap: 2px;
    margin-top: 5px;
}

.review-card-body {
    flex-grow: 1;
    padding: 0 15px;
}

.review-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.category-badge {
    background: rgba(212, 165, 116, 0.15);
    color: #60a5fa;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.review-excerpt {
    color: #d1d5db;
    font-size: calc(14px * var(--game-card-text-scale, 1));
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: var(--excerpt-lines, 3);
    -webkit-box-orient: vertical;
}

.review-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: calc(13px * var(--game-card-text-scale, 1));
}

.meta-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a1a1a6;
}

.meta-icon {
    font-size: 14px;
}

.meta-label {
    color: #9ca3af;
}

.meta-value {
    color: #d4a574;
    font-weight: 600;
}

.review-card-footer {
    display: flex;
    gap: 10px;
    padding: 0 15px 12px 15px;
}

.read-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.read-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.read-review-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* FEATURED SLIDER */

.featured-slider-section {
    margin: 0 0 60px;
    padding: 40px 0 0;
    overflow: hidden;
    width: 100%;
}

.featured-slider-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.featured-slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    width: 100%;
}

.featured-slider {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.25), 0 0 120px rgba(212, 165, 116, 0.08);
    display: block;
    border: 3px solid #d4a574;
    max-width: 100%;
}

.featured-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.featured-slide.active {
    display: flex;
    animation: slideInFade 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.featured-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(212, 165, 116, 0.1) 100%);
    transition: all 0.3s ease;
}

.featured-slide:hover .featured-slide-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(212, 165, 116, 0.05) 100%);
}

.featured-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 30px 25px 30px;
    color: white;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    overflow: hidden;
    align-items: flex-start;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
    text-transform: uppercase;
}

.featured-slide-content h2 {
    font-size: 28px;
    margin: 0 0 12px 0;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
    max-width: 40%;
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
}

.featured-rating .stars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.featured-rating .star {
    font-size: 14px;
    color: #4b5563;
    transition: all 0.2s ease;
    line-height: 1;
}

.featured-rating .star.active {
    color: #fbbf24;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
    transform: scale(1.1);
}

.featured-rating .rating-value {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
}

.featured-excerpt {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
    max-width: 45%;
    color: #d1d5db;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #c5c7cb;
    font-weight: 500;
}

.meta-icon {
    font-size: 18px;
    opacity: 0.9;
}

.btn-featured {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.btn-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 165, 116, 0.45);
    background: linear-gradient(135deg, #0090ff 0%, #0062cc 100%);
}

.btn-featured .btn-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-featured:hover .btn-arrow {
    transform: translateX(5px);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 15;
    align-items: center;
    justify-content: center;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots button.active {
    background: #d4a574;
    border-color: #d4a574;
    width: 14px;
    height: 14px;
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

.slider-dots button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots button:hover {
    border-color: #d4a574;
    background: rgba(212, 165, 116, 0.3);
}

.slider-dots button.active {
    background: #d4a574;
    border-color: #d4a574;
    box-shadow: 0 0 15px rgba(212, 165, 116, 0.6);
}

/* FILTER BAR */

.filter-bar {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #e4e4e7;
    font-weight: 500;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #3f3f46;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e4e4e7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: #d4a574;
}

.filter-select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.2);
}

/* ===== SINGLE GAME PAGE (New) ===== */

.game-single-wrapper {
    display: block;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-content-main {
    background: transparent;
    border-radius: 0;
    padding: 50px 0;
    box-shadow: none;
    border: none;
}

.game-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3f3f46;
}

.game-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #f5f5f5;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.game-subtitle {
    font-size: 16px;
    color: #a1a1a6;
    margin: 0;
    line-height: 1.6;
}

.game-featured {
    width: 100%;
    max-height: 500px;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.15);
}

.game-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-article {
    font-size: 16px;
    line-height: 1.8;
    color: #d1d5db;
    margin: 30px 0;
}

.game-article h2,
.game-article h3,
.game-article h4 {
    color: #f5f5f5;
    margin-top: 25px;
    margin-bottom: 15px;
}

.game-article p {
    margin-bottom: 15px;
}

/* ===== POST NAVIGATION ===== */

.post-navigation-section {
    margin: 60px 0 40px;
}

.post-nav-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.nav-post {
    background: #27272a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3f3f46;
    transition: all 0.3s ease;
}

.nav-post:hover {
    border-color: #d4a574;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.2);
    transform: translateY(-4px);
}

.nav-label {
    font-size: 12px;
    font-weight: 700;
    color: #a1a1a6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.nav-post h3 {
    margin: 10px 0;
    font-size: 18px;
}

.nav-post h3 a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-post h3 a:hover {
    color: #d4a574;
}

.nav-thumbnail {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
}

.nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== POPULAR GAMES SECTION ===== */

.popular-games-section {
    margin: 60px 0 40px;
}

.popular-games-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #f5f5f5;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4a574;
}

.popular-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.popular-game-card {
    background: #27272a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3f3f46;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.popular-game-card:hover {
    border-color: #d4a574;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
    transform: translateY(-6px);
}

.popular-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.popular-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.popular-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-game-card:hover .popular-thumbnail img {
    transform: scale(1.08);
}

.popular-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.popular-card-content h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
}

.popular-card-content h4 a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.popular-card-content h4 a:hover {
    color: #d4a574;
}

.popular-rating {
    font-size: 14px;
    color: #fbbf24;
    font-weight: 600;
    margin-bottom: 8px;
}

.popular-meta {
    font-size: 13px;
    color: #a1a1a6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-popular-view {
    display: inline-block;
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    width: fit-content;
    border: 2px solid transparent;
}

.btn-popular-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.3);
    border-color: #d4a574;
}

.game-requirements-section {
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-left: 4px solid #f59e0b;
    padding: 25px;
    border-radius: 12px;
    margin: 50px 0;
    border: 1px solid rgba(255, 159, 64, 0.2);
}

.game-requirements-section h2 {
    color: #fbbf24;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.requirements-content {
    color: #fcd34d;
    line-height: 1.7;
}

/* GAME SIDEBAR */

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: #27272a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3f3f46;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4a574;
}

/* Rating Widget */

.rating-widget {
    text-align: center;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.rating-number {
    font-size: 42px;
    font-weight: 800;
    color: #d4a574;
}

.rating-max {
    font-size: 14px;
    color: #a1a1a6;
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.rating-stars .star {
    font-size: 20px;
    color: #3f3f46;
    transition: all 0.2s ease;
}

.rating-stars .star.active {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Info Widget */

.info-items {
    list-style: none;
    padding: 0;
}

.info-items li {
    padding: 12px 0;
    border-bottom: 1px solid #3f3f46;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.info-items li:last-child {
    border-bottom: none;
}

.info-items strong {
    color: #f5f5f5;
    font-weight: 600;
}

.info-items span {
    color: #d4a574;
    font-weight: 600;
}

/* Categories Widget */

.category-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-link {
    background: rgba(212, 165, 116, 0.15);
    color: #60a5fa;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.2);
    display: inline-block;
    text-align: center;
}

.cat-link:hover {
    background: rgba(212, 165, 116, 0.25);
    border-color: #d4a574;
    color: #ffffff;
}

/* Download Widget */

.download-widget {
    padding: 0 !important;
}

.btn-download-main {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white !important;
    padding: 16px !important;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
    border: 2px solid transparent !important;
    width: 100%;
}

.btn-download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.4);
    border-color: #d4a574 !important;
}

/* ARTICLE LAYOUT (old) */

.review-article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.review-article {
    background: #27272a;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #3f3f46;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3f3f46;
}

.article-title {
    font-size: 42px;
    font-weight: 800;
    color: #f5f5f5;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.article-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}

.publish-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1a6;
}

.icon {
    font-size: 16px;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.15);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #d1d5db;
    margin: 30px 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #f5f5f5;
    margin-top: 25px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-requirements {
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border-left: 4px solid #f59e0b;
    padding: 25px;
    border-radius: 12px;
    margin: 35px 0;
    border: 1px solid rgba(255, 159, 64, 0.2);
}

.article-requirements h3 {
    color: #fbbf24;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.article-requirements p {
    color: #fcd34d;
    line-height: 1.7;
    margin-bottom: 0;
}

.article-cta {
    margin: 40px 0;
}

.btn-cta-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
    border: 2px solid transparent;
}

.btn-cta-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.4);
    border-color: #d4a574;
}

/* SIDEBAR */

.review-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: #27272a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3f3f46;
}

.box-title {
    font-size: 16px;
    font-weight: 700;
    color: #f5f5f5;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #d4a574;
}

.rating-box {
    text-align: center;
}

.large-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.large-rating-number {
    font-size: 48px;
    font-weight: 800;
    color: #d4a574;
}

.large-rating-max {
    font-size: 14px;
    color: #a1a1a6;
    margin-top: -8px;
}

.large-rating-stars {
    display: flex;
    gap: 4px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 10px;
    background: rgba(212, 165, 116, 0.05);
    border-radius: 6px;
}

.info-label {
    color: #9ca3af;
    font-weight: 600;
}

.info-value {
    color: #d4a574;
    font-weight: 600;
}

.categories-box .category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-link {
    padding: 10px 12px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    color: #60a5fa;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.category-link:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: #d4a574;
    color: #d4a574;
}

/* GAME STATS WIDGET */

.game-stats-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: #3f3f46;
    border-radius: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #27272a;
    border-radius: 8px;
    border-left: 3px solid #d4a574;
}

.stat-icon {
    font-size: 28px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    color: #a1a1a6;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #d4a574;
}

/* RELATED GAMES SECTION */

.related-games-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #3f3f46;
}

.related-games-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* FOOTER */

.site-footer {
    background: #2c3e50;
    color: white;
    margin-top: 40px;
    border-top: 3px solid #d4a574;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-navigation {
    text-align: center;
    margin-bottom: 20px;
}

.footer-navigation a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: #d4a574;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
}

.footer-info p {
    margin: 0;
}

/* PAGINATION */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    border: 1px solid #3f3f46;
    border-radius: 5px;
    text-decoration: none;
    color: #d4a574;
    transition: all 0.3s ease;
    background-color: #27272a;
    font-size: 14px;
    font-weight: 600;
}

.pagination a:hover {
    background: #d4a574;
    color: white;
    border-color: #d4a574;
    transform: translateY(-2px);
}

.pagination .current {
    background: #d4a574;
    color: white;
    border-color: #d4a574;
    cursor: default;
}

.pagination .dots {
    padding: 10px 8px;
    color: #a89682;
    cursor: default;
}

/* Hide pagination when search is active */
body.search-active .pagination {
    display: none;
}

/* Tablet Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        margin: 25px 0;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 4px;
    }

    .pagination .prev,
    .pagination .next {
        padding: 8px 10px;
    }
}

/* Mobile Responsive Pagination */
@media (max-width: 480px) {
    .pagination {
        gap: 4px;
        margin: 20px 0;
        font-size: 12px;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 3px;
    }

    /* Hide page numbers on very small screens, keep only prev/next */
    .pagination a:not(.prev):not(.next),
    .pagination span:not(.prev):not(.next):not(.current) {
        display: none;
    }

    .pagination .current {
        display: none;
    }

    .pagination .dots {
        display: none;
    }
}

/* MOBILE MENU */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Close Button */
.mobile-menu-close {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(212, 165, 116, 0.1);
    border: 2px solid #d4a574;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 102;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.mobile-menu-toggle:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: #e5ddd6;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: #e5ddd6;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
    background: #d4a574;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #d4a574;
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .site-branding {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 101;
        order: 2;
        margin-left: auto;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .primary-navigation {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        max-width: 100vw;
        background: linear-gradient(180deg, #0a0e27 0%, rgba(15, 15, 35, 0.98) 100%);
        padding: 0;
        margin: 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 100;
        border-top: 2px solid #d4a574;
        backdrop-filter: blur(10px);
        flex-direction: column;
    }

    .primary-navigation.active {
        display: flex;
        animation: slideInNav 0.3s ease forwards;
    }

    @keyframes slideInNav {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 0;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .primary-navigation > ul {
        margin-top: 0;
    }

    .primary-navigation li {
        border-bottom: 1px solid rgba(212, 165, 116, 0.15);
        padding: 0;
        position: relative;
        overflow: hidden;
        list-style: none;
    }

    .primary-navigation li:last-child {
        border-bottom: none;
    }

    .primary-navigation a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        color: #e5ddd6;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        width: 100%;
        cursor: pointer;
        user-select: none;
    }

    .primary-navigation a:active {
        transform: scale(0.98);
    }

    .primary-navigation a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #d4a574;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .primary-navigation li:hover > a,
    .primary-navigation li.active > a {
        background: rgba(212, 165, 116, 0.1);
        padding-left: 24px;
        color: #d4a574;
    }

    .primary-navigation li:hover > a::before,
    .primary-navigation li.active > a::before {
        transform: scaleX(1);
    }

    /* Mobile Dropdown Arrow */
    .primary-navigation .dropdown-arrow {
        font-size: 11px;
        margin-left: auto;
        transition: transform 0.3s ease;
        color: #d4a574;
    }

    .primary-navigation li.active > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    .primary-navigation li.has-submenu:hover > a .dropdown-arrow {
        transform: none;
    }

    /* Mobile Submenu */
    .primary-navigation ul ul,
    .primary-navigation .sub-menu {
        position: static;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        border: none;
        background: rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .primary-navigation li.active > .sub-menu,
    .primary-navigation li.active > ul {
        display: flex;
        animation: expandMenu 0.3s ease forwards;
    }

    @keyframes expandMenu {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    .primary-navigation ul ul li {
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    }

    .primary-navigation ul ul a {
        padding: 12px 20px 12px 50px;
        font-size: 14px;
        color: #a89682;
    }

    .primary-navigation ul ul li:hover > a {
        background: rgba(212, 165, 116, 0.08);
        color: #d4a574;
    }

    .primary-navigation ul ul li:hover > a::before {
        width: 3px;
    }

    .games-header h1 {
        font-size: 28px;
    }

    .games-wrapper {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    /* Review Article Responsive */
    .review-article-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-article {
        padding: 25px;
    }

    /* Game Single Wrapper Responsive */
    .game-single-wrapper {
        display: block;
        margin-top: 20px;
    }

    .game-content-main {
        padding: 30px 0;
    }

    .game-header h1 {
        font-size: 32px;
    }

    .game-featured {
        max-height: 300px;
        margin: 20px 0;
    }

    .game-sidebar {
        flex-direction: row;
        gap: 15px;
    }

    .sidebar-widget {
        flex: 1;
        min-width: 150px;
        padding: 15px;
    }

    /* Post Navigation Tablet */
    .post-nav-wrapper {
        grid-template-columns: 1fr;
    }

    /* Popular Games Grid Tablet */
    .popular-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .widget-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .rating-number {
        font-size: 36px;
    }

    .info-items li {
        padding: 8px 0;
        font-size: 12px;
    }

    .article-title {
        font-size: 32px;
    }

    .review-sidebar {
        flex-direction: row;
        gap: 15px;
    }

    .sidebar-box {
        flex: 1;
        min-width: 150px;
    }

    .featured-slider {
        height: 350px;
    }

    .featured-slide-content {
        padding: 40px 35px 35px;
        width: 100%;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    }

    .featured-slide-content h2 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .featured-badge {
        padding: 7px 16px;
        font-size: 10px;
        margin-bottom: 15px;
    }

    .featured-excerpt {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .featured-meta {
        gap: 20px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

    .btn-featured {
        padding: 14px 32px;
        font-size: 14px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 10px;
    }

    .slider-dots button {
        width: 10px;
        height: 10px;
    }

    .slider-dots button.active {
        width: 12px;
        height: 12px;
    }

    .game-stats-widget {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 15px 0;
    }

    .site-info h1.site-title {
        font-size: 20px;
    }

    .games-header h1 {
        font-size: 22px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .featured-slider {
        height: 280px;
        border-radius: 12px;
    }

    .featured-slide-content {
        padding: 30px 25px 25px;
        width: 100%;
    }

    .featured-slide-content h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .featured-badge {
        padding: 6px 14px;
        font-size: 9px;
        margin-bottom: 12px;
    }

    .featured-rating {
        gap: 12px;
        margin-bottom: 15px;
    }

    .featured-rating .stars {
        gap: 2px;
    }

    .featured-rating .star {
        font-size: 18px;
    }

    .featured-rating .rating-value {
        font-size: 14px;
    }

    .featured-excerpt {
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .featured-meta {
        gap: 15px;
        margin-bottom: 15px;
        padding-bottom: 12px;
        font-size: 12px;
    }

    .btn-featured {
        padding: 12px 28px;
        font-size: 13px;
    }

    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }

    .slider-dots button {
        width: 8px;
        height: 8px;
    }

    .slider-dots button.active {
        width: 10px;
        height: 10px;
    }

    /* Game Single Mobile */
    .game-single-wrapper {
        display: block;
        gap: 15px;
    }

    .game-content-main {
        padding: 20px 0;
    }

    .game-header h1 {
        font-size: 24px;
    }

    .game-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .game-featured {
        max-height: 250px;
        margin: 15px 0;
        border-radius: 8px;
    }

    .game-sidebar {
        flex-direction: column;
        gap: 15px;
    }

    .sidebar-widget {
        flex: 1;
        padding: 15px;
    }

    .widget-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .rating-number {
        font-size: 32px;
    }

    .rating-stars .star {
        font-size: 16px;
    }

    .info-items li {
        padding: 10px 0;
        font-size: 13px;
    }

    .category-links {
        gap: 8px;
    }

    .cat-link {
        font-size: 13px;
        padding: 8px 10px;
    }

    .btn-download-main {
        padding: 14px !important;
        font-size: 15px;
    }

    /* Post Navigation Mobile */
    .post-navigation-section {
        margin: 40px 0 30px;
    }

    .post-nav-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-post {
        padding: 15px;
    }

    .nav-post h3 {
        font-size: 16px;
    }

    .nav-thumbnail {
        height: 120px;
    }

    /* Popular Games Mobile */
    .popular-games-section {
        margin: 40px 0 30px;
    }

    .popular-games-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .popular-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .popular-game-card {
        border-radius: 8px;
    }

    .popular-thumbnail {
        height: 150px;
    }

    .popular-card-content {
        padding: 12px;
    }

    .popular-card-content h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .popular-rating {
        font-size: 12px;
    }

    .popular-meta {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .btn-popular-view {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Review Article Mobile */
    .review-article {
        padding: 15px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-featured-image {
        max-height: 300px;
        margin: 20px 0;
    }

    .review-sidebar {
        flex-direction: column;
    }

    .review-card-header {
        flex-direction: column;
        gap: 15px;
    }

    .review-rating-box {
        width: 100%;
        align-items: center;
    }

    .game-card-content {
        padding: 15px;
    }

    .game-single {
        padding: 15px;
    }

    .btn-download {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
    }

    .featured-slider {
        height: 250px;
    }

    .featured-slide-content h2 {
        font-size: 20px;
    }

    .featured-excerpt {
        display: none;
    }

    .game-stats-widget {
        grid-template-columns: 1fr;
    }

    .related-games-grid {
        grid-template-columns: 1fr;
    }

    .btn-featured {
        width: 100%;
        text-align: center;
    }
}
/* ===== TABLET RESPONSIVE (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(var(--game-card-grid-tablet, 3), 1fr);
    }

    .review-card {
        height: auto;
    }

    .overlay-content {
        padding: 15px 12px 12px 12px;
    }

    .overlay-title {
        font-size: calc(14px * var(--game-card-text-scale, 1));
    }

    .overlay-meta {
        gap: 8px;
        font-size: calc(11px * var(--game-card-text-scale, 1));
    }
}

/* ===== MOBILE RESPONSIVE (max 768px) - OPTIMIZED FOR ANDROID ===== */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(var(--game-card-grid-mobile, 2), 1fr);
        gap: 15px;
    }

    .game-card-thumbnail {
        aspect-ratio: 16 / 10;
    }

    .review-card {
        height: auto;
        border-radius: 8px;
    }

    .game-card-thumbnail {
        border-radius: 8px 8px 0 0;
    }

    .overlay-gradient {
        height: 80%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0) 100%);
    }

    .overlay-content {
        padding: 12px 10px 10px 10px;
    }

    .overlay-title {
        font-size: calc(13px * var(--game-card-text-scale, 1));
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }

    .thumbnail-category-badge {
        padding: calc(4px * var(--category-badge-scale, 1)) calc(10px * var(--category-badge-scale, 1));
        font-size: calc(10px * var(--category-badge-scale, 1));
    }

    .overlay-meta {
        gap: 8px;
        font-size: calc(10px * var(--game-card-text-scale, 1));
        margin-bottom: 6px;
        flex-wrap: wrap;
    }

    .overlay-meta .meta-stat {
        gap: 3px;
    }

    .overlay-btn {
        padding: 6px 12px;
        font-size: calc(11px * var(--game-card-text-scale, 1));
    }

    .thumbnail-category-overlay {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
        gap: 4px;
    }
}

/* ===== SMALL MOBILE (max 480px) - EXTREME ANDROID OPTIMIZATION ===== */
@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .container {
        padding: 0 12px;
    }

    .game-card-thumbnail {
        aspect-ratio: 16 / 11;
    }

    .overlay-content {
        padding: 10px 8px 8px 8px;
    }

    .overlay-title {
        font-size: calc(12px * var(--game-card-text-scale, 1));
        margin-bottom: 4px;
    }

    .overlay-meta {
        gap: 6px;
        font-size: calc(9px * var(--game-card-text-scale, 1));
        margin-bottom: 4px;
    }

    .overlay-btn {
        padding: 5px 10px;
        font-size: calc(10px * var(--game-card-text-scale, 1));
    }

    .thumbnail-category-badge {
        padding: calc(3px * var(--category-badge-scale, 1)) calc(8px * var(--category-badge-scale, 1));
        font-size: calc(9px * var(--category-badge-scale, 1));
    }

    .games-header h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .game-search-input {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* ===== ADDITIONAL RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .show-mobile {
        display: none !important;
    }
}

/* ===== GAME REQUIREMENTS SECTION ===== */
.game-requirements-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
}

.game-requirements-section h2 {
    margin-top: 0;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 15px;
}

.requirements-content {
    line-height: 1.8;
    color: #b0b0b0;
}

.requirements-content p {
    margin-bottom: 15px;
}

.requirements-content ul,
.requirements-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* ===== POST NAVIGATION SECTION ===== */
.post-navigation-section {
    margin: 40px 0;
}

.post-nav-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.nav-post {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.nav-post:hover {
    border-color: #d4a574;
    background: rgba(212, 165, 116, 0.05);
    transform: translateY(-3px);
}

.nav-label {
    font-size: 0.875rem;
    color: #b0b0b0;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-post h3 {
    margin: 10px 0;
}

.nav-post h3 a {
    color: #f5f5f5;
}

.nav-post h3 a:hover {
    color: #d4a574;
}

.nav-thumbnail {
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
    max-height: 200px;
}

.nav-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.nav-post:hover .nav-thumbnail img {
    transform: scale(1.05);
}

/* ===== POPULAR GAMES SECTION ===== */
.popular-games-section {
    margin: 40px 0;
}

.popular-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.popular-game-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.popular-game-card:hover {
    border-color: #d4a574;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.2);
    transform: translateY(-5px);
}

.popular-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
}

.popular-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.popular-game-card:hover .popular-thumbnail img {
    transform: scale(1.1);
}

.popular-card-content {
    padding: 15px;
}

.popular-card-content h4 {
    margin: 0 0 10px 0;
}

.popular-card-content h4 a {
    color: #f5f5f5;
}

.popular-card-content h4 a:hover {
    color: #d4a574;
}

.popular-rating,
.popular-meta {
    font-size: 0.875rem;
    color: #b0b0b0;
    margin: 5px 0;
}

.btn-popular-view {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: rgba(212, 165, 116, 0.1);
    color: #d4a574;
    border: 1px solid #d4a574;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-popular-view:hover {
    background-color: #d4a574;
    color: white;
}

/* ===== RELATED GAMES SECTION ===== */
.related-games-section {
    margin: 40px 0;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-game-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.related-game-card:hover {
    border-color: #d4a574;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.2);
}

.related-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.related-game-card:hover .related-thumbnail img {
    transform: scale(1.1);
}

.related-content {
    padding: 15px;
}

.related-content h5 {
    margin: 0 0 10px 0;
}

.related-content h5 a {
    color: #f5f5f5;
}

.related-content h5 a:hover {
    color: #d4a574;
}

/* ===== FEATURED SLIDER CUSTOMIZATION ===== */
.featured-slide-content h2 {
    margin: 0 0 15px 0;
}

.featured-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #d4a574;
    color: white;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.featured-rating .stars {
    display: flex;
    gap: 4px;
}

.featured-rating .rating-value {
    font-weight: 600;
}

.featured-excerpt {
    max-width: 500px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-featured {
    display: inline-block;
    padding: 12px 24px;
    background-color: #d4a574;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
}

.btn-featured:hover {
    background-color: #ff6b35;
    transform: translateX(5px);
}

.btn-arrow {
    margin-left: 6px;
    display: inline-block;
}

/* ===== RESPONSIVE FEATURED SLIDER ===== */
@media (max-width: 768px) {
    .featured-slide-content h2 {
        font-size: 1.5rem;
    }

    .featured-excerpt {
        font-size: 0.875rem;
    }

    .btn-featured {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

/* ===== GENRE TAGS SECTION ===== */
.game-genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 30px 0;
    padding: 15px;
    background: rgba(212, 165, 116, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.genre-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.1) 100%);
    border: 1px solid #d4a574;
    border-radius: 20px;
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.genre-tag:hover {
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

@media (max-width: 768px) {
    .game-genre-tags {
        margin: 15px 0 20px 0;
        padding: 12px;
        gap: 8px;
    }

    .genre-tag {
        padding: 6px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .game-genre-tags {
        margin: 12px 0 15px 0;
        padding: 10px;
        gap: 6px;
    }

    .genre-tag {
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* ===== SINGLE POST/GAME PAGE ===== */

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    font-size: 14px;
    padding: 15px;
    background: rgba(212, 165, 116, 0.05);
    border-left: 3px solid #d4a574;
    border-radius: 5px;
}

.breadcrumb-nav a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #e8b89a;
}

.breadcrumb-nav .separator {
    color: #a89682;
}

.breadcrumb-nav .current {
    color: #e5ddd6;
    font-weight: 600;
}

/* Single Content Wrapper */
.single-content-wrapper {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 165, 116, 0.1);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
}

/* Single Header */
.single-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}

.single-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #e5ddd6;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #a89682;
}

.single-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Tags Section */
.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 30px 0;
}

.tag-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.1) 100%);
    border: 1px solid #d4a574;
    border-radius: 20px;
    color: #d4a574;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-badge:hover {
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

/* Featured Image */
.featured-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

/* Main Content */
.single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #e5ddd6;
    margin: 30px 0;
}

.single-content p {
    margin-bottom: 20px;
}

/* Video Embed Responsive */
.single-content iframe {
    max-width: 100%;
    height: auto;
}

.single-content .wp-video,
.single-content .wp-audio-shortcode {
    max-width: 100% !important;
}

.single-content video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive iframe wrapper for YouTube, Vimeo, etc */
.single-content > div[style*="padding-bottom"] iframe,
.single-content iframe[src*="youtube"],
.single-content iframe[src*="vimeo"],
.single-content iframe[src*="dailymotion"] {
    max-width: 100%;
    width: 100%;
}

.single-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.single-content .wp-block-embed__wrapper iframe {
    max-width: 100%;
    width: 100%;
    display: block;
}

.single-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    color: #e5ddd6;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}

.single-content h3 {
    font-size: 1.3rem;
    margin: 25px 0 10px 0;
    color: #e8b89a;
}

.single-content ul,
.single-content ol {
    margin: 20px 0 20px 30px;
}

.single-content li {
    margin-bottom: 10px;
}

.single-content a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.single-content a:hover {
    color: #e8b89a;
    border-bottom: 1px solid #e8b89a;
}

.single-content blockquote {
    border-left: 4px solid #d4a574;
    padding-left: 20px;
    margin: 25px 0;
    color: #a89682;
    font-style: italic;
}

.single-content code {
    background: rgba(212, 165, 116, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #d4a574;
}

.single-content pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.single-content pre code {
    padding: 0;
    background: none;
}

/* Single Footer */
.single-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(212, 165, 116, 0.2);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-prev,
.nav-next {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-label {
    font-size: 12px;
    color: #a89682;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-navigation a {
    padding: 15px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 8px;
    color: #d4a574;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.post-navigation a:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: #d4a574;
    transform: translateY(-2px);
}

.post-navigation .prev-post {
    text-align: left;
}

.post-navigation .next-post {
    text-align: right;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Comments Section */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(212, 165, 116, 0.2);
}

.comments-area h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #e5ddd6;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}

.comment-list {
    list-style: none;
    margin: 20px 0;
}

.comment-list .comment {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.5);
    border-left: 3px solid #d4a574;
    border-radius: 5px;
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.comment-meta {
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.comment-meta .fn {
    font-weight: 600;
    color: #e8b89a;
}

.comment-meta a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-meta a:hover {
    color: #e8b89a;
}

.comment-metadata {
    font-size: 12px;
    color: #a89682;
}

.comment-text {
    color: #e5ddd6;
    line-height: 1.6;
    margin: 15px 0;
}

.comment-text p {
    margin-bottom: 10px;
}

.reply {
    margin-top: 15px;
}

.reply a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 5px;
    color: #d4a574;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reply a:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: #d4a574;
}

.children {
    list-style: none;
    margin: 20px 0 20px 40px;
}

.children .comment {
    background: rgba(212, 165, 116, 0.05);
    border-left-color: #a89682;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
    padding: 25px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 165, 116, 0.1);
    border-radius: 10px;
}

.comment-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e5ddd6;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 165, 116, 0.2);
}

.comment-form p {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e8b89a;
    font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 5px;
    color: #e5ddd6;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.5);
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form input[type="submit"] {
    padding: 12px 30px;
    background: linear-gradient(135deg, #d4a574 0%, #b8844a 100%);
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.comment-form .required {
    color: #d4a574;
}

.comment-notes {
    font-size: 12px;
    color: #a89682;
    margin-bottom: 20px;
}

.comment-notes a {
    color: #d4a574;
    text-decoration: none;
}

.comment-notes a:hover {
    text-decoration: underline;
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comment-form {
        padding: 20px;
    }

    .children {
        margin-left: 20px;
    }

    .comment-meta {
        gap: 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .comment-form {
        padding: 15px;
    }

    .comment-list .comment {
        padding: 15px;
    }

    .comment-form input[type="submit"] {
        width: 100%;
    }
}

/* Responsive Single Page */
@media (max-width: 768px) {
    .single-content-wrapper {
        padding: 25px;
    }

    .single-header h1 {
        font-size: 1.8rem;
    }

    .single-meta {
        gap: 15px;
        font-size: 12px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .single-content h2 {
        font-size: 1.4rem;
    }

    .single-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .single-content-wrapper {
        padding: 15px;
    }

    .single-header h1 {
        font-size: 1.5rem;
    }

    .single-meta {
        gap: 10px;
        font-size: 11px;
        flex-direction: column;
    }

    .breadcrumb-nav {
        font-size: 12px;
        padding: 10px;
    }

    .tag-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ===== RELATED POSTS SECTION ===== */

.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(212, 165, 116, 0.2);
}

.related-posts-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #e5ddd6;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 165, 116, 0.3);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-post-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 165, 116, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-post-card:hover {
    border-color: #d4a574;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15);
}

/* Related Card Image */
.related-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-card-image img {
    transform: scale(1.08);
}

.related-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Related Card Content */
.related-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.related-card-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 0;
    color: #e5ddd6;
    transition: color 0.3s ease;
}

.related-card-title a {
    color: inherit;
    text-decoration: none;
}

.related-post-card:hover .related-card-title a {
    color: #d4a574;
}

/* Related Card Meta */
.related-card-meta {
    font-size: 12px;
    color: #a89682;
    display: flex;
    gap: 12px;
}

/* Related Card Excerpt */
.related-card-excerpt {
    font-size: 13px;
    color: #a89682;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related Card Link */
.related-card-link {
    display: inline-block;
    margin-top: auto;
    padding: 10px 16px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 5px;
    color: #d4a574;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-card-link:hover {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(212, 165, 116, 0.15) 100%);
    border-color: #d4a574;
    color: #e8b89a;
}

/* Related Posts Responsive */
@media (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .related-posts-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .related-posts-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-card-image {
        height: 150px;
    }

    .related-card-content {
        padding: 15px;
    }

    .related-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .related-posts-section {
        margin-top: 30px;
        padding-top: 20px;
    }

    .related-posts-section h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .related-card-image {
        height: 180px;
    }

    .related-card-content {
        padding: 12px;
    }

    .related-card-excerpt {
        -webkit-line-clamp: 1;
    }
}

/* ===== RESPONSIVE MENU ===== */

@media (max-width: 1024px) {
    .primary-navigation ul {
        gap: 20px;
    }

    .primary-navigation a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-content {
        gap: 15px;
    }

    .site-info h1.site-title {
        font-size: 20px;
    }

    .site-description {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .primary-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #1a1a1a 0%, rgba(18, 18, 18, 0.95) 100%);
        flex-direction: column;
        padding: 30px 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    }

    .primary-navigation.active {
        max-height: 100vh;
        overflow-y: auto;
    }

    .primary-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .primary-navigation li {
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    }

    .primary-navigation a {
        padding: 15px 0;
        font-size: 16px;
        display: block;
    }

    .primary-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        background: rgba(212, 165, 116, 0.05);
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        transform: none;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .primary-navigation li:hover > ul,
    .primary-navigation li.active > ul {
        max-height: 500px;
    }

    .primary-navigation ul ul li {
        border: none;
    }

    .primary-navigation ul ul a {
        padding: 12px 0 12px 20px;
        border-bottom: none;
        font-size: 14px;
        color: #a89682;
    }

    .primary-navigation ul ul a:hover {
        background: none;
        color: #d4a574;
    }
}

@media (max-width: 480px) {
    .site-branding {
        gap: 10px;
    }

    .custom-logo {
        max-width: 40px;
    }

    .site-info h1.site-title {
        font-size: 16px;
    }

    .primary-navigation {
        top: 70px;
        padding: 20px 15px;
    }

    .primary-navigation a {
        padding: 12px 0;
        font-size: 14px;
    }

    .primary-navigation ul ul a {
        padding: 10px 0 10px 15px;
    }

    .mobile-menu-toggle {
        padding: 5px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2.5px;
    }
}







