/* ========================================
   CSS CUSTOM PROPERTIES - PLAYSTATION THEME
   ======================================== */
:root {
    /* PlayStation Brand Colors */
    --ps-blue-primary: #003791;
    --ps-blue-dark: #002561;
    --ps-blue-accent: #00A8E1;
    --ps-black: #000000;
    --ps-white: #FFFFFF;

    /* UI Colors */
    --color-bg-primary: #f5f5f5;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #e8e8e8;

    /* Score/Rating Colors */
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --color-info: #17a2b8;

    /* Text Colors */
    --color-text-primary: #212529;
    --color-text-secondary: #6c757d;
    --color-text-muted: #adb5bd;

    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    background: #1a4d8c; /* Deep blue */
    background-attachment: fixed;
    font-family: var(--font-body);
    color: var(--color-text-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
}

h1 {
    font-weight: 700;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar-custom {
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-custom .navbar-brand {
    color: var(--ps-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

.navbar-custom .navbar-brand:hover {
    color: var(--ps-blue-accent);
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: var(--ps-white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-custom .navbar-nav .nav-link.active {
    color: var(--ps-white);
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

/* Reduce spacing for social media icons */
.navbar-custom .navbar-nav .nav-link i.bi-twitter-x,
.navbar-custom .navbar-nav .nav-link i.bi-facebook,
.navbar-custom .navbar-nav .nav-link i.bi-youtube,
.navbar-custom .navbar-nav .nav-link i.bi-instagram {
    font-size: 1.2rem;
}

.navbar-custom .navbar-nav .nav-link:has(i.bi-twitter-x),
.navbar-custom .navbar-nav .nav-link:has(i.bi-facebook),
.navbar-custom .navbar-nav .nav-link:has(i.bi-youtube),
.navbar-custom .navbar-nav .nav-link:has(i.bi-instagram) {
    padding: 0.5rem 0.4rem;
    margin: 0 0.1rem;
}

/* Social media icons wrapper - horizontal layout on mobile */
@media (max-width: 991px) {
    .navbar-collapse .social-icons-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: var(--spacing-md);
        margin-bottom: var(--spacing-sm);
    }

    .navbar-collapse .social-icons-wrapper .navbar-nav {
        flex-direction: row;
        gap: 0.5rem;
    }

    .navbar-collapse .social-icons-wrapper .nav-item {
        margin: 0;
    }

    .navbar-collapse .social-icons-wrapper .nav-link {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* ========================================
   CONTENT CONTAINERS
   ======================================== */
.content-container {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Ensure figure element is responsive */
figure.media {
    width: 100%;
    max-width: 900px; /* Adjust as needed */
    margin: 0 auto; /* Center the figure */
    padding: 8px; /* Minimal padding for spacing */
    height: auto; /* Ensure height is auto */
}

/* Ensure iframe within figure is visible and responsive */
figure.media iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Maintain aspect ratio */
    border: none;
}

figure.media > div {
    width: 100%;
    height: auto;
    padding: 0; /* Remove duplicate padding */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

.navbar-custom .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* ========================================
   NEWS & ARTICLES
   ======================================== */
.news-list,
.articles-list {
    list-style-type: none;
    padding: 0;
}

.news-item,
.articles-list li {
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   TOP NEWS SECTION
   ======================================== */
.top-news {
    margin-bottom: var(--spacing-lg);
}

.top-news-item {
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.top-news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.top-news-item img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.top-news-item h2 {
    margin-top: 0;
    font-size: 2rem;
    color: var(--ps-blue-primary);
}

.top-news-date,
.news-date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.news-list img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
}

.news-list img:hover {
    transform: scale(1.02);
}

.news-list a {
    text-decoration: none;
    color: var(--color-text-primary);
    transition: color var(--transition-base);
}

.news-list a:hover {
    color: var(--ps-blue-primary);
}

.news-list h5 {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.articles-list img {
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
}

.articles-list img:hover {
    transform: scale(1.02);
}

.articles-list a {
    text-decoration: none;
    color: var(--color-text-primary);
    transition: color var(--transition-base);
}

.articles-list a:hover {
    color: var(--ps-blue-primary);
}

.custom-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.news-item .row .col-md-4 {
    flex: 0 0 40%;
    max-width: 40%;
}

.news-item .row .col-md-8 {
    flex: 0 0 60%;
    max-width: 60%;
}

.news-item .row .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .news-item .row .col-md-4 {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .news-item .row .col-md-8 {
        flex: 0 0 60%;
        max-width: 60%;
    }
}


/* ========================================
   GAMES RELEASE LIST
   ======================================== */
.games-banner {
    margin: var(--spacing-lg) 0;
    background-color: var(--color-bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.games-banner h1 {
    color: var(--ps-blue-primary);
    margin-bottom: var(--spacing-md);
}

.games-list-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: var(--spacing-sm) 0;
}

.games-list {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.games-list li {
    display: inline-block;
    margin-right: var(--spacing-lg);
    padding: var(--spacing-sm);
    background-color: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.games-list li:hover {
    background-color: var(--ps-blue-accent);
    color: var(--ps-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.games-list li img {
    border-radius: var(--radius-sm);
}

/* ========================================
   TABLES
   ======================================== */
.table-compact {
    font-size: 0.95rem;
}

.table-compact th,
.table-compact td {
    padding: var(--spacing-xs);
    margin: 0;
}

.table-compact th {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--ps-blue-primary);
    background-color: var(--color-bg-tertiary);
}

/* ========================================
   IMAGE SIZES
   ======================================== */
.small-banner {
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.small-packshot {
    max-width: 120px;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.news-image {
    border-radius: var(--radius-sm);
    transition: transform var(--transition-base);
}

.news-image:hover {
    transform: scale(1.02);
}

.article-image {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
}

.article-image:hover {
    transform: scale(1.02);
}

/* ========================================
   RELATED CONTENT
   ======================================== */
.related-content {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.related-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.related-content h2 {
    color: var(--ps-blue-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.related-content h3 {
    margin-top: var(--spacing-sm);
    font-weight: 600;
}

.related-content a {
    text-decoration: none;
    color: var(--color-text-primary);
    transition: color var(--transition-base);
}

.related-content a:hover {
    color: var(--ps-blue-accent);
}

/* ========================================
   REVIEW SCORE BARS
   ======================================== */
.score-bars {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
}

.score-bars h2 {
    color: var(--ps-blue-primary);
    margin-bottom: var(--spacing-md);
}

.score-bar {
    margin-bottom: var(--spacing-md);
}

.score-bar span {
    display: block;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
    font-size: 1.1rem;
}

.bar {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 24px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fill {
    background: linear-gradient(90deg, var(--color-success) 0%, var(--color-info) 100%);
    height: 100%;
    transition: width var(--transition-slow);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
    border-radius: var(--radius-md);
}

/* ========================================
   BUTTONS & LINKS
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--ps-blue-dark) 0%, var(--ps-blue-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content-container {
        padding: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    .navbar-custom .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .top-news-item {
        padding: var(--spacing-md);
    }

    .top-news-item h2 {
        font-size: 1.5rem;
    }

    .games-banner {
        padding: var(--spacing-md);
    }

    .score-bars {
        padding: var(--spacing-md);
    }

    /* Ensure touch targets are 44px minimum */
    .nav-link,
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1025px) {
    .container {
        max-width: 1140px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.nav-link:focus {
    outline: 2px solid var(--ps-blue-accent);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-ps-blue {
    color: var(--ps-blue-primary);
}

.bg-ps-blue {
    background-color: var(--ps-blue-primary);
}

.text-muted-light {
    color: var(--color-text-muted);
}

/* ========================================
   HOMEPAGE - TOP NEWS SECTION (Ars Technica Style)
   1 Large Featured + 4 Small Items
   ======================================== */
.top-news-section {
    padding: var(--spacing-lg) 0;
    margin-bottom: 0;
}

.top-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Featured Large Item (Left Side) */
.top-news-featured {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.top-news-featured:hover {
    box-shadow: var(--shadow-xl);
}

.top-news-featured-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.top-news-featured-image {
    width: 100%;
    aspect-ratio: 2.5 / 1;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    position: relative;
}

.top-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.top-news-featured:hover .top-news-featured-image img {
    transform: scale(1.05);
}

.top-news-featured-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: linear-gradient(135deg, var(--ps-blue-accent) 0%, var(--ps-blue-primary) 100%);
    color: var(--ps-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.top-news-featured-content {
    padding: var(--spacing-sm) var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-news-featured-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ps-blue-primary);
    margin-bottom: 0.3rem;
    line-height: 1.2;
    font-family: var(--font-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-news-featured-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.top-news-featured-date i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
}

.top-news-featured-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Small Items Container (Right Side) */
.top-news-small-list {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

/* Small News Items */
.top-news-small-item {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.top-news-small-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
}

.top-news-small-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.top-news-small-image {
    flex: 0 0 90px;
    width: 90px;
    align-self: stretch;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    position: relative;
}

.top-news-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.top-news-small-item:hover .top-news-small-image img {
    transform: scale(1.1);
}

.top-news-small-content {
    flex: 1;
    padding: 0.4rem var(--spacing-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.top-news-small-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin-bottom: 0.2rem;
    line-height: 1.25;
    font-family: var(--font-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-news-small-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.top-news-small-date i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .top-news-grid {
        grid-template-columns: 1fr;
    }

    .top-news-small-list {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .top-news-featured-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .top-news-section {
        padding: var(--spacing-md) 0;
    }

    .top-news-grid {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    /* Keep featured style but adjust size */
    .top-news-featured-image {
        aspect-ratio: 16 / 9;
    }

    .top-news-featured-content {
        padding: var(--spacing-sm) var(--spacing-sm);
    }

    .top-news-featured-title {
        font-size: 1.1rem;
    }

    .top-news-featured-excerpt {
        display: none;
    }

    /* Make small items look like featured items on mobile */
    .top-news-small-list {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .top-news-small-item {
        display: block;
    }

    .top-news-small-link {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .top-news-small-image {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .top-news-small-content {
        padding: var(--spacing-sm) var(--spacing-sm);
    }

    .top-news-small-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.3rem;
    }

    .top-news-small-date {
        font-size: 0.8rem;
    }
}

/* ========================================
   HOMEPAGE - HERO SECTION (OLD - Keep for compatibility)
   ======================================== */
.hero-section {
    padding: var(--spacing-lg) 0 0 0;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-content {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrapper {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hero-content:hover .hero-image {
    transform: scale(1.05);
}

.hero-text {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ps-blue-accent) 0%, var(--ps-blue-primary) 100%);
    color: var(--ps-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    align-self: flex-start;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--ps-blue-primary);
}

.hero-date {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.hero-date i {
    color: var(--ps-blue-accent);
}

.hero-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-secondary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Carousel Specific Styles */
.hero-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-sm);
}

.hero-carousel .carousel-inner {
    border-radius: var(--radius-lg);
    min-height: 500px;
}

.hero-carousel .carousel-item {
    transition: transform 0.6s ease-in-out;
    min-height: 500px;
}

.hero-carousel .hero-content {
    min-height: 500px;
    height: 500px;
}

.hero-carousel .hero-image-wrapper {
    height: 500px;
    min-height: 500px;
}

.hero-carousel .hero-text {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Scale down text elements to fit */
.hero-carousel .hero-title {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.15;
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-carousel .hero-summary {
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    line-height: 1.4;
    margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hero-carousel .hero-badge {
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    padding: clamp(0.35rem, 0.7vw, 0.45rem) clamp(0.7rem, 1.2vw, 0.9rem);
    margin-bottom: clamp(0.4rem, 0.8vw, 0.75rem);
}

.hero-carousel .hero-date {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    margin-bottom: clamp(0.4rem, 0.8vw, 0.75rem);
}

/* Carousel Control Buttons */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    opacity: 0;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    transform: scale(1.1);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 55, 145, 0.8);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--ps-blue-primary);
    box-shadow: var(--shadow-lg);
}

/* Tablet adjustments */
@media (max-width: 991px) {
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        min-height: 650px;
    }

    .hero-carousel .hero-content {
        min-height: 650px;
        height: 650px;
    }

    .hero-carousel .hero-image-wrapper {
        height: 300px;
        min-height: 300px;
    }

    .hero-carousel .hero-text {
        height: 350px;
    }

    .hero-carousel .hero-title {
        font-size: clamp(1.1rem, 3vw, 1.75rem);
    }

    .hero-carousel .hero-summary {
        font-size: clamp(0.75rem, 1.5vw, 0.9rem);
        -webkit-line-clamp: 3;
    }
}

/* Ensure controls are touch-friendly on mobile */
@media (max-width: 767px) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        opacity: 0.7;
        width: 44px;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 44px;
        height: 44px;
    }

    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        min-height: 700px;
    }

    .hero-carousel .hero-content {
        min-height: 700px;
        height: 700px;
    }

    .hero-carousel .hero-image-wrapper {
        height: 250px;
        min-height: 250px;
    }

    .hero-carousel .hero-text {
        height: 450px;
    }

    .hero-carousel .hero-title {
        font-size: clamp(1rem, 4.5vw, 1.35rem);
    }

    .hero-carousel .hero-summary {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        -webkit-line-clamp: 3;
    }

    .hero-carousel .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   HOMEPAGE - SECTION HEADERS
   ======================================== */
.section-header {
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--ps-blue-primary);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm);
}

.section-title i {
    color: var(--ps-blue-accent);
    margin-right: var(--spacing-xs);
}

/* ========================================
   HOMEPAGE - GAME RELEASE ITEMS
   ======================================== */
.upcoming-games-section {
    padding: var(--spacing-sm) 0;
    background-color: var(--color-bg-secondary);
    margin-top: 0;
    margin-bottom: 0;
}

.game-releases-grid {
    display: flex;
    flex-wrap: wrap;
}

.game-releases-grid > div {
    display: flex;
    margin-bottom: 1rem;
}

.game-release-item {
    background-color: var(--ps-white);
    border-left: 4px solid var(--ps-blue-primary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    width: 100%;
    height: 100%;
    min-height: 110px;
}

.game-release-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--ps-blue-accent);
}

.game-release-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-release-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    max-height: 2.8em;
}

.game-release-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 500;
}

.game-release-date i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
}

.game-release-platforms {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: flex-end;
}

.game-release-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
    color: var(--ps-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    min-width: 55px;
    text-align: center;
}

/* ========================================
   HOMEPAGE - NEWS CARDS
   ======================================== */
.latest-news-section {
    padding: var(--spacing-sm) 0;
    margin-top: 0;
    margin-bottom: 0;
}

.news-card {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.news-card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--ps-blue-primary);
    line-height: 1.3;
}

.news-card-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.news-card-date i {
    color: var(--ps-blue-accent);
}

.news-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-top: auto;
}

/* ========================================
   HOMEPAGE - FEATURED CONTENT CARDS
   ======================================== */
.featured-content-section {
    padding: var(--spacing-sm) 0;
    background-color: var(--color-bg-secondary);
    margin-top: 0;
    margin-bottom: 0;
}

.content-card {
    background-color: var(--ps-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
    position: relative;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.content-card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--ps-blue-primary);
    line-height: 1.3;
    flex: 1;
}

.content-card-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.content-card-date i {
    color: var(--ps-blue-accent);
}

.content-card-meta {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-xs);
    margin-bottom: 0;
}

.content-card-meta i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
}

.content-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.platform-tag,
.category-tag,
.award-tag,
.score-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-tag {
    background-color: var(--ps-blue-primary);
    color: var(--ps-white);
}

.category-tag {
    background-color: var(--color-info);
    color: var(--ps-white);
}

.category-tag i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

.award-tag {
    background: linear-gradient(135deg, #4A4A4A 0%, #2E2E2E 100%);
    color: var(--ps-white);
}

.award-tag.award-gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
}

.award-tag.award-gurke {
    background: linear-gradient(135deg, #8B4513 0%, #654321 100%);
    color: var(--ps-white);
}

.award-tag i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

/* Score Badges for Content Cards */
.score-badge {
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.score-badge i {
    margin-right: 0.375rem;
    font-size: 0.7rem;
}

.score-badge.grade-s {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8B6914;
}

.score-badge.grade-a {
    background: linear-gradient(135deg, #28a745, #48d368);
    color: #ffffff;
}

.score-badge.grade-b {
    background: linear-gradient(135deg, #17a2b8, #3ec9df);
    color: #ffffff;
}

.score-badge.grade-c {
    background: linear-gradient(135deg, #ffc107, #ffd454);
    color: #8B6914;
}

.score-badge.grade-d {
    background: linear-gradient(135deg, #dc3545, #e4606d);
    color: #ffffff;
}

/* ========================================
   CONTENT LIST PAGES
   ======================================== */
.content-list-section {
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
}

/* ========================================
   BUTTONS - OUTLINE VARIANT
   ======================================== */
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--ps-blue-primary);
    color: var(--ps-blue-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
    border-color: var(--ps-blue-primary);
    color: var(--ps-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary i {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.btn-outline-primary:hover i {
    transform: translateX(4px);
}

/* ========================================
   RESPONSIVE - HOMEPAGE
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        padding: var(--spacing-lg);
        min-height: auto;
    }

    .hero-image-wrapper {
        min-height: 300px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .game-release-item {
        min-height: 100px;
    }

    .game-release-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        margin-bottom: var(--spacing-lg);
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-text {
        padding: var(--spacing-md);
    }

    .hero-image-wrapper {
        min-height: 250px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .upcoming-games-section,
    .latest-news-section,
    .featured-content-section {
        padding: var(--spacing-lg) 0;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .game-release-item {
        min-height: 95px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .game-release-title {
        font-size: 0.9rem;
        line-height: 1.3;
        max-height: 2.6em;
    }

    .game-release-date {
        font-size: 0.8rem;
    }

    .game-release-platforms {
        gap: 0.3rem;
    }

    .game-release-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        min-width: 50px;
    }
}

/* ========================================
   SEARCH FUNCTIONALITY
   ======================================== */
.search-input {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--ps-white);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0.5rem 1rem;
    min-width: 200px;
    transition: all var(--transition-base);
}

.search-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--ps-blue-accent);
    color: var(--ps-white);
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 225, 0.25);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-search {
    background-color: var(--ps-blue-accent);
    border: 2px solid var(--ps-blue-accent);
    color: var(--ps-white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.5rem 1rem;
    transition: all var(--transition-base);
}

.btn-search:hover {
    background-color: var(--ps-blue-primary);
    border-color: var(--ps-blue-primary);
    transform: scale(1.05);
}

.btn-search i {
    font-size: 1.1rem;
}

/* Search Results Page */
.search-results-section {
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
}

.search-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.search-title {
    font-size: 2.5rem;
    color: var(--ps-blue-primary);
    margin-bottom: var(--spacing-md);
}

.search-query {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

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

.search-category {
    margin-bottom: var(--spacing-xl);
}

.category-title {
    font-size: 1.75rem;
    color: var(--ps-blue-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--ps-blue-accent);
}

.category-title i {
    color: var(--ps-blue-accent);
    margin-right: var(--spacing-xs);
}

.search-result-card {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
}

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.result-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.result-image-game {
    height: 200px;
}

.result-image-game img {
    object-fit: contain;
    padding: var(--spacing-sm);
}

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

.result-content {
    padding: var(--spacing-md);
    flex: 1;
}

.result-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--ps-blue-primary);
    line-height: 1.3;
}

.result-date,
.result-meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.result-date i,
.result-meta i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
}

.result-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin-top: var(--spacing-sm);
}

.no-results {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.no-results h3 {
    color: var(--color-text-secondary);
    margin-top: var(--spacing-md);
}

/* Mobile Search Form */
@media (max-width: 991px) {
    .search-input {
        min-width: 150px;
    }

    .navbar-collapse .d-flex {
        margin-top: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 767px) {
    .search-title {
        font-size: 1.75rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .search-input {
        min-width: 120px;
        font-size: 0.875rem;
    }
}

/* ========================================
   DETAIL PAGE ENHANCEMENTS
   ======================================== */

/* Hero Banner for Detail Pages */
.detail-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.detail-hero .container {
    position: relative;
    z-index: 1;
}

/* Breadcrumb in Hero */
.detail-breadcrumb {
    margin-bottom: var(--spacing-lg);
}

.detail-breadcrumb .breadcrumb {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0;
}

.detail-breadcrumb .breadcrumb-item a {
    color: var(--ps-white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.detail-breadcrumb .breadcrumb-item a:hover {
    color: var(--ps-blue-accent);
}

.detail-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Breadcrumb Section (fallback for no hero) */
.detail-breadcrumb-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-md) 0 var(--spacing-sm) 0;
    box-shadow: var(--shadow-sm);
}

.detail-breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

/* Detail Header Section */
.detail-header {
    background: var(--color-bg-secondary);
    padding: var(--spacing-md) 0 var(--spacing-lg) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    color: var(--color-text-primary);
}

.detail-meta {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.detail-meta i {
    margin-right: 0.25rem;
}

/* Detail Featured Image Section */
.detail-featured-image {
    margin-bottom: var(--spacing-xl);
}

.detail-featured-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

/* ========================================
   NEWS HERO SECTION - SIDE-BY-SIDE LAYOUT
   ======================================== */
.news-hero-section {
    margin-bottom: var(--spacing-lg);
    background: var(--ps-white);
}

/* Set a maximum height for the hero section */
.news-hero-section .row {
    max-height: 350px;
}

.news-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        #4d7fbf 0%,     /* Medium-dark blue */
        #3366aa 25%,    /* Darker blue */
        #1a4d8c 50%,    /* Deep blue */
        #003791 100%    /* PlayStation brand blue */
    );
    position: relative;
}

/* Optional accent stripe on the right edge */
.news-hero-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ps-blue-primary);
}

.news-hero-content .content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: 0.75rem;
}

.news-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--ps-white);
}

.news-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: auto;
}

.news-hero-meta {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.news-hero-meta i {
    margin-right: 0.3rem;
    color: var(--ps-blue-primary);
}

.news-hero-meta .meta-separator {
    margin: 0 var(--spacing-xs);
    opacity: 0.5;
}

/* Image wrapper with 16:9 aspect ratio constrained by max-height */
.news-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 350px;
    overflow: hidden;
    background: var(--ps-gray-light);
}

.news-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for news without image */
.news-hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
}

.news-hero-image-placeholder .placeholder-content {
    color: var(--ps-white);
    opacity: 0.3;
}

.news-hero-image-placeholder .placeholder-content i {
    font-size: 4rem;
}

/* Responsive adjustments for News Hero */
/* Tablet and below - stack vertically with image on top */
@media (max-width: 991px) {
    .news-hero-section .row {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    .news-hero-content {
        padding: var(--spacing-lg);
    }

    .news-hero-content::after {
        display: none;
    }

    .news-hero-title {
        font-size: 2rem;
    }

    .news-hero-image-wrapper {
        aspect-ratio: 16 / 9;
        max-height: none;
        height: auto;
    }
}

@media (max-width: 768px) {
    .news-hero-content {
        padding: var(--spacing-md);
    }

    .news-hero-title {
        font-size: 1.75rem;
    }

    .news-hero-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .news-hero-section {
        margin-bottom: 0;
    }

    .news-hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .news-hero-content .content-badges {
        margin-bottom: 0.5rem;
    }

    .news-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .news-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .news-hero-meta {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .news-hero-meta .meta-separator {
        display: none;
    }

    .news-hero-meta i {
        margin-right: 0.2rem;
    }

    .news-hero-image-placeholder .placeholder-content i {
        font-size: 3rem;
    }

    /* Hide share buttons in hero on mobile */
    .share-buttons-desktop {
        display: none !important;
    }

    /* Show mobile share buttons below hero */
    .share-buttons-mobile-wrapper {
        display: block !important;
        background: var(--ps-white);
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: 1px solid var(--ps-gray-light);
        margin-bottom: 0;
    }

    /* Reduce container padding on mobile */
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .detail-container {
        padding-top: var(--spacing-sm);
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .detail-content {
        padding: var(--spacing-sm) var(--spacing-xs);
    }

    /* Adjust row negative margins to match reduced container padding */
    .row {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .row > * {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .share-buttons-mobile-wrapper .share-buttons {
        justify-content: center;
        width: 100%;
    }

    .share-buttons-mobile-wrapper .share-label {
        color: var(--ps-text-primary);
        text-shadow: none;
    }

    .share-buttons-mobile-wrapper .share-btn {
        color: var(--ps-text-primary);
        background: var(--ps-gray-lightest);
        border-color: var(--ps-gray-light);
    }

    .share-buttons-mobile-wrapper .share-btn:hover {
        color: var(--ps-white);
    }
}

/* ========================================
   REVIEW HERO SECTION - SIDE-BY-SIDE LAYOUT
   ======================================== */
.review-hero-section {
    margin-bottom: var(--spacing-lg);
    background: var(--ps-white);
}

/* Set a maximum height for the hero section */
.review-hero-section .row {
    max-height: 350px;
}

.review-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        #4d7fbf 0%,     /* Medium-dark blue */
        #3366aa 25%,    /* Darker blue */
        #1a4d8c 50%,    /* Deep blue */
        #003791 100%    /* PlayStation brand blue */
    );
    position: relative;
}

/* Optional accent stripe on the right edge */
.review-hero-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ps-blue-primary);
}

.review-hero-content .content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: 0.75rem;
}

.review-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--ps-white);
}

.review-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-hero-subtitle i {
    color: var(--ps-blue-primary);
}

.review-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: auto;
}

.review-hero-meta {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.review-hero-meta i {
    margin-right: 0.3rem;
    color: var(--ps-blue-primary);
}

/* Image wrapper with 16:9 aspect ratio constrained by max-height */
.review-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 350px;
    overflow: hidden;
    background: var(--ps-gray-light);
}

.review-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for review without image */
.review-hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
}

.review-hero-image-placeholder .placeholder-content {
    color: var(--ps-white);
    opacity: 0.3;
}

.review-hero-image-placeholder .placeholder-content i {
    font-size: 4rem;
}

/* Responsive adjustments for Review Hero */
/* Tablet and below - stack vertically with image on top */
@media (max-width: 991px) {
    .review-hero-section .row {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    .review-hero-content {
        padding: var(--spacing-lg);
    }

    .review-hero-content::after {
        display: none;
    }

    .review-hero-title {
        font-size: 2rem;
    }

    .review-hero-subtitle {
        font-size: 1.125rem;
    }

    .review-hero-image-wrapper {
        aspect-ratio: 16 / 9;
        max-height: none;
        height: auto;
    }
}

@media (max-width: 768px) {
    .review-hero-content {
        padding: var(--spacing-md);
    }

    .review-hero-title {
        font-size: 1.75rem;
    }

    .review-hero-subtitle {
        font-size: 1rem;
    }

    .review-hero-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .review-hero-section {
        margin-bottom: 0;
    }

    .review-hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .review-hero-content .content-badges {
        margin-bottom: 0.5rem;
    }

    .review-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .review-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .review-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .review-hero-meta {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .review-hero-meta i {
        margin-right: 0.2rem;
    }

    .review-hero-image-placeholder .placeholder-content i {
        font-size: 3rem;
    }
}

/* ============================================
   PREVIEW HERO SECTION
   ============================================ */
.preview-hero-section {
    margin-bottom: var(--spacing-lg);
    background: var(--ps-white);
}

/* Set a maximum height for the hero section */
.preview-hero-section .row {
    max-height: 350px;
}

.preview-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        #4d7fbf 0%,     /* Medium-dark blue */
        #3366aa 25%,    /* Darker blue */
        #1a4d8c 50%,    /* Deep blue */
        #003791 100%    /* PlayStation brand blue */
    );
    position: relative;
}

/* Optional accent stripe on the right edge */
.preview-hero-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ps-blue-primary);
}

.preview-hero-content .content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: 0.75rem;
}

.preview-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--ps-white);
}

.preview-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: auto;
}

.preview-hero-meta {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.preview-hero-meta i {
    margin-right: 0.3rem;
    color: var(--ps-blue-primary);
}

/* Image wrapper with 16:9 aspect ratio constrained by max-height */
.preview-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 350px;
    overflow: hidden;
    background: var(--ps-gray-light);
}

.preview-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for preview without image */
.preview-hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
}

.preview-hero-image-placeholder .placeholder-content {
    color: var(--ps-white);
    opacity: 0.3;
}

.preview-hero-image-placeholder .placeholder-content i {
    font-size: 4rem;
}

/* Responsive adjustments for Preview Hero */
/* Tablet and below - stack vertically with image on top */
@media (max-width: 991px) {
    .preview-hero-section .row {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    .preview-hero-content {
        padding: var(--spacing-lg);
    }

    .preview-hero-content::after {
        display: none;
    }

    .preview-hero-title {
        font-size: 2rem;
    }

    .preview-hero-image-wrapper {
        aspect-ratio: 16 / 9;
        max-height: none;
        height: auto;
    }
}

@media (max-width: 768px) {
    .preview-hero-content {
        padding: var(--spacing-md);
    }

    .preview-hero-title {
        font-size: 1.75rem;
    }

    .preview-hero-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .preview-hero-section {
        margin-bottom: 0;
    }

    .preview-hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .preview-hero-content .content-badges {
        margin-bottom: 0.5rem;
    }

    .preview-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .preview-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .preview-hero-meta {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .preview-hero-meta i {
        margin-right: 0.2rem;
    }

    .preview-hero-image-placeholder .placeholder-content i {
        font-size: 3rem;
    }
}

/* ============================================
   ARTICLE HERO SECTION
   ============================================ */
.article-hero-section {
    margin-bottom: var(--spacing-lg);
    background: var(--ps-white);
}

/* Set a maximum height for the hero section */
.article-hero-section .row {
    max-height: 350px;
}

.article-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        #4d7fbf 0%,     /* Medium-dark blue */
        #3366aa 25%,    /* Darker blue */
        #1a4d8c 50%,    /* Deep blue */
        #003791 100%    /* PlayStation brand blue */
    );
    position: relative;
}

/* Optional accent stripe on the right edge */
.article-hero-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ps-blue-primary);
}

.article-hero-content .content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: 0.75rem;
}

.article-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--ps-white);
}

.article-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: auto;
}

.article-hero-meta {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.article-hero-meta i {
    margin-right: 0.3rem;
    color: var(--ps-blue-primary);
}

/* Image wrapper with 16:9 aspect ratio constrained by max-height */
.article-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 350px;
    overflow: hidden;
    background: var(--ps-gray-light);
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for article without image */
.article-hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
}

.article-hero-image-placeholder .placeholder-content {
    color: var(--ps-white);
    opacity: 0.3;
}

.article-hero-image-placeholder .placeholder-content i {
    font-size: 4rem;
}

/* Responsive adjustments for Article Hero */
/* Tablet and below - stack vertically with image on top */
@media (max-width: 991px) {
    .article-hero-section .row {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    .article-hero-content {
        padding: var(--spacing-lg);
    }

    .article-hero-content::after {
        display: none;
    }

    .article-hero-title {
        font-size: 2rem;
    }

    .article-hero-image-wrapper {
        aspect-ratio: 16 / 9;
        max-height: none;
        height: auto;
    }
}

@media (max-width: 768px) {
    .article-hero-content {
        padding: var(--spacing-md);
    }

    .article-hero-title {
        font-size: 1.75rem;
    }

    .article-hero-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .article-hero-section {
        margin-bottom: 0;
    }

    .article-hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .article-hero-content .content-badges {
        margin-bottom: 0.5rem;
    }

    .article-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .article-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .article-hero-meta {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .article-hero-meta i {
        margin-right: 0.2rem;
    }

    .article-hero-image-placeholder .placeholder-content i {
        font-size: 3rem;
    }
}

/* ============================================
   MOVIE REVIEW HERO SECTION
   ============================================ */
.movie-review-hero-section {
    margin-bottom: var(--spacing-lg);
    background: var(--ps-white);
}

/* Set a maximum height for the hero section */
.movie-review-hero-section .row {
    max-height: 350px;
}

.movie-review-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        #4d7fbf 0%,     /* Medium-dark blue */
        #3366aa 25%,    /* Darker blue */
        #1a4d8c 50%,    /* Deep blue */
        #003791 100%    /* PlayStation brand blue */
    );
    position: relative;
}

/* Optional accent stripe on the right edge */
.movie-review-hero-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ps-blue-primary);
}

