/* =========================================================
   KEYİFBİZDE.COM - OKEYVIP & 101 SALONU ORİJİNAL TAM STİL DOSYASI
   Parça 1/4: Kök Değişkenler, Scrollbar, Giriş Kapısı & Animasyonlar
   ========================================================= */
:root {
    --bg-dark: #030d07;
    --bg-panel: #071910;
    --felt-green: #0d4a2d;
    --felt-dark: #052214;
    --felt-101: #881337;
    --gold: #f59e0b;
    --gold-light: #fde68a;
    --gold-bright: #fef08a;
    --gold-dark: #b45309;
    --gold-deep: #78350f;
    --emerald: #10b981;
    --emerald-dark: #047857;
    --ruby: #e11d48;
    --ruby-dark: #9f1239;
    --sapphire: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --wood-light: #7c3a12;
    --wood-mid: #542508;
    --wood-dark: #311303;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #092214 0%, #041109 55%, #020804 100%);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

/* ÖZEL ALTIN KAYDIRMA ÇUBUĞU (SCROLLBAR) */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
    border-radius: 8px;
}

/* =========================================================
   0. ANA SAYFA OKEYE GİRİŞ KAPISI (WELCOME GATE)
   ========================================================= */
.welcome-gate {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
        radial-gradient(circle at center, #0d341f 0%, #030b06 100%);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    backdrop-filter: blur(10px);
}

.gate-card {
    width: 100%;
    max-width: 425px;
    background:
        radial-gradient(circle at top, rgba(245, 158, 11, 0.14) 0%, transparent 65%),
        linear-gradient(165deg, rgba(12, 40, 24, 0.96) 0%, rgba(4, 15, 9, 0.99) 100%);
    border: 2.5px solid var(--gold);
    outline: 1px solid rgba(253, 230, 138, 0.35);
    border-radius: 26px;
    padding: 22px 18px 20px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 35px rgba(245, 158, 11, 0.32),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.gate-phone-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(0, 0, 0, 0.65));
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gate-phone-btn:hover, .gate-phone-btn:active {
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.85);
}

.phone-svg {
    width: 19px;
    height: 19px;
}

.corner-okeyvip-fire {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 55%, #7f1d1d 100%);
    border: 1.5px solid #fde047;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.6px;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.8);
    animation: fireGlowPulse 1.6s infinite alternate ease-in-out;
}

@keyframes fireGlowPulse {
    from { box-shadow: 0 0 10px rgba(239, 68, 68, 0.6); transform: scale(0.98); }
    to   { box-shadow: 0 0 22px rgba(250, 204, 21, 0.95); transform: scale(1.03); }
}

.gate-logo-box {
    text-align: center;
    margin: 16px 0 18px;
}

.gate-crown {
    font-size: 36px;
    display: inline-block;
    filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.9));
    animation: crownFloat 2.4s infinite alternate ease-in-out;
}

@keyframes crownFloat {
    from { transform: translateY(0px) scale(1); }
    to   { transform: translateY(-5px) scale(1.06); }
}

.super-neon-logo {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 900;
    color: #fde68a;
    letter-spacing: 1.2px;
    text-shadow:
        0 2px 0 #78350f,
        0 4px 14px rgba(245, 158, 11, 0.75),
        0 0 28px rgba(245, 158, 11, 0.4);
    margin-top: 2px;
}

.super-neon-logo span {
    color: #34d399;
    text-shadow:
        0 2px 0 #064e3b,
        0 0 18px rgba(52, 211, 153, 0.8);
}

.gate-sub {
    font-size: 10.5px;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: 1.5px;
    margin-top: 4px;
    text-transform: uppercase;
}

.gate-tabs.three-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 15px;
}

