/* Fast Party 3B Gezilebilir Lobi Meydanı — HUD & Çekmece Stilleri (CDN'siz) */

:root {
    --fp-bg: #090C15;
    --fp-glass: rgba(13, 17, 30, 0.80);
    --fp-border: rgba(56, 70, 108, 0.58);
    --fp-text: #F4F6FB;
    --fp-muted: #9AA7C4;
    --fp-orange: #F25C05;
    --fp-orange-hi: #FF7A1A;
    --fp-blue: #2AA3DC;
    --fp-lime: #8AC900;
    --fp-red: #FF1E2D;
}

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--fp-bg);
    color: var(--fp-text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

#fp3dCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    touch-action: none;
    cursor: crosshair;
}

.fp3d-glass {
    background: var(--fp-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--fp-border);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

/* Üst Sabit HUD Barı */
.fp3d-nav {
    position: fixed;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 14px;
    border-radius: 16px;
}

.fp3d-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.fp3d-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.fp3d-stations-nav {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.fp3d-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e4eaf7;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    white-space: nowrap;
}

.fp3d-pill-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.fp3d-pill-btn:active {
    transform: translateY(1px);
}

.fp3d-pill-btn.is-red {
    background: rgba(255, 30, 45, 0.16);
    border-color: rgba(255, 30, 45, 0.48);
    color: #ffd5d8;
}

.fp3d-pill-btn.is-red.is-active,
.fp3d-pill-btn.is-red:hover {
    background: rgba(255, 30, 45, 0.32);
    border-color: var(--fp-red);
}

.fp3d-pill-btn.is-blue.is-active,
.fp3d-pill-btn.is-blue:hover {
    background: rgba(42, 163, 220, 0.26);
    border-color: var(--fp-blue);
}

.fp3d-pill-btn.is-orange {
    background: rgba(242, 92, 5, 0.2);
    border-color: rgba(242, 92, 5, 0.55);
    color: #ffe2cc;
}

.fp3d-pill-btn.is-orange.is-active,
.fp3d-pill-btn.is-orange:hover {
    background: rgba(242, 92, 5, 0.38);
    border-color: var(--fp-orange-hi);
}

.fp3d-pill-btn.is-lime.is-active,
.fp3d-pill-btn.is-lime:hover {
    background: rgba(138, 201, 0, 0.25);
    border-color: var(--fp-lime);
}

.fp3d-nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp3d-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fp-red);
    box-shadow: 0 0 0 0 rgba(255, 30, 45, 0.8);
    animation: fp3dPulse 1.6s infinite;
}

@keyframes fp3dPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 30, 45, 0.8); }
    70% { box-shadow: 0 0 0 8px rgba(255, 30, 45, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 30, 45, 0); }
}

