 
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');
:root {
    --lor: #ff4500; --lb: #00ccff; --lg: #ffd700;
    --ng: #00ff88; --nb: #00f2ff;
}
#game-outer-wrapper {
    background: transparent;
    padding: 10px 0;
    font-family: 'Orbitron', sans-serif;
    color: #fff; user-select: none; touch-action: auto !important;
}
#game-main-layout {
    display: flex; flex-direction: row; justify-content: center;
    align-items: flex-start; gap: 20px; width: 100%; max-width: 1600px;
    margin: 0 auto; padding: 0 10px;
}
#game-canvas-side { flex: 3; position: relative; max-width: 1250px; width: 100%; }
.game-title-container {
    text-align: center; width: 100%; max-width: 1250px;
    margin: 18px auto 8px auto; pointer-events: none;
}
h2.game-title { display: inline-block !important; margin: 0 !important; font-weight: 800 !important;
    letter-spacing: 12px !important; text-transform: uppercase !important; font-size: 1.8rem !important;
    text-shadow: 0 0 15px rgba(255,255,255,0.2) !important; color: #fff !important; }
h2.game-title span { color: var(--lor) !important; text-shadow: 0 0 20px rgba(255,69,0,0.7) !important;
    letter-spacing: 5px !important; margin-left: 8px; }
h2.game-title::after { content: ""; display: block; width: 220px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--lor), transparent);
    margin: 5px auto 0 !important; box-shadow: 0 0 10px var(--lor); }
.canvas-border-wrapper { position: relative; border: 2px solid #222; border-radius: 20px;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.8); background: #000; aspect-ratio: 16/8; }
canvas { display: block; width: 100%; height: 100%; cursor: none; touch-action: none; }

/* HUD */
#gameHud { position: absolute; top: 15px; left: 15px; display: none; gap: 10px;
    z-index: 105; pointer-events: none; flex-wrap: wrap; }
.hud-box { background: rgba(0,0,0,0.75); border: 1px solid rgba(255,69,0,0.2);
    border-left: 3px solid var(--lor); padding: 6px 15px; font-family: 'Orbitron',sans-serif;
    font-size: 12px; font-weight: 700; color: #fff; backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); letter-spacing: 1px;
    display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
#scoreVal { color: var(--lor); text-shadow: 0 0 10px rgba(255,69,0,0.5); }
#levelVal { color: var(--lb); } #speedVal { color: var(--ng); } #killsVal { color: var(--lg); }

/* Energy */
#energyBarWrap { position: absolute; top: 15px; right: 15px; display: none;
    flex-direction: column; align-items: flex-end; gap: 3px; z-index: 105; pointer-events: none; }
#energyLabel { font-size: 9px; letter-spacing: 2px; color: rgba(255,255,255,0.45); font-family: 'Orbitron',sans-serif; }
#energyTrack { width: 130px; height: 9px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18); border-radius: 5px; overflow: hidden; }
#energyFill { height: 100%; width: 100%; background: linear-gradient(90deg,#00ff88,#00ccff);
    border-radius: 5px; transition: width 0.2s, background 0.3s; }

/* EMP */
#empBarWrap { position: absolute; bottom: 18px; left: 165px; display: none;
    flex-direction: column; align-items: flex-start; gap: 3px; z-index: 105; pointer-events: none; }
#empLabel { font-size: 9px; letter-spacing: 3px; color: rgba(0,255,255,0.55); font-family: 'Orbitron',sans-serif; }
#empTrack { width: 160px; height: 5px; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(0,255,255,0.25); border-radius: 3px; overflow: hidden; }
#empFill { height: 100%; width: 0%; background: linear-gradient(90deg,#0088ff,#00ffff);
    border-radius: 3px; box-shadow: 0 0 6px #00ffff; transition: width 0.1s linear; }

/* Minimap */
#minimapWrap { position: absolute; bottom: 10px; right: 10px; display: none; z-index: 105; pointer-events: none; }
#minimapCanvas { border: 1px solid rgba(255,69,0,0.35); border-radius: 8px; background: rgba(0,0,0,0.65); }

/* Leaderboard */
#leaderboard-side { flex: 1; min-width: 260px; background: rgba(15,15,20,0.9); border: 2px solid #333;
    border-radius: 20px; padding: 20px; backdrop-filter: blur(10px);
    display: flex; flex-direction: column; max-height: 565px; }
.lb-header { color: var(--lor); font-size: 16px; font-weight: bold; text-align: center;
    margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 10px;
    flex-shrink: 0; letter-spacing: 2px; }
#lb-list {
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #ff4500 #111;
}
#lb-list::-webkit-scrollbar { width: 4px; }
#lb-list::-webkit-scrollbar-track { background: #111; border-radius: 2px; }
#lb-list::-webkit-scrollbar-thumb { background: #ff4500; border-radius: 2px; }
/* YOUR AREA sabit altta, scroll dışında */
#lb-my-area { flex-shrink: 0; border-top: 1px dashed #333; margin-top: 4px; padding-top: 4px; }
.lb-row { display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; border-radius: 10px; margin-bottom: 6px;
    background: rgba(255,255,255,0.05); font-size: 13px; position: relative; transition: 0.3s; }
