body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #000000;
    background-image: radial-gradient(circle at center, #1a0b00 0%, #000000 100%);
    color: white;
    overflow: hidden; /* Kaydırmayı engelle */
    touch-action: manipulation; /* Mobil çift dokunma zoom'unu engelle */
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.3s;
}

/* Scrollbar Tasarımı (Paneller için şık görünüm) */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #ff4500; border-radius: 2px; }

/* --- ANA COIN BUTONU --- */
.anka-coin {
    width: 260px; 
    height: 260px; 
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9d00, #ff4500);
    box-shadow: 
        0 0 30px rgba(255, 69, 0, 0.5), 
        inset 0 0 20px rgba(255, 255, 255, 0.3), 
        inset 0 0 50px rgba(0, 0, 0, 0.2);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 90px; 
    color: #fff; 
    position: relative; 
    cursor: pointer; 
    transition: transform 0.1s ease;
    border: 8px solid #3a1500; 
    z-index: 10;
}

.anka-coin:active { 
    transform: scale(0.95); 
}

.anka-coin-inner {
    width: 85%; 
    height: 85%; 
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.4);
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, #ff6a00, #c43200);
    overflow: hidden;
    position: relative;
}

/* --- CAFCAFLI PROFİL PUANI (NEON) --- */
.flashy-score {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ff8800,
        0 0 30px #ff8800,
        0 0 40px #ff4500;
    animation: neon-pulse 1.5s infinite alternate;
}

@keyframes neon-pulse {
    from { 
        text-shadow: 0 0 10px #ff8800, 0 0 20px #ff8800; 
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 20px #ff8800, 0 0 30px #ff4500, 0 0 40px #ff0000; 
        transform: scale(1.05);
    }
}

/* --- BOSS MODU EFEKTLERİ --- */
.boss-mode-fx {
    /* Arkaplanı kırmızıya çevirip yanıp söndürür */
    background: radial-gradient(circle, #500000 0%, #200000 100%) !important;
    animation: bg-flash 0.5s infinite alternate;
}

@keyframes bg-flash {
    from { box-shadow: inset 0 0 0 red; }
    to { box-shadow: inset 0 0 100px red; }
}

/* Butonun delice titremesi */
.shake-hard {
    animation: shake 0.1s infinite;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* Tıklayınca çıkan ışık halkası */
.click-flash {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    animation: flash-anim 0.2s linear forwards;
    z-index: 99;
}

@keyframes flash-anim {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Ekranın komple sallanması (Opsiyonel Boss Efekti) */
.shake-screen {
    animation: shake 0.2s infinite;
}

/* --- MARKET KARTLARI --- */
.market-item-card {
    background: #1f2937; /* Koyu Gri */
    padding: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #4b5563;
    cursor: pointer;
    transition: all 0.1s ease;
    margin-bottom: 8px;
}

.market-item-card:active {
    transform: scale(0.96);
    background: #374151;
}

/* --- PANELLER VE NAVİGASYON --- */
.panel {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 80vh; /* Ekranın %80'i */
    background: #1a1a1a; 
    border-top-left-radius: 25px; 
    border-top-right-radius: 25px;
    transform: translateY(110%); 
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 50; 
    padding: 20px; 
    padding-bottom: 100px; /* Alt menü payı */
    overflow-y: auto;
    border-top: 2px solid #ff4500; 
    box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
}

.panel.open { 
    transform: translateY(0); 
}

.close-btn { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 28px; 
    color: #aaa; 
    cursor: pointer; 
    z-index: 60;
}

.bottom-nav {
    background: rgba(20, 20, 20, 0.95); 
    backdrop-filter: blur(10px);
    border-top: 1px solid #333; 
    position: absolute; 
    bottom: 0; 
    left: 0;
    width: 100%;
    z-index: 100;
}

.nav-item {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    padding: 8px; 
    border-radius: 12px; 
    cursor: pointer; 
    opacity: 0.6; 
    transition: all 0.2s;
}

.nav-item.active { 
    opacity: 1; 
    color: #ff9d00; 
    background: rgba(255, 157, 0, 0.1); 
}

/* --- DİĞER UI ELEMANLARI --- */
.energy-bar-container { 
    width: 100%; 
    height: 12px; 
    background: #333; 
    border-radius: 6px; 
    overflow: hidden; 
    margin-top: 10px; 
}

.energy-bar-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #ff9d00, #ff4500); 
    width: 100%; 
    transition: width 0.5s ease; 
}

.store-tab { 
    animation: fadeIn 0.3s ease; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.floating-text {
    position: absolute; 
    color: #fff; 
    font-weight: bold; 
    font-size: 28px; 
    pointer-events: none;
    animation: floatUp 0.8s ease-out forwards; 
    z-index: 100; 
    text-shadow: 0 0 5px #ff4500;
}

@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-80px) scale(1.2); }
}

/* Özel Skin Efektleri */
.skin-platinum { 
    box-shadow: 0 0 40px cyan !important; 
    border-color: cyan !important; 
}