/* ============================================================
   IKJ Gallery — Exact Replica
   Source: galeri.senirupaikj.ac.id/pameran/
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Outfit:wght@300;400;600;800&family=Vollkorn:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;600;800&display=swap');

:root {
    --pksd-gold: #FFD700; /* Standardized 24K Gold */
    --pksd-gold-soft: rgba(255, 215, 0, 0.4);
    --pksd-dark: #EAEAEA; 
    --pksd-noir: #050506;
    --pksd-bg: #050505;
    --pksd-bg-soft: #0A0A0B;
    --pksd-border: rgba(255, 215, 0, 0.12);
    --pksd-glass: rgba(15, 15, 17, 0.75);
    --pksd-shadow: 0 30px 60px rgba(0,0,0,0.6);
    --pksd-shadow-hover: 0 40px 100px rgba(0,0,0,0.9), 0 0 45px rgba(255, 215, 0, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--pksd-dark);
    line-height: 1.618; /* Golden Ratio */
    margin: 0;
    padding: 95px 0 0; /* Add top padding for fixed nav */
    background: var(--pksd-bg);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.2px;
}

/* Custom Scrollbar — Premium Noir Edition */
::-webkit-scrollbar { 
    width: 6px; 
    height: 6px; 
}
::-webkit-scrollbar-track { 
    background: #050505; 
}
::-webkit-scrollbar-thumb { 
    background: rgba(255, 215, 0, 0.15); 
    border-radius: 100px; 
    transition: all 0.5s ease;
}
::webkit-scrollbar-thumb:hover { 
    background: var(--pksd-orange); 
    box-shadow: 0 0 15px var(--pksd-orange);
}

.pksd-noise, .pksd-vignette {
    pointer-events: none !important;
    z-index: 5;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }

.pksd-wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}

/* ── BRAND BUTTON ── */
.pksd-btn-premium {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    background: var(--pksd-gold);
    color: #000;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.pksd-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    filter: brightness(1.1);
}

/* ── NAV REFINEMENT ── */
.pksd-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 10000;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--pksd-glass);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important; /* Visible Gold Border */
    display: flex;
    align-items: center;
}
.pksd-nav.scrolled {
    height: 70px;
    background: rgba(5, 5, 6, 0.98);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

/* ── GOLDEN PRELOADER ── */
#pksd-preloader {
    position: fixed;
    inset: 0;
    background: var(--pksd-noir);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.8s;
}
#pksd-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    width: 120px;
    height: auto;
    position: relative;
    animation: preloader-pulse 2s infinite ease-in-out;
    mix-blend-mode: screen;
    filter: sepia(1) saturate(15) brightness(1.2);
}
@keyframes preloader-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}
.preloader-line {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pksd-gold), transparent);
}

.pksd-nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px; /* Increased padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pksd-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}
.pksd-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
}
.pksd-logo-text {
    font-family: 'Italiana', serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pksd-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.pksd-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pksd-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Italiana', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.4s;
    text-transform: uppercase;
    position: relative;
    padding: 5px 10px;
}
.pksd-menu a:hover {
    color: var(--pksd-orange);
}
.pksd-menu a::after {
    display: none;
}
.pksd-menu a span {
    position: relative;
    display: inline-block;
}
.pksd-menu a span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pksd-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pksd-menu a:hover span::after, .pksd-menu a.active span::after {
    transform: scaleX(1);
}
.pksd-search-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-left: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.pksd-burger-btn {
    display: none;
}
.pksd-search-btn:hover {
    transform: scale(1.1);
}

/* ── HERO ── */
.pksd-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}
.pksd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.4) 100%);
    z-index: 1;
}
.pksd-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 80px 60px;
    background: rgba(10,10,10,0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--pksd-border);
    border-radius: 4px;
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.pksd-hero h1 {
    font-family: 'Vollkorn', serif;
    font-weight: 900;
    font-size: 64px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to bottom, #F9D423 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
    animation: goldFlare 3s ease-in-out infinite alternate;
}

@keyframes goldFlare {
    from { filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.4)); }
    to { filter: drop-shadow(0 4px 25px rgba(255, 215, 0, 0.6)); }
}
/* ============================================
   ARTISAN SHOWCASE STRIP
   ============================================ */
.pksd-showcase-strip {
    position: relative;
    height: 650px;
    background: #050505;
    overflow: hidden;
    margin: 80px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.05);
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

