/**
 * Likya Mini Games - Oyun 3: Şerit Kaçışı Stilleri
 */

.game3-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
    min-height: 520px;
}

/* Üst Canlı Skor & Mesafe Paneli */
.g3-hud {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 16px;
}

.g3-hud-item {
    display: flex;
    flex-direction: column;
}

.g3-hud-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.g3-hud-val {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
}

.g3-hud-dist {
    color: var(--neon-yellow);
}

/* Oyun Tuvali (Canvas) Alanı */
.canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9 / 13; /* Dikey mobil uyumlu format */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.15);
    border: 2px solid rgba(0, 210, 255, 0.3);
    background: #070913;
    margin-bottom: 12px;
}

#g3-canvas {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

/* Başlangıç ve Duraklama Örtüsü */
.g3-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 19, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    z-index: 10;
}

.g3-overlay-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--neon-yellow), #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.g3-overlay-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 24px;
}

/* Mobil & Dokunmatik Kontrol Tuşları */
.touch-controls {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-top: 4px;
}

.btn-touch-lane {
    flex: 1;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.12s ease;
    backdrop-filter: blur(6px);
}

.btn-touch-lane:active {
    background: rgba(0, 210, 255, 0.25);
    border-color: var(--neon-blue);
    transform: scale(0.96);
}

.btn-touch-lane svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.controls-hint {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}
