/*
Theme Name: Thirdpark Games
Theme URI: https://thirdpark.games
Author: Thirdpark Games
Author URI: https://thirdpark.games
Description: Official theme for Thirdpark Games — an independent game studio dedicated to crafting pure fun and unique experiences.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thirdpark
Tags: gaming, minimalist, dark, custom-colors, custom-menu
*/

/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --primary-bg: #FFFFFF;
    --accent-color: #ff1414;
    --dark-color: #000000;
    --border-width: 2px;
}

/* ============================================================
   BASE
   ============================================================ */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--dark-color);
    overflow-x: hidden;
}

/* ============================================================
   LAYOUT CONTAINER
   ============================================================ */
.container-custom {
    max-width: 1440px;
    margin: 0 auto;
    border-left: var(--border-width) solid var(--dark-color);
    border-right: var(--border-width) solid var(--dark-color);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    border-bottom: var(--border-width) solid var(--dark-color);
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 700;
    color: var(--dark-color);
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item > a {
    color: var(--accent-color);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    height: 400px;
    background-color: #ffffff;
    background-image:
        linear-gradient(#e5e5e5 1px, transparent 1px),
        linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
    background-size: 40px 40px;
    border-bottom: var(--border-width) solid var(--dark-color);
    position: relative;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 400px;
    height: 400px;
    border: 3px solid var(--accent-color);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    right: 150px;
    bottom: -80px;
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    opacity: 0.08;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) rotate(45deg) translateX(0); }
    50%       { transform: translateY(-50%) rotate(45deg) translateX(30px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5rem;
}

.hero-content .mono {
    position: relative;
    display: inline-block;
    animation: slideDown 0.8s ease-out;
}

.hero-content .mono::before {
    content: '//';
    margin-right: 8px;
    color: var(--accent-color);
    font-weight: bold;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.accent-box {
    background: var(--accent-color);
    color: black;
    padding: 0 15px;
    display: inline-block;
    position: relative;
    animation: glitch 3s ease-in-out infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px,  2px); }
    94% { transform: translate( 2px, -2px); }
    96% { transform: translate(-2px, -2px); }
    98% { transform: translate( 2px,  2px); }
}

.hero-content p {
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-content .btn {
    animation: fadeIn 0.8s ease-out 0.6s backwards;
    position: relative;
    overflow: hidden;
}

.hero-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transition: left 0.5s ease;
    z-index: -1;
}

.hero-content .btn:hover::before { left: 0; }

.hero-content .btn:hover {
    color: black;
    border-color: var(--accent-color);
}

/* Decorative grid accent line */
.grid-accent {
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 180px;
    border-left: 2px solid var(--accent-color);
    border-top: 2px solid var(--accent-color);
    opacity: 0.3;
    animation: slideRight 0.8s ease-out;
}

@keyframes slideRight {
    from { opacity: 0; transform: translateY(-50%) translateX(-30px); }
    to   { opacity: 0.3; transform: translateY(-50%) translateX(0); }
}

.grid-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

/* Blinking cursor */
.blinking-cursor {
    display: inline-block;
    width: 4px;
    height: 0.9em;
    background: var(--dark-color);
    margin-left: 8px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    border-bottom: var(--border-width) solid var(--dark-color);
    background: white;
    padding: 3rem 2rem;
}

.section-header h2 {
    display: flex;
    align-items: center;
    font-size: 2.5rem;
}

.section-header h2 .section-icon {
    background: var(--dark-color);
    color: white;
    padding: 0.5rem 1rem;
    margin-right: 1.5rem;
    font-size: 1.5rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: white;
    border-bottom: var(--border-width) solid var(--dark-color);
    padding: 4rem 2rem;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-top: 1.5rem;
}

/* ============================================================
   GAME CARDS
   ============================================================ */
.game-card {
    border: var(--border-width) solid var(--dark-color);
    overflow: hidden;
    position: relative;
    background: white;
    height: 100%;
    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--dark-color);
}

