/**
 * Press Kit Panel Styles
 */

/* ── Background overlay ──────────────────────────── */

#press-kit-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 149;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#press-kit-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#press-kit-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    max-height: 80vh;
    z-index: 150;
    display: none;
    flex-direction: column;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#press-kit-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 8, 6, 0.88);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

#press-kit-panel.active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Back Button ─────────────────────────────────── */

.press-kit-back-btn {
    position: absolute;
    top: 0;
    left: -120px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid rgba(224, 192, 128, 0.5);
    border-radius: 999px;
    color: #e0c080;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    z-index: 151;
}

.press-kit-back-btn:hover {
    color: #f0d898;
    border-color: #f0d898;
    transform: translateX(-4px);
}

/* ── Scrollable area ─────────────────────────────── */

.press-kit-scroll {
    overflow-y: auto;
    max-height: 80vh;
    padding: 60px 40px 40px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 192, 128, 0.3) transparent;
}

.press-kit-scroll::-webkit-scrollbar {
    width: 4px;
}

.press-kit-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.press-kit-scroll::-webkit-scrollbar-thumb {
    background: rgba(224, 192, 128, 0.3);
    border-radius: 2px;
}

/* ── Two-column layout ───────────────────────────── */

.press-kit-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Left column ─────────────────────────────────── */

.press-kit-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 0;
}

.press-kit-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.press-kit-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
    flex-shrink: 0;
}

.press-kit-game-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: #e0c080;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.press-kit-studio-name {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

/* ── Section label ───────────────────────────────── */

.press-kit-section-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e0c080;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(224, 192, 128, 0.15);
    padding-bottom: 6px;
}

/* ── Factsheet ───────────────────────────────────── */

.press-kit-fact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.press-kit-fact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.press-kit-fact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(224, 192, 128, 0.6);
}

.press-kit-fact-value {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ── Downloads ───────────────────────────────────── */

.press-kit-download-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.press-kit-download-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

/* Primary — full press kit */
.press-kit-download-btn:not(.press-kit-download-btn--secondary) {
    background: linear-gradient(135deg, rgba(224, 192, 128, 0.22) 0%, rgba(224, 192, 128, 0.1) 100%);
    border: 1.5px solid rgba(224, 192, 128, 0.55);
    color: #e0c080;
}

.press-kit-download-btn:not(.press-kit-download-btn--secondary):hover {
    background: linear-gradient(135deg, rgba(224, 192, 128, 0.35) 0%, rgba(224, 192, 128, 0.2) 100%);
    border-color: #e0c080;
    transform: translateY(-1px);
}

/* Secondary — individual packs */
.press-kit-download-btn--secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
}

.press-kit-download-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

/* ── Links ───────────────────────────────────────── */

.press-kit-link-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.press-kit-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    transition: color 0.25s ease;
}

.press-kit-link:hover {
    color: #e0c080;
}

/* ── Right column ────────────────────────────────── */

.press-kit-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.press-kit-game-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
    pointer-events: none;
    z-index: 1;
}

.press-kit-section {
    display: flex;
    flex-direction: column;
}

.press-kit-body {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.press-kit-body:last-child {
    margin-bottom: 0;
}

/* ── Feature list ────────────────────────────────── */

.press-kit-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.press-kit-feature-list li {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    padding-left: 14px;
    position: relative;
}

.press-kit-feature-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(224, 192, 128, 0.4);
}

.press-kit-feature-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

/* ── Awards ──────────────────────────────────────── */

.press-kit-awards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.press-kit-award-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(224, 192, 128, 0.06);
    border: 1px solid rgba(224, 192, 128, 0.22);
    border-radius: 10px;
}

.press-kit-award-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(224, 192, 128, 0.12);
    border: 1px solid rgba(224, 192, 128, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0c080;
}

.press-kit-award-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.press-kit-award-title {
    font-size: 15px;
    font-weight: 600;
    color: #e0c080;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.press-kit-award-source {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Testimonials ────────────────────────────────── */

.press-kit-testimonials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.press-kit-testimonial {
    margin: 0;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid rgba(224, 192, 128, 0.4);
    border-radius: 0 10px 10px 0;
}

.press-kit-testimonial-quote {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.press-kit-testimonial-source {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #e0c080;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ── Inline video player ─────────────────────────── */

.press-kit-video-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
    background: #000;
}

.press-kit-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.press-kit-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.45);
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.press-kit-video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.press-kit-play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(224, 192, 128, 0.2);
    border: 2px solid rgba(224, 192, 128, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0c080;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.press-kit-play-btn:hover {
    background: rgba(224, 192, 128, 0.35);
    transform: scale(1.1);
}

.press-kit-video-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ── Screenshots grid ────────────────────────────── */

.press-kit-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.press-kit-screenshot {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: none;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease;
    aspect-ratio: 16 / 9;
}

.press-kit-screenshot:hover {
    border-color: rgba(224, 192, 128, 0.4);
    transform: scale(1.02);
}

.press-kit-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
