﻿/* ============================================
   Uahdoa - Comic Doodle Theme Common Styles
   Domain: uahdoa.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:wght@400;700&family=Patrick+Hand&display=swap');

/* --- CSS Variables --- */
:root {
    --uh-bg: #FFF9F0;
    --uh-bg-alt: #FFF3E0;
    --uh-surface: #FFFFFF;
    --uh-text: #2D3436;
    --uh-text-light: #636E72;
    --uh-text-muted: #9CA3AF;
    --uh-primary: #FF6B6B;
    --uh-primary-dark: #E55A5A;
    --uh-secondary: #4ECDC4;
    --uh-secondary-dark: #3DBDB4;
    --uh-accent: #FFE66D;
    --uh-highlight: #A85AFF;
    --uh-orange: #FF9F43;
    --uh-pink: #FD79A8;
    --uh-border: #2D3436;
    --uh-border-light: #DFE6E9;
    --uh-shadow: #2D3436;
    --uh-radius: 14px;
    --uh-radius-lg: 20px;
    --uh-radius-sm: 8px;
    --uh-font-body: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    --uh-font-heading: 'Bangers', 'Comic Neue', cursive;
    --uh-font-hand: 'Patrick Hand', 'Comic Neue', cursive;
    --uh-border-width: 2.5px;
    --uh-transition: 0.25s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--uh-font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--uh-text);
    background-color: var(--uh-bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(168, 90, 255, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--uh-primary);
    text-decoration: none;
    transition: color var(--uh-transition);
}

a:hover {
    color: var(--uh-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--uh-font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Utility --- */
.uh-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.uh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* --- Comic Sketch Filter (SVG-based hand-drawn effect) --- */
.uh-sketch-filter {
    position: absolute;
    width: 0;
    height: 0;
}

/* --- Navbar --- */
.uh-navbar {
    background: var(--uh-surface);
    border-bottom: var(--uh-border-width) solid var(--uh-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 0 rgba(45, 52, 54, 0.08);
}

.uh-navbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.uh-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--uh-text);
}

.uh-navbar-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: var(--uh-border-width) solid var(--uh-border);
    object-fit: cover;
    box-shadow: 2px 2px 0 var(--uh-border);
    transition: transform var(--uh-transition);
}

.uh-navbar-brand:hover .uh-navbar-logo {
    transform: rotate(-5deg) scale(1.05);
}

.uh-navbar-title {
    font-family: var(--uh-font-heading);
    font-size: 28px;
    letter-spacing: 1.5px;
    color: var(--uh-primary);
    text-shadow: 2px 2px 0 var(--uh-accent);
}

.uh-navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.uh-nav-link {
    font-family: var(--uh-font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--uh-text);
    padding: 8px 14px;
    border-radius: var(--uh-radius-sm);
    border: 2px solid transparent;
    transition: all var(--uh-transition);
    text-decoration: none;
    position: relative;
}

.uh-nav-link:hover,
.uh-nav-link[data-active="true"] {
    color: var(--uh-primary);
    background: rgba(255, 107, 107, 0.08);
    border-color: var(--uh-primary);
    transform: translateY(-2px);
}

.uh-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--uh-primary);
    border-radius: 2px;
    transition: all var(--uh-transition);
    transform: translateX(-50%);
}

.uh-nav-link:hover::after {
    width: 60%;
}

.uh-navbar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius-sm);
    align-items: center;
    justify-content: center;
    background: var(--uh-accent);
    box-shadow: 2px 2px 0 var(--uh-border);
    transition: transform var(--uh-transition);
}

.uh-navbar-toggle:hover {
    transform: rotate(5deg);
}

.uh-navbar-toggle-icon {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--uh-border);
    border-radius: 2px;
    position: relative;
}

.uh-navbar-toggle-icon::before,
.uh-navbar-toggle-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2.5px;
    background: var(--uh-border);
    border-radius: 2px;
    left: 0;
}

.uh-navbar-toggle-icon::before { top: -6px; }
.uh-navbar-toggle-icon::after { top: 6px; }