.lb-row.top3 { background: rgba(255,69,0,0.08); }
.lb-row.top3::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 4px;
    background: linear-gradient(to bottom,#ff4500,#ff0000); border-radius: 0 4px 4px 0;
    box-shadow: 2px 0 10px rgba(255,69,0,0.5); }
.lb-row .lb-rank { font-weight: bold; width: 28px; z-index: 1; color: #888; }
.lb-row.rank1 .lb-rank { color: var(--lg); }
.lb-row.rank2 .lb-rank { color: #00ccff; }
.lb-row.rank3 .lb-rank { color: #00ff66; }
.lb-row .lb-name { flex-grow: 1; text-align: left; margin-left: 8px; color: #eee;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-row.is-me .lb-name { color: var(--lor); }
.lb-row .lb-score { color: var(--lb); font-weight: bold; font-family: monospace; }
.lb-online { font-size: 10px; color: var(--ng); text-align: center;
    margin-bottom: 8px; letter-spacing: 1px; padding: 4px 8px;
    background: rgba(0,255,136,0.06); border-radius: 6px; flex-shrink: 0; }

@keyframes lbPulse {
    0%,100% { border: 1px solid rgba(255,69,0,0.2); box-shadow: none; }
    50%      { border: 1px solid #ff4500; box-shadow: 0 0 10px rgba(255,69,0,0.6), inset 0 0 6px rgba(255,69,0,0.1); }
}
.lb-row.is-me { border: 1px solid rgba(255,69,0,0.2); }
.lb-row.is-me.pulsing { animation: lbPulse 1s ease-in-out infinite; }

/* Menu */
.menu-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.92);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 110; backdrop-filter: blur(12px); gap: 16px; }
#lastScoreContainer { display: none; text-align: center; margin-bottom: 4px; }
#lastScoreContainer p { font-size: 13px; color: #aaa; margin: 0; }
#lastScoreContainer h3 { font-size: 2rem; color: var(--lor); margin: 0 0 6px; }
#menuWalletNotice { font-size: 10px; letter-spacing: 2px; color: rgba(0,255,136,0.7); display: none; }
.btn-start-hunt { background: var(--lor); color: white; border: none; padding: 16px 0;
    width: 90%; max-width: 420px; font-family: 'Orbitron',sans-serif; font-size: 17px;
    font-weight: 900; text-transform: uppercase; border-radius: 10px; cursor: pointer;
    transition: 0.3s ease; letter-spacing: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.btn-start-hunt:hover { transform: translateY(-2px);
    box-shadow: 0 15px 40px -5px rgba(255,69,0,0.5); filter: brightness(1.1); }

/* Kill feed */
#killFeed { position: absolute; top: 55%; left: 50%; transform: translate(-50%,-50%);
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    z-index: 106; pointer-events: none; }
.kill-msg { font-size: 12px; font-weight: 700; letter-spacing: 2px;
    font-family: 'Orbitron',sans-serif; color: #fff; background: rgba(255,69,0,0.18);
    padding: 5px 14px; border-radius: 4px; border: 1px solid rgba(255,69,0,0.3);
    animation: killFade 2s forwards; }
@keyframes killFade {
    0%   { opacity:0; transform:translateY(8px); }
    15%  { opacity:1; transform:translateY(0); }
    70%  { opacity:1; }
    100% { opacity:0; transform:translateY(-10px); }
}

/* Responsive */
@media (max-width: 1099px) {
    #game-main-layout { flex-direction: column; align-items: center; }
    .canvas-border-wrapper { aspect-ratio: 1/1.1; width: 100%; }
    h2.game-title { font-size: 1.3rem !important; letter-spacing: 4px !important; }
    .game-title-container { margin: 10px auto 6px auto; }
    .btn-start-hunt { font-size: 15px; padding: 12px 0; letter-spacing: 4px; }
    .hud-box { padding: 4px 10px; font-size: 10px; }
    #gameHud { top: 8px; left: 8px; gap: 5px; }
    #ad-popup { width: 55px; max-height: 55px; padding: 4px 2px; bottom: 0; left: 1px;
        border-radius: 6px 18px 6px 6px; overflow: hidden; }
    #ad-popup div, #ad-popup .sponsored { font-size: 3.5px !important; }
    #ad-popup img { width: 100% !important; max-height: 45px; object-fit: fill; border-radius: 4px; }
    #minimapWrap { display: none !important; }
    #empBarWrap { left: 60px; }
    #leaderboard-side { width: 95%; margin-top: 10px; max-height: 420px; }
}

@media (max-width: 480px) {
    h2.game-title { font-size: 0.95rem !important; letter-spacing: 2px !important; }
    .hud-box { padding: 4px 5px; font-size: 7px; letter-spacing: 0; }
    #gameHud { top: 6px; left: 6px; gap: 3px; }
    .btn-start-hunt { font-size: 13px; letter-spacing: 3px; padding: 12px 0; max-width: 280px; }
    #leaderboard-side { padding: 12px; max-height: 350px; }
    .lb-header { font-size: 13px; margin-bottom: 10px; padding-bottom: 8px; }
    .lb-row { padding: 8px 10px; font-size: 11px; margin-bottom: 4px; }
    .lb-row .lb-rank { width: 22px; }
    .lb-online { font-size: 8px; }
    #menuWalletNotice { font-size: 9px; }
}
 
