﻿/* PAGE -- drakon_desktop | Auto-extracted */

/* ═══════════════════════════════════════════
   SLOTS LAYOUT — SIDEBAR + CONTENT
   ═══════════════════════════════════════════ */
.slots-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 0;
    min-height: calc(100vh - 180px);
}

/* ── Left Sidebar ── */
.provider-sidebar {
    background: #0d0d0d;
    border-right: 1px solid rgba(201, 168, 76, 0.08);
    padding: 0;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,0.15) transparent;
}
.provider-sidebar::-webkit-scrollbar { width: 4px; }
.provider-sidebar::-webkit-scrollbar-track { background: transparent; }
.provider-sidebar::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.15); border-radius: 4px; }

.sidebar-header {
    padding: 18px 16px 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}
.sidebar-tab-row {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}
.sidebar-tab {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.sidebar-tab.active {
    color: #FFD700;
    border-bottom-color: #C9A84C;
}
.sidebar-tab:hover { color: rgba(255,255,255,0.7); }

.provider-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #141414;
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
}
.provider-search-box i { color: #C9A84C; font-size: 0.8rem; flex-shrink: 0; }
.provider-search-box input {
    background: transparent; border: none; outline: none;
    color: white; font-size: 0.82rem; width: 100%; font-weight: 500;
}
.provider-search-box input::placeholder { color: rgba(255,255,255,0.25); }

.sidebar-provider-list {
    padding: 8px 10px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.sidebar-provider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(201, 168, 76, 0.04);
    background: rgba(255,255,255,0.02);
    text-align: center;
    min-height: 68px;
}
.sidebar-provider:hover {
    background: rgba(201, 168, 76, 0.06);
    color: #fff;
    border-color: rgba(201, 168, 76, 0.08);
}
.sidebar-provider.active {
    background: rgba(201, 168, 76, 0.1);
    color: #FFD700;
    border-color: rgba(201, 168, 76, 0.2);
    font-weight: 700;
}
.sidebar-provider-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.sidebar-provider-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.provider-placeholder {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.65rem;
    color: #C9A84C;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.sidebar-provider-name {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 100%; line-height: 1.2;
}
.sidebar-provider-count {
    margin-left: auto;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* ── Right Content ── */
.slots-content {
    padding: 20px 24px;
}

.game-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.game-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #141414;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    padding: 10px 18px;
    flex: 1;
    min-width: 200px;
    transition: border-color 0.2s;
}
.game-search-box:focus-within { border-color: rgba(201, 168, 76, 0.3); }
.game-search-box i { color: #C9A84C; flex-shrink: 0; }
.game-search-box input {
    background: transparent; border: none; outline: none;
    color: white; font-size: 0.92rem; width: 100%; font-weight: 500;
}
.game-search-box input::placeholder { color: rgba(255,255,255,0.25); }

.random-game-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #C9A84C, #FFD700);
    color: #000; border: none; border-radius: 12px;
    padding: 10px 20px; font-weight: 800; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: transform 0.15s, filter 0.15s;
    white-space: nowrap;
}
.random-game-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }

.grid-toggle-btn {
    background: #141414; border: 1px solid rgba(201,168,76,0.1);
    color: rgba(255,255,255,0.5); border-radius: 10px;
    padding: 10px 14px; cursor: pointer; font-size: 1rem;
    transition: color 0.2s;
}
.grid-toggle-btn:hover { color: #FFD700; }

/* ── Game Cards — UNCHANGED dimensions ── */
.game-card {
    background: #141414;
    border: 1px solid rgba(212, 162, 62, 0.22);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    aspect-ratio: 4/3;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28);
    cursor: pointer;
}
.game-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 42%);
    opacity: 0; transition: opacity 0.28s ease;
    z-index: 1; pointer-events: none;
}
.game-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: translateZ(0);
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 188, 92, 0.58);
    box-shadow: 0 14px 28px rgba(0,0,0,0.44), 0 0 0 1px rgba(232, 188, 92, 0.2);
    z-index: 10;
}
.game-card:hover::before { opacity: 1; }
.game-card:hover img { transform: scale(1.06); }

.provider-pill {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    max-width: calc(100% - 20px);
    padding: 4px 10px; border-radius: 999px;
    border: 1px solid rgba(233, 191, 99, 0.45);
    background: rgba(7, 7, 7, 0.72);
    color: #f7deaa; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.03em; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.play-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 8px;
    opacity: 0; transition: opacity 0.24s ease;
    padding: 12px;
    background: transparent;
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
}
.game-card:hover .play-overlay { opacity: 1; }
.overlay-game-title {
    color: #fff; font-size: 0.85rem; font-weight: 700;
    text-align: center; margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.7); padding: 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.game-title {
    color: white; font-weight: 700; font-size: 0.9rem;
    line-height: 1.2; margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.overlay-btn {
    background: #FFC900 !important;
    color: #000 !important; padding: 8px 20px !important; border-radius: 8px !important;
    font-weight: 800 !important; text-decoration: none !important;
    transition: transform 0.15s ease !important; font-size: 0.85rem !important;
    box-shadow: 0 4px 10px rgba(201,168,76,0.3) !important; border: none !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: auto !important; margin: 0 !important; text-transform: uppercase !important;
}
.overlay-btn:hover { color: #000 !important; filter: brightness(1.06) !important; transform: scale(1.08) !important; }

.games-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Live Casino theme overrides */
.live-theme-grid .game-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.live-theme-grid .game-card::before { display: none; }
.live-theme-grid .game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.2), 0 4px 12px rgba(0,0,0,0.4);
    border-color: rgba(201, 168, 76, 0.4);
}
.live-theme-grid .game-card:hover img { transform: scale(1.05); filter: brightness(0.4); }
.live-theme-grid .provider-pill { display: none; }


/* ── Active Provider Info Bar ── */
.active-provider-bar {
    display: flex; align-items: center; gap: 12px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 12px; padding: 10px 16px;
    margin-bottom: 20px;
}
.active-provider-bar .label {
    color: rgba(255,255,255,0.4); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}
.active-provider-bar .name {
    color: #FFD700; font-weight: 800; font-size: 0.95rem;
}
.active-provider-bar .clear-btn {
    margin-left: auto;
    color: rgba(255,255,255,0.3); font-size: 0.75rem;
    text-decoration: none; transition: color 0.2s;
}
.active-provider-bar .clear-btn:hover { color: #fff; }

@media (max-width: 992px) {
    .slots-layout { grid-template-columns: 1fr; }
    .provider-sidebar { display: none; }
}