/* Mobile Nav */
.uh-mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--uh-bg);
    z-index: 999;
    padding: 20px;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    border-top: var(--uh-border-width) solid var(--uh-border);
}

.uh-mobile-nav.uh-mobile-nav--open {
    display: flex;
}

.uh-mobile-nav .uh-nav-link {
    font-size: 17px;
    padding: 12px 16px;
    border: var(--uh-border-width) solid var(--uh-border-light);
    border-radius: var(--uh-radius);
    background: var(--uh-surface);
    box-shadow: 2px 2px 0 rgba(45, 52, 54, 0.06);
}

/* --- Main Wrapper --- */
.uh-main-wrapper {
    min-height: calc(100vh - 68px);
}

.uh-main {
    padding: 30px 0 60px;
}

/* --- Comic Card Style (shared) --- */
.uh-comic-card {
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--uh-border);
    transition: transform var(--uh-transition), box-shadow var(--uh-transition);
    position: relative;
}

.uh-comic-card:hover {
    transform: translate(-2px, -2px) rotate(-0.5deg);
    box-shadow: 5px 5px 0 var(--uh-border);
}

/* --- Game Card --- */
.uh-game-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.uh-game-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: var(--uh-border-width) solid var(--uh-border);
}

.uh-game-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.uh-game-card:hover .uh-game-card-thumb img {
    transform: scale(1.06);
}

.uh-game-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--uh-font-heading);
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    border: 2px solid var(--uh-border);
    color: #fff;
    box-shadow: 1px 1px 0 var(--uh-border);
}

.uh-badge-hot { background: var(--uh-primary); }
.uh-badge-new { background: var(--uh-secondary); }
.uh-badge-pick { background: var(--uh-highlight); }

.uh-game-card-body {
    padding: 10px 12px 14px;
}

.uh-game-card-name {
    font-family: var(--uh-font-heading);
    font-size: 17px;
    letter-spacing: 0.5px;
    color: var(--uh-text);
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uh-game-card-meta {
    font-size: 13px;
    color: var(--uh-text-light);
}

/* --- Game Grid --- */
.uh-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.uh-game-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

/* --- Section Title --- */
.uh-section-title {
    font-family: var(--uh-font-heading);
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--uh-text);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.uh-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--uh-accent);
    border-radius: 2px;
}

/* --- Channel Banner --- */
.uh-channel-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius-lg);
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 4px 4px 0 var(--uh-border);
}

.uh-channel-icon-lg {
    font-size: 48px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--uh-accent);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    box-shadow: 2px 2px 0 var(--uh-border);
    flex-shrink: 0;
}

.uh-channel-info {
    flex: 1;
}

.uh-channel-name {
    font-family: var(--uh-font-heading);
    font-size: 32px;
    letter-spacing: 1px;
    color: var(--uh-text);
    margin-bottom: 4px;
}

.uh-channel-count {
    font-size: 15px;
    color: var(--uh-text-light);
}

.uh-game-count {
    font-family: var(--uh-font-hand);
    font-size: 17px;
    color: var(--uh-text-light);
    margin-bottom: 18px;
}

/* --- Channel Recommend --- */
.uh-channel-recommend {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed var(--uh-border-light);
}

/* --- Back to Top --- */
.uh-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 900;
}

.uh-back-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    box-shadow: 3px 3px 0 var(--uh-border);
    font-size: 18px;
    color: var(--uh-text);
    text-decoration: none;
    transition: all var(--uh-transition);
}

.uh-back-btn:hover {
    background: var(--uh-accent);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--uh-border);
}

/* --- Detail Page --- */
.uh-detail-hero {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
}

.uh-detail-cover {
    width: 320px;
    flex-shrink: 0;
}

.uh-detail-cover img {
    width: 100%;
    border-radius: var(--uh-radius);
    border: var(--uh-border-width) solid var(--uh-border);
    box-shadow: 4px 4px 0 var(--uh-border);
}

.uh-detail-info {
    flex: 1;
}

