@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-deep: #080605;
    --bg-dark: #0f0b09;
    --bg-chocolate: #1a120c;
    --bg-card: rgba(26, 18, 12, 0.85);
    --bg-card-hover: rgba(36, 25, 17, 0.95);
    --bg-glass: rgba(18, 13, 9, 0.72);
    --bg-overlay: rgba(8, 6, 5, 0.88);

    --gold-primary: #d4af37;
    --gold-light: #f5e4a8;
    --gold-bright: #ffd700;
    --gold-dark: #9e7d23;
    --gold-bronze: #845d1d;
    --gold-gradient: linear-gradient(135deg, #c59b27 0%, #f7e7a9 30%, #d4af37 60%, #99751e 100%);
    --gold-gradient-glow: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(245, 228, 168, 0.1));
    --gold-border: rgba(212, 175, 55, 0.28);
    --gold-border-bright: rgba(245, 228, 168, 0.5);
    --gold-glow: 0 0 35px rgba(212, 175, 55, 0.25);
    --gold-glow-strong: 0 0 50px rgba(212, 175, 55, 0.45);

    --text-primary: #fbf8f2;
    --text-secondary: #c9bdae;
    --text-muted: #8b7969;
    --text-gold: #e2c26f;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 30%, rgba(70, 42, 22, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 15% 70%, rgba(45, 28, 15, 0.25) 0%, transparent 60%);
    background-attachment: fixed;
}

/* Ambient Dust / Glow Effect */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 25%, rgba(197, 155, 39, 0.06), transparent 70%);
    transition: opacity 0.5s ease;
}

body.theatre-mode .ambient-glow {
    opacity: 0.15;
}

/* Luxury Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    opacity: 0.025;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Helpers */
.font-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gold-glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* App Wrapper */
.app-container {
    position: relative;
    z-index: 1;
    max-width: 1360px;
    margin: 0 auto;
    padding: 20px 24px 60px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Luxury Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(245, 228, 168, 0.15);
    margin-bottom: 28px;
    transition: var(--transition);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.brand-crest {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2a1c12, #0c0805);
    border: 1.5px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--gold-glow);
    position: relative;
}

.brand-crest svg {
    width: 22px;
    height: 22px;
    fill: url(#goldLinear);
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-title h1 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vip-badge .dot {
    width: 7px;
    height: 7px;
    background-color: #55f389;
    border-radius: 50%;
    box-shadow: 0 0 8px #55f389;
}

.action-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(30, 20, 14, 0.7);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btn-icon:hover {
    background: var(--gold-gradient);
    color: #0b0806;
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

/* Main Layout */
.main-stage {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

/* Cinema Showcase Container */
.cinema-showcase {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 8px;
    background: linear-gradient(145deg, rgba(38, 26, 18, 0.8), rgba(16, 11, 8, 0.95));
    border: 1px solid var(--gold-border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(245, 228, 168, 0.2);
    transition: var(--transition);
}

.cinema-showcase::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-xl) + 2px);
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.4), transparent 70%);
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.cinema-showcase:hover::before {
    opacity: 0.8;
}

/* Video Frame */
.video-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Glowing Ambient Screen Reflection behind player */
.ambient-screen-halo {
    position: absolute;
    inset: -30px;
    filter: blur(40px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.35) 0%, rgba(46, 28, 15, 0.1) 60%, transparent 100%);
    transition: opacity 0.5s ease;
}

/* Video Element */
.custom-video-element {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

/* Big Center Luxury Play Button */
.big-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(45, 30, 20, 0.9), rgba(15, 10, 7, 0.95));
    border: 2px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(8px);
}

.big-play-overlay svg {
    width: 34px;
    height: 34px;
    fill: var(--gold-light);
    margin-left: 5px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    transition: transform 0.2s ease;
}

.big-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold-gradient);
    border-color: #fff;
    box-shadow: 0 0 50px rgba(245, 228, 168, 0.6);
}

.big-play-overlay:hover svg {
    fill: #0d0906;
}

.video-viewport.is-playing .big-play-overlay {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
}

/* Custom Controls Container */
.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 18px;
    background: linear-gradient(to top, rgba(8, 6, 5, 0.95) 0%, rgba(14, 10, 7, 0.75) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 15;
}

.video-viewport:hover .player-controls,
.video-viewport.is-paused .player-controls,
.video-viewport.user-interacting .player-controls {
    opacity: 1;
    visibility: visible;
}

/* Progress Bar Track */
.progress-container {
    position: relative;
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: height 0.2s ease;
}

.progress-container:hover {
    height: 10px;
}

.progress-buffer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    width: 0%;
    pointer-events: none;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 6px;
    width: 0%;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
    pointer-events: none;
}

.progress-scrubber {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.9);
    transition: transform 0.15s ease;
    pointer-events: none;
}

.progress-container:hover .progress-scrubber {
    transform: translate(-50%, -50%) scale(1);
}

.time-tooltip {
    position: absolute;
    bottom: 18px;
    transform: translateX(-50%);
    background: rgba(18, 12, 8, 0.95);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.progress-container:hover .time-tooltip {
    opacity: 1;
}

/* Controls Row */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.ctrl-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.2s ease, fill 0.2s ease;
}