.gate-tab {
    background: linear-gradient(180deg, #132a1d 0%, #07130c 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    border-bottom: 3px solid rgba(180, 83, 9, 0.6);
    color: #e2e8f0;
    padding: 9px 4px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gate-tab.active {
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 55%, #b45309 100%);
    color: #1c0a00;
    border-color: #ffffff;
    border-bottom: 3px solid #78350f;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.75);
    transform: translateY(-1px);
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gate-form label {
    font-size: 11.5px;
    font-weight: 800;
    color: #fde68a;
    display: block;
    margin-bottom: 4px;
}

.gate-form input {
    width: 100%;
    height: 42px;
    background: rgba(2, 9, 5, 0.78);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    border-radius: 11px;
    color: #ffffff;
    padding: 0 13px;
    font-size: 13.5px;
    font-weight: 700;
    outline: none;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gate-form input:focus {
    border-color: #fde047;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 12px rgba(250, 204, 21, 0.45);
}

.captcha-inline-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.45);
    padding: 7px 9px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.cap-label {
    font-size: 11px;
    font-weight: 800;
    color: #fde68a;
    white-space: nowrap;
}

.cap-code-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px dashed #fbbf24;
    color: #fde047;
    font-family: 'Courier New', monospace;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 3px;
    padding: 5px 11px;
    border-radius: 9px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.guest-warning {
    font-size: 11px;
    color: #fef3c7;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 8px 10px;
    border-radius: 10px;
    line-height: 1.4;
}

.btn-gate-enter {
    height: 46px;
    background: linear-gradient(180deg, #34d399 0%, #10b981 48%, #047857 100%);
    color: #ffffff;
    border: 2px solid #a7f3d0;
    border-bottom: 4px solid #064e3b;
    border-radius: 13px;
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.55);
    margin-top: 4px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gate-enter:active {
    transform: translateY(2px);
}

/* =========================================================
   1. ÜST BAR (MASTER NAVBAR & RADYO EKOLAYZER)
   ========================================================= */
.master-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 7px 10px;
    background: linear-gradient(180deg, #0d2b1a 0%, #041009 100%);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.85), 0 0 15px rgba(245, 158, 11, 0.22);
    position: sticky;
    top: 0;
    z-index: 150;
}

.btn-lux-nav {
    background: linear-gradient(180deg, #1e3a2b 0%, #091810 100%);
    color: #fef08a;
    border: 1.5px solid #f59e0b;
    border-bottom: 3px solid #b45309;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.18s ease;
}

.btn-lux-nav:active {
    transform: translateY(2px);
}

.btn-lobby-back {
    background: linear-gradient(180deg, #dc2626 0%, #7f1d1d 100%) !important;
    border-color: #fca5a5 !important;
    border-bottom-color: #450a0a !important;
    color: #ffffff !important;
}

.nav-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.65);
    border: 1.5px solid var(--gold);
    padding: 3px 9px 3px 5px;
    border-radius: 99px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-radio {
    background: linear-gradient(180deg, #fde047 0%, #f59e0b 55%, #d97706 100%);
    color: #1c0a00;
    border: 1px solid #ffffff;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.5);
}

.radio-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 13px;
    padding-right: 2px;
}

.radio-bars i {
    width: 3px;
    height: 4px;
    background: #10b981;
    display: inline-block;
    border-radius: 2px;
    transition: height 0.2s;
}

.radio-bars.playing i {
    animation: eqBounce 0.42s infinite alternate ease-in-out;
}
.radio-bars.playing i:nth-child(2) { animation-delay: 0.14s; background: #fbbf24; }
.radio-bars.playing i:nth-child(3) { animation-delay: 0.28s; background: #34d399; }

@keyframes eqBounce {
    from { height: 3px; }
    to   { height: 13px; }
}

.btn-online-blinking {
    background: linear-gradient(180deg, #059669 0%, #065f46 100%);
    color: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    border-bottom: 3px solid #064e3b;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

.green-beacon {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: beaconPulse 1s infinite alternate;
}

@keyframes beaconPulse {
    from { opacity: 0.55; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1.25); }
}

.btn-vip-ultra {
    background: linear-gradient(135deg, #fbbf24 0%, #ec4899 55%, #be185d 100%);
    color: #ffffff;
    border: 1.5px solid #fef08a;
    border-bottom: 3px solid #831843;
    padding: 6px 13px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.65);
    animation: vipShimmer 2.2s infinite alternate;
}

@keyframes vipShimmer {
    from { filter: brightness(1); }
    to   { filter: brightness(1.18); }
}

/* =========================================================
   2. LOBİ EKRANI, KATEGORİ SEKMELERİ & MASA VİTRİNİ
   ========================================================= */
.lobby-screen {
    padding: 12px 10px 76px;
    max-width: 1060px;
    margin: 0 auto;
}

.lobby-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lobby-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(90deg, #071910 0%, #113320 50%, #071910 100%);
    border: 2px solid var(--gold);
    padding: 9px 10px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(245, 158, 11, 0.15);
}

.category-tabs {
    display: flex;
    flex: 1;
    gap: 8px;
}

.cat-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.55);
    border-bottom: 4px solid #334155;
    color: #e2e8f0;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.tab-ico {
    font-size: 15px;
}

.tables-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
    gap: 14px;
}

.lobby-table-card {
    background:
        radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, transparent 70%),
        linear-gradient(165deg, #0c2617 0%, #06150d 60%, #030b06 100%);
    border: 2.5px solid #d97706;
    outline: 1px solid rgba(253, 230, 138, 0.35);
    border-radius: 22px;
    padding: 13px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease;
}

.lt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
}

.lt-title-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.lt-title {
    font-family: 'Cinzel', serif;
    font-size: 15.5px;
    font-weight: 900;
    color: #fde68a;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.status-badge-waiting, .status-badge-playing {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 99px;
}

.status-badge-waiting {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fde68a;
}

.status-badge-playing {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid #34d399;
    color: #ecfdf5;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.lt-actions {
    display: flex;
    gap: 5px;
}

.btn-watch-table {
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    border: 1px solid #bae6fd;
    border-bottom: 2px solid #0369a1;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
}

.btn-arrow-specs {
    background: rgba(245, 158, 11, 0.16);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.5);
    padding: 5px 9px;
    border-radius: 9px;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
}

.lt-specs-drawer {
    display: none;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 11px;
    padding: 8px 11px;
    margin-bottom: 10px;
    flex-direction: column;
    gap: 5px;
}

.lt-specs-drawer.open {
    display: flex;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #cbd5e1;
}

.spec-row strong {
    color: #fde68a;
}

/* MİNİ LOBİ MASASI & OSMANLI KÖŞE MOTİFLERİ */
.real-mini-table-wrap {
    position: relative;
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-mini-felt {
    width: 196px;
    height: 110px;
    background: radial-gradient(ellipse at center, #13683e 0%, #093b23 68%, #042113 100%);
    border: 7px solid #5c2c0c;
    outline: 2px solid var(--gold);
    border-radius: 28px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 0 0 3px rgba(253, 230, 138, 0.35),
        inset 0 0 22px rgba(0, 0, 0, 0.9),
        0 8px 22px rgba(0, 0, 0, 0.85);
}

.ottoman-border-ornament {
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(253, 230, 138, 0.38);
    border-radius: 19px;
    pointer-events: none;
}

.ottoman-corner {
    position: absolute;
    font-size: 11px;
    color: rgba(253, 230, 138, 0.78);
    text-shadow: 0 1px 3px #000;
    pointer-events: none;
}
.ottoman-corner.tl { top: 6px; left: 9px; }
.ottoman-corner.tr { top: 6px; right: 9px; }
.ottoman-corner.bl { bottom: 6px; left: 9px; }
.ottoman-corner.br { bottom: 6px; right: 9px; }

.mini-table-center-logo {
    font-family: 'Amiri', serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #fde68a;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);
    letter-spacing: 0.3px;
}

.chair-btn {
    position: absolute;
    background: linear-gradient(180deg, #173322 0%, #08150d 100%);
    color: #fde68a;
    border: 1.5px solid var(--gold);
    border-bottom: 3px solid #92400e;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    z-index: 5;
    transition: transform 0.15s ease;
}

.chair-btn.real-player {
    background: linear-gradient(180deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    border-color: #fde047;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.chair-top    { top: 4px; left: 50%; transform: translateX(-50%); }
.chair-bottom { bottom: 4px; left: 50%; transform: translateX(-50%); }
.chair-left   { left: 2px; top: 50%; transform: translateY(-50%); }
.chair-right  { right: 2px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   3. OYUN MASASI EKRANI (CASINO TABLE, KOLTUKLAR & MERKEZ)
   ========================================================= */
.game-screen {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 50px);
    max-width: 1040px;
    margin: 0 auto;
    padding: 4px 6px 6px;
    gap: 5px;
}

.room-header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    background: linear-gradient(90deg, #06180e 0%, #0d2e1b 50%, #06180e 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    padding: 5px 8px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}

.rh-badge {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #b45309 100%);
    color: #1c0a00;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #ffffff;
}

.rh-katlama {
    font-size: 11px;
    color: #fde68a;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px 9px;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-weight: 700;
}

.btn-rh {
    border: none;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.btn-owner-start { background: linear-gradient(180deg, #34d399, #059669); border: 1px solid #a7f3d0; }
.btn-owner-tools { background: linear-gradient(180deg, #3b82f6, #1d4ed8); border: 1px solid #93c5fd; }
.btn-reveal      { background: linear-gradient(180deg, #f59e0b, #b45309); border: 1px solid #fde68a; color: #1c0a00; }
.btn-treat       { background: linear-gradient(180deg, #ec4899, #be185d); border: 1px solid #f9a8d4; }

.casino-table {
    flex: 1;
    min-height: 275px;
    background:
        radial-gradient(ellipse at center, #115936 0%, #08331e 65%, #03190e 100%);
    border: 7px solid #4a2106;
    outline: 2px solid var(--gold);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 2px rgba(253, 230, 138, 0.25),
        inset 0 0 40px rgba(0, 0, 0, 0.92),
        0 10px 30px rgba(0, 0, 0, 0.9);
}

.table-inner-line {
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(253, 230, 138, 0.22);
    border-radius: 20px;
    pointer-events: none;
}

.table-corner-badge {
    position: absolute;
    top: 12px;
    left: 14px;
    background: rgba(2, 10, 6, 0.78);
    border: 1.5px solid var(--gold);
    color: #fde68a;
    font-family: 'Cinzel', serif;
    font-size: 11.5px;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 99px;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.table-center-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 900;
    color: rgba(253, 230, 138, 0.08);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 1px;
}

.ottoman-flourish {
    color: rgba(245, 158, 11, 0.14);
}

/* OYUNCU KOLTUKLARI & MİNİ İSTAKALAR */
.seat-zone {
    position: absolute;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 4px;
}

.seat-top {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
}

.seat-left {
    left: 6px;
    top: 46%;
    transform: translateY(-50%);
}

.seat-right {
    right: 6px;
    top: 46%;
    transform: translateY(-50%);
}

.player-card {
    background: linear-gradient(180deg, rgba(8, 28, 17, 0.94) 0%, rgba(3, 12, 7, 0.96) 100%);
    border: 1.5px solid var(--gold);
    border-radius: 13px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
}

.player-card.side-card {
    flex-direction: column;
    padding: 5px 6px;
    text-align: center;
    min-width: 70px;
}

.p-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), rgba(0, 0, 0, 0.7));
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
}

.seat-mini-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.treat-badge {
    position: absolute;
    right: -6px;
    bottom: -4px;
    font-style: normal;
    font-size: 13px;
    filter: drop-shadow(0 2px 3px #000);
}

.p-name {
    font-size: 11px;
    font-weight: 800;
    color: #fde68a;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-stat {
    font-size: 9.5px;
    color: #94a3b8;
    font-weight: 700;
}

.branded-rack-horiz {
    background: linear-gradient(180deg, #6b3410 0%, #3b1905 100%);
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    padding: 2px 20px;
    font-family: 'Amiri', serif;
    font-size: 11px;
    font-weight: 700;
    color: #fde68a;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.branded-rack-vert {
    background: linear-gradient(90deg, #6b3410 0%, #3b1905 100%);
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    padding: 15px 3px;
    writing-mode: vertical-rl;
    font-family: 'Amiri', serif;
    font-size: 10.5px;
    font-weight: 700;
    color: #fde68a;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

/* 4 KÖŞE ATILAN TAŞ YUVALARI */
.discard-box {
    position: absolute;
    width: 40px;
    height: 54px;
    border: 1.5px dashed rgba(253, 230, 138, 0.45);
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.clickable-slot:active {
    border-color: #fde047;
    transform: scale(0.95);
}

.d-top-left     { top: 44px;    left: 80px; }
.d-top-right    { top: 44px;    right: 80px; }
.d-bottom-left  { bottom: 26px; left: 80px; cursor: pointer; }
.d-bottom-right { bottom: 26px; right: 80px; cursor: pointer; }

/* MASA MERKEZİ (101 PER TAHTASI, GÖSTERGE, DESTE, BİTİR, SÜRE) */
.table-center-hub {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 10;
    width: 74%;
    max-width: 350px;
}

.melds-board-101 {
    width: 100%;
    max-height: 78px;
    overflow-y: auto;
    background: rgba(2, 10, 6, 0.72);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    border-radius: 11px;
    padding: 5px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.melds-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.meld-chip {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(253, 230, 138, 0.3);
    padding: 2px 5px;
    border-radius: 7px;
    font-size: 9.5px;
    color: #fde68a;
    cursor: pointer;
}

.meld-chip .tile {
    width: 22px;
    height: 32px;
}
.meld-chip .tile .tile-num {
    font-size: 11px;
}

.center-action-tray {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, rgba(6, 22, 13, 0.92), rgba(2, 9, 5, 0.95));
    border: 1.5px solid rgba(245, 158, 11, 0.65);
    padding: 6px 11px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.tray-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.tray-lbl {
    font-size: 8.5px;
    font-weight: 900;
    color: #fde68a;
    letter-spacing: 0.5px;
}

.tray-slot, .deck-stack, .finish-target, .timer-circle {
    width: 38px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deck-stack {
    background: linear-gradient(145deg, #fef08a 0%, #f59e0b 55%, #b45309 100%);
    color: #1c0a00;
    font-weight: 900;
    font-size: 14px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 0 #78350f, 0 6px 12px rgba(0, 0, 0, 0.7);
}

.finish-target {
    border: 1.5px dashed #fbbf24;
    background: rgba(245, 158, 11, 0.14);
    font-size: 18px;
}

.timer-circle {
    background: radial-gradient(circle, #1e293b 0%, #0f172a 100%);
    border: 2px solid #f59e0b;
    color: #fde68a;
    font-size: 13px;
    font-weight: 900;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.game-toast {
    background: rgba(2, 9, 5, 0.88);
    border: 1.5px solid rgba(245, 158, 11, 0.5);
    color: #fef08a;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 99px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
}

/* =========================================================
   4. 3D AHŞAP İSTAKA (WOODEN CUE), TAŞLAR & MOBİL UYUMLULUK
   ========================================================= */
.player-dock {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.luxury-cue-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.lux-grp {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.btn-lux {
    border: 1.5px solid rgba(253, 230, 138, 0.6);
    border-bottom: 3px solid rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
    transition: transform 0.12s;
}

.btn-lux:active {
    transform: translateY(2px);
}

.btn-lux-gold    { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); color: #fde68a; }
.btn-lux-amber   { background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%); color: #1c0a00; }
.btn-lux-emerald { background: linear-gradient(180deg, #10b981 0%, #047857 100%); }
.btn-lux-Ruby    { background: linear-gradient(180deg, #e11d48 0%, #9f1239 100%); border-color: #fda4af; }

/* 3 KATMANLI GERÇEKÇİ AHŞAP İSTAKA */
.pro-wooden-cue {
    background:
        linear-gradient(180deg, #7c3a12 0%, #542508 48%, #311303 100%);
    border: 2.5px solid #d97706;
    border-bottom: 5px solid #240d02;
    border-radius: 15px;
    padding: 6px 4px 3px;
    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.22),
        inset 0 -3px 8px rgba(0, 0, 0, 0.8),
        0 10px 24px rgba(0, 0, 0, 0.92);
}

.cue-row-13 {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    gap: 2px;
    min-height: 45px;
    padding: 2px;
}

.cue-middle-beam {
    height: 6px;
    background: linear-gradient(180deg, #240d02 0%, #6b3410 50%, #311303 100%);
    border-top: 1px solid rgba(253, 230, 138, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.85);
    border-radius: 3px;
    margin: 2px 0;
}

.cue-bottom-engraved {
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: 13.5px;
    color: rgba(253, 230, 138, 0.72);
    text-shadow: 0 1px 2px #000;
    line-height: 1;
}

.cue-slot {
    height: 44px;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.65);
}

/* 3D FİLDİŞİ OKEY TAŞLARI */
.tile {
    width: 100%;
    max-width: 34px;
    height: 42px;
    background: linear-gradient(180deg, #ffffff 0%, #fefce8 65%, #fef08a 100%);
    border: 1px solid #cbd5e1;
    border-bottom: 3.5px solid #94a3b8;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3px 1px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.55);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.tile.selected {
    transform: translateY(-8px) scale(1.04);
    border: 2px solid #f59e0b;
    border-bottom: 3.5px solid #b45309;
    box-shadow: 0 10px 18px rgba(245, 158, 11, 0.8);
    z-index: 5;
}

.tile.valid-meld-tile {
    outline: 2px solid #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.65);
}

.tile-num {
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
}

.tile-indent {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.35));
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
}

.tile-badge {
    position: absolute;
    top: 1px;
    right: 2px;
    font-size: 8px;
    font-weight: 900;
    color: #b45309;
}

.tile.color-red    .tile-num { color: #dc2626; }
.tile.color-black  .tile-num { color: #0f172a; }
.tile.color-blue   .tile-num { color: #2563eb; }
.tile.color-yellow .tile-num { color: #d97706; }

.tile.flipped-kb {
    background: linear-gradient(145deg, #fef08a 0%, #f59e0b 55%, #b45309 100%);
    border-color: #78350f;
    justify-content: center;
}

.kb-back-logo {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 900;
    color: #451a03;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.b-mirror {
    display: inline-block;
    transform: scaleX(-1);
}

/* MASA ALTI SOHBET ÇUBUĞU */
.premium-chat-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #04120a 0%, #0b2617 50%, #04120a 100%);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    padding: 4px 8px;
    height: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.chat-badge-tag {
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid var(--gold);
    color: #fde68a;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 7px;
    white-space: nowrap;
}

.premium-chat-bar .chat-log {
    flex: 1;
    font-size: 11.5px;
    color: #e2e8f0;
    white-space: nowrap;
    overflow-x: auto;
}

.premium-chat-bar .chat-send {
    display: flex;
    gap: 4px;
}

.premium-chat-bar .chat-send input {
    width: 140px;
    height: 30px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 7px;
    color: #ffffff;
    padding: 0 9px;
    font-size: 12px;
    outline: none;
}

.premium-chat-bar .chat-send button {
    height: 30px;
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #d97706 100%);
    color: #1c0a00;
    border: none;
    padding: 0 11px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 900;
    cursor: pointer;
}

/* =========================================================
   5. MOBİL EKRAN DUYARLILIK KURALLARI (@MEDIA)
   ========================================================= */
@media (max-width: 480px) {
    .tables-showcase {
        grid-template-columns: 1fr;
    }
    .d-top-left     { top: 42px; left: 66px; }
    .d-top-right    { top: 42px; right: 66px; }
    .d-bottom-left  { bottom: 22px; left: 66px; }
    .d-bottom-right { bottom: 22px; right: 66px; }
    .table-center-hub {
        width: 78%;
    }
    .tile-num {
        font-size: 13.5px;
    }
    .cue-row-13 {
        min-height: 41px;
    }
    .cue-slot {
        height: 40px;
    }
    .tile {
        height: 39px;
    }
}
