body { font-family: 'Segoe UI', sans-serif; background: #1a1a1a; margin: 0; display: flex; flex-direction: column; align-items: center; overflow-x: hidden; color: white; user-select: none; -webkit-user-select: none; }

/* MODAL DÜZELTMELERİ (BUTONLARI TIKLANABİLİR YAPAR) */
.color-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 10000; display: none; justify-content: center; align-items: center; }
.color-modal-content { position: relative; background: #222; border: 1px solid #444; padding: 0; border-radius: 15px; width: 800px; max-width: 95%; box-shadow: 0 0 50px rgba(255, 255, 255, 0.1); max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; }
.small-modal { width: 400px; padding: 20px; max-height: auto; overflow-y: auto; display: block; }
.modal-footer { padding: 15px; border-top: 1px solid #444; background: #151515; margin-top: auto; }
.modal-x-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: #aaa; font-size: 20px; font-weight: bold; cursor: pointer; z-index: 100; }
.modal-x-btn:hover { color: white; }

/* HARİTA İSİMLERİ */
.city-label {
    font-family: 'Segoe UI', sans-serif;
    font-size: 10px;
    font-weight: bold;
    fill: #fff;
    pointer-events: none; /* Tıklamayı engelle, arkadaki şehre tıklansın */
    text-shadow: 0px 0px 2px #000;
}

/* DİĞER CSS KODLARI (Öncekiyle Aynı, sadece eklemeler) */
#login-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, #2c3e50 0%, #000000 100%); z-index: 9999; display: flex; justify-content: center; align-items: center; }
.login-wrapper { display: flex; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,0.5); max-width: 800px; width: 90%; }
.login-left { padding: 40px; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(255,255,255,0.1); }
.login-right { padding: 40px; flex: 1; background: rgba(0,0,0,0.2); color: #ddd; display: flex; flex-direction: column; justify-content: center; }
.login-left h2 { color: #f1c40f; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.login-left input { padding: 15px; width: 100%; margin-bottom: 15px; border-radius: 8px; border: 1px solid #444; background: #222; color: white; outline: none; transition: 0.3s; box-sizing: border-box; }
.login-left input:focus { border-color: #f1c40f; }
.login-left button { padding: 15px 30px; width: 100%; cursor: pointer; background: #27ae60; color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: bold; transition: 0.3s; }
.login-left button:hover { background: #219150; } 
.hata-msg { color: #ff6b6b; margin-top: 15px; font-weight: bold; font-size: 14px; margin-bottom: 0; }
.support-box { margin-top: 25px; width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.support-label { font-size: 12px; color: #888; margin-bottom: 10px; display: block; letter-spacing: 1px; }
.support-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; margin-bottom: 10px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 14px; transition: 0.3s; border: 1px solid transparent; box-sizing: border-box; }
.btn-tiktok { background: rgba(0,0,0,0.3); color: white; border-color: #444; }
.btn-tiktok:hover { border-color: #fe2c55; color: #fe2c55; background: rgba(254, 44, 85, 0.1); }
.btn-itemsatis { background: linear-gradient(45deg, #f39c12, #d35400); color: white; border: none; box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3); }
.btn-itemsatis:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5); background: linear-gradient(45deg, #e67e22, #ba4a00); }
.info-title { color: #f1c40f; font-weight: bold; font-size: 20px; margin-bottom: 10px; } .info-text { font-size: 14px; line-height: 1.6; margin-bottom: 20px; opacity: 0.9; }
.active-users-box { background: rgba(39, 174, 96, 0.2); border: 1px solid #27ae60; padding: 15px; border-radius: 10px; display: flex; align-items: center; gap: 15px; margin-top: auto; }
.pulsing-dot { width: 12px; height: 12px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
#game-container { display: none; width: 100%; flex-direction: column; align-items: center; }
.top-panel { position: sticky; top: 0; z-index: 1000; background: rgba(20, 20, 20, 0.95); width: 100%; padding: 10px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.5); display: flex; flex-direction: column; align-items: center; gap: 10px; border-bottom: 2px solid #f39c12; }
.status-bar-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,0.05); padding: 8px 20px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.1); width: 90%; max-width: 1000px; }
.left-info { display: flex; align-items: center; gap: 20px; }
.right-controls { display: flex; align-items: center; gap: 10px; }
.connection-box { font-size: 12px; display: flex; align-items: center; gap: 8px; color: #aaa; }
.broadcaster-info { font-size: 16px; font-weight: bold; color: #f1c40f; display: flex; align-items: center; gap: 5px; border-left: 1px solid #555; padding-left: 20px; }
.indicator { width: 10px; height: 10px; border-radius: 50%; background: #95a5a6; transition: 0.3s; }
.status-connected { background: #2ecc71; box-shadow: 0 0 10px #2ecc71; }
.right-controls button { padding: 6px 15px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; color: white; margin: 0 3px; font-size: 12px; transition: 0.2s; }
.btn-reset { background: #c0392b; } 
.btn-settings { background: #34495e; border: 1px solid #7f8c8d; }
.btn-start { background: #e67e22; border: 1px solid #d35400; }
.btn-start:hover { background: #d35400; }
.teams-container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 95%; padding: 5px; }
.top3-ticker-wrap { width: 95%; max-width: 1200px; height: 30px; background: rgba(0, 0, 0, 0.8); border: 1px solid #f1c40f; border-radius: 5px; margin-top: 10px; overflow: hidden; display: flex; align-items: center; position: relative; }
.ticker-static-title { background: #f1c40f; color: #2c3e50; height: 100%; padding: 0 20px; display: flex; align-items: center; font-weight: 900; font-size: 14px; z-index: 20; box-shadow: 5px 0 15px rgba(0,0,0,0.8); flex-shrink: 0; }
.ticker-move { display: inline-block; white-space: nowrap; padding-left: 100%; animation: ticker 25s linear infinite; z-index: 10; }
.ticker-item { display: inline-flex; align-items: center; margin-right: 50px; font-size: 14px; font-weight: bold; color: white; }
.ticker-avatar { width: 20px; height: 20px; border-radius: 50%; border: 1px solid white; margin: 0 8px; vertical-align: middle; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }
.team-badge { padding: 4px 12px; border-radius: 30px; font-size: 16px; font-weight: bold; color: white; background: #34495e; border: 2px solid #fff; display: flex; align-items: center; gap: 8px; cursor: pointer; transition:0.2s; user-select: none; }
.team-badge:hover { transform: scale(1.05); border-color: #f1c40f; }
.team-badge img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 2px solid white; }
.shield-box { background: #2980b9; color: white; padding: 2px 8px; border-radius: 10px; font-size: 14px; font-weight: 900; box-shadow: 0 0 10px rgba(52, 152, 219, 0.5); }
.svg-turkiye-haritasi { width: 70%; max-width: 1200px; margin-top: 20px; margin-bottom: 50px; position: relative; }
svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
svg path { stroke: #ecf0f1; stroke-width: 0.5px; transition: fill 0.3s ease; cursor: pointer; }
.empire-avatar { transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.8)); }
#countdown-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 3000; display: none; justify-content: center; align-items: center; backdrop-filter: blur(8px); }
.countdown-card { position: relative; background: linear-gradient(135deg, #1e272e, #000); border: 3px solid #f1c40f; padding: 40px; border-radius: 30px; text-align: center; color: white; box-shadow: 0 0 70px rgba(241, 196, 15, 0.4); display: flex; flex-direction: column; align-items: center; width: 350px; }
.close-card-btn { position: absolute; top: 10px; right: 15px; color: #888; font-size: 24px; cursor: pointer; font-weight: bold; }
.close-card-btn:hover { color: white; }
.cd-avatar { width: 120px; height: 120px; border-radius: 50%; border: 5px solid #f1c40f; object-fit: cover; margin-bottom: 15px; }
.cd-name { font-size: 28px; font-weight: bold; margin-bottom: 10px; color: #f1c40f; text-transform: uppercase; }
.cd-shield { font-size: 60px; color: #fff; margin-bottom: 20px; font-weight: 900; background: linear-gradient(45deg, #2980b9, #3498db); padding: 10px 40px; border-radius: 50px; border: 5px solid white; box-shadow: 0 0 30px rgba(52, 152, 219, 0.8); text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.cd-timer { font-size: 100px; font-weight: 900; color: #e74c3c; line-height: 1; margin-bottom: 25px; text-shadow: 0 0 30px rgba(231, 76, 60, 0.8); }
.cd-stop-btn { background: #27ae60; color: white; border: none; padding: 12px 40px; font-size: 18px; font-weight: bold; border-radius: 50px; cursor: pointer; transition: 0.2s; box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3); width: 100%; }
.cd-stop-btn.paused { background: #e67e22; }
.cd-stop-btn:hover { transform: scale(1.05); }
.tab-nav { display: flex; background: #111; border-bottom: 1px solid #444; }
.tab-btn { flex: 1; padding: 15px; background: transparent; border: none; color: #888; cursor: pointer; font-weight: bold; transition: 0.3s; border-bottom: 3px solid transparent; }
.tab-btn.active { color: #f1c40f; border-bottom-color: #f1c40f; background: rgba(241, 196, 15, 0.05); }
.tab-content { padding: 20px; display: none; overflow-y: auto; text-align: left; height: 350px; }
.tab-content.active { display: block; }
.settings-col { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 10px; border: 1px solid #333; margin-bottom: 10px; }
.spec-user-input { width: 95%; padding: 8px; background: #333; color: white; border: 1px solid #555; border-radius: 5px; margin-bottom: 5px; }
.gift-row { display: flex; gap: 5px; margin-bottom: 5px; }
.gift-row input { background: #333; border: 1px solid #555; color: white; padding: 5px; border-radius: 4px; }
.add-gift-btn { background: #27ae60; color: white; border: none; padding: 8px; width: 100%; border-radius: 5px; cursor: pointer; margin-bottom: 10px; }
.attack-btn { background: #e67e22; color: white; border: none; padding: 10px; width: 100%; border-radius: 5px; font-weight: bold; cursor: pointer; margin-top:10px;}
.close-modal { background: #c0392b; color: white; border: none; padding: 10px 20px; width: 100%; cursor: pointer; border-radius: 5px; font-weight: bold; }
.winner-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(45deg, #f1c40f, #e67e22); padding: 40px; border-radius: 30px; text-align: center; color: white; z-index: 9999; display: none; flex-direction: column; align-items: center; box-shadow: 0 0 100px rgba(0,0,0,0.8); }
.winner-avatar { width: 150px; height: 150px; border-radius: 50%; border: 6px solid white; object-fit: cover; margin-bottom: 15px; }
.log-container { position: fixed; bottom: 20px; right: 20px; width: 300px; height: auto; min-height: 200px; background: rgba(0,0,0,0.95); border-radius: 10px; border: 2px solid #f1c40f; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.5); transition: height 0.3s, width 0.3s; z-index: 2000; }
.log-container.minimized { width: 50px !important; height: 50px !important; min-width: 50px !important; min-height: 50px !important; border-radius: 50%; border-color: #fff; cursor: pointer; }
.log-container.minimized .log-content, .log-container.minimized .resize-handle, .log-container.minimized .header-text, .log-container.minimized .clear-btn { display: none !important; }
.log-container.minimized .log-header { padding: 0; justify-content: center; height: 100%; background: #2c3e50; }
.log-container.minimized .toggle-btn { width: 100%; height: 100%; background: transparent; font-size: 24px; color: #f1c40f; display: flex; align-items: center; justify-content: center; }
.resize-handle { position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; background: linear-gradient(135deg, transparent 50%, #f1c40f 50%); cursor: se-resize; z-index: 100; border-bottom-right-radius: 8px; }
.log-header { background: #f1c40f; color: #2c3e50; padding: 10px; font-weight: 900; font-size: 14px; display: flex; justify-content: space-between; align-items: center; padding-left: 20px; cursor: move; user-select: none;}
.toggle-btn { background: #2c3e50; color: white; border: none; width: 25px; height: 25px; border-radius: 5px; cursor: pointer; font-weight: bold; display: flex; align-items: center; justify-content: center; }
.log-content { flex: 1; overflow-y: auto; padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.log-content::-webkit-scrollbar { width: 6px; } .log-content::-webkit-scrollbar-thumb { background: #f1c40f; border-radius: 3px; }
.log-item { font-size: 14px; padding: 5px 10px; border-bottom: 1px solid #444; color: #eee; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.05); border-radius: 5px; flex-shrink: 0; cursor: pointer; border: 1px solid transparent; }
.log-item.selected { border-color: #f1c40f; background: rgba(241, 196, 15, 0.15); }
.log-user-info { display: flex; align-items: center; gap: 8px; overflow: hidden; width: 65%; }
.log-avatar { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #aaa; object-fit: cover; flex-shrink: 0; }
.log-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }
.edit-btn { background: #34495e; border: 1px solid #7f8c8d; color: white; width: 20px; height: 20px; border-radius: 5px; cursor: pointer; font-size: 12px; margin-left: 2px; display: flex; align-items: center; justify-content: center; }
.score-input { width: 50px; background: transparent; border: 1px solid rgba(255,255,255,0.1); color: #f1c40f; font-weight: bold; font-size: 14px; text-align: center; border-radius: 4px; padding: 2px; }
.score-input:focus { border-color: #f1c40f; outline: none; background: rgba(0,0,0,0.3); }
.score-input::-webkit-outer-spin-button, .score-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.score-input { -moz-appearance: textfield; }
.score-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); background: linear-gradient(to right, #ffd700, #fdb931); color: #000; padding: 20px 40px; border-radius: 20px; font-size: 24px; font-weight: 900; z-index: 5000; box-shadow: 0 0 50px rgba(255, 215, 0, 0.8); border: 4px solid white; animation: popFade 3s forwards; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.score-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid white; object-fit: cover; }
.like-popup { position: fixed; top: 15%; left: 50%; transform: translate(-50%, -50%); font-size: 28px; font-weight: bold; color: #2ecc71; text-shadow: 0 2px 4px rgba(0,0,0,1); pointer-events: none; z-index: 2000; animation: fadeUp 4s forwards; }
.eliminated-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); background: rgba(192, 57, 43, 0.95); color: white; padding: 30px 50px; border-radius: 20px; font-size: 30px; font-weight: bold; z-index: 4000; box-shadow: 0 20px 60px rgba(0,0,0,0.8); border: 5px solid white; animation: popFade 3s forwards; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.eliminated-avatar { width: 100px; height: 100px; border-radius: 50%; border: 4px solid white; object-fit: cover; }
@keyframes popFade { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 15% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 20% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; visibility: hidden; } }
@keyframes fadeUp { 0% { opacity: 1; transform: translate(-50%, 0); } 80% { opacity: 1; transform: translate(-50%, -40px); } 100% { opacity: 0; transform: translate(-50%, -60px); } }
.like-config-box { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.like-config-box label { flex: 1; font-size: 14px; color: #ccc; }
.like-config-box input { width: 80px; padding: 5px; background: #333; border: 1px solid #555; color: white; border-radius: 4px; text-align: center; }
.color-circle { width: 35px; height: 35px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.color-circle:hover { transform: scale(1.2); border-color: white; }
.color-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 20px; }
.section-title { font-size: 12px; color: #aaa; margin-bottom: 5px; }
.list-container { margin-bottom: 10px; max-height: 300px; overflow-y: auto; }