.uh-detail-title {
    font-family: var(--uh-font-heading);
    font-size: 36px;
    letter-spacing: 1px;
    color: var(--uh-text);
    margin-bottom: 12px;
}

.uh-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.uh-detail-tag {
    font-family: var(--uh-font-hand);
    font-size: 14px;
    padding: 4px 14px;
    background: var(--uh-bg-alt);
    border: 2px solid var(--uh-border);
    border-radius: 20px;
    color: var(--uh-text-light);
    box-shadow: 1px 1px 0 var(--uh-border);
}

.uh-detail-desc {
    font-size: 15px;
    line-height: 1.75;
    color: var(--uh-text);
    margin-bottom: 20px;
}

.uh-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.uh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--uh-font-heading);
    font-size: 18px;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    text-decoration: none;
    color: #fff;
    box-shadow: 3px 3px 0 var(--uh-border);
    transition: all var(--uh-transition);
}

.uh-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--uh-border);
    color: #fff;
}

.uh-btn-primary { background: var(--uh-primary); }
.uh-btn-secondary { background: var(--uh-secondary); }
.uh-btn-accent {
    background: var(--uh-accent);
    color: var(--uh-text);
}

/* --- Related Games --- */
.uh-related-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed var(--uh-border-light);
}

/* --- Play Page --- */
.uh-play-frame-wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 24px;
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius-lg);
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--uh-border);
    background: #000;
}

.uh-play-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.uh-play-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--uh-surface);
    border-top: var(--uh-border-width) solid var(--uh-border);
}

.uh-play-info-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.uh-play-back-link {
    font-family: var(--uh-font-hand);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--uh-text-light);
    text-decoration: none;
    border: 2px solid var(--uh-border-light);
    border-radius: 20px;
    padding: 6px 16px;
    transition: all var(--uh-transition);
}

.uh-play-back-link:hover {
    border-color: var(--uh-primary);
    color: var(--uh-primary);
}

/* --- Legal / Content Pages --- */
.uh-legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.uh-legal-header {
    text-align: center;
    margin-bottom: 36px;
    padding: 32px 20px;
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius-lg);
    box-shadow: 4px 4px 0 var(--uh-border);
}

.uh-legal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.uh-legal-title {
    font-family: var(--uh-font-heading);
    font-size: 36px;
    letter-spacing: 1px;
    color: var(--uh-text);
    margin-bottom: 8px;
}

.uh-legal-updated {
    font-family: var(--uh-font-hand);
    font-size: 16px;
    color: var(--uh-text-muted);
}

.uh-legal-body {
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius-lg);
    padding: 32px;
    box-shadow: 4px 4px 0 var(--uh-border);
    margin-bottom: 40px;
}

.uh-legal-body h2 {
    font-family: var(--uh-font-heading);
    font-size: 24px;
    letter-spacing: 0.5px;
    color: var(--uh-primary);
    margin: 28px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px dashed var(--uh-accent);
}

.uh-legal-body h2:first-child {
    margin-top: 0;
}

.uh-legal-body p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--uh-text);
}

.uh-legal-body ul {
    margin: 10px 0 16px 20px;
}

.uh-legal-body li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--uh-text);
}

.uh-legal-body li::marker {
    color: var(--uh-primary);
}

.uh-legal-body a {
    color: var(--uh-primary);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-underline-offset: 3px;
}

/* --- FAQ --- */
.uh-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.uh-faq-item {
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--uh-border);
    transition: transform var(--uh-transition);
}

.uh-faq-item:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--uh-border);
}

.uh-faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    font-family: var(--uh-font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--uh-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background var(--uh-transition);
}

.uh-faq-question:hover {
    background: rgba(255, 230, 109, 0.15);
}

.uh-faq-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--uh-primary);
}

.uh-faq-item.uh-faq-open .uh-faq-arrow {
    transform: rotate(180deg);
}

.uh-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--uh-text-light);
}

.uh-faq-item.uh-faq-open .uh-faq-answer {
    max-height: 600px;
    padding: 0 20px 18px;
}

