/* =========================================
   RACEDAY ÖZEL ARAYÜZ (UI) STİLLERİ
   ========================================= */

/* 1. Üst Bilgi Barı (Skor ve İsim) */
.user-status-bar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--card-bg);
    border-bottom: 2px solid var(--brand-red);
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 20px; box-sizing: border-box;
    z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.user-status-left { display: flex; align-items: center; gap: 10px; }
.us-icon { font-size: 1.5rem; color: var(--brand-blue); }
.us-info { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.us-nick { font-weight: bold; font-size: 0.9rem; color: var(--text-main); }
.us-table { font-size: 0.7rem; color: var(--text-sub); }

.user-status-right { display: flex; align-items: center; gap: 15px; }
.us-score-box { display: flex; flex-direction: column; text-align: right; line-height: 1.2; }
.us-score-label { font-size: 0.55rem; color: var(--text-sub); font-weight: bold; letter-spacing: 1px; }
.us-score-val { font-size: 1.2rem; font-family: 'Oswald'; color: var(--brand-red); font-weight: bold; }

/* Menü Butonu Ezici */
button.us-menu-btn { 
    background: transparent !important; border: none !important; color: var(--text-main) !important; 
    font-size: 1.5rem !important; cursor: pointer !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; width: auto !important; 
}

/* 2. Sağdan Açılan Menü (Side Menu) */
.side-menu {
    position: fixed; top: 0; right: -320px; width: 280px; height: 100%;
    background: var(--card-bg); z-index: 100000;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.3s ease-in-out;
    display: flex; flex-direction: column; padding: 20px; box-sizing: border-box;
}
.side-menu.active { right: 0; } 

button.close-menu {
    align-self: flex-end; background: transparent !important; color: var(--text-main) !important;
    border: none !important; font-size: 1.8rem !important; cursor: pointer !important; padding: 0 !important; 
    margin-bottom: 20px !important; box-shadow: none !important; width: auto !important; margin-top:0 !important;
}
.menu-header { text-align: center; margin-bottom: 30px; }
.menu-header h3 { margin: 0; color: var(--text-main); font-family: 'Oswald'; letter-spacing: 1px; }
.menu-items { display: flex; flex-direction: column; gap: 15px; }

button.menu-item {
    background: var(--input-bg) !important; color: var(--text-main) !important;
    border: 1px solid var(--input-border) !important; padding: 15px !important; border-radius: 8px !important;
    font-size: 1rem !important; font-weight: bold !important; cursor: pointer !important; display: flex !important; align-items: center; gap: 10px;
    box-shadow: none !important; margin: 0 !important; text-transform: none !important; font-family: 'Montserrat', sans-serif !important;
}
button.menu-item i { width: 20px; text-align: center; color: var(--brand-blue); }
button.menu-item.logout-btn { color: var(--brand-red) !important; border-color: rgba(234,33,88,0.3) !important; background: rgba(234,33,88,0.05) !important; }
button.menu-item.logout-btn i { color: var(--brand-red) !important; }


/* 3. Animasyonlar ve Kartlar */
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 4px 20px rgba(234,33,88,0.6); } 50% { transform: scale(1.05); box-shadow: 0 4px 30px rgba(234,33,88,0.9); } 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(234,33,88,0.6); } }
.hub-card { transition: transform 0.2s; }
.hub-card:active { transform: scale(0.95); transition: 0.1s; }

/* 4. SOSYAL MEDYA VE UYGULAMA BUTONLARI (No Game Screen İçin) */
.social-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 15px; border-radius: 8px;
    text-decoration: none; font-weight: 800; font-size: 0.95rem;
    margin-bottom: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box; font-family: 'Montserrat', sans-serif;
}
.social-btn:active { transform: translateY(3px); box-shadow: none; }
.social-btn i { font-size: 1.3rem; }

.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
}
.btn-web { background: #333; color: white !important; }
.btn-store { background: #000; color: white !important; flex: 1; padding: 12px 5px;}

/* REFLEKS OYUNLARI STİLLERİ */
.light-dot { width: 12px; height: 12px; border-radius: 50%; background: #333; }
.light-dot.red-light { background: #e74c3c; box-shadow: 0 0 8px #e74c3c; }

.lo-circle { width: 40px; height: 40px; border-radius: 50%; background: #333; border: 2px solid #555; transition: 0.1s; }
.lo-circle.on { background: #e74c3c; box-shadow: 0 0 20px #e74c3c; border-color: #ff7675; }

.ps-tire { 
    position: absolute; width: 60px; height: 90px; background: #222; border-radius: 10px; 
    border: 4px solid #555; cursor: pointer; transition: 0.1s;
    display: flex; align-items: center; justify-content: center;
}
.ps-tire::after { content: ''; width: 20px; height: 20px; background: #666; border-radius: 50%; border: 3px solid #999; }
.ps-tire.done { background: #27ae60; border-color: #2ecc71; pointer-events: none; opacity: 0.5; }
.ps-tire:active { transform: scale(0.9); }