/* ===== PlayHub — FORBIDDEN VAULT EDITION ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
    --bg-deep: #060208;
    --bg-surface: #0c0614;
    --bg-card: rgba(20, 8, 35, 0.85);
    --bg-card-hover: rgba(35, 15, 55, 0.95);
    --glass-border: rgba(255, 255, 255, 0.05);
    --accent: #ff1a6c;
    --accent-glow: rgba(255, 26, 108, 0.35);
    --accent2: #9b00ff;
    --accent2-glow: rgba(155, 0, 255, 0.25);
    --gold: #ffd700;
    --gold-glow: rgba(255, 215, 0, 0.2);
    --green: #00ff88;
    --cyan: #00e5ff;
    --red: #ff3355;
    --text-primary: #f0e8ff;
    --text-muted: #9585ad;
    --text-dim: #5a4570;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Rajdhani', -apple-system, sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --radius: 16px;
    --radius-sm: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155, 0, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 26, 108, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== LAYOUT ===== */
.ph-layout {
    display: grid;
    grid-template-columns: 220px 1fr 180px;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

/* ===== TOPBAR ===== */
.ph-topbar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 60px;
    background: linear-gradient(180deg, rgba(12, 6, 20, 0.98), rgba(6, 2, 8, 0.95));
    border-bottom: 1px solid rgba(255, 26, 108, 0.1);
    backdrop-filter: blur(25px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ph-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.ph-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.8rem;
    color: #fff;
    box-shadow: 0 0 25px var(--accent-glow), inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 35px var(--accent-glow), 0 0 60px rgba(155, 0, 255, 0.15);
    }
}

.ph-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.ph-logo-sub {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ph-nav {
    display: flex;
    gap: 3px;
}

.ph-nav-link {
    padding: 7px 15px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 20px;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ph-nav-link:hover,
.ph-nav-link.active {
    background: rgba(255, 26, 108, 0.1);
    color: var(--accent);
}

.ph-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ph-search {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 26, 108, 0.15);
    border-radius: 25px;
    padding: 8px 18px;
    color: #fff;
    font-size: 0.8rem;
    font-family: var(--font-body);
    outline: none;
    width: 200px;
    transition: 0.4s;
}

.ph-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    width: 240px;
}

.ph-time {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ===== SIDEBAR ===== */
.ph-sidebar {
    background: linear-gradient(180deg, var(--bg-surface), rgba(6, 2, 8, 0.98));
    border-right: 1px solid rgba(155, 0, 255, 0.08);
    padding: 24px 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

.ph-sidebar-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    position: relative;
    padding-left: 12px;
}

.ph-sidebar-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 4px;
    height: 12px;
    background: var(--gold);
    border-radius: 2px;
}

.ph-cat-list {
    list-style: none;
}

.ph-cat-item {
    margin-bottom: 1px;
}

.ph-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: 0.25s;
    text-decoration: none;
    border-left: 2px solid transparent;
}

.ph-cat-link:hover {
    background: rgba(255, 26, 108, 0.06);
    color: var(--text-primary);
    border-left-color: var(--accent);
    padding-left: 14px;
}

.ph-cat-link.active {
    background: rgba(255, 26, 108, 0.08);
    color: var(--accent);
    font-weight: 600;
    border-left-color: var(--accent);
}

.ph-cat-count {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background: rgba(255, 26, 108, 0.08);
    padding: 2px 8px;
    border-radius: 10px;
    color: var(--accent);
}

.ph-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.ph-stat-label {
    color: var(--text-dim);
}

.ph-stat-value {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.ph-stat-value.accent {
    color: var(--accent);
}

.ph-stat-value.green {
    color: var(--green);
}

.ph-big-icon {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(255, 26, 108, 0.06), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-top: auto;
    letter-spacing: -3px;
}

/* ===== MAIN CONTENT ===== */
.ph-main {
    padding: 28px 30px;
    overflow-y: auto;
}

.ph-ad {
    background: linear-gradient(135deg, rgba(255, 26, 108, 0.03), rgba(155, 0, 255, 0.03));
    border: 1px dashed rgba(255, 26, 108, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin: 24px 0;
}

.ph-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
}

.ph-section-title {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.ph-section-count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent);
    background: rgba(255, 26, 108, 0.08);
    padding: 3px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
}