/* --- Footer --- */
.uh-footer {
    background: var(--uh-surface);
    border-top: var(--uh-border-width) solid var(--uh-border);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.uh-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.uh-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 28px;
}

.uh-footer-brand-desc {
    font-size: 14px;
    color: var(--uh-text-light);
    line-height: 1.7;
    margin-top: 10px;
}

.uh-footer-brand-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--uh-font-heading);
    font-size: 22px;
    color: var(--uh-primary);
    letter-spacing: 1px;
}

.uh-footer-brand-name img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid var(--uh-border);
    object-fit: cover;
}

.uh-footer-col-title {
    font-family: var(--uh-font-heading);
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--uh-text);
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px dashed var(--uh-accent);
    display: inline-block;
}

.uh-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uh-footer-links a {
    font-size: 14px;
    color: var(--uh-text-light);
    text-decoration: none;
    transition: color var(--uh-transition);
    padding: 2px 0;
}

.uh-footer-links a:hover {
    color: var(--uh-primary);
}

.uh-footer-bottom {
    border-top: 2px solid var(--uh-border-light);
    padding-top: 18px;
    text-align: center;
}

.uh-footer-bottom p {
    font-size: 13px;
    color: var(--uh-text-muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.uh-footer-bottom a {
    color: var(--uh-primary);
}

/* --- 404 Page --- */
.uh-404-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 20px;
    text-align: center;
}

.uh-404-code {
    font-family: var(--uh-font-heading);
    font-size: 120px;
    color: var(--uh-primary);
    text-shadow: 4px 4px 0 var(--uh-accent), 8px 8px 0 rgba(45, 52, 54, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.uh-404-msg {
    font-family: var(--uh-font-hand);
    font-size: 24px;
    color: var(--uh-text-light);
    margin-bottom: 28px;
}

.uh-404-doodle {
    font-size: 80px;
    margin-bottom: 20px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--uh-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--uh-primary);
    border-radius: 6px;
    border: 2px solid var(--uh-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--uh-primary-dark);
}

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
    .uh-navbar-links { display: none; }
    .uh-navbar-toggle { display: flex; }

    .uh-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .uh-detail-hero {
        flex-direction: column;
    }

    .uh-detail-cover {
        width: 100%;
        max-width: 400px;
    }

    .uh-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
        gap: 16px;
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
    .uh-navbar-inner { height: 60px; }
    .uh-navbar-title { font-size: 22px; }
    .uh-navbar-logo { width: 36px; height: 36px; }

    .uh-section-title { font-size: 24px; }
    .uh-channel-name { font-size: 26px; }
    .uh-channel-banner { padding: 18px; gap: 14px; }
    .uh-channel-icon-lg { width: 56px; height: 56px; font-size: 36px; }

    .uh-detail-title { font-size: 28px; }
    .uh-legal-title { font-size: 28px; }
    .uh-legal-body { padding: 20px; }

    .uh-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .uh-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .uh-404-code { font-size: 80px; }
    .uh-404-msg { font-size: 20px; }
}

@media (max-width: 380px) {
    .uh-container { padding: 0 12px; }
    .uh-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .uh-game-card-name { font-size: 14px; }
    .uh-btn { padding: 10px 18px; font-size: 15px; }
}

/* --- Breadcrumb --- */
.uh-breadcrumb {
    font-family: var(--uh-font-hand);
    font-size: 14px;
    color: var(--uh-text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.uh-breadcrumb a {
    color: var(--uh-text-light);
    text-decoration: none;
    transition: color var(--uh-transition);
}

.uh-breadcrumb a:hover {
    color: var(--uh-primary);
}

.uh-breadcrumb-sep {
    color: var(--uh-text-muted);
    font-size: 16px;
}

/* --- Game Detail --- */
.uh-game-detail {
    margin-bottom: 40px;
}

.uh-game-detail-main {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
}

.uh-game-detail-cover {
    width: 300px;
    flex-shrink: 0;
}

.uh-game-detail-cover img {
    width: 100%;
    border-radius: var(--uh-radius);
    border: var(--uh-border-width) solid var(--uh-border);
    box-shadow: 4px 4px 0 var(--uh-border);
}

.uh-game-detail-meta {
    flex: 1;
}

.uh-game-detail-title {
    font-family: var(--uh-font-heading);
    font-size: 34px;
    letter-spacing: 1px;
    color: var(--uh-text);
    margin-bottom: 10px;
}

.uh-game-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.uh-tag {
    font-family: var(--uh-font-hand);
    font-size: 14px;
    padding: 4px 14px;
    background: var(--uh-bg-alt);
    border: 2px solid var(--uh-border);
    border-radius: 20px;
    color: var(--uh-text-light);
    box-shadow: 1px 1px 0 var(--uh-border);
}

.uh-tag--date {
    background: rgba(78, 205, 196, 0.1);
    border-color: var(--uh-secondary);
    color: var(--uh-secondary-dark);
}

.uh-game-detail-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--uh-text);
    margin-bottom: 20px;
}

.uh-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--uh-font-heading);
    font-size: 20px;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    background: var(--uh-primary);
    color: #fff;
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--uh-border);
    transition: all var(--uh-transition);
}