.pksd-showcase-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3 Atem%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 5;
}

/* CINEMA HUD indikator (PREMIUM) */
.showcase-hud {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 15px 30px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.showcase-counter {
    font-family: 'Italiana', serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
    color: #fff;
    white-space: nowrap;
}

.showcase-counter small {
    opacity: 0.3;
    margin: 0 5px;
}

#currentSlideNum {
    color: var(--pksd-orange);
}

.showcase-pips {
    display: flex;
    gap: 10px;
}

.showcase-pip {
    position: relative;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.showcase-pip.active {
    background: rgba(255, 215, 0, 0.1);
    width: 60px;
}

.pip-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pksd-orange), var(--pksd-gold));
    box-shadow: 0 0 10px var(--pksd-orange);
    transition: width 0.1s linear;
}

.showcase-track {
    position: absolute;
    inset: 0;
}

.showcase-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.showcase-item.active {
    opacity: 1;
    z-index: 10;
}

.showcase-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.3);
    transform: scale(1.1);
    transition: transform 10s linear;
}

.showcase-item.active .showcase-bg {
    transform: scale(1.2);
}

.showcase-container {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 40px;
}

.showcase-visual {
    flex: 1.4;
    position: relative;
    perspective: 1200px;
}

.showcase-frame {
    position: relative;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 30px 100px rgba(0,0,0,0.9);
    transform: rotateY(-18deg) scale(0.9);
    transition: all 2.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.showcase-item.active .showcase-frame {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
}

.showcase-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: sepia(0.15) contrast(1.1) brightness(0.9);
    border: 1px solid rgba(255, 215, 0, 0.08);
}

.showcase-info {
    flex: 1;
    text-align: left;
    padding-left: 80px;
    opacity: 0;
    transform: translateX(80px);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.showcase-item.active .showcase-info {
    opacity: 1;
    transform: translateX(0);
}

.showcase-info h2 {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--pksd-gold);
    margin-bottom: 25px;
    opacity: 0.6;
}

.showcase-info h3 {
    font-family: 'Vollkorn', serif;
    font-weight: 900;
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 25px;
    min-height: auto;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #FFF8E1, #FFD700, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
}

.showcase-info p {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 45px;
    letter-spacing: 1px;
    font-style: italic;
}

.showcase-info p {
    color: rgba(255,255,255,0.6);
    font-style: italic;
    font-size: 16px;
    margin-bottom: 40px;
}

.pksd-ambient-control.playing .bars {
    display: flex;
}

.bars {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.bar {
    width: 2px;
    background: currentColor;
    border-radius: 2px;
    animation: barPulse 1s ease-in-out infinite alternate;
}

@keyframes barPulse {
    from { height: 2px; }
    to { height: 100%; }
}
.pksd-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFB900 100%);
    color: #000;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(247, 148, 29, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pksd-btn-premium:hover {
    background: linear-gradient(135deg, #FFF080 0%, #FFD700 100%);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.5);
    letter-spacing: 1.5px;
}

.pksd-noise {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-ember {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(10deg); }
    66% { transform: translate(-20px, -100px) rotate(-10deg); }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10vw, 5vh); }
}

