/* ================================================
   WHEEL 2 DECIDE - Main Styles
   ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #04050C !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    transition: background 0.5s ease, background-image 0.5s ease;
}

body.bg-nebula {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%) !important;
}
body.bg-abyss {
    background: linear-gradient(135deg, #05050e 0%, #0d0d1f 50%, #05050f 100%) !important;
}
body.bg-aurora {
    background: linear-gradient(135deg, #04140c 0%, #0c2c1a 50%, #081a10 100%) !important;
}
body.bg-eclipse {
    background: linear-gradient(135deg, #140505 0%, #2e0e0e 50%, #1a0808 100%) !important;
}
body.bg-stardust {
    background: linear-gradient(135deg, #0b0214 0%, #1e0b30 50%, #12061f 100%) !important;
}

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.wheel-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 42%, rgba(245, 158, 11, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(15, 12, 41, 0.95), rgba(48, 43, 99, 0.92), rgba(36, 36, 62, 0.95));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wheel-loading-card {
    width: min(92vw, 390px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 22px 26px;
    border-radius: 24px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18), transparent 58%),
        linear-gradient(135deg, rgba(11, 12, 28, 0.92), rgba(40, 36, 84, 0.9));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45), 0 0 42px rgba(245, 158, 11, 0.15);
    color: #fff;
    text-align: center;
}

.wheel-loading-card img {
    display: block;
    width: min(100%, 300px);
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.wheel-loading-orbit {
    width: 58px;
    height: 58px;
    position: relative;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--gold);
    animation: w2dLoaderSpin 0.95s linear infinite;
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.22);
}

.wheel-loading-orbit span {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.8);
}

.wheel-loading-card strong {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.wheel-loading-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

@keyframes w2dLoaderSpin {
    to { transform: rotate(360deg); }
}

/* Main Layout */
.main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    padding: 15px;
    width: 100%;
    max-width: 1200px;
}

.header {
    text-align: center;
    position: relative;
    padding: 4px 0 10px;
    min-height: 112px;
}

.header h1 {
    color: var(--gold);
    font-size: clamp(24px, 5vw, 36px);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.brand-image-title {
    width: min(58vw, 470px);
    margin: 0 auto 6px;
    padding: 5px 9px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.13), transparent 56%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(245, 158, 11, 0.14);
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.24), 0 0 24px rgba(245, 158, 11, 0.06);
}

.brand-image-title img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 9px;
    filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.36));
}

.brand-image-title span {
    color: var(--gold);
    font-size: clamp(10px, 1.45vw, 15px);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(245, 158, 11, 0.42);
}

.header p {
    color: #b8b8d0;
    font-size: 13px;
    font-style: italic;
}