.uh-play-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--uh-border);
    color: #fff;
}

/* --- Detail Info Bar --- */
.uh-detail-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.uh-detail-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--uh-surface);
    border: 2px solid var(--uh-border-light);
    border-radius: 24px;
    color: var(--uh-text-light);
}

.uh-detail-info-chip strong {
    color: var(--uh-text);
}

.uh-detail-info-chip-icon {
    font-size: 16px;
}

/* --- Detail Features --- */
.uh-detail-block-title {
    font-family: var(--uh-font-heading);
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--uh-text);
    margin-bottom: 16px;
}

.uh-detail-features {
    margin-bottom: 28px;
}

.uh-detail-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.uh-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    box-shadow: 2px 2px 0 var(--uh-border);
}

.uh-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.uh-feature-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--uh-text);
}

.uh-feature-text p {
    font-size: 13px;
    color: var(--uh-text-light);
    line-height: 1.6;
    margin: 0;
}

/* --- Detail Sections (How to Play, Tips) --- */
.uh-detail-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.uh-detail-section-card {
    background: var(--uh-surface);
    border: var(--uh-border-width) solid var(--uh-border);
    border-radius: var(--uh-radius);
    padding: 20px;
    box-shadow: 3px 3px 0 var(--uh-border);
}

.uh-detail-section-card h3 {
    font-family: var(--uh-font-heading);
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--uh-text);
    margin-bottom: 10px;
}

.uh-detail-section-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--uh-text-light);
    margin: 0;
}

/* --- Detail Controls --- */
.uh-detail-controls {
    margin-bottom: 28px;
}

.uh-controls-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uh-control-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--uh-bg-alt);
    border: 2px solid var(--uh-border-light);
    border-radius: var(--uh-radius-sm);
}

.uh-control-key {
    font-family: var(--uh-font-heading);
    font-size: 14px;
    color: var(--uh-primary);
}

.uh-control-action {
    font-size: 13px;
    color: var(--uh-text-light);
}

/* --- Detail Related --- */
.uh-detail-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px dashed var(--uh-border-light);
}

.uh-detail-related-title {
    font-family: var(--uh-font-heading);
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--uh-text);
    margin-bottom: 18px;
}

/* --- Detail Page Responsive --- */
@media (max-width: 1024px) {
    .uh-game-detail-main {
        flex-direction: column;
    }

    .uh-game-detail-cover {
        width: 100%;
        max-width: 380px;
    }

    .uh-detail-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .uh-game-detail-title { font-size: 26px; }
    .uh-detail-info-bar { gap: 8px; }
    .uh-detail-info-chip { font-size: 13px; padding: 6px 12px; }
    .uh-detail-features-grid { grid-template-columns: 1fr; }
}

/* --- Load More Button --- */
.uh-load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

/* --- Tag Cloud Count --- */
.uh-tag-cloud-count {
    display: inline-block;
    font-size: 11px;
    background: var(--uh-primary);
    color: #fff;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 4px;
    vertical-align: middle;
}