/* MASTERCLASS: STAGGERED REVEAL (BLOOM) */
.reveal.on .pksd-hall-header { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal.on .pksd-hall-num { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal.on .pksd-hall-desc { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal.on .pksd-track { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }

.pksd-hall-header, .pksd-hall-num, .pksd-hall-desc, .pksd-track {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes drift {
    0% { transform: translateX(0px); }
    50% { transform: translateX(30px); }
    100% { transform: translateX(0px); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.on {
    opacity: 1;
    transform: translateY(0) !important;
}

.pksd-section {
    padding: 80px 0; /* Reduced as per user feedback for better density */
    position: relative;
    overflow: hidden;
    background: var(--pksd-bg);
}

.pksd-art-accent {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--pksd-orange) 0%, transparent 70%);
    opacity: 0.05;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: float 15s infinite ease-in-out;
}

/* ── THEMED ROOMS ── */
.room-painting { background: #0A0A0A; --room-accent: var(--pksd-orange); --room-spotlight: rgba(212, 175, 55, 0.04); }
.room-sculpture { background: #070707; --room-accent: #C0C0C0; --room-spotlight: rgba(192, 192, 192, 0.03); }
.room-digital { background: #000; --room-accent: #00d2ff; --room-spotlight: rgba(0, 210, 255, 0.05); }
.room-literature { background: #050505; --room-accent: var(--pksd-gold); --room-spotlight: rgba(197, 160, 89, 0.04); }
.room-cinema { background: #000; --room-accent: #e74c3c; --room-spotlight: rgba(231, 76, 60, 0.05); }

/* ── ARTISAN DECORATIONS ── */
.pksd-curator-mark {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid var(--pksd-border);
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
}
.mark-tl { top: 40px; left: 40px; border-right: 0; border-bottom: 0; }
.mark-tr { top: 40px; right: 40px; border-left: 0; border-bottom: 0; }
.mark-bl { bottom: 40px; left: 40px; border-right: 0; border-top: 0; }
/* Reactive Curator Marks */
.pksd-section:hover .pksd-curator-mark {
    opacity: 0.8;
    border-color: var(--pksd-orange);
    width: 60px;
    height: 60px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-painting::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100 100 C 150 50, 250 50, 300 100 C 350 150, 350 250, 300 300 C 250 350, 150 350, 100 300 C 50 250, 50 150, 100 100 Z' fill='%23A67C52' opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 600px 600px;
}
.room-digital::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.25;
    background-image: radial-gradient(var(--room-accent) 0.5px, transparent 0.5px), linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px, 120px 100%;
}
.room-literature::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
    background: url('https://www.transparenttextures.com/patterns/handmade-paper.png');
}

.pksd-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--room-spotlight, rgba(247, 148, 29, 0.03)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Adjustments for Dark Rooms with Enhanced Prominence */
.room-digital .pksd-hall-header h2, .room-cinema .pksd-hall-header h2 { color: #fff; }
.room-digital .pksd-hall-desc, .room-cinema .pksd-hall-desc { color: rgba(255,255,255,0.6); }
.room-digital .pksd-ghost-title, .room-cinema .pksd-ghost-title { color: #fff; opacity: 0.05; }
.room-digital .pksd-hall-link, .room-cinema .pksd-hall-link { color: rgba(255,255,255,0.7); }

.room-digital .pksd-card, .room-cinema .pksd-card { 
    background: linear-gradient(135deg, #1e1e21 0%, #121214 100%);
    border-color: rgba(255, 215, 0, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 20px rgba(255, 215, 0, 0.03);
}

.room-digital .pksd-card-caption, .room-cinema .pksd-card-caption { 
    background: rgba(18, 18, 20, 0.4); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* ── EXCLUSIVE HALL HEADER ── */
.pksd-hall-header {
    text-align: center;
    position: relative;
    padding: 10px 0 15px;
    margin-bottom: 60px;
}
.pksd-header-spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.pksd-ghost-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 110px;
    font-weight: 900;
    color: var(--pksd-dark);
    opacity: 0.025;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    font-family: 'Italiana', serif;
    letter-spacing: 0;
    line-height: 1; /* Match h2 for perfect centering */
}
.pksd-hall-num {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--pksd-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.pksd-hall-num::before, .pksd-hall-num::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--pksd-gold);
    opacity: 0.3;
}
.pksd-hall-desc {
    font-family: 'Italiana', serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 0.3px 0 0 rgba(255,255,255,0.2);
}
.pksd-hall-header h2 {
    font-family: 'Italiana', serif;
    font-weight: 700;
    font-size: 58px;
    color: var(--pksd-gold);
    margin: 0 0 10px;
    letter-spacing: 2.5px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
    text-shadow: 0.8px 0 0 var(--pksd-gold), -0.8px 0 0 var(--pksd-gold);
}
.pksd-hall-line {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pksd-border), transparent);
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}
.pksd-hall-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--pksd-orange);
    border-radius: 50%;
}
.pksd-hall-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pksd-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.pksd-hall-link i {
    font-size: 11px;
    transition: transform 0.3s;
}
.pksd-menu a:hover {
    color: var(--pksd-orange);
}
.pksd-menu a.active {
    color: var(--pksd-orange);
    font-weight: 700;
}
.pksd-menu a::after {
    transform: translateX(10px);
}

/* Section Gallery */
.pksd-section-cards {
    padding: 0; /* No bottom padding */
}

/* ── CAROUSEL ── */
.pksd-carousel {
    position: relative;
    padding: 0 50px; /* Space for arrows */
}
.pksd-track {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 10px 40px; /* Bottom padding for shadow visibility */
}
.pksd-track::-webkit-scrollbar { display: none; }

/* Arrow */
.pksd-track .pksd-card {
    min-width: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
}

.pksd-arr {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    width: 54px; /* Larger */
    height: 54px;
    background: rgba(18, 18, 18, 0.6); /* Noir Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.15); /* Gold border */
    border-radius: 50%;
    color: var(--pksd-orange); /* Gold Arrow */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pksd-arr:hover { 
    background: var(--pksd-orange);
    color: #000;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}
.pksd-arr-l { left: 10px; }
.pksd-arr-r { right: 10px; }

/* ── CARD (Spotlight Elevation) ── */
.pksd-card {
    border-radius: 4px;
    scroll-snap-align: start;
    flex-shrink: 0;
    background: linear-gradient(135deg, #222225 0%, #151518 100%);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5), 0 0 1px rgba(255,215,0,0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.15);
    cursor: pointer;
}
/* Glass Reflection (Gleam) Effect */
.pksd-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(212, 175, 55, 0) 40%,
        rgba(212, 175, 55, 0.12) 50%,
        rgba(212, 175, 55, 0) 60%,
        transparent 100%
    );
    z-index: 3;
    transform: rotate(30deg);
    pointer-events: none;
    transition: all 0.6s ease;
    opacity: 0;
}
.pksd-card:hover::before {
    animation: gleam 0.8s forwards;
    opacity: 1;
}
@keyframes gleam {
    0% { transform: translate(-30%, -30%) rotate(30deg); }
    100% { transform: translate(30%, 30%) rotate(30deg); }
}
.pksd-card:hover {
    box-shadow: 0 30px 70px rgba(0,0,0,0.8), 0 0 20px rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-10px) scale(1.02);
}

.pksd-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.pksd-card:hover::after { opacity: 1; }

.pksd-card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--pksd-border);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    z-index: 5;
}
.pksd-card-img {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    background: #0a0a0b; /* Letterbox background */
}
.pksd-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain !important; /* Never crop artworks */
    display: block;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pksd-card:hover .pksd-card-img img {
    transform: scale(1.1);
}
.pksd-card-caption {
    padding: 25px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.03);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}
.pksd-card-caption h3 {
    font-family: 'Italiana', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0.5px 0 0 #fff, -0.5px 0 0 #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px; /* Flexible but uniform */
}
.pksd-card-caption .author {
    font-family: 'Italiana', serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--pksd-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 10px;
    display: block;
    opacity: 1;
    text-shadow: 0.3px 0 0 var(--pksd-orange);
}

/* ── PILLS ── */
.pksd-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}
.pksd-pill {
    width: 20px;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    cursor: pointer;
    border-radius: 0; 
    transition: all 0.4s ease;
}
.pksd-pill.on {
    background: var(--pksd-orange);
    width: 32px;
}

/* ── BACK TO TOP ── */
.pksd-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #000;
    color: var(--pksd-orange);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}
.pksd-top:hover { 
    background: var(--pksd-orange-dark);
    transform: translateY(-5px);
}

/* ── FOOTER ── */
.pksd-footer {
    background: #000;
    color: #999;
    padding: 100px 0 60px;
    font-size: 13px;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}
.pksd-footer h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 24px;
    font-family: 'Roboto Slab', serif;
}
.pksd-footer a { color: #999; transition: color 0.3s; }
.pksd-footer a:hover { color: var(--pksd-orange); }
.pksd-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}
.pksd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pksd-footer-social { display: flex; gap: 20px; font-size: 20px; }
.pksd-footer-social a { color: #555; }
.pksd-footer-social a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .pksd-wrap, .pksd-nav-inner { padding: 0 24px; }
}
@media (max-width: 1024px) {
    .pksd-track .pksd-card { min-width: calc((100% - 30px) / 2); }
    .pksd-footer-grid { grid-template-columns: 1fr 1fr; }
}
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
#focusImg {
    animation: kenburns 40s infinite alternate ease-in-out !important;
    will-change: transform;
}
.focus-img-box { overflow: hidden; }

