/**
 * CAFÉNET - Minimalist & Luxury Gaming Lounge
 * Ultra-Modern Minimal Premium UI Theme
 */

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

:root {
    --bg-base: #07090e;
    --bg-surface: #0d1017;
    --bg-card: #121622;
    --bg-card-hover: #171d2c;
    --bg-glass: rgba(18, 22, 34, 0.72);
    
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-purple-glow: rgba(139, 92, 246, 0.22);
    --neon-purple: #8b5cf6;
    
    --accent-orange: #f97316;
    --accent-orange-hover: #ea580c;
    --accent-orange-glow: rgba(249, 115, 22, 0.25);
    --neon-orange: #f97316;

    --accent-blue: #0284c7;
    --accent-blue-glow: rgba(2, 132, 199, 0.25);
    --neon-blue: #0284c7;
    
    --status-free: #10b981;
    --status-free-bg: rgba(16, 185, 129, 0.12);
    --neon-green: #10b981;
    
    --status-occupied: #f43f5e;
    --status-occupied-bg: rgba(244, 63, 94, 0.12);
    --neon-red: #f43f5e;
    
    --status-reserved: #f59e0b;
    --status-reserved-bg: rgba(245, 158, 11, 0.12);
    --status-disabled: #64748b;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-faint: #475569;
    
    --border-hairline: rgba(255, 255, 255, 0.07);
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-focus: rgba(139, 92, 246, 0.45);
    
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 9999px;
    
    --bottom-nav-height: 52px;

    /* Bootstrap 5.3 Dark Mode Overrides */
    --bs-body-bg: #07090e;
    --bs-body-color: #f8fafc;
    --bs-border-color: rgba(255, 255, 255, 0.08);
}

/* Genel Temel */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(var(--bottom-nav-height) + 16px);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.16s ease;
}

a:hover {
    color: var(--accent-purple-light);
}

/* Navbar - Ultra-Minimalist Compact Frosted Glass */
.cafenet-navbar {
    background: rgba(7, 9, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-hairline);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: #fff !important;
}

.brand-logo img {
    height: 28px;
    width: auto;
}

.brand-logo .brand-highlight {
    color: var(--accent-purple);
}

.cafenet-navbar .nav-link {
    font-size: 0.84rem;
    padding: 6px 12px !important;
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.cafenet-navbar .nav-link:hover,
.cafenet-navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04);
}

/* Minimalist Butonlar */
.btn-neon-orange {
    background: var(--accent-orange);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    box-shadow: 0 4px 14px var(--accent-orange-glow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.btn-neon-orange:hover, .btn-neon-orange:active {
    background: #fb923c;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-neon-purple {
    background: rgba(139, 92, 246, 0.14);
    color: #c4b5fd !important;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.32);
    border-radius: var(--radius-md);
    padding: 10px 20px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-neon-purple:hover {
    background: var(--accent-purple);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-purple-glow);
}

.btn-ps5 {
    background: rgba(2, 132, 199, 0.15);
    color: #38bdf8 !important;
    font-weight: 600;
    border: 1px solid rgba(2, 132, 199, 0.35);
    border-radius: var(--radius-md);
    padding: 11px 22px;
    transition: all 0.2s ease;
}

.btn-ps5:hover {
    background: var(--accent-blue);
    color: #fff !important;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px var(--accent-blue-glow);
}

.btn-surface {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--text-main);
    border-radius: var(--radius-md);
    padding: 9px 18px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.18s ease;
}

.btn-surface:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-subtle);
    color: #fff;
    transform: translateY(-1px);
}

