/* ===== Kızma Birader (Neon) - Altın/Neon Estetik ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #ffd23f;
    --gold-deep: #c79a18;
    --cy: #22d3ee;
    --gr: #4ade80;
    --rd: #ff4d6d;
    --board-bg: #0e1330;
    --ink: #070914;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 50% 0%, #141a36 0%, transparent 55%),
        linear-gradient(160deg, #0b0e1f 0%, #070914 100%);
    min-height: 100vh; color: #fff; padding: 0 14px 40px; overflow-x: hidden;
    -webkit-user-select: none; user-select: none;
}

.game-header {
    position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11,14,31,0.82); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,210,63,0.18);
}
.header-logo {
    color: var(--gold); font-weight: 900; font-size: 1.25rem; text-decoration: none;
    letter-spacing: .5px; text-shadow: 0 0 14px rgba(255,210,63,0.45);
    transition: transform .15s ease;
}
.header-logo:hover { transform: scale(1.05); }

.game-container { max-width: 480px; margin: 0 auto; text-align: center; }

/* HUD */
.kb-hud { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 4px; min-height: 64px; }
.kb-turn { font-size: 0.95rem; font-weight: 800; min-width: 96px; }
.die {
    width: 54px; height: 54px; border-radius: 13px; background: #fff; position: relative;
    box-shadow: 0 6px 16px rgba(0,0,0,0.45); flex: 0 0 auto;
}
.die .pip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #11142a; }
.hint { font-size: 0.8rem; color: #9aa0c0; margin: 4px 0 10px; min-height: 18px; }

.board-wrap { position: relative; margin: 0 auto 16px; display: inline-block; }
canvas#bd {
    width: min(94vw, 430px); height: auto; display: block; margin: 0 auto;
    border-radius: 18px; box-shadow: 0 16px 44px rgba(0,0,0,0.55); touch-action: none;
}

/* Butonlar */
.btn-primary {
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    color: #11142a; border: none; padding: 13px 26px; border-radius: 13px;
    font-size: 1.05rem; font-weight: 900; cursor: pointer; box-shadow: 0 5px 0 #8f6e10;
    transition: transform .1s ease, box-shadow .1s ease;
}
.btn-primary:active { transform: translateY(4px); box-shadow: 0 1px 0 #8f6e10; }
.game-controls { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.btn {
    background: rgba(255,255,255,0.08); color: #e8eaff; border: 1px solid rgba(255,255,255,0.16);
    padding: 10px 16px; border-radius: 11px; font-size: 0.9rem; font-weight: 700; cursor: pointer;
    transition: transform .15s ease, background .2s ease;
}
.btn:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

/* Seçim çipleri */
.kb-opt { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; margin: 12px 0; }
.kb-lbl { width: 100%; font-size: 0.78rem; color: #9aa0c0; margin-bottom: 2px; }
.chip {
    padding: 9px 15px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06); color: #cfd3ee; font-weight: 800; cursor: pointer; font-size: 0.92rem;
}
.chip.on { background: rgba(255,210,63,0.18); border-color: var(--gold); color: var(--gold); }

/* Overlay + kart */
.overlay {
    position: fixed; inset: 0; background: rgba(7,9,20,0.92); z-index: 100;
    display: none; align-items: center; justify-content: center; padding: 24px;
}
.overlay.show { display: flex; }
.menu-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px; padding: 26px; max-width: 360px; width: 100%; text-align: center;
}
.menu-card h1 { font-size: 2rem; color: var(--gold); text-shadow: 0 0 14px rgba(255,210,63,0.5); }
.menu-card p { color: #cfd3ee; }
.info-block { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; margin: 14px 0; text-align: left; }
.info-block.strategy { background: rgba(255,210,63,0.1); border: 1px solid rgba(255,210,63,0.3); }
.info-block h3 { color: var(--gold); margin-bottom: 8px; }
.info-text > div { margin-bottom: 6px; font-size: 0.92rem; color: #dfe2f5; }

/* Emoji tepki */
.react {
    position: fixed; top: 40%; left: 50%; transform: translate(-50%,-50%) scale(.3);
    font-size: 120px; opacity: 0; pointer-events: none; z-index: 150;
}
.react.show { animation: pop 1.4s ease forwards; }
@keyframes pop {
    0% { opacity: 0; transform: translate(-50%,-50%) scale(.3); }
    20% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
    70% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%,-60%) scale(.9); }
}

/* SEO içerik */
.seo-content {
    max-width: 760px; margin: 30px auto 0; text-align: left; line-height: 1.7;
    color: #c8cce6; font-size: 0.95rem;
}
.seo-content h2 { color: var(--gold); margin-bottom: 18px; }
.seo-content h3 { color: var(--gold); margin: 22px 0 12px; }
.seo-content ul { padding-left: 22px; }
.seo-content li { margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) { .react.show { animation: none; } }