/* CURSOR HINT */
.pksd-cursor::after {
    content: attr(data-hint);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    color: #000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.pksd-cursor.has-hint::after { opacity: 1; }
.pksd-cursor.has-hint {
    width: 60px;
    height: 60px;
    background: var(--pksd-orange) !important;
}

/* LETTER BLOOM (Sequential) */
.bloom-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.on .bloom-text span {
    opacity: 1;
    transform: translateY(0);
}

/* Masterclass: Interactive Appreciation (Waru) Styles */
.pksd-heart-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 100px;
    color: var(--pksd-orange);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pksd-heart-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px rgba(255, 215, 0, 0.1);
}

.pksd-heart-btn .icon-solid { display: none; }
.pksd-heart-btn.liked .icon-regular { display: none; }
.pksd-heart-btn.liked .icon-solid { 
    display: inline-block !important; 
    color: #ff4757; 
    animation: pksd-heart-pulse 0.8s ease infinite;
}

@keyframes pksd-heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.pksd-heart-btn.liked {
    background: rgba(255, 215, 0, 0.15) !important;
    border-color: var(--pksd-orange) !important;
    color: var(--pksd-orange) !important;
}

.pksd-heart-btn:active i {
    transform: scale(1.5);
}

.pksd-heart-pulse {
    animation: pksd-pulse 2s infinite;
}