.movie-review-hero-content .content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: 0.75rem;
}

.movie-review-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    color: var(--ps-white);
}

.movie-review-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: auto;
}

.movie-review-hero-meta {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.movie-review-hero-meta i {
    margin-right: 0.3rem;
    color: var(--ps-blue-primary);
}

/* Image wrapper with 16:9 aspect ratio constrained by max-height */
.movie-review-hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 350px;
    overflow: hidden;
    background: var(--ps-gray-light);
}

.movie-review-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for movie review without image */
.movie-review-hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
}

.movie-review-hero-image-placeholder .placeholder-content {
    color: var(--ps-white);
    opacity: 0.3;
}

.movie-review-hero-image-placeholder .placeholder-content i {
    font-size: 4rem;
}

/* Responsive adjustments for Movie Review Hero */
/* Tablet and below - stack vertically with image on top */
@media (max-width: 991px) {
    .movie-review-hero-section .row {
        min-height: auto;
        max-height: none;
        flex-direction: column;
    }

    .movie-review-hero-content {
        padding: var(--spacing-lg);
    }

    .movie-review-hero-content::after {
        display: none;
    }

    .movie-review-hero-title {
        font-size: 2rem;
    }

    .movie-review-hero-image-wrapper {
        aspect-ratio: 16 / 9;
        max-height: none;
        height: auto;
    }
}

