/* AivanCrate — Roguelike-рулетка: надстройка Style V2 поверх roulette-arcade-v2.css */
.rgx.av2-page { padding: 0; }
.rgx .rg-page { position: relative; z-index: 2; padding-top: .4rem; }
.rgx-hero { margin-bottom: .6rem; }
.rgx-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .7rem; }
.rgx .av2-tabs { margin-bottom: 1rem; }
.rgx .d-none { display: none !important; }

/* Колесо в стиле «Рулетки выбора» */
.rgx .rg-wheel { border: 0; background: transparent; box-shadow: 0 18px 40px rgba(29, 39, 201, .45); overflow: visible; }
.rgx .rg-wheel-svg { overflow: visible; }
.rgx .rgx-wheel-name {
    font-family: "Oxygene1", "PusabGD", system-ui, sans-serif; fill: #fff; stroke: #000; stroke-width: 1.2px; paint-order: stroke; stroke-linejoin: round; letter-spacing: .02em;
}
.rgx .rgx-wheel-sub { font-family: system-ui, sans-serif; font-weight: 900; fill: #ffd84a; stroke: #000; stroke-width: .9px; paint-order: stroke; }
.rgx .rg-wheel-wrap.is-spinning .rg-wheel { box-shadow: 0 18px 60px rgba(59, 73, 255, .8); }
.rgx .rg-wheel-rim, .rgx .rg-wheel-aura { opacity: .55; }
.rgx .rg-wheel-hub {
    width: 20%; height: 20%; margin: -10% 0 0 -10%; z-index: 4; display: grid !important; place-items: center;
    background: radial-gradient(circle at 35% 30%, #4f5cff, #1d27c9 60%, #0b1170);
    box-shadow: 0 0 0 4px #000, 0 0 0 9px #8fa0ff, 0 0 0 12px #000, 0 10px 30px rgba(0, 0, 0, .6);
}
.rgx .rg-wheel-hub img { width: 60%; height: auto; filter: drop-shadow(0 2px 0 #000); }
.rgx .rg-wheel-wrap.is-spinning .rg-wheel-hub { animation: rgxHub .6s ease-in-out infinite alternate; }
@keyframes rgxHub { to { box-shadow: 0 0 0 4px #000, 0 0 0 9px #ffd84a, 0 0 0 12px #000, 0 0 40px rgba(255, 216, 74, .6); } }
.rgx .rg-pointer--main {
    top: -14px; border-left-width: 20px; border-right-width: 20px; border-top: 40px solid #ffd84a;
    filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 10px rgba(255, 216, 74, .6));
}
.rgx .rg-wheel-wrap.is-spinning .rg-pointer--main { animation: rgxWiggle .09s linear infinite alternate; }
@keyframes rgxWiggle { from { transform: translateX(-50%) rotate(-7deg); } to { transform: translateX(-50%) rotate(5deg); } }
.rgx .rgx-sound { min-width: 2.6rem; }

/* Кнопки и карточки — палитра V2 */
.rgx .btn-primary { background: linear-gradient(180deg, var(--av2-blue-2), var(--av2-blue)) !important; border: 0 !important; box-shadow: 0 0 0 2px #000 !important; font-weight: 800; }
.rgx .btn-outline-secondary, .rgx .btn-outline-info, .rgx .btn-outline-success, .rgx .btn-outline-danger { border-radius: .7rem; font-weight: 700; }
.rgx h1, .rgx .h3, .rgx .h4, .rgx .h5 { font-family: "Oxygene1", "PusabGD", system-ui, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; }