/* Sol Alt Kontrol İpucu */
.fp3d-controls-hint {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 18;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.78rem;
    color: var(--fp-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fp3d-kbd {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.74rem;
    font-weight: 700;
}

/* Orta Alt Yakınlık Etkileşim Çubuğu */
.fp3d-prompt {
    position: fixed;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
    z-index: 22;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    background: rgba(13, 17, 30, 0.92);
    border: 2px solid var(--fp-orange);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
    transition: transform 0.15s ease;
}

.fp3d-prompt:hover {
    transform: translateX(-50%) scale(1.04);
}

.fp3d-prompt[hidden] {
    display: none;
}

/* Sağ Taraf Cam İstasyon Çekmecesi */
.fp3d-drawer {
    position: fixed;
    top: 76px;
    right: 16px;
    bottom: 16px;
    width: 400px;
    max-width: calc(100vw - 32px);
    z-index: 30;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    animation: fp3dSlideIn 0.2s ease-out;
}

.fp3d-drawer[hidden] {
    display: none;
}

@keyframes fp3dSlideIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

.fp3d-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fp3d-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.fp3d-badge.is-red { background: rgba(255, 30, 45, 0.22); color: #ffd0d4; border: 1px solid rgba(255, 30, 45, 0.55); }
.fp3d-badge.is-blue { background: rgba(42, 163, 220, 0.2); color: #bae6fd; border: 1px solid rgba(42, 163, 220, 0.55); }
.fp3d-badge.is-orange { background: rgba(242, 92, 5, 0.2); color: #fed7aa; border: 1px solid rgba(242, 92, 5, 0.55); }
.fp3d-badge.is-lime { background: rgba(138, 201, 0, 0.2); color: #e4fca8; border: 1px solid rgba(138, 201, 0, 0.55); }

.fp3d-drawer-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.fp3d-drawer-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fp3d-drawer-foot {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--fp-muted);
}

.fp3d-link-btn {
    background: none;
    border: 0;
    padding: 0;
    color: var(--fp-blue);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fp3d-link-btn:hover {
    text-decoration: underline;
}

.fp3d-p {
    margin: 0;
    font-size: 0.87rem;
    color: #c7d1e6;
    line-height: 1.5;
}

.fp3d-hint {
    font-size: 0.78rem;
    color: var(--fp-muted);
    text-align: center;
}

.fp3d-yt-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 30, 45, 0.4);
    background: #070a12;
}

.fp3d-yt-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.fp3d-yt-poster {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background:
        linear-gradient(180deg, rgba(11, 13, 20, 0.35), rgba(11, 13, 20, 0.88)),
        url('../../imgs/arena-gelgit.jpg') center / cover no-repeat;
}

.fp3d-play-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fp-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 0 0 10px rgba(255, 30, 45, 0.22);
}

.fp3d-yt-note {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e4eaf7;
    background: rgba(9, 12, 21, 0.78);
    padding: 5px 10px;
    border-radius: 8px;
}

.fp3d-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #dbe4f6;
}

.fp3d-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.fp3d-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.07);
    color: #c7d1e6;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.fp3d-chip.is-yt { background: var(--fp-red); border-color: var(--fp-red); color: #fff; }
.fp3d-chip.is-blue { background: rgba(42, 163, 220, 0.22); border-color: rgba(42, 163, 220, 0.55); color: #bae6fd; }
.fp3d-chip.is-lime { background: rgba(138, 201, 0, 0.2); border-color: rgba(138, 201, 0, 0.55); color: #d9f99d; }
.fp3d-chip.is-orange { background: rgba(242, 92, 5, 0.2); border-color: rgba(242, 92, 5, 0.55); color: #fed7aa; }

.fp3d-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.fp3d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: filter 0.15s ease, background 0.15s ease;
}

.fp3d-btn:hover {
    filter: brightness(1.08);
}

.fp3d-btn-full {
    width: 100%;
}

.fp3d-btn.is-orange {
    background: linear-gradient(135deg, var(--fp-orange), var(--fp-orange-hi));
    color: #fff;
}

.fp3d-btn.is-red {
    background: var(--fp-red);
    color: #fff;
}

.fp3d-btn.is-blue {
    background: var(--fp-blue);
    color: #09131d;
}

.fp3d-btn.is-lime {
    background: var(--fp-lime);
    color: #0d1602;
}

.fp3d-btn.is-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.fp3d-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.fp3d-list-item,
.fp3d-faq-card {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fp3d-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fp3d-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.fp3d-item-sub {
    font-size: 0.78rem;
    color: var(--fp-muted);
}

.fp3d-empty {
    padding: 16px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    font-size: 0.84rem;
    color: var(--fp-muted);
    text-align: center;
}

.fp3d-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.fp3d-step {
    padding: 10px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.fp3d-step-n {
    font-size: 1rem;
    font-weight: 800;
    color: var(--fp-orange-hi);
}

.fp3d-step-t {
    font-size: 0.74rem;
    color: #dce4f4;
    margin-top: 3px;
}

.fp3d-text-link {
    font-size: 0.8rem;
    color: var(--fp-blue);
    text-align: center;
    font-weight: 600;
}

.fp3d-text-link:hover {
    text-decoration: underline;
}

/* Bildirim Toast */
.fp3d-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 35;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.83rem;
    font-weight: 700;
    color: #e4fca8;
    border-color: rgba(138, 201, 0, 0.55);
}

.fp3d-toast[hidden] {
    display: none;
}

/* Mobil Alt Hızlı Bar & Zıpla Butonu */
.fp3d-mobile-dock {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 22;
    padding: 7px;
    border-radius: 14px;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.fp3d-mobile-dock button {
    padding: 8px 4px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: #eef3fc;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.fp3d-mobile-jump {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 74px;
    z-index: 22;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--fp-orange-hi);
    background: rgba(242, 92, 5, 0.85);
    color: #fff;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(242, 92, 5, 0.4);
}

@media (max-width: 920px) {
    .fp3d-stations-nav,
    .fp3d-controls-hint,
    .fp3d-hide-sm {
        display: none;
    }

    .fp3d-mobile-dock {
        display: grid;
    }

    .fp3d-mobile-jump {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .fp3d-prompt {
        bottom: 80px;
    }

    .fp3d-drawer {
        top: 68px;
        bottom: 72px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }
}