/* ===== TOPLIST CARDS — UNIQUE DESIGN ===== */
.ph-toplist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 16px;
}

.ph-card {
    background: var(--bg-card);
    border: 1px solid rgba(155, 0, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
}

.ph-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 40%, rgba(255, 26, 108, 0.06) 100%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.ph-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 26, 108, 0.2), 0 0 0 1px rgba(255, 26, 108, 0.3);
}

.ph-card:hover::before {
    opacity: 1;
}

.ph-card-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 26, 108, 0.9), rgba(155, 0, 255, 0.9));
    color: #fff;
    padding: 3px 9px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 26, 108, 0.4);
}

.ph-card-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    filter: brightness(0.8) saturate(1.3) contrast(1.1);
    transition: 0.5s;
}

.ph-card:hover .ph-card-img {
    filter: brightness(1.05) saturate(1.5);
    transform: scale(1.05);
}

.ph-card-body {
    padding: 12px 14px 8px;
    position: relative;
    z-index: 2;
}

.ph-card-cat {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 5px;
}

.ph-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ph-card-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.ph-card-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--gold));
    background-size: 200% 100%;
    animation: barShimmer 3s ease-in-out infinite;
}

@keyframes barShimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.ph-card-meta {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px 12px;
    font-size: 0.62rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    position: relative;
    z-index: 2;
}

/* ===== RIGHT PANEL ===== */
.ph-right {
    background: linear-gradient(180deg, var(--bg-surface), rgba(6, 2, 8, 0.98));
    border-left: 1px solid rgba(155, 0, 255, 0.08);
    padding: 24px 12px;
    overflow-y: auto;
}

.ph-vertical-label {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.ph-right-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: 0.2s;
}

.ph-right-item:hover {
    padding-left: 4px;
}

.ph-right-num {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent);
    width: 20px;
    text-align: right;
}

.ph-right-name {
    flex: 1;
}

.ph-right-name a {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ph-right-name a:hover {
    color: var(--gold);
}

.ph-right-bar {
    width: 35px;
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 2px;
}

.ph-right-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ===== DISPATCH LOG ===== */
.ph-dispatch {
    background: var(--bg-card);
    border: 1px solid rgba(155, 0, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}

.ph-dispatch-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 26, 108, 0.08);
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.ph-live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--accent-glow);
    }

    50% {
        opacity: 0.3;
        box-shadow: 0 0 3px var(--accent-glow);
    }
}

.ph-dispatch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.015);
    font-size: 0.82rem;
    transition: 0.2s;
}

.ph-dispatch-item:hover {
    background: rgba(255, 26, 108, 0.03);
    padding-left: 22px;
}

.ph-dispatch-time {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    min-width: 55px;
}

.ph-dispatch-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 65px;
    text-align: center;
}

.ph-dispatch-tag.hot {
    background: rgba(255, 26, 108, 0.15);
    color: var(--accent);
}

.ph-dispatch-tag.new {
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
}

.ph-dispatch-tag.trend {
    background: rgba(155, 0, 255, 0.12);
    color: var(--accent2);
}

.ph-dispatch-tag.pop {
    background: rgba(0, 255, 136, 0.08);
    color: var(--green);
}

.ph-dispatch-tag.feat {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
}

.ph-dispatch-link {
    color: var(--text-muted);
    text-decoration: none;
    flex: 1;
}

.ph-dispatch-link:hover {
    color: var(--accent);
}