@keyframes pksd-pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
}

.pksd-card-heart {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 6px 12px;
    border-radius: 100px;
    color: var(--pksd-gold);
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    border: 1px solid var(--pksd-border);
    transition: 0.3s;
    letter-spacing: 1px;
}

.pksd-card:hover .pksd-card-heart {
    opacity: 1;
}

/* Masterclass: Modal Action Buttons */
.pksd-modal-btn {
    text-transform: uppercase;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFB900 100%);
    color: #000;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-decoration: none;
}

.pksd-modal-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    color: #000;
    filter: brightness(1.1);
}

/* Masterclass: Pagination (Gilded Noir) */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    user-select: none;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pg-num, .pagination-arrow {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pg-num:hover, .pagination-arrow:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--pksd-orange);
    color: var(--pksd-orange);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.pg-num.active {
    background: var(--pksd-orange);
    border-color: var(--pksd-orange);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.pagination-arrow svg {
    width: 18px;
    height: 18px;
}

/* MASTERCLASS: CINEMATIC AMBIANCE (Vignette & Dust) */
.pksd-vignette {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.6) 100%);
    opacity: 0.6;
}

.pksd-ember {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--pksd-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--pksd-orange), 0 0 15px rgba(255, 215, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    animation: pksd-ember-float linear infinite;
}

@keyframes pksd-ember-float {
    0% { transform: translateY(0) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    50% { transform: translateY(-50vh) translateX(50px) scale(1.5); opacity: 0.8; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-100vh) translateX(-20px) scale(0.5); opacity: 0; }
}

/* Re-defining silk z-index to be part of the ambiance stack */
.pksd-silk-container {
    z-index: 40 !important;
}

.pksd-silk-container {
    position: absolute;
    inset: 0;
    z-index: 20000;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.4;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
}

.pksd-silk-path {
    fill: none;
    stroke: url(#goldGradient);
    stroke-width: 1.5;
    stroke-linecap: round;
    animation: goldSilkFlow 60s linear infinite;
    stroke-dasharray: 2000;
}

@keyframes goldSilkFlow {
    0% { stroke-dashoffset: 4000; opacity: 0.2; }
    50% { opacity: 0.6; }
    100% { stroke-dashoffset: 0; opacity: 0.2; }
}

@keyframes silkDrift {
    0%, 100% { transform: translateY(0) scale(1.05) rotate(0deg); }
    50% { transform: translateY(-50px) scale(1.15) rotate(2deg); }
}

.pksd-silk-group {
    animation: silkDrift 40s infinite ease-in-out;
}

/* ── MASTER FOCUS MODAL (Elite Theater Mode) ── */
.pksd-modal {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pksd-modal-bg {
    position: absolute;
    inset: -50px;
    background-size: cover;
    background-position: center;
    filter: blur(80px) brightness(0.4);
    opacity: 0.6;
    z-index: 0;
    transform: scale(1.1);
    transition: background-image 0.8s ease;
}

.pksd-modal-content {
    width: 100%;
    max-width: 1400px;
    background: rgba(18, 18, 20, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 4px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
}

.pksd-modal-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    min-height: 70vh;
}

.pksd-modal-visual {
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#videoContainer, #videoContainer iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

#focusImg {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
}

.pksd-modal-info {
    padding: 80px 60px;
    background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    border-left: 1px solid rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-scroll {
    max-width: 500px;
}

.category-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--pksd-gold);
    margin-bottom: 25px;
    padding: 6px 15px;
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 100px;
}

#focusTitle {
    font-family: 'Italiana', serif;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.avatar-small {
    width: 40px;
    height: 40px;
    background: var(--pksd-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: #000;
}

#focusAuthor {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

#focusDesc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    font-family: 'PT Serif', serif;
    font-style: italic;
}

#closeModal {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    transition: all 0.3s;
}