.ctrl-btn:hover {
    color: var(--gold-light);
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.15);
}

/* Volume Slider Group */
.volume-group {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.volume-slider-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
}

.volume-group:hover .volume-slider-wrapper,
.volume-slider-wrapper:focus-within {
    width: 80px;
}

.volume-slider {
    -webkit-appearance: none;
    width: 75px;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
    cursor: pointer;
}

/* Time Display */
.time-display {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    user-select: none;
}

.time-display span.current {
    color: var(--gold-light);
    font-weight: 600;
}

/* Speed Dropdown Menu */
.speed-menu-container {
    position: relative;
}

.speed-badge-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-border);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.speed-badge-btn:hover {
    background: var(--gold-primary);
    color: #0b0806;
}

.speed-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    background: var(--bg-dark);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    padding: 6px;
    display: none;
    flex-direction: column;
    min-width: 85px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    z-index: 25;
}

.speed-dropdown.show {
    display: flex;
}

.speed-opt {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px 10px;
    text-align: center;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.speed-opt:hover, .speed-opt.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    font-weight: 600;
}

/* Content Details Section */
.content-details-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    transition: var(--transition);
}

body.theatre-mode .content-details-grid {
    opacity: 0.35;
    filter: blur(1px);
    pointer-events: none;
}

body.theatre-mode .content-details-grid:hover {
    opacity: 0.9;
    filter: none;
    pointer-events: auto;
}

/* Left: Main Details Card */
.video-info-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tag-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(30, 20, 14, 0.8);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
}

.tag-badge.featured {
    background: var(--gold-gradient);
    color: #0d0805;
    border: none;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.video-heading-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.video-meta-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding-bottom: 18px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    fill: var(--gold-primary);
}

.meta-item strong {
    color: var(--text-secondary);
}

.video-description {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.video-description p {
    margin-bottom: 12px;
}

/* Video Quick Action Buttons */
.video-action-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn-luxury-primary {
    background: var(--gold-gradient);
    color: #0b0705;
    box-shadow: 0 6px 20px rgba(197, 155, 39, 0.35);
}

.btn-luxury-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 228, 168, 0.5);
    filter: brightness(1.08);
}

.btn-luxury-secondary {
    background: rgba(35, 24, 17, 0.75);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
}

.btn-luxury-secondary:hover {
    background: rgba(50, 34, 24, 0.9);
    border-color: var(--gold-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

.btn-luxury svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Right: Luxury Specs Card */
.sidebar-specs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specs-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.specs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.specs-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: var(--gold-light);
    text-transform: uppercase;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

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

.spec-val {
    color: var(--gold-light);
    font-weight: 600;
}

/* File Location Card */
.folder-info-card {
    background: linear-gradient(145deg, rgba(30, 20, 14, 0.6), rgba(18, 12, 8, 0.8));
    border: 1px dashed var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.folder-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.folder-info-title svg {
    width: 16px;
    height: 16px;
    fill: var(--gold-primary);
}

.path-box {
    background: rgba(10, 7, 5, 0.7);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-family: monospace;
    font-size: 0.78rem;
    color: #e6dfd5;
    word-break: break-all;
    margin: 8px 0;
    user-select: all;
}

/* Empty State Luxury Alert */
.empty-state-card {
    background: linear-gradient(145deg, rgba(35, 23, 16, 0.95), rgba(15, 10, 7, 0.98));
    border: 2px dashed var(--gold-border);
    border-radius: var(--radius-xl);
    padding: 60px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 20px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.empty-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
}

.empty-icon-circle svg {
    width: 38px;
    height: 38px;
    fill: var(--gold-primary);
}

.empty-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-light);
}

.empty-desc {
    max-width: 580px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.empty-steps {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    text-align: left;
    flex-wrap: wrap;
    justify-content: center;
}

.step-card {
    background: rgba(18, 12, 8, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    width: 250px;
}

.step-num {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Toast Notification */
.toast-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card-hover);
    border: 1px solid var(--gold-border-bright);
    color: var(--gold-light);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), var(--gold-glow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* Keyboard Shortcut Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 6, 5, 0.85);
    backdrop-filter: blur(8px);
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.show {
    display: flex;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
}

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 12px;
}

.modal-title-row h3 {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.3rem;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #fff;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(14, 10, 7, 0.6);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.shortcut-item span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.kbd-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .content-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 14px 14px 40px;
    }

    .site-header {
        padding: 12px 18px;
        margin-bottom: 18px;
    }

    .brand-title h1 {
        font-size: 1.1rem;
    }

    .video-heading-title {
        font-size: 1.5rem;
    }

    .video-info-card {
        padding: 22px 18px;
    }

    .big-play-overlay {
        width: 65px;
        height: 65px;
    }

    .big-play-overlay svg {
        width: 26px;
        height: 26px;
    }

    .player-controls {
        padding: 20px 14px 12px;
    }

    .ctrl-btn {
        width: 30px;
        height: 30px;
    }

    .controls-left, .controls-right {
        gap: 8px;
    }

    .volume-group:hover .volume-slider-wrapper {
        width: 50px;
    }

    .shortcut-grid {
        grid-template-columns: 1fr;
    }

    .empty-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-card {
        width: 100%;
    }
}