.header-tagline {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    margin-bottom: 0;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.wheel-topbar {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: -2px auto -24px;
    padding: 0 15px;
    z-index: 20;
    display: grid;
    grid-template-columns: 300px minmax(280px, 1fr) 300px;
    align-items: center;
    gap: 30px;
    pointer-events: none;
}

.wheel-topbar > * {
    pointer-events: auto;
}

.wheel-top-actions {
    display: flex;
    align-items: center;
    grid-column: 3;
    justify-self: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.spin-counter-bar {
    grid-column: 1;
    justify-self: center;
}

.wheel-top-pill {
    width: 188px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(49, 46, 129, 0.62));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24), inset 0 0 18px rgba(245, 158, 11, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wheel-user-pill {
    width: auto;
    min-width: 188px;
    max-width: 260px;
    flex-direction: column;
    gap: 2px;
    color: #fff;
    text-align: center;
    line-height: 1.15;
}

.wheel-session-pill {
    width: 214px;
    min-height: 38px;
    padding: 5px 8px 5px 12px;
    justify-content: space-between;
    gap: 8px;
}

.wheel-session-main {
    min-width: 0;
    flex: 1;
    color: #fff;
    text-align: center;
    line-height: 1.08;
}

.wheel-session-main strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 900;
}

.wheel-session-main small {
    display: block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.wheel-session-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 2px;
}

.wheel-session-links a {
    color: var(--gold);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-decoration: none;
    text-transform: uppercase;
}

.wheel-session-links a:hover {
    color: #fff;
    text-shadow: 0 0 9px rgba(245, 158, 11, 0.65);
}

.wheel-session-logout {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 180, 180, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    color: #ffb4b4;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 13px;
    line-height: 1;
}

.wheel-session-logout:hover {
    color: #fff;
    border-color: rgba(255, 180, 180, 0.65);
    box-shadow: 0 0 12px rgba(255, 120, 120, 0.25);
}

.wheel-user-pill strong {
    display: block;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}

.wheel-user-pill small {
    color: var(--gold);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.wheel-top-pill:hover {
    color: #fff;
    border-color: rgba(245, 158, 11, 0.55);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.65);
}

@media (max-width: 760px) {
    .header {
        min-height: 0;
        padding-top: 0;
    }

    .wheel-topbar {
        margin: 0 auto -10px;
        padding: 0 12px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .brand-image-title {
        width: min(88vw, 420px);
    }

    .wheel-top-pill {
        width: 148px;
        min-height: 32px;
        padding: 6px 10px;
    }

    .spin-counter-bar {
        padding: 6px 10px;
    }
}

.spin-counter-bar span {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.container {
    display: flex;
    gap: 20px;
    padding: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Panels */
.panel {
    background: var(--panel-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.panel-left {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-right {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-right label {
    color: #aaa;
    font-size: 12px;
}

/* Wheel Container */
.wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wheel-wrapper {
    position: relative;
    width: min(80vw, 380px);
    height: min(80vw, 380px);
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: var(--wheel-shadow);
    cursor: pointer;
    touch-action: none;
}

.arrow {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 50px;
    z-index: 10;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-top: 35px solid var(--gold);
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 20px;
    background: var(--gold);
    border-radius: 0 0 6px 6px;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #ff6b6b 0%, #c0392b 100%);
    border-radius: 50%;
    border: 4px solid var(--gold);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.5);
    z-index: 5;
}

.slogan {
    color: #888;
    font-style: italic;
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
}

/* Typography */
h2 {
    color: var(--gold);
    text-align: center;
    font-size: 16px;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    letter-spacing: 1px;
}

/* Form Elements */
.choice-input {
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 8px;
}

.choice-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.choice-input::placeholder {
    color: #888;
}

/* Side-by-side weighted outcome inputs */
.choice-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.choice-row .choice-input {
    flex: 1;
    margin-bottom: 0;
}

.choice-row .choice-weight {
    width: 75px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 8px;
    color: white;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
    outline: none;
    -moz-appearance: textfield;
}

.choice-row .choice-weight::-webkit-outer-spin-button,
.choice-row .choice-weight::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.choice-row .choice-weight:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.odds-pct {
    color: var(--gold);
    font-size: 12px;
    margin-left: 6px;
    font-weight: 500;
    opacity: 0.8;
}

button {
    background: linear-gradient(145deg, #5a4a8a, #4a3a7a);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

button:hover {
    background: linear-gradient(145deg, #6a5a9a, #5a4a8a);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

button:active {
    transform: translateY(0);
}

button.btn-gold {
    background: linear-gradient(145deg, var(--gold), #e6c200);
    color: #1a1a2e;
}

button.btn-gold:hover {
    background: linear-gradient(145deg, #ffdf33, var(--gold));
}

button.btn-secondary {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    font-size: 12px;
    padding: 10px;
}

button.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

button.btn-small {
    padding: 10px 14px;
    font-size: 12px;
    width: auto;
}

select {
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

select option {
    background-color: #1a1532;
    color: white;
}

select option:disabled {
    color: #666;
}

select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Result Overlay */
.result-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.95), rgba(39, 174, 96, 0.95));
    padding: 20px 30px;
    border-radius: 16px;
    color: white;
    font-size: clamp(16px, 4vw, 22px);
    font-weight: bold;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.3);
    max-width: 85%;
}

.result-overlay.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}

/* Warning */
.warning {
    color: #ff6b6b;
    font-size: 12px;
    text-align: center;
    min-height: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    visibility: hidden;
}

.warning-icon {
    font-size: 14px;
    visibility: hidden;
}

.warning-text {
    visibility: hidden;
}

.warning.has-warning {
    visibility: visible;
}

.warning.has-warning .warning-icon,
.warning.has-warning .warning-text {
    visibility: visible;
}

/* How to Play Section */
.how-to-play {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.how-to-play h2 {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 12px;
}

.play-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 12px;
    color: #aaa;
}

.play-icon {
    font-size: 16px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 25px 15px;
    color: #666;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.footer a {
    color: var(--gold);
    text-decoration: none;
}

.version {
    color: #555;
    margin-top: 6px;
}

.changelog-toggle {
    background: none;
    border: 1px solid #555;
    color: #666;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    margin-top: 8px;
}

.changelog-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.changelog-content {
    display: none;
    margin-top: 12px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.changelog-content.show {
    display: block;
}

.changelog-content li {
    color: #777;
    font-size: 11px;
    margin-bottom: 4px;
}

/* ================================================
   WHEEL 2 DECIDE - Modal Styles
   ================================================ */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 15px;
    overflow-y: auto;
}

.modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border-radius: 20px;
    padding: 24px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.1);
    margin: auto;
}

.modal h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.modal h3 {
    color: var(--gold);
    font-size: 16px;
    margin: 15px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.modal p, .modal li {
    color: #ccc;
    font-size: 13px;
    line-height: 1.7;
}

.modal ul {
    padding-left: 20px;
}

/* Astrologer Result */
.astro-result {
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.15), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    text-align: center;
}

.astro-result .astro-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.astro-result .astro-text {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    font-style: italic;
}

.astro-result .winner-name {
    color: var(--gold);
    font-size: 24px;
    font-weight: bold;
    margin: 12px 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.astro-result .astro-footer {
    color: #999;
    font-size: 12px;
}

/* Popup Modal */
.popup-modal-content {
    text-align: center;
    max-width: 380px;
    padding: 30px;
}

.popup-modal-content .popup-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.popup-modal-content h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.popup-modal-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Future Ideas List */
.future-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.future-list li {
    padding: 12px 15px;
    background: rgba(61, 61, 92, 0.4);
    border-radius: 10px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 13px;
    border-left: 3px solid rgba(255, 215, 0, 0.3);
}

.future-list li:hover {
    background: rgba(61, 61, 92, 0.6);
}

.future-list li strong {
    color: #fff;
}

/* Pricing Note - centered with icon */
.pricing-note {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 170, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-note::before {
    content: '⚠️';
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

.pricing-note p {
    color: #ccc;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.pricing-note strong {
    color: var(--gold);
}

/* Ranking List */
.rank-list {
    list-style: none;
    margin-bottom: 18px;
}

.rank-list li {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(61, 61, 92, 0.5);
    border-radius: 10px;
    margin-bottom: 8px;
    color: white;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.rank-list li.winner {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.3), rgba(39, 174, 96, 0.15));
    border-left-color: var(--gold);
    font-weight: 600;
}

.rank-list li .rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
    font-weight: bold;
    color: var(--gold);
}

.modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.modal-actions button {
    flex: 1;
    min-width: 100px;
}

/* Result Actions - Back link and buttons */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.back-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    padding: 8px;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.8;
}

/* Result Modal - Enhanced */
.result-modal-content {
    max-width: 480px;
}

.result-header {
    text-align: center;
    margin-bottom: 15px;
}

.result-header h2 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 5px;
}

.spin-counter {
    color: #888;
    font-size: 12px;
    background: rgba(61, 61, 92, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.spin-counter.warning {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.2);
}

.spin-counter.empty {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.3);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.share-incentive {
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.15), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.share-incentive p {
    color: #2ecc71;
    font-size: 14px;
    margin: 0;
}

.share-incentive strong {
    color: #fff;
}

.incentive-text {
    color: #888 !important;
    font-size: 11px !important;
    margin-top: 5px !important;
}

.email-capture {
    margin-bottom: 15px;
}

.email-capture input {
    margin-bottom: 8px;
}

.email-capture label {
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spin-again-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.spin-again-row button {
    flex: 1;
}

.share-hint {
    text-align: center;
    color: #888;
    font-size: 11px;
    margin-top: 10px;
}

.share-hint a {
    color: var(--gold);
    text-decoration: none;
}

.share-hint a:hover {
    text-decoration: underline;
}

.result-modal-content .astro-footer {
    margin-top: 8px;
}

/* Share Menu */
.share-menu {
    max-width: 400px;
}

.share-menu h2 {
    text-align: center;
    margin-bottom: 20px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px 10px;
    background: rgba(61, 61, 92, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.share-btn:hover {
    background: rgba(61, 61, 92, 0.9);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.share-icon {
    font-size: 28px;
}

.share-btn span {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.share-btn small {
    color: #888;
    font-size: 10px;
}

.share-btn:active {
    transform: translateY(0);
}

.share-menu .modal-actions {
    justify-content: center;
}

/* Share Direct - WhatsApp Direct & SMS */
.share-direct {
    background: rgba(61, 61, 92, 0.4);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.share-direct h3 {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
}

.direct-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.direct-input-row input {
    flex: 1;
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
}

.direct-input-row input:focus {
    outline: none;
    border-color: var(--gold);
}

.direct-input-row input::placeholder {
    color: #888;
}

.direct-input-row .btn-small {
    padding: 10px 14px;
    white-space: nowrap;
}

/* Welcome Modal */
.welcome-modal {
    text-align: center;
    max-width: 420px;
}

.welcome-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.welcome-modal h2 {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 20px;
}

.welcome-text {
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.15), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
}

.welcome-text p {
    color: #fff;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.welcome-instructions {
    text-align: left;
    margin-bottom: 20px;
}

.welcome-instructions p {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.welcome-instructions .highlight {
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}

.welcome-modal .btn-gold {
    width: 100%;
    padding: 14px;
    font-size: 14px;
}

/* Inbox Items */
.inbox-item {
    background: rgba(61, 61, 92, 0.5);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    border-left: 3px solid #2ecc71;
}

.inbox-item-winner {
    color: #2ecc71;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
}

.inbox-item-date {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.inbox-item-choices {
    font-size: 12px;
    color: #aaa;
}

.inbox-list {
    max-height: 280px;
    overflow-y: auto;
}

.empty-inbox {
    text-align: center;
    color: #666;
    padding: 25px;
    font-style: italic;
}

/* Email Input */
.email-input {
    background: rgba(61, 61, 92, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-size: 13px;
    width: 100%;
    margin-bottom: 10px;
}

.email-input:focus {
    outline: none;
    border-color: var(--gold);
}

.email-save-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.email-save-row label {
    color: #aaa;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.email-save-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Tab Bar */
.tab-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: #ccc;
}

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Pricing Cards */
.pricing-section {
    text-align: center;
}

.pricing-note {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.pricing-note p {
    color: #ff9999;
    font-size: 12px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    max-width: 100%;
}

.pricing-card {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(145deg, #3a3a54, #2a2a40);
    border-color: var(--gold);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #1a1a2e;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
}

.pricing-card h3 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 5px;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    margin: 12px 0;
}

.pricing-card .price span {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.pricing-card .description {
    color: #999;
    font-size: 12px;
    margin-bottom: 15px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.pricing-card li {
    color: #ccc;
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card li::before {
    content: '✓ ';
    color: #2ecc71;
    margin-right: 6px;
}

.pricing-card li.disabled {
    color: #666;
}

.pricing-card li.disabled::before {
    content: '✗ ';
    color: #ff6b6b;
}

/* Admin Features */
.admin-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    text-align: left;
}

.admin-feature {
    background: rgba(61, 61, 92, 0.5);
    border-radius: 10px;
    padding: 14px;
}

.admin-feature h4 {
    color: #2ecc71;
    font-size: 14px;
    margin-bottom: 6px;
}

.admin-feature p {
    color: #aaa;
    font-size: 12px;
}

/* Lock Screen */
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s;
    padding: 20px;
}

.lock-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.lock-screen h1 {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 4px;
    text-align: center;
}

.lock-screen .subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
}

.lock-screen input {
    background: rgba(61, 61, 92, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    color: white;
    font-size: 16px;
    text-align: center;
    width: 280px;
    max-width: 100%;
    margin-bottom: 15px;
}

.lock-screen input:focus {
    outline: none;
    border-color: var(--gold);
}

.lock-screen button {
    width: 280px;
    max-width: 100%;
    margin-bottom: 15px;
}

.lock-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 10px;
    height: 22px;
    font-weight: 600;
}

.lock-screen p {
    color: #555;
    font-size: 12px;
    text-align: center;
}

/* Keyboard Shortcut Display */
.keyboard-hint {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #888;
    font-size: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 999;
}

/* Responsive */
@media (max-width: 800px) {
    .container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .panel-left {
        width: 100%;
        max-width: 360px;
        order: 2;
    }

    .panel-right {
        width: 100%;
        max-width: 360px;
        order: 3;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .panel-right h2 {
        width: 100%;
    }

    .panel-right select,
    .panel-right button {
        flex: 1;
        min-width: calc(50% - 5px);
    }

    .wheel-container {
        order: 1;
    }
}

@media (max-width: 500px) {
    .panel-left {
        padding: 15px;
    }

    .panel-right {
        gap: 8px;
    }

    .panel-right select,
    .panel-right button {
        min-width: 100%;
    }

    .wheel-wrapper {
        width: min(90vw, 340px);
        height: min(90vw, 340px);
    }
}

@media (max-width: 380px) {
    .header h1 {
        font-size: 22px;
    }

    .choice-input {
        padding: 12px 14px;
    }
}

/* Choices Controls - Shuffle/Sort Buttons */
.choices-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.choice-control-slot {
    flex: 1;
    min-width: 0;
    display: flex;
    position: relative;
}

.choice-control-slot > button {
    width: 100%;
}

.choice-icon-slot,
.choice-select-slot {
    display: flex;
    position: relative;
}

.choice-icon-slot {
    flex: 0 0 auto;
}

.choice-select-slot {
    width: 100%;
    margin-bottom: 12px;
}

.choice-select-slot > select {
    margin-bottom: 0;
}

.choice-control-slot.is-user-locked:hover::after,
.choice-icon-slot.is-user-locked:hover::after,
.choice-select-slot.is-user-locked:hover::after,
.choice-row.is-user-locked:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    z-index: 1000;
    width: max-content;
    max-width: 240px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 7px;
    background: #17132b;
    color: #f4df84;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
    pointer-events: none;
}

.choice-row.is-user-locked {
    position: relative;
}

.choice-input.is-user-locked,
.choice-row .choice-weight.is-user-locked {
    cursor: not-allowed;
    opacity: 0.72;
    border-color: rgba(141, 132, 190, 0.35);
    color: rgba(255, 255, 255, 0.78);
    box-shadow: none;
}

.choice-input.is-user-locked:focus,
.choice-row .choice-weight.is-user-locked:focus {
    border-color: rgba(141, 132, 190, 0.35);
    box-shadow: none;
}

.choice-control-slot button:disabled,
.choice-icon-slot button:disabled,
.choice-select-slot select:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    filter: grayscale(0.6);
    pointer-events: none;
}

.choices-controls button.btn-small {
    flex: 1;
    padding: 10px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    border: 2px solid var(--gold);
    color: var(--gold);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.choices-controls button.btn-small:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold);
    transform: translateY(-2px);
}

/* Animations for Dynamic Shuffle/Sort Transition */
.choice-input {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Exit Transition (Fade out, scale down, translate up) */
.choice-input.anim-exit {
    opacity: 0;
    transform: translateY(-12px) scale(0.92);
    pointer-events: none;
}

/* Entry Transition (Fade in, scale down, translate down) */
.choice-input.anim-enter {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
    pointer-events: none;
}

/* Sound Settings Panel Styles */
.sound-controls {
    background: rgba(61, 61, 92, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mute-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 13px;
}

.volume-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.vol-icon {
    font-size: 14px;
    color: #aaa;
}

/* Volume Slider styling */
#volumeSlider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    accent-color: var(--gold);
    cursor: pointer;
    transition: all 0.2s;
}

#volumeSlider:hover {
    box-shadow: 0 0 8px var(--gold);
}

/* Custom Toggle Switch for Mute Option */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 22px;
    border: 1px solid var(--border-color);
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: var(--gold);
    transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.switch input:checked + .slider {
    background-color: var(--gold);
    border-color: var(--gold);
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
    background-color: #1a1a2e;
}

/* Import Modal Textarea Layout */
.import-modal-content {
    max-width: 450px;
}

.import-help {
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
}

#importTextarea {
    width: 100%;
    height: 160px;
    background: var(--input-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: white;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: all 0.3s;
    margin-bottom: 15px;
    line-height: 1.5;
}

#importTextarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold);
}

#importTextarea::placeholder {
    color: #555;
}

/* ================================================
   v3.6.0 UPGRADE - B2B Campaign & Integration Styles
   ================================================ */

/* Breadcrumbs Styling */
.breadcrumb-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: rgba(61, 61, 92, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb-item {
    color: #888;
    cursor: pointer;
    transition: color 0.2s, text-shadow 0.2s;
    text-decoration: none;
}

.breadcrumb-item:hover {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.breadcrumb-item.active {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    cursor: default;
    pointer-events: none;
}

.breadcrumb-separator {
    color: #555;
    font-weight: bold;
}

/* Wheel Canvas Transition Scaling */
#wheelCanvas {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}

.wheel-scale-out {
    transform: scale(0.4) rotate(180deg);
    opacity: 0;
}

/* Compact Embed Mode Overrides */
body.embed-mode {
    background: transparent !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
}

body.embed-mode #stars,
body.embed-mode .header,
body.embed-mode .footer,
body.embed-mode .panel-left,
body.embed-mode .panel-right {
    display: none !important;
}

body.embed-mode .main-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100% !important;
    width: 100% !important;
    visibility: visible !important;
}

body.embed-mode .container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

body.embed-mode .wheel-container {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
}

body.embed-mode .wheel-wrapper {
    margin: 0 !important;
}

/* ================================================
   v3.6.0 - COSMIC LIBRARY & CARD GRID STYLES
   ================================================ */

/* Preset Selection Flex Row */
.preset-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.preset-row select {
    flex: 1;
    margin-bottom: 0;
}

/* Icon Buttons next to preset selection */
button.btn-icon-gold, button.btn-icon-cosmic {
    width: 44px;
    height: 44px;
    padding: 0;
    margin-bottom: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button.btn-icon-gold {
    background: linear-gradient(145deg, var(--gold), #b8860b);
    border: 2px solid var(--border-color);
}

button.btn-icon-gold:hover {
    background: linear-gradient(145deg, #ffdf33, var(--gold));
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

button.btn-icon-cosmic {
    background: linear-gradient(135deg, #00d4ff 0%, #bf00ff 100%);
    border: none;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

button.btn-icon-cosmic:hover {
    background: linear-gradient(135deg, #33e0ff 0%, #d433ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.6);
}

/* Cosmic Library Modal Content */
.library-modal-content {
    max-width: 720px !important;
    width: 95vw !important;
    background: linear-gradient(135deg, #0d0d1e 0%, #15152a 100%);
    border: 2px solid rgba(191, 0, 255, 0.3);
    box-shadow: 0 0 45px rgba(191, 0, 255, 0.2);
}

.library-subtitle {
    text-align: center;
    font-size: 13px !important;
    color: #888 !important;
    margin-bottom: 20px;
}

/* Cards Grid */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 15px 0;
    max-height: 55vh;
    overflow-y: auto;
    padding: 8px;
}

/* Custom Preset Card */
.library-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.library-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(191, 0, 255, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(191, 0, 255, 0.2);
}

.library-card h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.library-card .card-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 14px;
}

/* Card Button Row */
.library-card-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

.library-card-actions button {
    padding: 8px;
    font-size: 11px;
    border-radius: 8px;
    text-transform: uppercase;
}

.library-card-actions .btn-load {
    flex: 1;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    border: none;
    color: white;
}

.library-card-actions .btn-load:hover {
    background: linear-gradient(135deg, #33e0ff 0%, #00a2f2 100%);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.library-card-actions .btn-delete {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.3);
    color: #ff3366;
    padding: 0;
}

.library-card-actions .btn-delete:hover {
    background: #ff3366;
    color: white;
    border-color: #ff3366;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.4);
}

/* Mini Wheel CSS Icon inside Library Cards */
.mini-wheel-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: conic-gradient(
        #ff7675 0% 16.6%,
        #74b9ff 16.6% 33.3%,
        #55efc4 33.3% 50%,
        #ffeaa7 50% 66.6%,
        #a29bfe 66.6% 83.3%,
        #fd79a8 83.3% 100%
    );
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.8s ease-out;
}

.library-card:hover .mini-wheel-icon {
    transform: rotate(360deg);
}



.wheel-question {
    color: var(--gold);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    letter-spacing: 0.5px;
}

/* -------------------------------------------
   Breadcrumbs (Nested Wheel Terminal)
------------------------------------------- */

/* Cosmic Empty Library State */
.lib-cat-btn {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.lib-cat-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    color: white;
}
.lib-cat-btn.active {
    background: linear-gradient(145deg, #ffd700, #b8860b);
    color: #000;
    border-color: #ffd700;
    font-weight: bold;
}
.library-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.library-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.library-empty-state p {
    color: #666 !important;
    font-size: 13px !important;
    max-width: 320px;
    line-height: 1.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ================================================
   WHEEL 2 DECIDE - Tabbed Library & Linker Styles
   ================================================ */

/* Library Tabs */
.lib-tab-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto !important; /* Override global button width */
}

.lib-tab-btn:hover {
    color: #ccc;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.lib-tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.lib-tab-content {
    display: none;
}

.lib-tab-content.active {
    display: block;
}

/* Visual Choice Linker Button */
.btn-link-choice {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: #888;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    flex-shrink: 0;
}

.btn-link-choice:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00d4ff;
    color: #00d4ff;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Glowing Neon Linker state when active */
.btn-link-choice.active {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: #00d4ff !important;
    color: #00d4ff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5), inset 0 0 5px rgba(0, 212, 255, 0.3) !important;
    animation: pulse-cyan 2s infinite alternate;
}

@keyframes pulse-cyan {
    0% { box-shadow: 0 0 8px rgba(0, 212, 255, 0.4); }
    100% { box-shadow: 0 0 16px rgba(0, 212, 255, 0.8); }
}

/* Chaining Options List inside Linker Modal */
.linker-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.linker-option-row:last-child {
    margin-bottom: 0;
}

.linker-option-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    transform: translateX(3px);
}

.linker-option-row .option-name {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.linker-option-row .option-tag {
    font-size: 10px;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Card Badges and Visual Distinctions for Ordinary, Nested, and Sub-wheels */
.library-card.nested-parent-card {
    border-color: rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15) !important;
}

.library-card.nested-parent-card:hover {
    border-color: rgba(0, 212, 255, 0.7) !important;
    box-shadow: 0 12px 25px rgba(0, 212, 255, 0.3) !important;
}

.library-card.sub-wheel-card {
    border-color: rgba(162, 155, 254, 0.2) !important;
    box-shadow: 0 8px 20px rgba(162, 155, 254, 0.1) !important;
}

.library-card.sub-wheel-card:hover {
    border-color: rgba(162, 155, 254, 0.6) !important;
    box-shadow: 0 12px 25px rgba(162, 155, 254, 0.25) !important;
}

/* Conic gradient updates for mini wheel icons */
.library-card.nested-parent-card .mini-wheel-icon {
    border-color: rgba(0, 212, 255, 0.4) !important;
    background: conic-gradient(
        #00d4ff 0% 25%,
        #00a2f2 25% 50%,
        #0984e3 50% 75%,
        #00cec9 75% 100%
    ) !important;
}

.library-card.sub-wheel-card .mini-wheel-icon {
    border-color: rgba(162, 155, 254, 0.4) !important;
    background: conic-gradient(
        #a29bfe 0% 25%,
        #6c5ce7 25% 50%,
        #e84393 50% 75%,
        #fd79a8 75% 100%
    ) !important;
}

/* Absolute position badges styling */
.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 8px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.card-badge.nested-badge {
    background: rgba(0, 212, 255, 0.15) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    color: #00d4ff !important;
}

.card-badge.sub-badge {
    background: rgba(162, 155, 254, 0.15) !important;
    border: 1px solid rgba(162, 155, 254, 0.4) !important;
    color: #a29bfe !important;
}

/* ================================================
   WHEEL 2 DECIDE - Mini Dashboard & Spin Button
   ================================================ */

.massive-spin-btn {
    margin-top: 15px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, var(--gold), rgba(0,0,0,0.6));
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px var(--gold), inset 0 0 10px rgba(255,255,255,0.2);
    border-radius: 40px;
    color: white;
    font-size: 16px;
    font-weight: 800;
    padding: 12px 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 70%;
    max-width: 240px;
    animation: pulse-glow-btn 2.5s infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.massive-spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--gold), inset 0 0 15px rgba(255,255,255,0.4);
    background: linear-gradient(145deg, var(--gold), rgba(0,0,0,0.4));
}

.massive-spin-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px var(--gold);
}

@keyframes pulse-glow-btn {
    0% { box-shadow: 0 0 10px var(--gold); }
    50% { box-shadow: 0 0 25px var(--gold); }
    100% { box-shadow: 0 0 10px var(--gold); }
}

.modern-dashboard-grid {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.dashboard-card {
    background: rgba(15, 12, 41, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.dashboard-header h4 {
    color: #00d4ff;
    font-size: 18px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.stat-badge {
    background: linear-gradient(145deg, #ff3366, #ff0044);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
    letter-spacing: 1px;
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-label {
    color: #bbb;
}

.stat-value {
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.chart-container {
    position: relative;
    height: 150px;
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.recent-feed, .trending-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    max-height: 180px;
    padding-right: 5px;
}

/* Custom Scrollbar for feeds */
.recent-feed::-webkit-scrollbar, .trending-list::-webkit-scrollbar {
    width: 6px;
}
.recent-feed::-webkit-scrollbar-track, .trending-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.recent-feed::-webkit-scrollbar-thumb, .trending-list::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 3px;
}

.feed-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    animation: slide-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slide-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.feed-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

.feed-item-title {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.feed-item-sub {
    font-size: 11px;
    color: #888;
}

.feed-item-value {
    font-size: 16px;
    font-weight: 900;
    color: var(--gold);
}

.feed-empty {
    text-align: center;
    color: #666;
    font-size: 13px;
    padding: 20px;
    font-style: italic;
}

/* Footer Styling */
footer {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 5, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 48px 24px;
  position: relative;
  z-index: 10;
  margin-top: auto;
  transition: background var(--transition-speed), border var(--transition-speed);
}

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

.credential-list strong {
  color: var(--text-primary);
}

.gst-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #06B6D4;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-family: monospace;
  font-weight: 600;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-logo {
  height: 32px;
  width: auto;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

.btn-link-choice.is-user-readonly {
    cursor: default;
}

.btn-link-choice.is-user-readonly:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: var(--border-color) !important;
    color: #888 !important;
    box-shadow: none !important;
}

.btn-link-choice.is-user-readonly.active,
.btn-link-choice.is-user-readonly.active:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: #00d4ff !important;
    color: #00d4ff !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5), inset 0 0 5px rgba(0, 212, 255, 0.3) !important;
    animation: pulse-cyan 2s infinite alternate;
}

.choice-row.is-user-locked:has(.btn-link-choice:hover)::after {
    display: none;
}

.request-wheel-launch {
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 212, 255, 0.55);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(95, 62, 201, 0.22));
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff;
}

.request-wheel-launch:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 22px rgba(0, 212, 255, 0.32);
    transform: translateY(-1px);
}

.request-wheel-launch span {
    color: #00d4ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.request-wheel-launch small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: none;
}

.promo-video-launch {
    width: 100%;
    margin-top: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(245, 158, 11, 0.42);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(59, 130, 246, 0.16));
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #fff;
}

.promo-video-launch:hover {
    border-color: var(--gold);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
}

.promo-video-launch span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.promo-video-launch small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: none;
}

.promo-video-backdrop {
    z-index: 1210;
}

.promo-video-modal {
    width: min(94vw, 820px);
    text-align: left;
}

.promo-video-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.promo-video-header h2 {
    margin: 3px 0 0;
}

.promo-video-eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.promo-video-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.promo-video-tabs button {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.promo-video-tabs button.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(245, 158, 11, 0.68));
    color: #100b1d;
    border-color: var(--gold);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.25);
}

.promo-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #070714;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.promo-video-note {
    margin: 14px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.request-wheel-backdrop {
    z-index: 1200;
}

.request-wheel-modal {
    width: min(92vw, 620px);
    max-height: 90vh;
    overflow-y: auto;
    text-align: left;
}

.request-wheel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.request-wheel-heading h2 {
    margin: 3px 0 0;
}

.request-wheel-eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.request-wheel-close {
    width: 36px;
    height: 36px;
    padding: 0;
    flex: 0 0 auto;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    font-size: 24px;
    line-height: 1;
}

.request-wheel-intro {
    margin: 0 0 18px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.request-wheel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.request-wheel-modal label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.request-wheel-modal input,
.request-wheel-modal textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9px;
    background: rgba(7, 6, 20, 0.6);
    color: #fff;
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    outline: none;
    padding: 11px 12px;
    text-transform: none;
}

.request-wheel-modal input:focus,
.request-wheel-modal textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.request-wheel-description {
    margin-top: 12px;
}

.request-wheel-modal textarea {
    resize: vertical;
    min-height: 110px;
}

.request-wheel-tier-note,
.request-wheel-status {
    margin: 14px 0 0;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.08);
    color: #f4cc75;
    padding: 9px 11px;
    font-size: 11px;
    line-height: 1.45;
}

.request-wheel-tier-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.request-wheel-tier-links a {
    color: var(--gold);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wheel-account-link {
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-decoration: none;
    text-transform: uppercase;
}

.wheel-logout-button {
    color: #ffb4b4;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
}

.wheel-account-link,
.wheel-logout-button {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(49, 46, 129, 0.62));
}

.wheel-account-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.75);
}

.request-wheel-status.success {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.1);
    color: #79e2b3;
}

.request-wheel-actions {
    margin-top: 18px;
}

.request-wheel-actions > button,
.request-wheel-actions > span {
    flex: 1;
}

.request-wheel-actions > span {
    display: flex;
    position: relative;
}

.request-wheel-actions > span > button {
    width: 100%;
}

.request-wheel-send-locked button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    filter: grayscale(0.55);
    pointer-events: none;
}

.request-wheel-send-locked:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    z-index: 10;
    width: max-content;
    max-width: 240px;
    padding: 7px 9px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 7px;
    background: #17132b;
    color: #f4df84;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    pointer-events: none;
}

.upgrade-prompt-backdrop {
    z-index: 1400;
}

.upgrade-prompt-modal {
    width: min(92vw, 430px);
    text-align: center;
}

.upgrade-prompt-modal > p:not(.upgrade-prompt-eyebrow) {
    color: var(--text-muted);
    line-height: 1.6;
}

.upgrade-prompt-eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.upgrade-prompt-buy {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--gold), #e6c200);
    color: #1a1a2e;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.upgrade-prompt-buy:hover {
    background: linear-gradient(145deg, #ffdf33, var(--gold));
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.22);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .request-wheel-grid {
        grid-template-columns: 1fr;
    }
}