#closeModal:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

/* Modal Play Trigger */
.pksd-modal-play-trigger {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.4s;
}

.pksd-modal-play-trigger:hover {
    background: rgba(0,0,0,0.2);
}

.pksd-modal-play-icon {
    width: 100px;
    height: 100px;
    background: var(--pksd-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #000;
    margin-bottom: 20px;
    box-shadow: 0 0 50px rgba(255,215,0,0.3);
    transition: 0.4s;
    padding-left: 8px;
}

.pksd-modal-play-trigger:hover .pksd-modal-play-icon {
    transform: scale(1.15);
    box-shadow: 0 0 80px rgba(255,215,0,0.5);
}

.pksd-modal-play-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: 5px;
    color: #fff;
    font-size: 12px;
}

/* ── VIDEO OVERLAYS ── */
.pksd-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    opacity: 0.8;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 5;
}

.pksd-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    padding-left: 5px; /* Visual center adjustment for play icon */
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pksd-card:hover .pksd-play-btn {
    transform: scale(1.15);
    background: var(--pksd-orange);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.pksd-card:hover .pksd-play-overlay {
    background: rgba(0,0,0,0.4);
    opacity: 1;
}

/* ── ELITE PAGINATION (MUSEUM NOIR) ── */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
    margin-bottom: 20px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 15, 17, 0.4);
    backdrop-filter: blur(20px);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid var(--pksd-border);
}

.pg-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    border: 1px solid transparent;
}

