/* BLOODBET polish layer - loaded last */
:root { --bb-red: #e10600; --bb-red-2: #ff2a1f; --bb-bg: #0b0b0e; --bb-card: #14141a; --bb-line: #24242c; }
html { scroll-behavior: smooth; }
body { background: var(--bb-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--bb-red); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bb-bg); }
::-webkit-scrollbar-thumb { background: #2b2b34; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--bb-red); }

/* Buttons */
.btn { border-radius: 10px; transition: transform .12s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-green { box-shadow: 0 6px 18px rgba(225, 6, 0, .18); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--bb-red-2); outline-offset: 2px; }

/* Game cards on the home grid */
.games-block a, .game-item, .games .game { border-radius: 14px; overflow: hidden; transition: transform .2s ease, box-shadow .25s ease; }
.games-block a:hover, .game-item:hover, .games .game:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(225, 6, 0, .22); }

/* Inputs and panels */
.form-control, input[type="text"], input[type="number"], input[type="password"] { border-radius: 10px; }
.form-control:focus, input:focus { border-color: var(--bb-red) !important; box-shadow: 0 0 0 3px rgba(225, 6, 0, .18) !important; }
.modal-content { border-radius: 16px; border: 1px solid var(--bb-line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.modal-backdrop.show { opacity: .75; backdrop-filter: blur(3px); }
.dropdown-menu { border-radius: 12px; border: 1px solid var(--bb-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }

/* Logo in header */
.logo img, .header .logo img { max-height: 32px; width: auto; filter: drop-shadow(0 2px 8px rgba(225, 6, 0, .35)); }

/* Footer links */
#site-links a:hover { color: #fff !important; text-decoration: underline; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