@media (max-width: 768px) {
    .movie-review-hero-content {
        padding: var(--spacing-md);
    }

    .movie-review-hero-title {
        font-size: 1.75rem;
    }

    .movie-review-hero-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .movie-review-hero-section {
        margin-bottom: 0;
    }

    .movie-review-hero-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .movie-review-hero-content .content-badges {
        margin-bottom: 0.5rem;
    }

    .movie-review-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .movie-review-hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .movie-review-hero-meta {
        font-size: 0.8rem;
        gap: 0.4rem;
    }

    .movie-review-hero-meta i {
        margin-right: 0.2rem;
    }

    .movie-review-hero-image-placeholder .placeholder-content i {
        font-size: 3rem;
    }
}

/* Hero Content */
.hero-content {
    color: var(--ps-white);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.95;
    font-family: var(--font-heading);
}

.hero-meta {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.hero-meta i {
    margin-right: 0.5rem;
}

/* Detail Container */
.detail-container {
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-xl);
}

/* Share Buttons in Hero */
.share-buttons {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0;
    background: transparent;
    margin-bottom: 0;
}

/* Hide mobile share buttons on desktop/tablet */
.share-buttons-mobile-wrapper {
    display: none;
}

.share-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    margin-right: var(--spacing-xs);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.9375rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.share-btn:hover {
    transform: scale(1.1);
    color: var(--ps-white);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.share-twitter:hover {
    background-color: #000000;
    border-color: #000000;
}

.share-facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.share-whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
}