/* ===== TAG CLOUD ===== */
.ph-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ph-tag {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(155, 0, 255, 0.08);
    border-radius: 25px;
    padding: 5px 16px;
    font-size: 0.73rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

.ph-tag:hover {
    border-color: var(--accent);
    color: #fff;
    background: rgba(255, 26, 108, 0.08);
    box-shadow: 0 0 15px rgba(255, 26, 108, 0.15);
    transform: translateY(-2px);
}

.ph-footer-tag-title {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ===== FOOTER ===== */
.ph-footer {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, var(--bg-surface), var(--bg-deep));
    border-top: 1px solid rgba(255, 26, 108, 0.08);
    padding: 50px 40px 30px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

.ph-footer-brand-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent2), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.ph-footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ph-footer-brand-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.ph-footer-legal {
    margin-top: 18px;
    font-size: 0.72rem;
}

.ph-footer-legal a {
    color: var(--text-dim);
    margin-right: 15px;
}

.ph-footer-legal a:hover {
    color: var(--accent);
}

/* ===== CATEGORY GRID ===== */
.ph-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(155, 0, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-card);
}

.ph-cat-col {
    border-right: 1px solid rgba(155, 0, 255, 0.05);
}

.ph-cat-col:last-child {
    border-right: none;
}

.ph-cat-head {
    background: linear-gradient(135deg, rgba(255, 26, 108, 0.12), rgba(155, 0, 255, 0.1));
    padding: 10px 14px;
}

.ph-cat-head a {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
}

.ph-cat-row {
    padding: 7px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.015);
}

.ph-cat-row a {
    font-size: 0.73rem;
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    text-transform: capitalize;
    transition: 0.2s;
}

.ph-cat-row a:hover {
    color: var(--accent);
    padding-left: 4px;
}

/* ===== VIEW PAGE ===== */
.view-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.breadcrumb {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.game-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-bottom: 35px;
}

.game-frame-wrap {
    background: #000;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    min-height: 360px;
    box-shadow: inset 0 0 60px rgba(255, 26, 108, 0.06), 0 0 40px rgba(255, 26, 108, 0.08);
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.game-info-card {
    background: var(--bg-card);
    border: 1px solid rgba(155, 0, 255, 0.1);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.game-info-card h3 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    font-size: 0.82rem;
}

.info-row:last-child {
    border: none;
}

.info-row .lbl {
    color: var(--text-dim);
}

.info-row .val {
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.info-row .val.green {
    color: var(--green);
}

.info-row .val.accent {
    color: var(--accent);
}

.genre-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.genre-chip {
    background: linear-gradient(135deg, rgba(255, 26, 108, 0.1), rgba(155, 0, 255, 0.08));
    border: 1px solid rgba(255, 26, 108, 0.2);
    color: var(--accent);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 600;
}

.play-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none;
    color: #fff;
    padding: 16px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-decoration: none;
    border-radius: 14px;
    transition: 0.4s;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow), 0 0 0 2px rgba(255, 255, 255, 0.1);
    color: #fff;
}

.article-section {
    background: var(--bg-card);
    border: 1px solid rgba(155, 0, 255, 0.08);
    border-radius: var(--radius);
    padding: 30px 35px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
}

.article-section h2 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.article-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.article-section p:last-child {
    margin-bottom: 0;
}

.article-section strong {
    color: var(--text-primary);
}

.article-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

.article-section li {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 7px;
}

.faq-item {
    border: 1px solid rgba(155, 0, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.015);
    transition: 0.2s;
}

.faq-q:hover {
    background: rgba(255, 26, 108, 0.04);
}

.faq-q .arrow {
    color: var(--accent);
    transition: 0.3s;
}

.faq-a {
    display: none;
    padding: 0 20px 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.85;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .arrow {
    transform: rotate(180deg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid rgba(155, 0, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--accent-glow);
}

.related-card img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(155, 0, 255, 0.1);
}

.related-card .rc-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #d0c0e8;
    line-height: 1.4;
}

.related-card .rc-tag {
    font-size: 0.65rem;
    color: var(--accent);
    font-family: var(--font-mono);
}

@keyframes sync {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .ph-layout {
        grid-template-columns: 1fr;
    }

    .ph-sidebar,
    .ph-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .ph-topbar {
        padding: 0 15px;
    }

    .ph-nav {
        display: none;
    }

    .ph-main {
        padding: 20px 15px;
    }

    .ph-toplist {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-hero {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ph-footer {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .ph-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-section {
        padding: 20px;
    }

    .ph-card-img {
        height: 90px;
    }
}