.steam-ratio {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.steam-ratio img {
    width: 100%;
    object-fit: cover;
    filter: none;
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.game-card:hover .steam-ratio img {
    transform: scale(1.05);
}

.game-title {
    color: black;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
    display: inline-block;
    padding: 2px 0;
}

.game-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.game-title:hover { color: var(--accent-color); }
.game-title:hover::after { width: 100%; }

.tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid var(--dark-color);
    padding: 6px 14px;
    margin-right: 8px;
    margin-bottom: 5px;
    color: var(--dark-color);
    background: white;
    transition: 0.3s;
    display: inline-block;
}

.tag:hover {
    background: var(--dark-color);
    color: white;
}

/* ============================================================
   GAME STATUS BADGES
   ============================================================ */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.status-live  { background: #00ff00; color: black; }
.status-beta  { background: #ffaa00; color: black; }
.status-dev   { background: #333; color: white; }
.status-soon  { border: 2px solid var(--accent-color); color: var(--accent-color); background: transparent; }

.game-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

/* ============================================================
   DEV PROGRESS BAR
   ============================================================ */
.dev-progress {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.progress-bar-custom {
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border: 2px solid var(--dark-color);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 1s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* ============================================================
   DEVLOG / BLOG CARDS
   ============================================================ */
.devlog-card {
    border: var(--border-width) solid transparent;
    padding: 0;
    transition: 0.3s;
    background: white;
    height: 100%;
    overflow: hidden;
    border:2px #000 solid;
}

.devlog-card:hover {
    border-color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--dark-color);
}

.devlog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: var(--border-width) solid var(--dark-color);
}

.devlog-content { padding: 1.5rem; }

.devlog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.devlog-category {
    background: var(--accent-color);
    color: black;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.devlog-empty {
    border: var(--border-width) dashed #ccc;
    padding: 4rem 2rem;
    text-align: center;
    background: #fafafa;
}

.devlog-empty-icon {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ccc;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.devlog-empty-title {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.devlog-empty-sub {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   MID-PAGE SOCIAL SECTION
   ============================================================ */
.social-section {
    background: white;
    padding: 3rem 2rem;
    border-bottom: var(--border-width) solid var(--dark-color);
}

.social-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid var(--dark-color);
    background: white;
    color: var(--dark-color);
    font-size: 2rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icon-large:hover {
    background: var(--dark-color);
    color: white;
    transform: translateY(-5px);
}

.social-icon-large.youtube:hover  { background: #ff0000; border-color: #ff0000; color: white; }
.social-icon-large.twitter:hover  { background: #1da1f2; border-color: #1da1f2; color: white; }
.social-icon-large.bilibili:hover { background: #00a1d6; border-color: #00a1d6; color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: white;
    padding: 2rem;
    border-top: var(--border-width) solid var(--dark-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-icons a {
    color: black;
    margin: 0 10px;
    font-size: 1.1rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover { color: var(--accent-color); }

.social-icons .bilibili-footer-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* ============================================================
   GAME DETAIL PAGE
   ============================================================ */
.game-detail-hero {
    background-color: #ffffff;
    background-image:
        linear-gradient(#e5e5e5 1px, transparent 1px),
        linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
    background-size: 40px 40px;
    border-bottom: var(--border-width) solid var(--dark-color);
}

.game-detail-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.game-detail-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-primary-custom {
    background: var(--accent-color);
    color: white !important;
    border: var(--border-width) solid var(--accent-color);
    padding: 14px 17px;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background: white;
    color: var(--accent-color) !important;
}

.btn-secondary-custom {
    background: white;
    color: var(--dark-color) !important;
    border: var(--border-width) solid var(--dark-color);
    padding: 14px 32px;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-secondary-custom:hover {
    background: var(--dark-color);
    color: white !important;
}

/* ── Game detail content body ───────────────────────────────── */
.game-detail-content {
    background: white;
    border-bottom: var(--border-width) solid var(--dark-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--dark-color);
}

.game-content-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
}

.game-content-body p    { margin-bottom: 1.4rem; }
.game-content-body h2,
.game-content-body h3   { font-weight: 900; text-transform: uppercase; margin-top: 2rem; margin-bottom: 1rem; }

/* ============================================================
   ARTICLE / SINGLE POST
   ============================================================ */

/* Header / Hero — full-viewport image with bottom gradient overlay */
/* ── ARTICLE HEADER ──────────────────────────────────────── */
.article-header {
    background: var(--primary-bg);
    padding: 3.5rem 2rem 0;
    border-bottom: var(--border-width) solid var(--dark-color);
    overflow: hidden;
}

.article-header-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 3rem;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.article-back-link:hover { color: var(--dark-color); }

.article-header-category {
    display: block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
}

/* Badge-style category used in related cards */
.article-category {
    background: var(--accent-color);
    color: black;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #888;
}

.article-meta-item i { color: var(--accent-color); }

/* Featured image */
.article-featured-image-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.article-featured-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    border: none;
    margin: 0;
}

/* Body content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    letter-spacing: -1px;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--dark-color);
}

.article-content h3 {
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.article-content p   { margin-bottom: 1.5rem; color: #333; }
.article-content ul,
.article-content ol  { margin-bottom: 2rem; padding-left: 2rem; }
.article-content li  { margin-bottom: 0.75rem; color: #333; }

.article-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #f8f8f8;
    font-style: italic;
    font-size: 1.15rem;
}

.article-content img {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border: var(--border-width) solid var(--dark-color);
}

.article-content code {
    background: #f5f5f5;
    padding: 2px 8px;
    border: 1px solid #ddd;
    font-family: 'Space Mono', monospace;
    font-size: 0.9em;
    color: var(--accent-color);
}

.article-content pre {
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 1.5rem;
    border: var(--border-width) solid var(--dark-color);
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: transparent;
    border: none;
    color: #f5f5f5;
    padding: 0;
}

/* Highlight box */
.highlight-box {
    background: var(--dark-color);
    color: white;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: var(--accent-color);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.highlight-box p { margin-bottom: 0; }

/* Tags */
.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: var(--border-width) solid var(--dark-color);
}

/* Author box */
.author-box {
    border: var(--border-width) solid var(--dark-color);
    padding: 2rem;
    margin: 3rem 0;
    background: #f8f8f8;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border: var(--border-width) solid var(--dark-color);
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    font-weight: 900;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border: none;
}

.author-info h4 {
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.author-info p { color: #666; margin-bottom: 0; font-size: 0.9rem; }

/* Share */
.share-section {
    border-top: var(--border-width) solid var(--dark-color);
    border-bottom: var(--border-width) solid var(--dark-color);
    padding: 2rem;
    text-align: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--dark-color);
    background: white;
    color: var(--dark-color);
    margin: 0 4px;
    transition: 0.2s;
    text-decoration: none;
    font-size: 1.1rem;
}

.share-btn:hover { background: var(--dark-color); color: white; }

/* Related articles */
.related-articles {
    padding: 4rem 2rem;
    border-bottom: var(--border-width) solid var(--dark-color);
}

.related-card {
    border: var(--border-width) solid var(--dark-color);
    overflow: hidden;
    transition: 0.3s;
    background: white;
    height: 100%;
    text-decoration: none;
    display: block;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 var(--dark-color);
    color: inherit;
}

.related-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: var(--border-width) solid var(--dark-color);
    display: block;
}

.related-card-content { padding: 1.5rem; }

.related-card-title {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    transition: 0.2s;
    display: block;
}

.related-card:hover .related-card-title { color: var(--accent-color); }

/* Back button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--dark-color);
    background: white;
    color: var(--dark-color);
    padding: 10px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    transition: 0.2s;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.back-button:hover { background: var(--dark-color); color: white; }

.back-button--light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.9);
}
.back-button--light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* ── Gallery Carousel (right panel on detail page) ─────────── */
#gameCarousel {
    border: var(--border-width) solid var(--dark-color);
    background: #111;
    overflow: hidden;
}

#gameCarousel .carousel-inner,
#gameCarousel .carousel-item {
    height: 100%;
}

#gameCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#gameCarousel .carousel-control-prev,
#gameCarousel .carousel-control-next {
    width: 40px;
    background: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

#gameCarousel .carousel-control-prev:hover,
#gameCarousel .carousel-control-next:hover {
    background: none;
    opacity: 1;
}

#gameCarousel .carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
}

#gameCarousel .carousel-indicators .active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* ── Card cover image link ──────────────────────────────────── */
.game-card .steam-ratio a,
.game-card > a.d-block {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding-left: 1rem;
    margin-left: 1rem !important;
    border-left: var(--border-width) solid #e0e0e0;
}

.lang-switcher .nav-item { line-height: 1; }

nav .lang-switcher .lang-btn,
nav .lang-switcher a.lang-btn,
.lang-switcher .lang-btn,
.navbar-nav .lang-switcher a.lang-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Space Mono', monospace;
    color: #999 !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    transition: all 0.2s;
    letter-spacing: 0;
    padding: 0 !important;
    line-height: 1;
}

nav .lang-switcher .lang-btn:hover,
.lang-switcher .lang-btn:hover,
.navbar-nav .lang-switcher a.lang-btn:hover {
    color: var(--dark-color) !important;
    border-color: var(--dark-color) !important;
    background: transparent !important;
}

nav .lang-switcher .lang-btn--active,
.lang-switcher .lang-btn--active,
.navbar-nav .lang-switcher a.lang-btn--active {
    color: white !important;
    border: var(--border-width) solid var(--dark-color) !important;
    background: var(--dark-color) !important;
}

nav .lang-switcher .lang-btn--active:hover,
.lang-switcher .lang-btn--active:hover,
.navbar-nav .lang-switcher a.lang-btn--active:hover {
    color: white !important;
    background: var(--dark-color) !important;
}

.lang-switcher .lang-btn--disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 11px;
    font-weight: 800;
    font-family: 'Space Mono', monospace;
    color: #ccc !important;
    cursor: not-allowed;
    border: 1px solid transparent;
    padding: 0;
    line-height: 1;
    letter-spacing: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero-content { padding: 0 2rem; }
    .hero-title { font-size: 2.8rem; letter-spacing: -2px; }
    .grid-accent { display: none; }
    .footer-content { justify-content: center; text-align: center; }
    .gmb-padding {padding:0 !important; }
    .tp-game-detail-msg {padding: 1rem !important;}
    .action-buttons {gap: inherit;}
    .btn-primary-custom {margin-right: 1rem;}
    .section-header {padding: 1rem;}
    #blog {padding: 1.2rem !important;}
}