.pg-num:hover {
    color: var(--pksd-gold);
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.pg-num.active {
    background: var(--pksd-gold);
    color: #000;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.pagination-arrow {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(15, 15, 17, 0.6);
    border: 1px solid var(--pksd-border);
    color: var(--pksd-gold);
    transition: all 0.3s;
    cursor: pointer;
}

.pagination-arrow:hover {
    background: var(--pksd-gold);
    color: #000;
    transform: scale(1.1);
}

.pagination-arrow.disabled {
    opacity: 0.15;
    pointer-events: none;
}

.pagination-arrow svg {
    width: 20px;
    height: 20px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .pksd-wrap, .pksd-nav-inner { padding: 0 24px; }
}

@media (max-width: 1024px) {
    .pksd-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
    html, body { 
        max-width: 100vw !important; 
        overflow-x: hidden !important; 
    }

    .pksd-wrap { padding: 0 10px !important; width: 100% !important; box-sizing: border-box !important; }

    /* Compact Nav */
    .pksd-nav { 
        height: 70px !important; 
        background: #000000 !important;
        border-bottom: 1px solid rgba(255, 215, 0, 0.3) !important;
    }
    .pksd-nav-inner { padding: 0 20px !important; }
    .pksd-logo img { height: 35px !important; }
    
    .pksd-burger-btn { 
        display: flex !important; 
        width: 45px;
        height: 45px;
        align-items: center;
        justify-content: center;
        color: var(--pksd-gold) !important;
        font-size: 20px;
        cursor: pointer;
        z-index: 20002;
    }

    /* Legacy Menu Cleanup */
    .pksd-menu { 
        display: none !important; 
    }
    .pksd-burger-btn { 
        display: flex !important; 
        width: 45px;
        height: 45px;
        align-items: center;
        justify-content: center;
        color: var(--pksd-gold) !important;
        font-size: 20px;
        cursor: pointer;
        z-index: 20002;
    }

    .mobile-menu-links a {
        transition: 0.3s;
        position: relative;
    }
    .mobile-menu-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 40px;
        height: 2px;
        background: var(--pksd-gold);
        transition: 0.4s;
    }
    .mobile-menu-links a.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .pksd-nav { z-index: 10000 !important; } /* High stacking focus */

    /* Hero Separation & Recovery */
    .pksd-hero { 
        min-height: 420px !important; 
        height: 65vh !important; 
        background-attachment: scroll !important; /* Fix layering flicker */
    }
    .pksd-hero-content { 
        padding: 40px 20px !important; 
        width: 90% !important;
    }
    .pksd-hero h1 { font-size: 32px !important; line-height: 1.2 !important; }

    .pksd-hall-header { padding: 40px 15px !important; }
    .pksd-hall-header h2 { font-size: 30px !important; }
    .pksd-ghost-title { display: none !important; }

    /* Showcase Strip Mobile Stacking (Fixed) */
    .pksd-showcase-strip { 
        height: 620px !important; 
        min-height: 620px !important; 
        padding: 40px 0 !important; 
        overflow: visible !important;
        margin-top: 40px !important; /* Safety Buffer to prevent overlap */
    }
    .showcase-container { flex-direction: column !important; gap: 40px !important; text-align: center !important; }
    .showcase-info { padding-left: 0 !important; transform: none !important; text-align: center !important; }
    .showcase-info h3 { font-size: 26px !important; line-height: 1.2 !important; min-height: auto !important; margin-bottom: 20px !important; display: block !important; }
    .showcase-visual { width: 100% !important; max-width: 320px !important; margin: 0 auto !important; height: 300px !important; display: flex !important; align-items: center; justify-content: center; position: relative; }
    .showcase-visual img { width: 100% !important; height: 100% !important; object-fit: contain !important; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8)); }
    .showcase-frame { padding: 15px !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
    .showcase-item.active .showcase-frame { transform: none !important; opacity: 1 !important; }

    .pksd-footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .pksd-detail-grid { grid-template-columns: 1fr !important; gap: 40px; }

    /* MASTER GALLERY OVERRIDE (MEGA-VISUAL) */
    .pksd-track { 
        justify-content: flex-start !important; 
        gap: 20px !important; 
        padding: 20px 0 !important; /* Buffer handled by margins */
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch;
    }
    .pksd-track .pksd-card { 
        min-width: 88vw !important; 
        flex: 0 0 88vw !important; 
        margin: 0 !important;
        width: 88vw !important;
        scroll-snap-align: center !important;
    }
    /* Buffer margins to force true viewport centering */
    .pksd-track .pksd-card:first-child { margin-left: 6vw !important; }
    .pksd-track .pksd-card:last-child { margin-right: 6vw !important; }

    .pksd-card-img { height: 440px !important; }
    .pksd-section-cards .pksd-wrap { padding: 0 !important; }

    /* Sync Brand Typography (Elite Italiana Optimized) */
    .pksd-hero h1, .pksd-hall-header h2, .pksd-ghost-title { 
        font-family: 'Italiana', serif !important; 
        font-weight: 700 !important; 
        text-transform: uppercase;
        background: linear-gradient(to bottom, #F9D423 0%, #FFD700 50%, #D4AF37 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        letter-spacing: 2px;
        text-shadow: 0.5px 0 0 rgba(212, 175, 55, 0.4), -0.5px 0 0 rgba(212, 175, 55, 0.4);
    }
}

@media (max-width: 480px) {
    .pksd-wrap { padding: 0 10px !important; }
    .pksd-hero h1 { font-size: 28px !important; }
    .pksd-hall-header h2 { font-size: 24px !important; }
    
    .showcase-info h3 { font-size: 20px !important; }
    .showcase-visual img { height: 220px !important; }
    .pksd-showcase-strip { height: 550px !important; }

    /* Phone Specific Card Integrity */
    .pksd-track .pksd-card { min-width: 88vw !important; flex: 0 0 88vw !important; scroll-snap-align: center !important; }
    .pksd-card-img { height: 380px !important; }
    .pksd-track { padding: 20px 6vw !important; }

    /* Focus Modal Stacking */
    .focus-wrap { 
        flex-direction: column !important; 
        padding: 20px !important; 
        gap: 40px !important; 
    }
    .focus-img-box { width: 100% !important; }
    .focus-info { text-align: center; padding: 0 !important; }
    #focusTitle { 
        font-family: 'Vollkorn', serif !important; 
        font-weight: 900 !important; 
        font-size: 26px !important; 
        line-height: 1.2 !important;
    }

    #searchInput { font-size: 20px !important; }
}

@media (min-width: 992px) {
    .pksd-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; }
}

html, body { max-width: 100% !important; overflow-x: hidden !important; }