/* Minimalist Hero Bölümü */
.hero-section {
    background: 
        radial-gradient(ellipse 60% 40% at 50% -10%, rgba(139, 92, 246, 0.12) 0%, transparent 80%),
        radial-gradient(ellipse 40% 30% at 90% 60%, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
    padding: 70px 0 45px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.035em;
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(0.98rem, 2.2vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 620px;
    font-weight: 400;
    line-height: 1.65;
}

/* Canlı Masa Grid */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 576px) {
    .pc-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pc-card {
        padding: 10px;
        border-radius: var(--radius-md);
    }

    .pc-number {
        font-size: 0.92rem;
        margin-top: 2px;
    }

    .pc-specs {
        font-size: 0.7rem;
        margin: 4px 0 8px;
        min-height: auto;
        line-height: 1.35;
    }

    .pc-status-indicator {
        font-size: 0.62rem;
        padding: 2px 6px;
    }

    .cafe-menu-item {
        padding: 10px;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cafe-menu-icon {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .cafe-menu-item strong {
        font-size: 0.78rem;
        line-height: 1.25;
        display: block;
    }

    .cafe-menu-item small {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .game-card {
        padding: 8px !important;
    }

    .game-card .p-2\.5, .game-card .p-2 {
        padding: 6px !important;
        font-size: 1.1rem !important;
    }

    .gaming-card {
        padding: 14px;
    }
}

/* Minimalist İstasyon Kartları */
.pc-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 18px;
    position: relative;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pc-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-subtle);
    background: var(--bg-card);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pc-card.state-free {
    border-top: 2px solid var(--status-free);
}

.pc-card.state-occupied {
    border-top: 2px solid var(--status-occupied);
    opacity: 0.88;
}

.pc-card.state-reserved {
    border-top: 2px solid var(--status-reserved);
}

.pc-card.state-maintenance,
.pc-card.state-disabled {
    border-top: 2px solid var(--status-disabled);
    opacity: 0.55;
}

.pc-card.is-playstation {
    background: linear-gradient(180deg, rgba(2, 132, 199, 0.05) 0%, var(--bg-surface) 100%);
}

.pc-card.is-playstation:hover {
    border-color: rgba(2, 132, 199, 0.35);
}

/* Durum Noktası & Rozeti */
.pc-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}

.pc-status-indicator.free {
    background: var(--status-free-bg);
    color: var(--status-free);
}

.pc-status-indicator.occupied {
    background: var(--status-occupied-bg);
    color: var(--status-occupied);
}

.pc-status-indicator.reserved {
    background: var(--status-reserved-bg);
    color: var(--status-reserved);
}

.pc-status-indicator.disabled {
    background: rgba(100, 116, 139, 0.14);
    color: var(--status-disabled);
}

.pc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.pc-dot.free {
    background: var(--status-free);
    box-shadow: 0 0 8px var(--status-free);
}

.pc-dot.occupied {
    background: var(--status-occupied);
    box-shadow: 0 0 8px var(--status-occupied);
}

.pc-dot.reserved {
    background: var(--status-reserved);
    box-shadow: 0 0 8px var(--status-reserved);
}

.pc-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
    letter-spacing: -0.02em;
}

.pc-specs {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 8px 0 14px;
    min-height: 48px;
    line-height: 1.5;
}

/* Kart Yüzeyleri (Gaming Card) */
.gaming-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease;
}

.gaming-card-header {
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

/* Form Elemanları */
.form-control, .form-select {
    background-color: #0b0e14;
    border: 1px solid var(--border-hairline);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.92rem;
    transition: all 0.18s ease;
}

.form-control:focus, .form-select:focus {
    background-color: #0e121a;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px var(--accent-purple-glow);
    color: #fff;
}

.form-control::placeholder {
    color: var(--text-faint);
}

.form-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 5px;
    letter-spacing: 0.01em;
}

/* Minimalist Oyun Kartları */
.game-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.game-card:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card);
    transform: translateY(-2px);
}

/* Kafe Menü Öğeleri */
.cafe-menu-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cafe-menu-item:hover {
    border-color: var(--border-subtle);
    background: var(--bg-card);
    transform: translateY(-1.5px);
}

.cafe-menu-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(249, 115, 22, 0.12);
    color: var(--accent-orange);
    flex-shrink: 0;
}

/* SSS Accordion */
.accordion-gaming .accordion-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-gaming .accordion-button {
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 18px;
    box-shadow: none;
    letter-spacing: -0.01em;
}

.accordion-gaming .accordion-button:not(.collapsed) {
    background-color: rgba(139, 92, 246, 0.08);
    color: var(--accent-purple-light);
    border-bottom: 1px solid var(--border-hairline);
}

.accordion-gaming .accordion-button::after {
    filter: invert(1);
    opacity: 0.7;
    transform: scale(0.85);
}

.accordion-gaming .accordion-body {
    background-color: var(--bg-surface);
    color: var(--text-muted);
    padding: 18px;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Ultra-Compact Minimalist Mobil Alt Navigasyon (Floating Dock) */
.mobile-bottom-nav {
    position: fixed;
    bottom: 8px;
    left: 10px;
    right: 10px;
    height: 52px;
    background: rgba(10, 13, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-hairline);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding: 0 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

.nav-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    height: 100%;
    position: relative;
    transition: all 0.15s ease;
    padding-top: 2px;
}

.nav-item-mobile i {
    font-size: 1.15rem;
    margin-bottom: 1px;
    transition: transform 0.15s ease;
}

.nav-item-mobile.active,
.nav-item-mobile:hover {
    color: #fff;
}

.nav-item-mobile.active i {
    color: var(--accent-purple-light);
}

.nav-item-mobile.highlight-btn {
    color: var(--accent-orange);
}

.nav-item-mobile.highlight-btn i {
    color: var(--accent-orange);
}

/* Filtreleme Hapları (Filter Pills) */
.filter-pill {
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-subtle);
}

.filter-pill.active {
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.4);
}

/* Stat Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    border: 1px solid var(--border-hairline);
    color: var(--text-main);
}
