* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #030712;
    color: #f3f4f6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

.back-btn {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-btn:hover {
    color: #38bdf8;
}

.nav-badge {
    font-size: 0.8rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px;
    justify-content: center;
    align-items: center;
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.score-panel {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 300px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.score-panel h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #f3f4f6;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

.stat-box {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.2);
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-box span {
    font-size: 0.85rem;
    color: #9ca3af;
}

.stat-box strong {
    font-size: 1.1rem;
    color: #ef4444;
}

.reset-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 5px;
}

.reset-btn:hover {
    background: #b91c1c;
}

.board-viewport {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    height: 420px;
    justify-content: center;
}

/* Hareketli Tahta Konteynerı */
.moving-wrapper {
    position: relative;
    will-change: transform;
}

.dartboard {
    width: 320px;
    height: 320px;
    background: #1f2937;
    border-radius: 50%;
    position: relative;
    cursor: crosshair;
    border: 6px solid #111827;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), inset 0 0 20px rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease; /* Uzaklaşma efekti için */
}

.ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.outer { width: 100%; height: 100%; border: 15px solid #b91c1c; }
.middle { width: 75%; height: 75%; border: 15px solid #15803d; }
.inner { width: 45%; height: 45%; border: 12px solid #b91c1c; }
.bullseye { width: 15%; height: 15%; background-color: #ca8a04; }

.hint-text {
    font-size: 0.85rem;
    color: #6b7280;
}

.dart-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ef4444;
    border: 2px solid #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px #ef4444;
    pointer-events: none;
    z-index: 10;
}