/*
 * VOIDCRAFT: utility-banner, primary navigation and Demon roulette refinement.
 * This file is loaded after the existing header and membership styles, so it
 * only adjusts the requested elements without changing account/data logic.
 */

/* Keep the existing banner compact while giving its text and partner marks more presence. */
:root { --topbar-height: 46px; }

.top-bar .top-bar-container { padding-inline: clamp(20px, 2.45vw, 50px) !important; }
.top-bar-inner { gap: clamp(14px, 1.15vw, 23px) !important; }
.top-partner-links { gap: 11px !important; }
.top-partner-link,
.top-partner-slot { width: 41px !important; height: 28px !important; }
.top-partner-link img { max-width: 40px !important; max-height: 24px !important; }
.top-partner-link--skybound img { max-width: 42px !important; }

.top-bar .top-bar-text {
    font-size: clamp(.82rem, .86vw, .9rem) !important;
    font-weight: 600;
    letter-spacing: -.012em;
}
.top-utility-nav {
    gap: clamp(9px, .68vw, 13px) !important;
    font-size: clamp(.78rem, .8vw, .86rem) !important;
}
.top-utility-link,
.top-utility-help-toggle { letter-spacing: -.012em; }
.top-utility-link[href*="coupons"] { color: #f0eeee !important; }
.top-utility-link[href*="coupons"]:hover { color: #eb2525 !important; }

/* The two removed primary-nav links make room for a slightly stronger fashion-editorial nav. */
@media (min-width: 1301px) {
    body > header .main-nav {
        gap: clamp(14px, 1.25vw, 27px) !important;
    }
    body > header .nav-links {
        gap: clamp(.46rem, .73vw, .92rem) !important;
    }
    body > header .main-nav .nav-links a {
        font-size: clamp(.85rem, .9vw, 1.04rem) !important;
        letter-spacing: -.022em;
    }
    body > header .icon-links { gap: clamp(.72rem, .95vw, 1.18rem) !important; }
}

@media (max-width: 1100px) {
    .top-partner-link,
    .top-partner-slot { width: 37px !important; }
    .top-partner-link img { max-width: 36px !important; }
}

/* A richer, legible six-sector wheel. The pointer is fixed at the top and each value is centered in its sector. */
.demon-roulette-panel {
    position: relative;
    overflow: hidden;
    border-color: rgba(219, 31, 49, .8) !important;
    background:
        radial-gradient(circle at 79% 54%, rgba(211, 13, 34, .25), transparent 31%),
        linear-gradient(135deg, #140003 0%, #0c0c0d 54%, #260004 100%) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .025) !important;
}
.demon-roulette-panel::before {
    content: "";
    position: absolute;
    inset: 10px;
    pointer-events: none;
    border: 1px solid rgba(247, 47, 67, .14);
}
.demon-roulette-copy,
.demon-wheel-stage { position: relative; z-index: 1; }
.demon-roulette-copy h2 {
    color: #fff7f7 !important;
    font-family: "Cinzel Decorative", Georgia, serif !important;
    letter-spacing: -.025em;
}
.demon-spin-button {
    position: relative;
    overflow: hidden;
    min-width: 198px;
    border-color: #ed4050 !important;
    background: linear-gradient(135deg, #96000f, #d81228 54%, #82000c) !important;
    box-shadow: 0 8px 20px rgba(190, 0, 22, .25);
}
.demon-spin-button::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -54%;
    width: 38%;
    transform: skewX(-24deg);
    background: rgba(255, 255, 255, .22);
    transition: left .42s ease;
}
.demon-spin-button:hover::after { left: 124%; }
.demon-spin-button:disabled::after { display: none; }

.demon-wheel-stage {
    min-height: 306px !important;
    isolation: isolate;
}
.demon-wheel-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 282px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(223, 25, 48, .22) 0deg 1deg, transparent 1deg 12deg),
        radial-gradient(circle, rgba(205, 8, 29, .23), transparent 65%);
    filter: blur(.1px);
    opacity: .86;
}
.demon-wheel-stage::after {
    content: "15% DAILY WIN RATE";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #c9a9ac;
    font: 700 .61rem/1 "Merriweather", Georgia, serif;
    letter-spacing: .19em;
    white-space: nowrap;
}
.demon-wheel {
    position: relative;
    z-index: 1;
    width: 256px !important;
    border: 7px solid #050505 !important;
    outline: 2px solid #cf1d31;
    outline-offset: 4px;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, .08) 0 7%, transparent 7.4%),
        conic-gradient(
            from -30deg,
            #2c2a2b 0deg 60deg,
            #a30818 60deg 120deg,
            #4b0008 120deg 180deg,
            #df182f 180deg 240deg,
            #65101a 240deg 300deg,
            #b00014 300deg 360deg
        ) !important;
    box-shadow:
        0 0 0 5px rgba(104, 0, 12, .64),
        0 0 31px rgba(214, 17, 39, .35),
        0 20px 30px rgba(0, 0, 0, .7) !important;
    transition: transform 5s cubic-bezier(.1, .72, .11, 1) !important;
    will-change: transform;
}
.demon-wheel::before {
    content: "";
    position: absolute;
    inset: 11px;
    border: 1px solid rgba(255, 239, 240, .34);
    border-radius: 50%;
    pointer-events: none;
}
.demon-wheel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: repeating-conic-gradient(from -30deg, transparent 0deg 58.8deg, rgba(0, 0, 0, .7) 58.8deg 60deg);
    pointer-events: none;
}
.demon-wheel.is-spinning { filter: saturate(1.16) brightness(1.06); }
.demon-wheel span {
    z-index: 2;
    top: 50% !important;
    left: 50% !important;
    width: 50px !important;
    color: #fff9f9 !important;
    font-family: "Merriweather", Georgia, serif !important;
    font-size: .77rem !important;
    font-weight: 900 !important;
    letter-spacing: -.045em;
    text-shadow: 0 2px 4px #000, 0 0 9px rgba(0, 0, 0, .92) !important;
    transform: translate(-50%, -50%) rotate(calc(var(--n) * 60deg)) translateY(-91px) rotate(calc(var(--n) * -60deg)) !important;
}
.demon-wheel span[style*="--n:5"] { font-size: .7rem !important; }
.demon-wheel-pointer {
    z-index: 5 !important;
    top: -8px !important;
    border-right-width: 15px !important;
    border-left-width: 15px !important;
    border-top: 38px solid #fff0ee !important;
    filter: drop-shadow(0 3px 2px #000) drop-shadow(0 0 8px rgba(227, 32, 53, .7)) !important;
}
.demon-wheel-pointer::after {
    content: "";
    position: absolute;
    top: -37px;
    left: -4px;
    width: 8px;
    height: 19px;
    border-radius: 999px;
    background: #d80e24;
    box-shadow: 0 0 9px rgba(236, 44, 61, .95);
}
.demon-wheel-core {
    z-index: 4 !important;
    width: 70px !important;
    height: 70px !important;
    border: 3px solid #efe3e3 !important;
    outline: 3px solid #93000f;
    outline-offset: 3px;
    background: radial-gradient(circle at 33% 26%, #61111b, #120204 72%) !important;
    color: #fffafa !important;
    font: 900 .9rem/1 "Cinzel Decorative", Georgia, serif !important;
    letter-spacing: .03em !important;
    box-shadow: 0 6px 16px #000, 0 0 15px rgba(211, 22, 43, .55) !important;
}
.demon-roulette-result {
    padding-top: 2px;
    font-family: "Merriweather", Georgia, serif;
}
.demon-roulette-copy-button {
    border-color: #ed4050 !important;
    border-radius: 0;
}

@media (max-width: 1080px) {
    .demon-wheel-stage { min-height: 318px !important; }
}
@media (max-width: 700px) {
    .top-bar .top-bar-text { font-size: .78rem !important; }
    .demon-wheel-stage { min-height: 292px !important; }
    .demon-wheel { width: 226px !important; }
    .demon-wheel span { transform: translate(-50%, -50%) rotate(calc(var(--n) * 60deg)) translateY(-80px) rotate(calc(var(--n) * -60deg)) !important; }
    .demon-wheel-stage::before { width: 252px; }
}
@media (prefers-reduced-motion: reduce) {
    .demon-wheel { transition-duration: 0s !important; }
    .demon-spin-button::after { display: none; }
}

/* Private Membership overview inside My Account. */
.account-membership-page {
    min-height: calc(100vh - 170px);
    padding: 0 0 76px;
}
.account-membership-content { min-width: 0; }
.account-membership-header { margin-bottom: 26px; }
header.account-membership-header {
    position: static !important;
    inset: auto;
    width: auto;
    z-index: auto;
    border: 0;
    background: transparent;
}
.account-membership-header h1 {
    margin: 0;
    color: #f1eeee;
    font: 700 clamp(2rem, 3.4vw, 3.1rem)/1.05 Georgia, serif;
    letter-spacing: -.04em;
}
.account-membership-header > p:last-child {
    max-width: 610px;
    margin: 12px 0 0;
    color: #bababa;
    font-size: .91rem;
    line-height: 1.65;
}
.account-membership-eyebrow {
    margin: 0 0 8px;
    color: #e83a4a;
    font: 800 .68rem/1.2 Arial, sans-serif;
    letter-spacing: .15em;
}
.account-membership-eyebrow i { margin-right: 6px; }
.account-membership-status,
.account-dashboard-membership {
    display: flex;
    align-items: center;
    gap: 17px;
    border: 1px solid rgba(220, 33, 51, .64);
    background: linear-gradient(118deg, rgba(118, 0, 12, .35), rgba(16, 16, 16, .94) 58%, rgba(100, 0, 10, .16));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}
.account-membership-status { margin-bottom: 18px; padding: 22px; }
.account-membership-status-icon,
.account-dashboard-membership-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    flex: 0 0 auto;
    border: 1px solid #dd3041;
    border-radius: 50%;
    color: #e73a4b;
}
.account-membership-status-copy { min-width: 0; }
.account-membership-status-copy h2 {
    margin: 0;
    color: #fff;
    font: 700 1.65rem/1 Georgia, serif;
}
.account-membership-status-copy > p:not(.account-membership-eyebrow) {
    margin: 8px 0 0;
    color: #d0d0d0;
    font-size: .87rem;
    line-height: 1.55;
}
.account-membership-ooc {
    display: block;
    margin-top: 8px;
    color: #b6b6b6;
    font-size: .78rem;
    font-style: italic;
    line-height: 1.5;
}
.account-membership-codes-link,
.account-membership-perk > a,
.account-membership-empty > a,
.account-dashboard-membership a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #dd2f40;
    background: #bc0d20;
    color: #fff !important;
    font: 800 .68rem/1 Arial, sans-serif;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .18s, transform .18s;
}
.account-membership-codes-link { margin-left: auto; padding: 11px 13px; white-space: nowrap; }
.account-membership-codes-link:hover,
.account-membership-perk > a:hover,
.account-membership-empty > a:hover,
.account-dashboard-membership a:hover { background: #df1a2d; transform: translateY(-1px); }
.account-membership-perks { display: grid; gap: 11px; }
.account-membership-perk {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 17px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(105deg, rgba(255, 255, 255, .035), rgba(15, 15, 15, .93));
}
.account-membership-perk > i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #eb3c4d;
}
.account-membership-perk h2 {
    margin: 0;
    color: #f2f2f2;
    font: 700 1rem/1.25 Georgia, serif;
}
.account-membership-perk p {
    margin: 4px 0 0;
    color: #bcbcbc;
    font-size: .81rem;
    line-height: 1.5;
}
.account-membership-perk > a { min-width: 90px; padding: 9px 10px; }
.account-membership-perk > span {
    min-width: 70px;
    color: #aaa;
    font: 700 .7rem/1 Arial, sans-serif;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
}
.account-membership-perk.is-ready { border-left: 3px solid #dc2437; }
.account-membership-perk.is-used { border-left: 3px solid #525252; opacity: .85; }
.account-membership-perk.is-priority { border-left: 3px solid #e8ad35; }
.account-membership-perk.is-priority > i { color: #e9b548; }
.account-membership-demon-gift {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid rgba(223, 39, 57, .65);
    background: radial-gradient(circle at 96% 15%, rgba(212, 11, 30, .23), transparent 32%), #101010;
}
.account-membership-demon-gift > i { color: #e73a4b; font-size: 1.32rem; }
.account-membership-demon-gift > div { flex: 1; min-width: 0; }
.account-membership-demon-gift h2 {
    margin: 0 0 8px;
    color: #fff;
    font: 700 1.25rem/1.15 Georgia, serif;
}
.account-membership-demon-gift > div > p:not(.account-membership-eyebrow):not(.demon-gift-request-result) {
    margin: 0;
    color: #c6c6c6;
    font-size: .84rem;
    line-height: 1.55;
}
.account-membership-demon-gift textarea {
    display: block;
    width: 100%;
    min-height: 76px;
    box-sizing: border-box;
    margin: 14px 0 9px;
    padding: 10px;
    border: 1px solid #555;
    background: #070707;
    color: #fff;
    font: inherit;
    resize: vertical;
}
.account-membership-demon-gift textarea:focus { border-color: #e22e40; outline: none; box-shadow: 0 0 0 2px rgba(220, 33, 51, .14); }
.account-membership-empty {
    display: grid;
    justify-items: start;
    gap: 11px;
    padding: 32px;
    border: 1px dashed rgba(221, 47, 64, .62);
    background: linear-gradient(125deg, rgba(118, 0, 13, .16), rgba(255, 255, 255, .025));
}
.account-membership-empty > i { color: #e83a4a; font-size: 1.42rem; }
.account-membership-empty h2 { margin: 0; color: #fff; font: 700 1.5rem/1.1 Georgia, serif; }
.account-membership-empty p { max-width: 560px; margin: 0; color: #bdbdbd; font-size: .88rem; line-height: 1.6; }
.account-membership-empty > a { margin-top: 4px; padding: 12px 14px; }
.account-dashboard-membership { margin: 22px 0; padding: 17px 18px; }
.account-dashboard-membership > div:nth-child(2) { display: grid; gap: 4px; min-width: 0; }
.account-dashboard-membership strong { color: #fff; font: 700 1.1rem/1 Georgia, serif; }
.account-dashboard-membership span { color: #bbb; font-size: .8rem; line-height: 1.45; }
.account-dashboard-membership a { width: fit-content; margin-top: 6px; padding: 9px 11px; }

@media (max-width: 767px) {
    .account-membership-page { padding: 30px 0 48px; }
    .account-membership-status { align-items: flex-start; flex-wrap: wrap; }
    .account-membership-codes-link { width: 100%; margin-left: 65px; }
    .account-membership-perk { grid-template-columns: 24px minmax(0, 1fr); align-items: start; }
    .account-membership-perk > a,
    .account-membership-perk > span { grid-column: 2; justify-self: start; }
    .account-membership-demon-gift { align-items: flex-start; }
    .account-dashboard-membership { align-items: flex-start; margin-top: 0; }
}
@media (min-width: 1301px) {
    .top-bar .top-bar-text {
        transform: translateX(clamp(55px, 6vw, 120px));
    }
}