/**
 * Game Info Panel Styles
 * Slide-based layout with 6 slides
 */

#game-info-panel-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;
}

#game-info-panel-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#game-info-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1100px;
    min-height: 70vh;
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    box-sizing: border-box;
}

#game-info-panel.active {
    opacity: 1;
    pointer-events: auto;
}

/* Back Button */
.game-info-back-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    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;
}

.game-info-back-btn:hover {
    color: #f0d898;
    border-color: #f0d898;
    transform: translateX(-4px);
}

/* ── Panel Title (always visible above slides) ──── */

.game-info-panel-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: #e0c080;
    text-align: center;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 12px;
}

/* ── Slides System ──────────────────────────────── */

.game-info-slides-wrapper {
    overflow: hidden;
    width: 100%;
}

.game-info-slides {
    display: flex;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-info-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px 48px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(224, 192, 128, 0.1);
    border-radius: 16px;
    box-sizing: border-box;
}

/* ── Slide Navigation ───────────────────────────── */

.game-info-slide-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.game-info-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(224, 192, 128, 0.4);
    background: transparent;
    color: #e0c080;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.game-info-nav-btn:hover {
    border-color: #e0c080;
    background: rgba(224, 192, 128, 0.1);
    transform: scale(1.08);
}

.game-info-nav-btn:active {
    transform: scale(0.95);
}

.game-info-nav-btn:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.game-info-indicators {
    display: flex;
    gap: 6px;
    align-items: center;
}

.game-info-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(224, 192, 128, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.game-info-indicator:hover {
    background: rgba(224, 192, 128, 0.55);
}

.game-info-indicator.active {
    background: #e0c080;
    width: 20px;
    border-radius: 3px;
}

/* ── Shared Slide Elements ──────────────────────── */

.game-info-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #e0c080;
    text-align: center;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.8),
        0 8px 40px rgba(0, 0, 0, 0.6);
}

.game-info-slide-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #e0c080;
    text-align: center;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.8);
}

.game-info-tagline {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.game-info-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.game-info-tag {
    padding: 4px 12px;
    border: 1px solid rgba(224, 192, 128, 0.4);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.game-info-description {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.8);
    max-width: 580px;
}

/* ── Detail Grid (Slide 1) ──────────────────────── */

.game-info-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 60px;
    padding: 0 20px;
    width: 100%;
}

.game-info-detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: center;
}

.game-info-detail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e0c080;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.game-info-detail-value {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

/* ── Feature Grid (Slides 2, 4) ─────────────────── */

.game-info-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

/* ── Feature List (Slide 3 — vertical) ──────────── */

.game-info-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.game-info-feature-item {
    border: 1px solid rgba(224, 192, 128, 0.18);
    border-radius: 10px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.game-info-feature-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e0c080;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.game-info-feature-text {
    margin: 0;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ── Realms List (Slide 5) ──────────────────────── */

.game-info-realms {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
}

.game-info-realm-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(224, 192, 128, 0.1);
}

.game-info-realm-item:last-child {
    border-bottom: none;
}

.game-info-realm-number {
    font-size: 11px;
    font-weight: 600;
    color: rgba(224, 192, 128, 0.45);
    letter-spacing: 0.08em;
    min-width: 24px;
}

.game-info-realm-name {
    font-size: 14px;
    font-weight: 500;
    color: #e0c080;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.game-info-realm-desc {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    letter-spacing: 0.04em;
}

/* ── Audience (Slide 6) ─────────────────────────── */

.game-info-audience {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.game-info-audience-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.game-info-audience-item svg {
    flex-shrink: 0;
}

/* ── Comparables (Slide 6) ──────────────────────── */

.game-info-comparables-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-top: 8px;
}

.game-info-comparables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.game-info-comparable {
    padding: 4px 14px;
    border: 1px solid rgba(224, 192, 128, 0.2);
    border-radius: 999px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

/* ── CTA Buttons (Slide 6) ──────────────────────── */

.game-info-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.game-info-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(224, 192, 128, 0.12) 0%, rgba(224, 192, 128, 0.06) 100%);
    border: 1.5px solid rgba(224, 192, 128, 0.4);
    border-radius: 50px;
    color: #e0c080;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.game-info-cta-btn:hover {
    background: linear-gradient(135deg, rgba(224, 192, 128, 0.25) 0%, rgba(224, 192, 128, 0.15) 100%);
    border-color: #e0c080;
    box-shadow: 0 4px 16px rgba(224, 192, 128, 0.2);
    transform: translateY(-2px);
}

.game-info-cta-btn:active {
    transform: translateY(0);
}