/* Detail Content */
.detail-content {
    background: var(--color-bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.detail-content h2,
.detail-content h3,
.detail-content h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--ps-blue-primary);
}

.detail-content p {
    margin-bottom: var(--spacing-md);
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--ps-blue-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-title i {
    font-size: 1.5rem;
}

/* Score Section (Enhanced) */
.score-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
}

.score-section .section-title {
    margin-bottom: 0.5rem;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-lg);
}

.score-header .section-title {
    margin-bottom: 0;
}

/* Overall Score Badge */
.overall-score-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ps-blue-primary), var(--ps-blue-accent));
    box-shadow: 0 8px 20px rgba(0, 55, 145, 0.3);
    position: relative;
    overflow: hidden;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
}

.score-circle .score-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--ps-blue-primary);
    position: relative;
    z-index: 1;
    line-height: 1;
}

.score-circle .score-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
    margin-top: 0.25rem;
}

.score-grade {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--ps-blue-primary);
    padding: 0.5rem 1rem;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
}

/* Grade-based color variations */
.score-circle.grade-s {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.score-circle.grade-s .score-value {
    color: #c79100;
}

.score-circle.grade-a {
    background: linear-gradient(135deg, #28a745, #48d368);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.score-circle.grade-a .score-value {
    color: #1e7e34;
}

.score-circle.grade-b {
    background: linear-gradient(135deg, #17a2b8, #3ec9df);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.4);
}

.score-circle.grade-b .score-value {
    color: #117a8b;
}

.score-circle.grade-c {
    background: linear-gradient(135deg, #ffc107, #ffd454);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

.score-circle.grade-c .score-value {
    color: #d39e00;
}

.score-circle.grade-d {
    background: linear-gradient(135deg, #dc3545, #e4606d);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.score-circle.grade-d .score-value {
    color: #bd2130;
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Compact variant with reduced spacing */
.score-bars.compact {
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: var(--spacing-lg);
}

.score-bars.compact .score-bar {
    gap: 0.25rem;
}

.score-bars.compact .score-label {
    margin-bottom: 0.2rem;
}

.score-bar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.score-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
}

.score-name {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.score-value {
    font-weight: 700;
    color: var(--ps-blue-primary);
    font-size: 1rem;
    font-family: var(--font-heading);
}

.score-bar .bar {
    background-color: var(--color-bg-tertiary);
    border-radius: var(--radius-md);
    height: 28px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.score-bar .fill {
    background: linear-gradient(90deg, var(--ps-blue-primary), var(--ps-blue-accent));
    height: 100%;
    border-radius: var(--radius-md);
    transition: width var(--transition-slow);
    display: flex;
    align-items: center;
    padding-right: var(--spacing-sm);
    justify-content: flex-end;
    box-shadow: 0 2px 4px rgba(0, 55, 145, 0.3);
}

/* Game Info Card (Sidebar) */
.game-info-card {
    background: var(--color-bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: var(--spacing-lg);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--ps-blue-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.game-packshot {
    margin-bottom: var(--spacing-md);
    text-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 140px;
    margin-left: auto;
    margin-right: auto;
}

.game-packshot img {
    width: 100%;
    height: auto;
    display: block;
}

.game-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-bg-tertiary);
}

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

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.info-value {
    font-size: 0.875rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.game-info-card .btn-primary {
    width: 100%;
    margin-top: var(--spacing-sm);
    background: linear-gradient(135deg, var(--ps-blue-primary), var(--ps-blue-accent));
    border: none;
    padding: 0.625rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
}

.game-info-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Info Tags */
.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: var(--spacing-sm);
}

.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.info-tag i {
    font-size: 0.875rem;
}

.info-tag:hover {
    background: var(--ps-blue-accent);
    color: var(--ps-white);
}

.info-tag.warning-tag {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.info-tag.warning-tag:hover {
    background: #ffc107;
    color: #000;
}

.info-tag.platinum-tag {
    background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
    color: #333;
    font-weight: 600;
}

.info-tag.platinum-tag:hover {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

/* Gallery Section */
.gallery-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Related Content Section */
.related-content-section {
    background: var(--color-bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-sm);
}

.related-content-section .section-title {
    margin-bottom: var(--spacing-sm);
}

.related-card {
    display: block;
    background: var(--ps-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.related-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.related-content-body {
    padding: var(--spacing-sm) var(--spacing-md);
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin-bottom: 0;
    line-height: 1.3;
}

.related-date {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Content Type Badge in Hero */
.content-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

/* Content Type Badge - Used in related content cards */
.related-image .content-type-badge {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    background: rgba(0, 55, 145, 0.9);
    color: var(--ps-white);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.related-image .content-type-badge i {
    font-size: 0.875rem;
}

/* Responsive Design for Detail Pages */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .detail-hero {
        min-height: 350px;
    }

    .game-info-card {
        position: static;
        margin-top: var(--spacing-lg);
    }

    .game-packshot {
        max-width: 180px;
    }

    .detail-content {
        padding: var(--spacing-sm);
    }

    .score-section {
        padding: var(--spacing-lg);
    }

    .related-content-section {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .detail-hero {
        min-height: 300px;
        padding-bottom: var(--spacing-lg);
    }

    .detail-content {
        padding: 0.75rem;
    }

    .score-section {
        padding: var(--spacing-md);
    }

    .score-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .score-circle {
        width: 100px;
        height: 100px;
    }

    .score-circle .score-value {
        font-size: 2rem;
    }

    .score-grade {
        font-size: 1rem;
    }

    .related-content-section {
        padding: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .navbar-custom,
    .upcoming-games-section,
    .btn,
    .share-buttons {
        display: none;
    }

    body {
        background: white;
    }

    .hero-section,
    .latest-news-section,
    .featured-content-section,
    .detail-content {
        page-break-inside: avoid;
    }

    .detail-hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
}

/* ========================================
   PLATFORM FILTERING
   ======================================== */

/* Platform Filter Dropdown in Navbar */
.navbar-custom .dropdown-toggle {
    color: var(--ps-white);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.navbar-custom .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-custom .dropdown-toggle.active {
    background-color: var(--ps-blue-accent);
    border-color: var(--ps-blue-accent);
}

.navbar-custom .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Platform Filter Menu */
.platform-filter-menu {
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.platform-filter-menu .dropdown-item {
    padding: 0.75rem 1.25rem;
    color: var(--color-text-primary);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.platform-filter-menu .dropdown-item:hover {
    background-color: rgba(0, 55, 145, 0.05);
    border-left-color: var(--ps-blue-accent);
    color: var(--ps-blue-primary);
}

.platform-filter-menu .dropdown-item.active {
    background-color: rgba(0, 55, 145, 0.1);
    border-left-color: var(--ps-blue-primary);
    color: var(--ps-blue-primary);
    font-weight: 600;
}

.platform-filter-menu .dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Active Filters Display */
.active-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 55, 145, 0.05) 0%, rgba(0, 168, 225, 0.05) 100%);
    border-left: 4px solid var(--ps-blue-primary);
    border-radius: var(--radius-md);
    animation: slideIn 0.3s ease;
}

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

.active-filters .filter-label {
    font-weight: 600;
    color: var(--ps-blue-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.active-filters .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
    color: var(--ps-white);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.active-filters .filter-tag:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.active-filters .filter-clear {
    color: var(--ps-white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-left: 0.25rem;
}

.active-filters .filter-clear:hover {
    opacity: 1;
    color: var(--ps-white);
}

.active-filters .filter-clear i {
    font-size: 1rem;
}

/* Game Card Styles (for games_list.html) */
.game-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.game-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 55, 145, 0.1) 0%, rgba(0, 168, 225, 0.1) 100%);
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.game-card-body {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.game-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin: 0;
    line-height: 1.3;
    transition: color var(--transition-fast);
}

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

.game-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.game-card-date {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.game-card-date i {
    font-size: 0.875rem;
}

/* Mobile Responsive Adjustments for Filters */
@media (max-width: 991.98px) {
    .navbar-custom .dropdown {
        width: 100%;
    }

    .navbar-custom .dropdown-toggle {
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .platform-filter-menu {
        width: 100%;
        max-height: 300px;
    }

    .active-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .active-filters .filter-label {
        font-size: 0.8rem;
    }

    .active-filters .filter-tag {
        font-size: 0.875rem;
        padding: 0.4rem 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .active-filters {
        padding: 0.875rem;
    }

    .active-filters .filter-label {
        display: block;
        width: 100%;
    }

    .active-filters .filter-tag {
        width: 100%;
        justify-content: space-between;
    }
}

/* ========================================
   INTERACTIVE ANIMATIONS
   ======================================== */

/* Fade-in Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Apply fade-in to content sections */
.content-list-section,
.detail-section,
.hero-section,
.latest-news-section,
.featured-content-section,
.upcoming-games-section {
    animation: fadeIn 0.6s ease-out;
}

/* Stagger animations for cards */
.news-card,
.content-card,
.game-card {
    animation: fadeInScale 0.5s ease-out backwards;
}

.news-card:nth-child(1),
.content-card:nth-child(1),
.game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2),
.content-card:nth-child(2),
.game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3),
.content-card:nth-child(3),
.game-card:nth-child(3) {
    animation-delay: 0.3s;
}

.news-card:nth-child(4),
.content-card:nth-child(4),
.game-card:nth-child(4) {
    animation-delay: 0.4s;
}

.news-card:nth-child(5),
.content-card:nth-child(5),
.game-card:nth-child(5) {
    animation-delay: 0.5s;
}

.news-card:nth-child(6),
.content-card:nth-child(6),
.game-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Enhanced Button Micro-interactions */
.btn,
.btn-primary,
.btn-search,
.navbar-custom .nav-link,
.dropdown-item {
    position: relative;
    overflow: hidden;
}

.btn::before,
.btn-primary::before,
.btn-search::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before,
.btn-primary:hover::before,
.btn-search:hover::before {
    width: 300px;
    height: 300px;
}

/* Link Hover Effects */
a:not(.btn):not(.nav-link):not(.dropdown-item) {
    transition: all var(--transition-fast);
}

a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    transform: translateX(2px);
}

/* Enhanced Image Zoom Effects */
.news-card-image img,
.content-card-image img,
.game-card-image img,
.detail-packshot img {
    transition: transform var(--transition-slow), filter var(--transition-base);
}

.news-card:hover .news-card-image img,
.content-card:hover .content-card-image img,
.game-card:hover .game-card-image img,
.detail-packshot:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ps-blue-primary) 0%, var(--ps-blue-dark) 100%);
    color: var(--ps-white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: all var(--transition-base);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, var(--ps-blue-accent) 0%, var(--ps-blue-primary) 100%);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 168, 225, 0.4);
}

.back-to-top:active {
    transform: scale(0.95);
}

/* Badge Pulse Animation on Hover */
.platform-tag,
.content-type-badge,
.score-badge,
.award-tag {
    transition: all var(--transition-fast);
}

.platform-tag:hover,
.content-type-badge:hover,
.score-badge:hover,
.award-tag:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Section Header Animations */
.section-header {
    animation: fadeIn 0.8s ease-out;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, var(--ps-blue-primary) 0%, var(--ps-blue-accent) 100%);
    transform: translateX(-50%) translateY(-5px) scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-slow);
}

.section-header:hover::after {
    transform: translateX(-50%) translateY(-5px) scaleX(1);
}

/* Section Header with Constant Separator (no hover animation) */
.section-header-constant::after {
    transform: translateX(-50%) translateY(0) scaleX(1) !important;
    transition: none;
}

.section-header-constant:hover::after {
    transform: translateX(-50%) translateY(0) scaleX(1) !important;
}

.section-header-constant .section-title {
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.section-title {
    position: relative;
    display: inline-block;
}

/* Search Input Focus Animation */
.search-input:focus {
    animation: pulse 0.3s ease-in-out;
}

/* Loading Skeleton Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth Card Entry on Scroll */
@media (prefers-reduced-motion: no-preference) {
    .news-card,
    .content-card,
    .game-card {
        opacity: 0;
        animation: fadeInScale 0.6s ease-out forwards;
    }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Mobile Adjustments for Back to Top */
@media (max-width: 767.98px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    /* Responsive detail page styles */
    .detail-title {
        font-size: 1.75rem;
    }

    .detail-header {
        padding: var(--spacing-sm) 0 var(--spacing-md) 0;
    }

    .detail-breadcrumb-section {
        padding: var(--spacing-sm) 0;
    }

    .detail-featured-image {
        margin-bottom: var(--spacing-lg);
    }

    .detail-featured-image img {
        max-height: 250px;
    }
}

/* ========================================
   TWO-COLUMN LAYOUT WITH SIDEBAR
   ======================================== */

/* Main Layout Container */
.page-layout {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    margin-top: calc(-1 * var(--spacing-lg));
}

/* Main Content Area */
.main-content {
    flex: 1 1 70%;
    min-width: 0; /* Prevent flex item from overflowing */
}

/* Sidebar - Non-scrollable, matches main content height */
.content-sidebar {
    flex: 0 0 350px;
    position: relative;
}

/* ========================================
   UPCOMING RELEASES COMPACT SECTION
   ======================================== */
.upcoming-releases-compact {
    padding: var(--spacing-lg) 0;
    background: var(--color-bg-primary);
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.upcoming-releases-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--ps-blue-primary);
}

.upcoming-releases-compact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ps-blue-primary);
    margin: 0;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upcoming-releases-compact-title i {
    font-size: 1.25rem;
}

.upcoming-releases-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
}

.upcoming-release-compact-item {
    background: var(--ps-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-base);
}

.upcoming-release-compact-item:hover {
    background: var(--color-bg-hover);
    border-color: var(--ps-blue-primary);
    transform: translateX(4px);
}

.upcoming-release-compact-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.upcoming-release-compact-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ps-blue-dark);
    margin: 0;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.upcoming-release-compact-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.upcoming-release-compact-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.upcoming-release-compact-date i {
    color: var(--ps-blue-accent);
    font-size: 0.75rem;
}

.upcoming-release-compact-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.platform-tag-compact {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    background: var(--ps-blue-light);
    color: var(--ps-blue-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.5;
}

/* Responsive adjustments for compact upcoming releases */
@media (max-width: 991px) {
    .upcoming-releases-compact-title {
        font-size: 1.25rem;
    }

    .upcoming-releases-compact-header .btn {
        font-size: 0.875rem;
    }
}

@media (max-width: 767px) {
    .upcoming-releases-compact {
        padding: var(--spacing-md) 0;
    }

    .upcoming-releases-compact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xs);
    }

    .upcoming-releases-compact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .upcoming-releases-compact-header .btn {
        align-self: flex-end;
    }

    .upcoming-releases-compact-title {
        font-size: 1.25rem;
    }

    .upcoming-release-compact-item {
        padding: var(--spacing-sm);
    }

    .upcoming-release-compact-name {
        font-size: 0.95rem;
    }

    .upcoming-release-compact-date {
        font-size: 0.8rem;
    }
}

/* ========================================
   SIDEBAR WIDGETS - SHARED STYLES
   ======================================== */

.sidebar-widget {
    background: #1a4d8c; /* Deep blue */
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.sidebar-widget:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ps-white);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.widget-title i {
    font-size: 1.125rem;
    color: var(--ps-blue-accent);
}

.widget-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.widget-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--ps-blue-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: var(--spacing-sm);
    transition: all var(--transition-fast);
}

.widget-link:hover {
    color: var(--ps-blue-accent);
    transform: translateX(4px);
}

.widget-link i {
    transition: transform var(--transition-fast);
}

.widget-link:hover i {
    transform: translateX(2px);
}

/* ========================================
   FEATURED CONTENT WIDGET
   ======================================== */

.featured-widget-item {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-widget-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.featured-widget-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-widget-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.featured-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.featured-widget-item:hover .featured-widget-image img {
    transform: scale(1.05);
}

.featured-widget-type {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    background: rgba(0, 55, 145, 0.9);
    color: var(--ps-white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.featured-widget-body {
    padding: var(--spacing-xs) var(--spacing-sm);
}

.featured-widget-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-widget-platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
    background: var(--ps-blue-primary);
    color: var(--ps-white);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.featured-widget-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.featured-widget-date i {
    color: var(--ps-blue-accent);
    font-size: 0.7rem;
}

.featured-widget-meta {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.featured-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.featured-score-badge i {
    font-size: 0.65rem;
}

.featured-score-badge.grade-s {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8B6914;
}

.featured-score-badge.grade-a {
    background: linear-gradient(135deg, #28a745, #48d368);
    color: #ffffff;
}

.featured-score-badge.grade-b {
    background: linear-gradient(135deg, #17a2b8, #3ec9df);
    color: #ffffff;
}

.featured-score-badge.grade-c {
    background: linear-gradient(135deg, #ffc107, #ffd454);
    color: #8B6914;
}

.featured-score-badge.grade-d {
    background: linear-gradient(135deg, #dc3545, #e4606d);
    color: #ffffff;
}

.featured-platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: var(--ps-blue-primary);
    color: var(--ps-white);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   UPCOMING RELEASES WIDGET
   ======================================== */

.upcoming-widget-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--ps-white);
    border-left: 3px solid var(--ps-blue-primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.upcoming-widget-item:hover {
    border-left-color: var(--ps-blue-accent);
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.upcoming-widget-content {
    flex: 1;
    min-width: 0;
}

.upcoming-widget-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upcoming-widget-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
}

.upcoming-widget-date i {
    color: var(--ps-blue-accent);
    font-size: 0.7rem;
}

.upcoming-widget-platforms {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
}

.upcoming-platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, var(--ps-blue-primary), var(--ps-blue-dark));
    color: var(--ps-white);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 45px;
}

/* ========================================
   CATEGORIES WIDGET
   ======================================== */

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

.category-group-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-bg-tertiary);
}

.category-group-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.category-item {
    margin-bottom: var(--spacing-xs);
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.category-link:hover {
    background: rgba(0, 55, 145, 0.05);
    color: var(--ps-blue-primary);
    transform: translateX(3px);
}

.category-name {
    font-weight: 500;
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--spacing-xs);
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.category-link:hover .category-count {
    background: var(--ps-blue-primary);
    color: var(--ps-white);
}

/* ========================================
   RECENT REVIEWS WIDGET
   ======================================== */

.review-widget-item {
    display: block;
    background: var(--ps-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.review-widget-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-widget-link {
    display: flex;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: inherit;
    padding: var(--spacing-sm);
}

.review-widget-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.review-widget-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.review-widget-item:hover .review-widget-image img {
    transform: scale(1.1);
}

.review-widget-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-widget-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-widget-meta {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.review-score-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.review-score-badge.grade-s {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #8B6914;
}

.review-score-badge.grade-a {
    background: linear-gradient(135deg, #28a745, #48d368);
    color: #ffffff;
}

.review-score-badge.grade-b {
    background: linear-gradient(135deg, #17a2b8, #3ec9df);
    color: #ffffff;
}

.review-score-badge.grade-c {
    background: linear-gradient(135deg, #ffc107, #ffd454);
    color: #8B6914;
}

.review-score-badge.grade-d {
    background: linear-gradient(135deg, #dc3545, #e4606d);
    color: #ffffff;
}

.review-platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: var(--ps-blue-primary);
    color: var(--ps-white);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   PLATFORM FILTER WIDGET
   ======================================== */

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

.platform-filter-item {
    margin-bottom: var(--spacing-xs);
}

.platform-filter-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
}

.platform-filter-link i {
    font-size: 0.5rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.platform-filter-link:hover {
    background: rgba(0, 55, 145, 0.05);
    color: var(--ps-blue-primary);
    transform: translateX(3px);
}

.platform-filter-link:hover i {
    color: var(--ps-blue-accent);
}

.platform-filter-item.active .platform-filter-link {
    background: linear-gradient(135deg, var(--ps-blue-primary), var(--ps-blue-dark));
    color: var(--ps-white);
    font-weight: 600;
}

.platform-filter-item.active .platform-filter-link i {
    color: var(--ps-blue-accent);
}

/* ========================================
   GRID LAYOUT FOR NEWS/ARTICLES
   ======================================== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* ========================================
   VERTICAL NEWS LIST LAYOUT
   ======================================== */

.news-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--spacing-xl);
}

/* Letter Headers for Alphabetical Grouping */
.letter-header {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--ps-blue-gradient-start);
}

.letter-header:first-child {
    margin-top: 0;
}

.letter-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ps-blue-gradient-start);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-list-item {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.news-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(3px);
}

.news-list-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    min-height: 77px;
}

.news-list-image {
    flex: 0 0 126px;
    width: 126px;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    position: relative;
}

/* 16:9 Aspect Ratio for Review Images */
.news-list-image-16-9 {
    flex: 0 0 224px;
    width: 224px;
    height: 126px;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    position: relative;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-content {
    flex: 1;
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-list-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
    font-family: var(--font-heading);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-date {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.news-list-date i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
}

.news-list-meta {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.news-list-meta i {
    color: var(--ps-blue-accent);
    margin-right: 0.25rem;
}

.news-list-excerpt {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: auto;
}

/* Tablet adjustments for news list */
@media (max-width: 991px) {
    .news-list-image {
        flex: 0 0 175px;
        width: 175px;
    }

    .news-list-title {
        font-size: 1rem;
    }

    .news-list-content {
        padding: var(--spacing-sm);
    }
}

/* Mobile adjustments - stack image on top */
@media (max-width: 767px) {
    .news-list-link {
        flex-direction: column;
        min-height: auto;
    }

    .news-list-image {
        flex: 0 0 auto;
        width: 100%;
        height: 140px;
    }

    .news-list-title {
        font-size: 0.95rem;
    }

    .news-list-content {
        padding: var(--spacing-sm);
    }

    .news-list-excerpt {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }
}

/* Grid News Card (Different from sidebar featured) */
.grid-news-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.grid-news-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    position: relative;
}

.grid-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.grid-news-body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid-news-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ps-blue-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-news-date {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.grid-news-date i {
    color: var(--ps-blue-accent);
}

.grid-news-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-news-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

/* ========================================
   RESPONSIVE LAYOUT - SIDEBAR STACKING
   ======================================== */

/* Tablet (991px and below) - Stack sidebar below content */
@media (max-width: 991px) {
    .page-layout {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin-top: calc(-1 * var(--spacing-md));
    }

    .main-content {
        flex: 1 1 100%;
    }

    .content-sidebar {
        flex: 1 1 100%;
        position: static;
        max-height: none;
        overflow: visible;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .sidebar-widget {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .widget-title {
        font-size: 1.125rem;
    }

    /* Simplify widget layouts on mobile */
    .featured-widget-body,
    .review-widget-link {
        padding: var(--spacing-sm);
    }

    .featured-widget-type {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        gap: 0.25rem;
    }

    .upcoming-widget-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .upcoming-widget-platforms {
        flex-direction: row;
        align-items: center;
    }
}

/* Small Mobile (575px and below) */
@media (max-width: 575px) {
    .page-layout {
        gap: var(--spacing-md);
    }

    .grid-news-body {
        padding: var(--spacing-sm);
    }

    .grid-news-title {
        font-size: 1rem;
    }
}

/* ==========================================
   NEWS FILTER HERO SECTION
   ========================================== */

.news-filter-hero {
    background: #1a4d8c; /* Deep blue */
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
}

/* Filter Hero Header - Container for title and toggle button */
.filter-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    gap: 1rem;
}

.filter-hero-title {
    color: var(--ps-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-hero-title i {
    font-size: 1.5rem;
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--ps-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.filter-toggle-btn:active {
    transform: translateY(0);
}

.filter-toggle-btn .filter-toggle-icon {
    transition: transform 0.3s ease;
}

.filter-toggle-btn[aria-expanded="true"] .filter-toggle-icon {
    transform: rotate(180deg);
}

.filter-toggle-btn[aria-expanded="true"] .filter-toggle-text::after {
    content: ' verbergen';
}

/* Filter Form */
.filter-form {
    margin-bottom: 0;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: flex-end;
}

/* Compact Filter Controls */
.filter-controls-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: var(--spacing-sm);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 160px;
    flex: 1;
}

.filter-group-search {
    flex: 2;
    min-width: 200px;
}

.filter-group-submit,
.filter-group-reset {
    min-width: auto;
    flex: 0;
}

.filter-label {
    color: var(--ps-white);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
}

.filter-label i {
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--ps-white);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.filter-select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--ps-blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.2);
}

.filter-select option {
    background: var(--ps-gray-dark);
    color: var(--ps-white);
    padding: 0.5rem;
}

/* Search Input */
.filter-input {
    padding: 0.5rem 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--ps-white);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 100%;
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.filter-input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--ps-blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.2);
}

/* Submit Button */
.filter-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background: var(--ps-blue-primary);
    color: var(--ps-white);
    border: 2px solid var(--ps-blue-primary);
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.filter-submit-btn:hover {
    background: #005a9e;
    border-color: #005a9e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.filter-submit-btn:active {
    transform: translateY(0);
}

.filter-submit-btn i {
    font-size: 1.1rem;
}

/* Reset Button */
.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--ps-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.filter-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--ps-white);
    transform: translateY(-1px);
}

.filter-reset-btn i {
    font-size: 1.1rem;
}

/* Active Filters Display */
.active-filters-display {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.active-filters-label {
    color: var(--ps-white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-right: var(--spacing-sm);
}

.active-filter-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: var(--ps-white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.filter-badge i {
    font-size: 0.9rem;
}

.filter-badge-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--ps-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-badge-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--ps-white);
    transform: scale(1.1);
}

.filter-badge-close i {
    font-size: 0.75rem;
}

/* Tablet and below */
@media (max-width: 991px) {
    .news-filter-hero {
        padding: var(--spacing-lg) 0;
    }

    .filter-hero-header {
        flex-wrap: wrap;
    }

    .filter-hero-title {
        font-size: 2rem;
    }

    .filter-controls,
    .filter-controls-compact {
        gap: var(--spacing-sm);
    }

    .filter-group {
        min-width: 150px;
    }

    .filter-group-search {
        min-width: 200px;
    }

    .filter-toggle-btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .news-filter-hero {
        padding: var(--spacing-md) 0;
    }

    .filter-hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .filter-hero-title {
        font-size: 1.75rem;
        gap: 0.75rem;
        margin-bottom: 0;
    }

    .filter-hero-title i {
        font-size: 1.5rem;
    }

    .filter-toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-controls,
    .filter-controls-compact {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }

    .filter-group,
    .filter-group-search {
        min-width: 100%;
        width: 100%;
    }

    .filter-group-submit,
    .filter-group-reset {
        width: 100%;
    }

    .filter-submit-btn,
    .filter-reset-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-select,
    .filter-input {
        font-size: 0.85rem;
        padding: 0.55rem 0.75rem;
    }

    .filter-label {
        font-size: 0.75rem;
    }

    .filter-toggle-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .active-filters-display {
        margin-top: var(--spacing-sm);
        padding-top: var(--spacing-sm);
    }

    .active-filters-label {
        display: block;
        margin-bottom: 0.5rem;
    }

    .active-filter-tags {
        display: flex;
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .filter-hero-title {
        font-size: 1.5rem;
        gap: 0.5rem;
    }

    .filter-hero-title i {
        font-size: 1.25rem;
    }

    .filter-select,
    .filter-input {
        font-size: 0.8rem;
        padding: 0.5rem 0.65rem;
    }

    .filter-label {
        font-size: 0.7rem;
    }

    .filter-submit-btn,
    .filter-reset-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .filter-toggle-btn {
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
    }

    .filter-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .filter-controls-compact {
        padding: 0.75rem;
    }
}

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

.pagination-wrapper {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--ps-gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    background: var(--ps-white);
    color: var(--ps-gray-dark);
    border: 2px solid var(--ps-gray-light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.5rem;
}

.pagination-link:hover:not(.pagination-disabled):not(.pagination-current) {
    background: var(--ps-blue-primary);
    color: var(--ps-white);
    border-color: var(--ps-blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 114, 206, 0.2);
}

.pagination-current {
    background: var(--ps-blue-primary);
    color: var(--ps-white);
    border-color: var(--ps-blue-primary);
    cursor: default;
    font-weight: 600;
}

.pagination-disabled {
    background: var(--ps-gray-light);
    color: var(--ps-gray);
    border-color: var(--ps-gray-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-prev,
.pagination-next {
    font-weight: 600;
}

.pagination-prev i,
.pagination-next i {
    font-size: 0.9rem;
}

.pagination-info {
    color: var(--ps-gray);
    font-size: 0.9rem;
    text-align: center;
    padding: 0.5rem 1rem;
    background: var(--ps-gray-light);
    border-radius: 8px;
}

/* Tablet and below */
@media (max-width: 991px) {
    .pagination-wrapper {
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-md);
    }

    .pagination-link {
        min-width: 40px;
        height: 40px;
        padding: 0 0.85rem;
        font-size: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pagination-wrapper {
        margin-top: var(--spacing-md);
    }

    .pagination-list {
        gap: 0.4rem;
    }

    .pagination-link {
        min-width: 38px;
        height: 38px;
        padding: 0 0.75rem;
        font-size: 0.85rem;
    }

    .pagination-prev,
    .pagination-next {
        padding: 0 0.75rem;
    }

    .pagination-info {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 0.6rem;
        font-size: 0.8rem;
    }

    /* Hide page number text on very small screens, only show icons */
    .pagination-prev span:not(.bi),
    .pagination-next span:not(.bi) {
        display: none;
    }

    /* Make prev/next buttons icon-only on small screens */
    .pagination-prev,
    .pagination-next {
        min-width: 36px;
        padding: 0;
    }

    .pagination-info {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
}
/* Feature Toggle Checkboxes */
.feature-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    user-select: none;
}

.feature-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc;
}

.feature-toggle span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-toggle input[type="checkbox"]:checked ~ span {
    color: #fff;
    font-weight: 500;
}

.feature-toggle:has(input:checked) {
    background: rgba(0, 102, 204, 0.2);
    border-color: rgba(0, 102, 204, 0.4);
}

/* Responsive Feature Toggles */
@media (max-width: 768px) {
    .feature-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .feature-toggle input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 575px) {
    .feature-toggle {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .feature-toggle input[type="checkbox"] {
        width: 15px;
        height: 15px;
    }
}
