/* ── PWA / Native-App Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html {
    height: 100%;
    height: -webkit-fill-available;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html,
body,
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Prevent iOS input zoom */
input, select, textarea {
    font-size: max(16px, 1rem);
}

/* Allow text selection only where needed */
p, span, .selectable {
    -webkit-user-select: text;
    user-select: text;
}
a {
    text-decoration: none;
}

/* Container */
.container {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Carousel */
.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Image */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.9) 80%,
        rgba(0, 0, 0, 1) 100%
    );
}

/* Content Section */
.content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
    background: #000;
}

.welcome-logo {
    width: min(16rem, 72vw);
    height: auto;
    display: block;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 1rem 2rem rgba(248, 201, 2, 0.28));
}

/* Headline and Tagline - dynamically updated by carousel */
.headline,
.tagline {
    transition: opacity 0.3s ease-in-out;
}

/* Headline */
.headline {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Tagline */
.tagline {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #b3b3b3;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Dots Navigation */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4a4a4a;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot:hover {
    background-color: #6a6a6a;
}

.dot.active {
    background-color: #f8c902;
    width: 24px;
    border-radius: 4px;
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #f8c902;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #f8c902;
    color: #000;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Sign In Text */
.signin-text {
    font-size: 0.9rem;
    color: #b3b3b3;
}

.signin-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signin-link:hover {
    color: #f8c902;
    text-decoration: none;
}

/* Tablet Styles (min-width: 768px) */
@media (min-width: 768px) {
    .carousel {
        height: 65vh;
    }

    .content {
        padding: 3rem 2rem 3rem;
    }

    .headline {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.05rem;
        max-width: 500px;
    }

    .cta-section {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Desktop Styles (min-width: 1024px) */
@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row;
    }

    .carousel {
        position: relative;
        width: 50%;
        height: 100vh;
    }

    .hero-image {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0.9) 90%,
            rgba(0, 0, 0, 1) 100%
        );
    }

    .content {
        width: 50%;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem;
        background: #000;
        text-align: left;
    }

    .welcome-logo {
        margin-left: 0;
        margin-right: 0;
    }

    .headline {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .tagline {
        font-size: 1.15rem;
        margin-left: 0;
        margin-bottom: 2.5rem;
    }

    .dots {
        justify-content: flex-start;
        margin-bottom: 3rem;
    }

    .cta-section {
        align-items: flex-start;
        max-width: 100%;
    }

    .btn-primary {
        width: auto;
        min-width: 300px;
        padding: 1.1rem 3rem;
        font-size: 1.05rem;
    }

    .signin-text {
        text-align: left;
    }
}

/* Large Desktop Styles (min-width: 1440px) */
@media (min-width: 1440px) {
    .content {
        padding: 5rem 6rem;
    }

    .headline {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.25rem;
        max-width: 550px;
    }
}

/* ============================================
   AUTH PAGE STYLES (LOGIN/SIGNUP)
   ============================================ */

/* Auth Page Body */
.auth-page {
    background-color: #000;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: "";
    position: fixed;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(207, 255, 4, 0.4) 0%,
        rgba(207, 255, 4, 0.2) 30%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.auth-page::after {
    content: "";
    position: fixed;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(207, 255, 4, 0.3) 0%,
        rgba(207, 255, 4, 0.15) 30%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Auth Navbar */
.auth-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    background: transparent;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.back-btn:hover {
    opacity: 0.7;
}

/* Auth Container */
.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    overflow-y: auto;
}

/* Auth Content */
.auth-content {
    width: 100%;
    max-height: 100%;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 1.25rem;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* Alert Messages */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.alert-error p {
    margin: 0.25rem 0;
}

.alert-error p:first-child {
    margin-top: 0;
}

.alert-error p:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 0.75rem 1.125rem;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #f8c902;
}

.input-wrapper:has(input:not(:placeholder-shown)) {
    border-color: #f8c902;
}

.input-icon {
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    padding: 0;
}

.input-wrapper input::placeholder {
    color: #6a6a6a;
}

.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #000 inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Toggle Password Button */
.toggle-password {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.toggle-password:hover {
    opacity: 0.7;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: -0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    /* margin-top: 10px;
    margin-left: 10px; */
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    position: relative;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid #f8c902;
    border-radius: 4px;
    margin-right: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background: #f8c902;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: #fff;
    font-size: 0.9rem;
}

/* Captcha Wrapper */
.captcha-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(207, 255, 4, 0.1);
    border: 1px solid #f8c902;
    border-radius: 12px;
}

#captcha-text {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    color: #f8c902;
    font-family: "Courier New", monospace;
    user-select: none;
}

.captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(207, 255, 4, 0.2);
    border: 1px solid #f8c902;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    background: rgba(207, 255, 4, 0.3);
    transform: rotate(180deg);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 0.875rem 2rem;
    background-color: #f8c902;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.btn-submit:hover {
    background-color: #f8c902;
    transform: scale(1.02);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Forgot Password Link */
.forgot-password {
    display: block;
    text-align: center;
    color: #f8c902;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: opacity 0.3s ease;
}

.forgot-password:hover {
    opacity: 0.8;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.25rem 0 1rem;
    color: #6a6a6a;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #2a2a2a;
}

.divider span {
    padding: 0 1rem;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #1a1a1a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #2a2a2a;
    transform: scale(1.05);
}

.social-btn:active {
    transform: scale(0.95);
}

/* Signup Text */
.signup-text {
    text-align: center;
    color: #b3b3b3;
    font-size: 0.9rem;
}

.signup-link {
    color: #f8c902;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

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

/* Responsive Auth Styles */
@media (min-width: 768px) {
    .auth-container {
        padding: 2rem;
    }

    .auth-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .input-wrapper {
        padding: 1rem 1.5rem;
    }

    .input-wrapper input {
        font-size: 1rem;
    }

    .btn-submit {
        padding: 1.1rem 2rem;
        font-size: 1.05rem;
    }
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* Home Page Body */
.home-page {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
    position: relative;
    overflow-x: hidden;
}

/* Background Lights */
.home-page::before {
    content: "";
    position: fixed;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(207, 255, 4, 0.15) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.home-page::after {
    content: "";
    position: fixed;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(207, 255, 4, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Shared decorated app header */
.music-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 140;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72)),
        linear-gradient(90deg, rgba(248, 201, 2, 0.16), rgba(255, 255, 255, 0.04), rgba(248, 201, 2, 0.12));
    border-bottom: 1px solid rgba(248, 201, 2, 0.16);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.music-header-inner {
    width: min(100%, 720px);
    min-height: 52px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0.8rem 0.5rem;
    border-radius: 0;
    border: 1px solid rgba(248, 201, 2, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 42%),
        rgba(12, 13, 16, 0.88);
    box-shadow:
        0 0.75rem 2rem rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    gap: 0.6rem;
}

/* ── Home header layout ── */
.music-header-inner.is-home {
    justify-content: space-between;
}

/* ── Decorated logo wordmark (Home only) ── */
.music-header-logo-wordmark {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1;
    user-select: none;
}

.mhw-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.mhw-music {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
}

.mhw-vest {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(130deg, #f8c902 10%, #ffe97a 55%, #f8a400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(248, 201, 2, 0.55));
}

/* ── Home right actions: wallet pill + bell ── */
.music-header-home-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.music-header-wallet-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: 112px;
    max-width: 150px;
    min-height: 38px;
    padding: 0 1.72rem 0 2rem;
    overflow: hidden;
    border: 1px solid rgba(248, 201, 2, 0.26);
    border-radius: 8px;
    color: #f8c902;
    background:
        linear-gradient(135deg, rgba(248, 201, 2, 0.14), rgba(255, 255, 255, 0.035)),
        rgba(8, 9, 8, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background 0.18s, transform 0.18s;
}

.music-header-wallet-pill:hover {
    background:
        linear-gradient(135deg, rgba(248, 201, 2, 0.2), rgba(255, 255, 255, 0.05)),
        rgba(8, 9, 8, 0.86);
    transform: translateY(-1px);
}

.mhwp-icon,
.mhwp-chevron {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    pointer-events: none;
    transform: translateY(-50%);
}

.mhwp-icon {
    inset-inline-start: 0.58rem;
}

.mhwp-chevron {
    inset-inline-end: 0.46rem;
}

.music-header-wallet-pill svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mhwp-chevron svg {
    width: 13px;
    height: 13px;
}

.mhwp-balance {
    min-width: 0;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 950;
    color: #f8c902;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-header-bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    padding: 0;
    appearance: none;
    transition: background 0.18s, transform 0.18s;
}

.music-header-bell:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.music-header-bell svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mhb-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f8c902;
    border: 1.5px solid rgba(12, 13, 16, 0.9);
}

/* ── Inner page header layout ── */
.music-header-inner.is-inner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
}

.music-header-inner-title {
    text-align: center;
    font-size: 0.96rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.music-header-spacer {
    width: 40px;
    height: 40px;
}

/* ── Shared back button ── */
.music-header-back {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #f8c902;
    background: rgba(248, 201, 2, 0.1);
    border: 1px solid rgba(248, 201, 2, 0.18);
    cursor: pointer;
    appearance: none;
    padding: 0;
    flex-shrink: 0;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.music-header-back:hover {
    transform: translateY(-1px);
    background: rgba(248, 201, 2, 0.18);
    border-color: rgba(248, 201, 2, 0.32);
}

.music-header-back svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-page > .home-header,
.home-page > .page-header:not(.events-header) {
    display: none;
}

.home-page .events-page {
    padding-top: calc(128px + env(safe-area-inset-top));
}

@keyframes musicHeaderWave {
    0%, 100% {
        transform: scaleY(0.65);
        opacity: 0.72;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Home Header */
.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.user-profile,
.app-brand {
    flex-shrink: 0;
}

.app-brand {
    display: inline-flex;
    align-items: center;
}

.app-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0.6rem 1.1rem rgba(248, 201, 2, 0.3));
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8c902;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Main Content */
.home-main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Home Carousel */
.home-carousel {
    padding-top: 75px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-slide-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
}

.home-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 12px;
    overflow: hidden;
}

.home-carousel-slide.active {
    opacity: 1;
}

.home-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%
    );
}

.carousel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.carousel-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    position: absolute;
    z-index: 999999;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #f8c902;
    width: 24px;
    border-radius: 4px;
}

/* Quick Shortcuts */
.quick-shortcuts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 1.4rem;
    --fillg: #f8c902;
    padding: 0.8rem 0.35rem 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.quick-shortcuts::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 201, 2, 0.44), transparent);
    pointer-events: none;
}

.shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 68px;
    padding: 0.15rem 0.15rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 180ms ease, color 180ms ease;
    position: relative;
}

.shortcut-item:hover {
    transform: translateY(-2px);
}

.shortcut-item:active {
    transform: translateY(0) scale(0.98);
}

.shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background:
        linear-gradient(180deg, rgba(248, 201, 2, 0.16), rgba(248, 201, 2, 0.06)),
        rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    border: 1px solid rgba(248, 201, 2, 0.18);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    box-shadow:
        0 0.5rem 1rem rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shortcut-icon--deposit {
    background:
        linear-gradient(180deg, rgba(72, 255, 199, 0.18), rgba(0, 122, 255, 0.1)),
        rgba(255, 255, 255, 0.05);
    border-color: rgba(72, 255, 199, 0.24);
}

.shortcut-icon--withdraw {
    background:
        linear-gradient(180deg, rgba(255, 186, 60, 0.19), rgba(255, 121, 33, 0.1)),
        rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 186, 60, 0.26);
}

.shortcut-icon--team {
    background:
        linear-gradient(180deg, rgba(123, 102, 255, 0.18), rgba(248, 201, 2, 0.08)),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(123, 102, 255, 0.22);
}

.shortcut-icon--wheel {
    background:
        linear-gradient(180deg, rgba(248, 201, 2, 0.2), rgba(255, 75, 145, 0.1)),
        rgba(255, 255, 255, 0.05);
    border-color: rgba(248, 201, 2, 0.28);
}

.shortcut-icon--milestone {
    background:
        linear-gradient(180deg, rgba(80, 214, 255, 0.17), rgba(123, 102, 255, 0.11)),
        rgba(255, 255, 255, 0.05);
    border-color: rgba(80, 214, 255, 0.24);
}

.shortcut-item:hover .shortcut-icon {
    transform: scale(1.04);
    border-color: rgba(248, 201, 2, 0.32);
    background:
        linear-gradient(180deg, rgba(248, 201, 2, 0.22), rgba(248, 201, 2, 0.08)),
        rgba(255, 255, 255, 0.055);
}

.shortcut-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 5px rgba(248, 201, 2, 0.24));
}

.shortcut-icon svg path[opacity="0.4"] {
    fill: rgba(248, 201, 2, 0.22) !important;
}

.shortcut-icon svg path:not([opacity]) {
    fill: #f8c902 !important;
}

.shortcut-icon svg path[opacity="0.6"] {
    fill: rgba(248, 201, 2, 0.52) !important;
}

.shortcut-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #cfd6df;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.1;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.shortcut-item:hover .shortcut-label {
    color: #fff;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid #4a4a4a;
    border-radius: 20px;
    color: #b3b3b3;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn.active {
    background: #f8c902;
    border-color: #f8c902;
    color: #000;
}

.tab-btn:hover:not(.active) {
    border-color: #f8c902;
    color: #fff;
}

/* Content Section */
.content-section {
    margin-bottom: 2rem;
    padding-left: 10px;
    padding-right: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    margin-bottom: 6px;
}

.see-all {
    font-size: 0.875rem;
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.see-all:hover {
    color: #fff;
}

/* Artist Grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 0.75rem;
}

.artist-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.artist-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn-small {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.artist-card:hover .play-btn-small {
    opacity: 1;
    transform: translateY(0);
}

.artist-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Featured Card */
.featured-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8c902 0%, #f8c902 100%);
    min-height: 160px;
    display: flex;
    align-items: flex-end;
}

.featured-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to left,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.featured-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to left,
        transparent 0%,
        rgba(207, 255, 4, 0.3) 100%
    );
    z-index: 1;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: overlay;
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.featured-artist {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 0.25rem 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.featured-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Playlist List */
.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playlist-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.playlist-info {
    flex: 1;
    min-width: 0;
}

.playlist-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.2rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-artist {
    font-size: 0.7rem;
    color: #b3b3b3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-menu {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.playlist-menu:hover {
    color: #fff;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0.4rem 0.4rem 0;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    z-index: 100;
    border-radius: 14px 14px 0 0;
}

.bottom-nav::before {
    content: "";
    position: absolute;
    bottom: 50%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(207, 255, 4, 0.15) 0%,
        transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
    animation: navGlow1 8s ease-in-out infinite;
}

.bottom-nav::after {
    content: "";
    position: absolute;
    bottom: 50%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(207, 255, 4, 0.15) 0%,
        transparent 70%
    );
    filter: blur(40px);
    pointer-events: none;
    animation: navGlow2 8s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes navGlow1 {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-10px);
    }
}

@keyframes navGlow2 {
    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-10px);
    }
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    min-width: 0;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.nav-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    /* background: rgba(207, 255, 4, 0.1); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active {
    color: #f8c902 !important;
    /* background: linear-gradient(180deg, rgba(207, 255, 4,0.14), rgba(207, 255, 4,0.08));
    box-shadow: 0 6px 18px rgba(207, 255, 4, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.04);
    transform: translateY(-4px); */
}

.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 4px;
    background: linear-gradient(90deg, #f8c902, #f8c902);
    border-radius: 4px;
    box-shadow: 0 6px 18px rgba(207, 255, 4, 0.25);
}

.nav-item:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-item.active svg path,
.nav-item.active svg circle,
.nav-item.active svg rect {
    stroke: #f8c902;
    transition: stroke 0.3s ease;
}

.nav-item:active svg {
    transform: scale(0.95);
}

.nav-item span {
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Nav inner container (centred rounded bar) */
.bottom-nav .nav-inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.88);
    border-radius: 14px;
    padding: 0.45rem 0.9rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

/* Center elevated action button */
.nav-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    transform: translateY(-22px);
}

.nav-action {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8c902 0%, #f8c902 100%);
    border: 6px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(207, 255, 4, 0.28);
}

.nav-center .nav-action svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 420px) {
    .nav-action {
        width: 60px;
        height: 60px;
        border-width: 5px;
    }
    .nav-center {
        transform: translateY(-18px);
    }
    .bottom-nav .nav-inner {
        width: 100%;
        padding: 0.4rem 0.6rem;
    }
}

/* Remove hover effects on touch devices */
@media (hover: none) {
    .nav-item:hover {
        transform: none;
        color: #b3b3b3;
    }
    .nav-item.active:hover {
        color: #f8c902 !important;
    }
    .music-header-wallet-pill:hover {
        transform: none;
        background: rgba(248, 201, 2, 0.1);
    }
}

/* ── Native press / active states ── */
button, a, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-item:active,
.music-header-back:active,
.music-header-bell:active {
    opacity: 0.6;
    transform: scale(0.94);
    transition: opacity 0.07s, transform 0.07s;
}

.nav-action:active {
    transform: scale(0.92);
    transition: transform 0.07s;
}

.inv-btn-primary:active,
.inv-copy-btn:active,
.inv-btn-share:active {
    transform: scale(0.93);
    transition: transform 0.07s;
}

/* Scrollable areas get momentum scrolling */
.home-main,
.dep-body,
.deposit-invoice-body {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .home-main {
        padding: 80px 1.5rem 2rem;
    }

    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    .featured-card {
        min-height: 180px;
    }

    .featured-artist {
        font-size: 1.75rem;
    }

    .playlist-thumb {
        width: 55px;
        height: 55px;
    }

    .section-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 1024px) {
    .home-main {
        padding: 90px 2rem 2rem;
    }

    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1.25rem;
    }

    .featured-card {
        min-height: 200px;
    }

    .featured-artist {
        font-size: 2rem;
    }
}

/* Desktop PWA shell for the home route */
@media (min-width: 900px) {
    .home-page:has(.music-app-shell.is-home) {
        height: 100dvh;
        min-height: 100vh;
        overflow: hidden;
        padding-bottom: 0;
        align-items: center;
        justify-content: center;
        background:
            linear-gradient(135deg, rgba(248, 201, 2, 0.06), transparent 34%),
            linear-gradient(225deg, rgba(72, 255, 199, 0.045), transparent 36%),
            #060706;
    }

    .home-page:has(.music-app-shell.is-home)::before {
        top: -22%;
        left: calc(50% - 560px);
        opacity: 0.7;
    }

    .home-page:has(.music-app-shell.is-home)::after {
        right: calc(50% - 620px);
        bottom: -34%;
        opacity: 0.55;
    }

    .music-app-shell.is-home {
        position: relative;
        z-index: 1;
        width: min(calc(100vw - 32px), 480px);
        height: calc(100dvh - 32px);
        margin: 16px auto;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        background: #050605;
        box-shadow:
            0 28px 70px rgba(0, 0, 0, 0.62),
            0 0 0 1px rgba(248, 201, 2, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .music-app-shell.is-home .music-fixed-header {
        top: 16px;
        left: 50%;
        right: auto;
        width: min(calc(100vw - 32px), 480px);
        transform: translateX(-50%);
        overflow: hidden;
        border-radius: 0;
        border-bottom: 0;
        background: rgba(5, 6, 5, 0.94);
        box-shadow: none;
    }

    .music-app-shell.is-home .music-header-inner {
        width: 100%;
        min-height: 70px;
        padding: 1rem 1rem 0.8rem;
        border: 0;
        border-bottom: 1px solid rgba(248, 201, 2, 0.14);
        border-radius: 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent),
            rgba(10, 12, 10, 0.92);
        box-shadow: none;
    }

    .music-app-shell.is-home .mhw-music,
    .music-app-shell.is-home .mhw-vest {
        font-size: 1.35rem;
        letter-spacing: 0;
    }

    .music-app-shell.is-home .music-header-wallet-pill {
        max-width: 150px;
    }

    .music-app-shell.is-home .mhwp-balance {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .music-app-shell.is-home .home-main {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
        padding: calc(86px + env(safe-area-inset-top)) 1rem calc(112px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior-x: contain;
        overscroll-behavior-y: auto;
        background:
            linear-gradient(180deg, rgba(248, 201, 2, 0.025), transparent 30%),
            #050605;
    }

    .music-app-shell.is-home .home-carousel {
        margin-bottom: 1.1rem;
        border-radius: 16px;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    }

    .music-app-shell.is-home .carousel-slide-wrapper {
        height: clamp(184px, 31dvh, 260px);
    }

    .music-app-shell.is-home .home-carousel-slide {
        border-radius: 16px;
    }

    .music-app-shell.is-home .quick-shortcuts {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.4rem;
        margin-bottom: 1.25rem;
        padding: 0.75rem 0.35rem 0.7rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.035);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    }

    .music-app-shell.is-home .shortcut-icon {
        width: 42px;
        height: 42px;
    }

    .music-app-shell.is-home .shortcut-icon svg {
        width: 30px;
        height: 30px;
    }

    .music-app-shell.is-home .content-section {
        margin-bottom: 1.35rem;
    }

    .music-app-shell.is-home .section-header {
        margin-bottom: 0.75rem;
    }

    .music-app-shell.is-home .artist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .music-app-shell.is-home .artist-image {
        border-radius: 14px;
    }

    .music-app-shell.is-home .featured-card {
        min-height: 178px;
        border-radius: 16px;
    }

    .music-app-shell.is-home .playlist-list {
        gap: 0.65rem;
    }

    .music-app-shell.is-home .playlist-item {
        padding: 0.55rem;
        border: 1px solid rgba(255, 255, 255, 0.055);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.045);
    }

    .music-app-shell.is-home .bottom-nav {
        left: 50%;
        right: auto;
        bottom: 16px;
        width: min(calc(100vw - 32px), 480px);
        margin: 0;
        padding-bottom: 0;
        transform: translateX(-50%);
        overflow: hidden;
        border-radius: 0;
    }

    .music-app-shell.is-home .bottom-nav::before,
    .music-app-shell.is-home .bottom-nav::after {
        display: none;
    }

    .music-app-shell.is-home .bottom-nav .nav-inner {
        max-width: none;
        border-radius: 0;
        padding: 0.55rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(248, 201, 2, 0.14);
        background: rgba(9, 10, 9, 0.94);
        box-shadow: none;
    }

    .music-app-shell.is-home .nav-item {
        min-width: 54px;
        padding: 0.48rem 0.4rem;
    }

    .music-app-shell.is-home .nav-center {
        transform: translateY(-18px);
    }

    .music-app-shell.is-home .nav-action {
        width: 62px;
        height: 62px;
        border-width: 5px;
        border-color: rgba(5, 6, 5, 0.96);
    }
}

/* Page Header with Back Button */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(207, 255, 4, 0.15);
    border: 1px solid #f8c90230;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #f8c902;
}

.back-btn:hover {
    background: rgba(207, 255, 4, 0.25);
    transform: translateX(-2px);
}

.back-btn:active {
    transform: scale(0.95) translateX(-2px);
}

.page-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
    flex: 1;
    text-align: center;
}

.header-spacer {
    width: 40px;
}

/* Profile Page Styles */
.profile-page {
    padding-bottom: 100px;
    padding-top: 60px;
}

.profile-header {
    text-align: center;
    padding: 2rem 0 1.5rem;
    position: relative;
}

.profile-avatar-large {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(207, 255, 4, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8c902 0%, #f8c902 100%);
    border: 3px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(207, 255, 4, 0.4);
}

.avatar-edit-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(207, 255, 4, 0.6);
}

.avatar-edit-btn svg {
    width: 18px;
    height: 18px;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.profile-email {
    font-size: 0.9rem;
    color: #b3b3b3;
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    margin-bottom: 0.5rem;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8c902;
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: #b3b3b3;
    margin: 0;
    line-height: 1.2;
}

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

button.setting-item {
    width: 100%;
    font: inherit;
    text-align: left;
    appearance: none;
    cursor: pointer;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.setting-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(207, 255, 4, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.setting-icon svg {
    width: 22px;
    height: 22px;
    stroke: #f8c902;
}

.setting-content {
    flex: 1;
    min-width: 0;
}

.setting-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.2rem 0;
}

.setting-subtitle {
    font-size: 0.75rem;
    color: #b3b3b3;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.setting-arrow {
    width: 20px;
    height: 20px;
    stroke: #b3b3b3;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.setting-item:hover .setting-arrow {
    stroke: #f8c902;
    transform: translateX(4px);
}

.logout-item {
    border-color: rgba(255, 59, 48, 0.3);
}

.logout-form {
    margin: 0;
}

.logout-item .setting-icon {
    background: rgba(255, 59, 48, 0.15);
}

.logout-item .setting-icon svg {
    stroke: #ff3b30;
}

.logout-item:hover {
    background: rgba(255, 59, 48, 0.1);
    border-color: rgba(255, 59, 48, 0.5);
}

/* App Version */
.app-version {
    text-align: center;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.app-version p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
}

/* Profile Page Responsive */
@media (min-width: 480px) {
    .stats-grid {
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem 1rem;
    }

    .stat-icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 768px) {
    .profile-avatar-large {
        width: 140px;
        height: 140px;
    }

    .profile-name {
        font-size: 2rem;
    }

    .stats-grid {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .settings-list {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Events Page Styles */
.events-page {
    padding-bottom: 100px;
    padding-top: 120px;
}

/* Events Header */
.events-header {
    position: fixed;
    top: calc(74px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 130;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.events-header .header-top {
    display: none;
}

.events-header .back-btn,
.events-header .page-title,
.events-header .header-spacer {
    /* Use existing page-header styles */
}

.header-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(207, 255, 4, 0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #f8c902;
}

.header-action-btn:hover {
    background: rgba(207, 255, 4, 0.25);
}

.header-action-btn:active {
    transform: scale(0.95);
}

/* Event Tabs */
.event-tabs {
    display: flex;
    gap: 0.5rem;
    width: min(96%, 720px);
    margin: 0 auto;
    padding: 0 0.35rem 0.65rem;
    background: rgba(0, 0, 0, 0.68);
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(14px);
}

.event-tab {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #b3b3b3;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: fit-content;
}

.event-tab:hover {
    background: rgba(255, 255, 255, 0.08);
}

.event-tab.active {
    background: linear-gradient(
        135deg,
        rgba(207, 255, 4, 0.2),
        rgba(207, 255, 4, 0.1)
    );
    border-color: rgba(207, 255, 4, 0.3);
    color: #f8c902;
}

/* Event Section */
.event-section {
    padding: 1rem 0;
}

.event-section.hidden {
    display: none;
}

/* Event List */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1rem;
}

/* Event Card */
.event-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.event-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #f8c902, #f8c902);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(207, 255, 4, 0.4);
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(207, 255, 4, 0.5);
}

.date-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8c902;
    line-height: 1;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: #b3b3b3;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.event-content {
    padding: 1.25rem;
}

.event-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #b3b3b3;
}

.meta-item svg {
    stroke: #f8c902;
    flex-shrink: 0;
}

.event-description {
    font-size: 0.85rem;
    color: #b3b3b3;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.featured-event .event-description {
    display: block;
}

.event-card:not(.featured-event) .event-description {
    display: none;
}

/* Event Buttons */
.event-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-btn.primary {
    background: linear-gradient(135deg, #f8c902, #f8c902);
    color: #fff;
    box-shadow: 0 6px 20px rgba(207, 255, 4, 0.3);
}

.event-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(207, 255, 4, 0.4);
}

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

.event-btn.secondary {
    background: rgba(207, 255, 4, 0.15);
    color: #f8c902;
    border: 1px solid rgba(207, 255, 4, 0.3);
}

.event-btn.secondary:hover {
    background: rgba(207, 255, 4, 0.25);
    border-color: rgba(207, 255, 4, 0.5);
}

/* Participated Events List */
.participated-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
}

.participated-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.participated-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.participated-image {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.participated-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    bottom: 0.3rem;
    left: 0.3rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-badge.completed {
    background: rgba(207, 255, 4, 0.9);
    color: #fff;
}

.status-badge.upcoming {
    background: rgba(207, 255, 4, 0.9);
    color: #fff;
}

.participated-content {
    flex: 1;
    min-width: 0;
}

.participated-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.3rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participated-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #b3b3b3;
    margin-bottom: 0.2rem;
}

.participated-date svg {
    stroke: #f8c902;
    flex-shrink: 0;
}

.participated-location {
    font-size: 0.7rem;
    color: #888;
    margin: 0;
}

.review-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(207, 255, 4, 0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #f8c902;
    flex-shrink: 0;
}

.review-btn:hover {
    background: rgba(207, 255, 4, 0.25);
    transform: translateX(2px);
}

.review-btn svg {
    stroke: currentColor;
}

/* Events Page Responsive */
@media (min-width: 768px) {
    .event-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .featured-event {
        grid-column: 1 / -1;
    }

    .event-image {
        height: 200px;
    }

    .participated-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .event-list {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }

    .featured-event {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .featured-event .event-image {
        height: 100%;
    }

    .participated-list {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* ============================================
   PACKAGES PAGE STYLES
   ============================================ */

.packages-page {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 72px 0.95rem calc(112px + env(safe-area-inset-bottom));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 11rem),
        linear-gradient(135deg, rgba(0, 216, 107, 0.09), transparent 34%),
        linear-gradient(225deg, rgba(255, 56, 104, 0.08), transparent 38%),
        #080908;
}

.packages-shell {
    width: min(440px, 100%);
    margin: 0 auto;
}

.packages-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0 0.7rem;
}

.packages-showcase-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.78rem;
}

.packages-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #07120c;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 35%),
        #02d86b;
    box-shadow:
        0 0.9rem 1.6rem rgba(2, 216, 107, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.packages-mark svg,
.package-cover svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.packages-showcase-main p {
    margin: 0;
    color: #02d86b;
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.packages-showcase-main h2 {
    margin: 0.25rem 0 0;
    color: #fff;
    font-size: 1.34rem;
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: 0;
}

.packages-balance {
    min-width: 6.25rem;
    min-height: 2.8rem;
    display: grid;
    align-content: center;
    justify-items: end;
    padding: 0 0.72rem;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.packages-balance span {
    color: #7f8b84;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.packages-balance strong {
    margin-top: 0.18rem;
    color: #fff;
    font-size: 0.84rem;
    line-height: 1;
    font-weight: 900;
}

.packages-snapshot {
    min-height: 2.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.08);
}

.packages-snapshot span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.42rem;
    color: #cfd6d1;
    background: rgba(8, 9, 8, 0.76);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
}

.packages-list {
    display: grid;
    gap: 0.95rem;
}

.package-card {
    --package-accent: #02d86b;
    --package-accent-strong: #00b85a;
    --package-wash: rgba(2, 216, 107, 0.12);
    --package-border: rgba(2, 216, 107, 0.35);
    --package-cover: #fc2f65;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(135deg, var(--package-wash), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
        #171817;
    box-shadow:
        0 1.35rem 2.7rem rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    isolation: isolate;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.package-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--package-accent), transparent);
    opacity: 0.95;
    pointer-events: none;
}

.package-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--package-border);
    border-radius: inherit;
    opacity: 0.46;
    pointer-events: none;
}

.package-card:hover {
    transform: translateY(-2px);
    border-color: var(--package-border);
    box-shadow:
        0 1.55rem 3rem rgba(0, 0, 0, 0.48),
        0 0 1.8rem var(--package-wash);
}

.package-card-pro {
    --package-accent: #ff3868;
    --package-accent-strong: #d92b56;
    --package-wash: rgba(255, 56, 104, 0.12);
    --package-border: rgba(255, 56, 104, 0.32);
    --package-cover: #c8264e;
}

.package-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.78rem;
    min-width: 0;
}

.package-cover {
    position: relative;
    width: 4.1rem;
    height: 4.1rem;
    flex: 0 0 4.1rem;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 52%),
        var(--package-cover);
    box-shadow:
        0 0.9rem 1.5rem rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.package-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.16) contrast(1.04) brightness(0.72);
    opacity: 0.48;
}

.package-cover span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 58%);
}

.package-cover svg {
    width: 2.25rem;
    height: 2.25rem;
    stroke-width: 2.45;
    filter: drop-shadow(0 0.45rem 0.85rem rgba(0, 0, 0, 0.35));
}

.package-card-title {
    flex: 1;
    min-width: 0;
}

.package-card-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.package-card-title-row > span {
    color: #8e9691;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.package-card-title-row > strong {
    min-height: 1.35rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.62rem;
    border-radius: 999px;
    color: #101006;
    background: #f8c902;
    font-size: 0.62rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    box-shadow: 0 0.75rem 1.2rem rgba(248, 201, 2, 0.2);
    white-space: nowrap;
}

.package-card-title h3 {
    margin: 0.42rem 0 0;
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.06;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.32);
}

.package-card-title p {
    margin: 0.28rem 0 0;
    color: #707772;
    font-size: 0.74rem;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.package-card-title p strong {
    color: #02d86b;
    font-size: 0.9rem;
}

.package-card-pro .package-card-title p strong {
    color: #ff3868;
}

.package-yield-panel {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.package-yield-panel div {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 0.28rem;
    min-height: 3.78rem;
    padding: 0.62rem 0.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
        #090a09;
}

.package-yield-panel span {
    color: #6d756f;
    font-size: 0.58rem;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

.package-yield-panel strong {
    color: #fff;
    font-size: 0.74rem;
    line-height: 1.05;
    font-weight: 900;
    text-align: center;
    overflow-wrap: anywhere;
}

.package-yield-panel div:first-child strong {
    color: var(--package-accent);
}

.package-tags {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.42rem;
}

.package-tags span {
    min-height: 1.42rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.62rem;
    border-radius: 999px;
    color: #b8bfc5;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.66rem;
    line-height: 1;
    font-weight: 900;
}

.package-tags span:nth-child(2) {
    color: #58a6ff;
    border-color: rgba(88, 166, 255, 0.22);
    background: rgba(88, 166, 255, 0.08);
}

.package-tags span:nth-child(3) {
    color: #ff6f86;
    border-color: rgba(255, 111, 134, 0.2);
    background: rgba(255, 111, 134, 0.08);
}

.package-action {
    width: 100%;
    min-height: 3.08rem;
    margin-top: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    flex-direction: column;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: transform 160ms ease, filter 160ms ease;
}

.package-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.package-action span {
    color: #8b8b8b;
    font-size: 0.72rem;
}

.package-action strong {
    color: inherit;
    font-size: 0.82rem;
}

.package-action-live {
    color: #07120b;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 38%),
        #02d86b;
    box-shadow: 0 0.9rem 1.55rem rgba(2, 216, 107, 0.2);
}

.package-action-muted {
    color: #b3b3b3;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent),
        #262626;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.package-unlock {
    margin-top: 0.88rem;
    padding: 0.72rem;
    border-radius: 8px;
    border: 1px solid rgba(248, 169, 0, 0.34);
    background:
        linear-gradient(180deg, rgba(248, 169, 0, 0.08), transparent),
        rgba(248, 169, 0, 0.04);
}

.package-unlock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    color: #f8a900;
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.package-progress {
    height: 0.25rem;
    margin: 0.55rem 0 0.58rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(248, 169, 0, 0.18);
}

.package-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f8a900;
}

.package-action-warn {
    min-height: 1.75rem;
    margin-top: 0;
    justify-content: flex-start;
    align-items: flex-start;
    color: #f8a900;
    background: transparent;
    text-transform: none;
    font-size: 0.72rem;
    padding: 0;
}

@media (max-width: 370px) {
    .packages-page {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .package-card {
        padding: 0.78rem;
    }

    .package-card-head {
        gap: 0.62rem;
    }

    .package-cover {
        width: 3.62rem;
        height: 3.62rem;
        flex-basis: 3.62rem;
    }

    .package-card-title-row {
        grid-template-columns: 1fr;
        gap: 0.36rem;
    }

    .package-card-title-row > strong {
        justify-self: start;
    }

    .package-card-title h3 {
        font-size: 1.08rem;
    }

    .package-yield-panel strong {
        font-size: 0.66rem;
    }
}

@media (min-width: 768px) {
    .packages-shell {
        width: min(470px, 100%);
    }

    .packages-showcase-main h2 {
        font-size: 1.45rem;
    }

    .package-card {
        padding: 1.05rem;
    }

    .package-cover {
        width: 4.35rem;
        height: 4.35rem;
        flex-basis: 4.35rem;
    }

    .package-card-title h3 {
        font-size: 1.38rem;
    }
}

@media (min-width: 1024px) {
    .packages-page {
        padding-top: 82px;
    }
}

/* Premium packages page */
.packages-page {
    --vault-green: #00e676;
    --vault-green-soft: #94ffc4;
    --vault-cyan: #59d8ff;
    --vault-cyan-soft: #bdfcf4;
    --vault-amber: #ffd000;
    --vault-text: #f5f8f6;
    --vault-muted: #96a39d;
    --vault-line: rgba(255, 255, 255, 0.08);
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0.95rem 1rem 120px;
    background:
        radial-gradient(circle at 12% 0%, rgba(0, 230, 118, 0.18), transparent 18rem),
        radial-gradient(circle at 100% 10%, rgba(89, 216, 255, 0.14), transparent 20rem),
        linear-gradient(180deg, #101412 0%, #070908 46%, #030403 100%);
    isolation: isolate;
}

.packages-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 120px, 120px 100%;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 90%);
    opacity: 0.4;
}

.packages-page > * {
    position: relative;
    z-index: 1;
}

.vault-shell {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.vault-hero {
    position: relative;
    overflow: hidden;
    padding: 1.05rem;
    border-radius: 28px;
    border: 1px solid var(--vault-line);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 208, 0, 0.08), transparent 11rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
        rgba(9, 12, 11, 0.94);
    box-shadow:
        0 1.5rem 3rem rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vault-hero::after {
    content: "";
    position: absolute;
    left: 1.05rem;
    right: 1.05rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.vault-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

.vault-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.82rem;
}

.vault-brand-icon {
    width: 4.4rem;
    height: 4.4rem;
    flex: 0 0 4.4rem;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: transparent;
    filter: drop-shadow(0 1rem 1.8rem rgba(248, 201, 2, 0.28));
}

.vault-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vault-brand-icon svg,
.vault-equalizer svg,
.vault-art-note svg,
.vault-stat-icon svg,
.vault-cta-icon svg,
.vault-cta-arrow svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vault-brand-copy p,
.vault-brand-copy h1 {
    margin: 0;
}

.vault-brand-copy p {
    color: var(--vault-green);
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.vault-brand-copy h1 {
    margin-top: 0.36rem;
    color: var(--vault-text);
    font-size: 1.62rem;
    line-height: 1;
    font-weight: 950;
}

.vault-equalizer {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: var(--vault-green);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.vault-hero-panel {
    display: grid;
    gap: 0.82rem;
    margin-top: 1rem;
}

.vault-balance-card,
.vault-hero-note {
    min-width: 0;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.vault-balance-card span,
.vault-hero-note span {
    display: block;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.vault-balance-card span {
    color: var(--vault-muted);
}

.vault-balance-card strong {
    display: block;
    margin-top: 0.42rem;
    color: var(--vault-text);
    font-size: 1.32rem;
    line-height: 1;
    font-weight: 950;
}

.vault-hero-note span {
    color: var(--vault-cyan);
}

.vault-hero-note p {
    margin: 0.46rem 0 0;
    color: #c3ccc7;
    font-size: 0.8rem;
    line-height: 1.45;
    font-weight: 600;
}

.vault-grid {
    display: grid;
    gap: 1rem;
}

.vault-card {
    --card-accent: var(--vault-green);
    --card-accent-soft: var(--vault-green-soft);
    --card-glow: rgba(0, 230, 118, 0.18);
    position: relative;
    overflow: hidden;
    padding: 1.05rem;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 100% 0%, var(--card-glow), transparent 11rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 44%),
        rgba(10, 13, 12, 0.96);
    box-shadow:
        0 1.5rem 3rem rgba(0, 0, 0, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vault-card::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
    opacity: 0.85;
}

.vault-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 1.9rem 3.4rem rgba(0, 0, 0, 0.48),
        0 0 2rem var(--card-glow);
}

.vault-card-emerald {
    --card-accent: var(--vault-green);
    --card-accent-soft: var(--vault-green-soft);
    --card-glow: rgba(0, 230, 118, 0.18);
}

.vault-card-aqua {
    --card-accent: var(--vault-cyan);
    --card-accent-soft: var(--vault-cyan-soft);
    --card-glow: rgba(89, 216, 255, 0.16);
}

.vault-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.vault-plan {
    min-width: 0;
}

.vault-plan span {
    display: inline-block;
    color: var(--card-accent);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.vault-plan h2 {
    margin: 0.46rem 0 0;
    color: var(--vault-text);
    font-size: 1.4rem;
    line-height: 1.02;
    font-weight: 950;
}

.vault-plan p {
    margin: 0.42rem 0 0;
    color: #97a49d;
    font-size: 0.8rem;
    line-height: 1.35;
    font-weight: 600;
}

.vault-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    color: #171506;
    background: var(--vault-amber);
    box-shadow: 0 0.7rem 1.25rem rgba(255, 208, 0, 0.24);
    font-size: 0.66rem;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.vault-card-body {
    display: flex;
    align-items: center;
    gap: 0.92rem;
    margin-top: 0.98rem;
}

.vault-art {
    position: relative;
    width: 5.15rem;
    height: 5.15rem;
    flex: 0 0 5.15rem;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
        linear-gradient(135deg, var(--card-accent), var(--card-accent-soft));
    box-shadow:
        0 1rem 1.8rem rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.vault-art::before {
    content: "";
    position: absolute;
    inset: 0.42rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0.7;
}

.vault-art-disc {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 12%, rgba(6, 8, 7, 0.86) 13% 25%, transparent 26%),
        repeating-radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 6px),
        rgba(4, 6, 5, 0.76);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.vault-art-bars {
    position: absolute;
    left: 0.6rem;
    bottom: 0.58rem;
    width: 1.18rem;
    height: 1rem;
    display: flex;
    align-items: end;
    gap: 0.16rem;
}

.vault-art-bars i {
    flex: 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.vault-art-bars i:nth-child(1) { height: 35%; }
.vault-art-bars i:nth-child(2) { height: 82%; }
.vault-art-bars i:nth-child(3) { height: 58%; }
.vault-art-bars i:nth-child(4) { height: 100%; }

.vault-art-note {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #f8fffb;
    background: rgba(7, 11, 9, 0.88);
    box-shadow:
        0 0.55rem 1rem rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.vault-price-stack {
    min-width: 0;
    display: grid;
    gap: 0.28rem;
}

.vault-price-stack span {
    color: var(--vault-muted);
    font-size: 0.66rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.vault-price-stack strong {
    color: var(--vault-text);
    font-size: 1.36rem;
    line-height: 1.02;
    font-weight: 950;
}

.vault-price-stack em {
    color: var(--card-accent);
    font-size: 0.76rem;
    line-height: 1.25;
    font-style: normal;
    font-weight: 850;
}

.vault-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.68rem;
    margin-top: 0.98rem;
}

.vault-stat {
    min-width: 0;
    min-height: 4.55rem;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.28rem;
    padding: 0.72rem 0.52rem;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.vault-stat-icon {
    width: 1.65rem;
    height: 1.65rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--card-accent);
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vault-stat small {
    color: #7e8a85;
    font-size: 0.58rem;
    line-height: 1.15;
    font-weight: 900;
    text-transform: uppercase;
}

.vault-stat strong {
    color: var(--vault-text);
    font-size: 0.8rem;
    line-height: 1.1;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.vault-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
    margin-top: 0.8rem;
}

.vault-tags span {
    min-height: 1.55rem;
    display: inline-flex;
    align-items: center;
    padding: 0 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #c4cdc8;
    font-size: 0.67rem;
    line-height: 1;
    font-weight: 850;
}

.vault-tags span:nth-child(2) {
    color: #93dcff;
    background: rgba(89, 216, 255, 0.08);
    border-color: rgba(89, 216, 255, 0.18);
}

.vault-tags span:nth-child(3) {
    color: #ff98ae;
    background: rgba(255, 87, 123, 0.08);
    border-color: rgba(255, 87, 123, 0.18);
}

.vault-performance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem;
    margin-top: 0.8rem;
}

.vault-performance div {
    min-width: 0;
    padding: 0.78rem 0.82rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.vault-performance span {
    display: block;
    color: #7f8b86;
    font-size: 0.61rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.vault-performance strong {
    display: block;
    margin-top: 0.34rem;
    color: var(--vault-text);
    font-size: 0.86rem;
    line-height: 1.15;
    font-weight: 900;
}

.vault-performance div:first-child strong {
    color: var(--card-accent);
}

.vault-referral,
.vault-cta {
    margin-top: 0.9rem;
    text-decoration: none;
}

.vault-referral {
    display: block;
    padding: 0.86rem 0.94rem;
    border-radius: 19px;
    border: 1px solid rgba(255, 208, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 208, 0, 0.11), rgba(255, 208, 0, 0.03)),
        rgba(255, 208, 0, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 160ms ease, border-color 160ms ease;
}

.vault-referral:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 208, 0, 0.38);
}

.vault-referral-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.vault-referral-top span,
.vault-referral-top strong {
    color: var(--vault-amber);
    font-size: 0.72rem;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
}

.vault-progress {
    height: 0.28rem;
    margin-top: 0.62rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 208, 0, 0.16);
}

.vault-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffb31f, #ffd870);
}

.vault-referral p {
    margin: 0.58rem 0 0;
    color: #ffd76b;
    font-size: 0.76rem;
    line-height: 1.3;
    font-weight: 800;
}

.vault-cta {
    min-height: 3.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.82rem;
    padding: 0.82rem 0.94rem;
    border-radius: 19px;
    transition: transform 160ms ease, filter 160ms ease;
}

.vault-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.vault-cta-copy {
    min-width: 0;
}

.vault-cta-copy strong,
.vault-cta-copy span {
    display: block;
}

.vault-cta-copy strong {
    font-size: 0.84rem;
    line-height: 1.1;
    font-weight: 950;
    text-transform: uppercase;
}

.vault-cta-copy span {
    margin-top: 0.24rem;
    font-size: 0.74rem;
    line-height: 1.25;
    font-weight: 700;
}

.vault-cta-icon,
.vault-cta-arrow {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    border-radius: 14px;
}

.vault-cta-muted {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
        #232826;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.vault-cta-muted .vault-cta-icon {
    color: #d7dfda;
    background: rgba(255, 255, 255, 0.08);
}

.vault-cta-muted .vault-cta-copy strong {
    color: #f0f5f2;
}

.vault-cta-muted .vault-cta-copy span {
    color: #9ba7a1;
}

.vault-cta-live {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #06110a;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 38%),
        linear-gradient(135deg, var(--card-accent), var(--card-accent-soft));
    box-shadow: 0 1rem 1.75rem var(--card-glow);
}

.vault-cta-live .vault-cta-copy strong,
.vault-cta-live .vault-cta-copy span {
    color: #06110a;
}

.vault-cta-live .vault-cta-arrow {
    color: #07110a;
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 389px) {
    .packages-page {
        padding-left: 0.78rem;
        padding-right: 0.78rem;
    }

    .vault-hero,
    .vault-card {
        padding: 0.92rem;
    }

    .vault-brand-copy h1 {
        font-size: 1.42rem;
    }

    .vault-card-head {
        flex-wrap: wrap;
    }

    .vault-art {
        width: 4.6rem;
        height: 4.6rem;
        flex-basis: 4.6rem;
    }

    .vault-plan h2,
    .vault-price-stack strong {
        font-size: 1.2rem;
    }

    .vault-stat strong,
    .vault-performance strong {
        font-size: 0.74rem;
    }
}

@media (min-width: 700px) {
    .vault-hero-panel {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    }
}

@media (min-width: 920px) {
    .packages-page {
        padding: 1.15rem 1.5rem 3rem;
    }

    .vault-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .vault-brand-copy h1 {
        font-size: 1.92rem;
    }
}


/* ============================================
   TASKS PAGE STYLES
   ============================================ */

.tasks-page {
    padding-bottom: 100px;
    padding-top: 60px;
}

/* Task Dashboard */
.task-dashboard-card {
    margin: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(207, 255, 4, 0.15), rgba(207, 255, 4, 0.05));
    border: 1px solid rgba(207, 255, 4, 0.3);
}

.task-dashboard-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.task-dashboard-info {
    flex: 1;
    min-width: 0;
}

.task-dashboard-eyebrow,
.task-dashboard-title,
.task-dashboard-subtitle {
    margin: 0;
}

.task-dashboard-eyebrow {
    color: #b3b3b3;
    font-size: 0.72rem;
    font-weight: 700;
}

.task-dashboard-title {
    color: #f8c902;
    font-size: 1.28rem;
    line-height: 1.15;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-dashboard-subtitle {
    display: block;
    color: #b3b3b3;
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

.task-dashboard-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    background: rgba(207, 255, 4, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8c902;
    flex-shrink: 0;
}

.task-dashboard-profit {
    flex-shrink: 0;
    text-align: right;
}

.task-dashboard-profit span {
    display: block;
    color: #b3b3b3;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.task-dashboard-profit strong {
    display: block;
    color: #f8c902;
    font-size: 1.05rem;
    line-height: 1;
}

.task-progress-track {
    height: 0.36rem;
    margin-top: 0.85rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.task-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #f8c902;
}

.task-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.task-dashboard-stat {
    min-height: 3.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 0.45rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.task-dashboard-stat span {
    color: #b3b3b3;
    font-size: 0.66rem;
    font-weight: 700;
    white-space: nowrap;
}

.task-dashboard-stat strong {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.1;
    white-space: nowrap;
}

.task-list-reward {
    color: #f8c902;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Task Categories */
.task-categories {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

/* Task Category Card */
.task-category-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.7), rgba(10, 10, 10, 0.8));
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.task-category-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(15, 15, 15, 0.9));
    box-shadow: 0 8px 24px rgba(207, 255, 4, 0.15);
}

.task-category-card:active {
    transform: translateY(-2px);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
}

/* Stacked Disks */
.stacked-disks {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    height: 70px;
    position: relative;
}

.disk {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: transform 0.3s ease;
}

.disk:not(:first-child) {
    margin-left: -20px;
}

.task-category-card:hover .disk {
    transform: translateX(5px);
}

.task-category-card:hover .disk:first-child {
    transform: translateX(0);
}

/* Category Footer */
.category-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-stat .stat-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-stat .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #f8c902;
}


/* ============================================
   TASK DETAIL PAGE STYLES
   ============================================ */

.task-detail-page {
    padding-bottom: 100px;
    padding-top: 60px;
}

/* Task Package Banner */
.task-package-banner {
    background: linear-gradient(135deg, rgba(207, 255, 4, 0.2), rgba(207, 255, 4, 0.05));
    border: 1.5px solid rgba(207, 255, 4, 0.3);
    border-radius: 12px;
    margin: 1rem;
    padding: 1.25rem;
}

.banner-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8c902;
    margin: 0 0 1rem 0;
}

.banner-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.banner-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.banner-stat .stat-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.banner-stat .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* Music Task List */
.music-task-list {
    padding: 1rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Music Task Item */
.music-task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.music-task-item:hover:not(.locked) {
    background: rgba(30, 30, 30, 0.7);
    border-color: rgba(207, 255, 4, 0.3);
}

.music-task-item.completed {
    background: rgba(207, 255, 4, 0.1);
    border-color: rgba(207, 255, 4, 0.3);
}

.music-task-item.locked {
    opacity: 0.5;
}

/* Task Album Cover */
.task-album-cover {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.task-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.task-status-badge,
.task-lock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8c902;
}

.task-lock-badge {
    color: #999;
}

/* Task Info */
.task-info {
    flex: 1;
    min-width: 0;
}

.task-song-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-artist {
    font-size: 0.8rem;
    color: #999;
    margin: 0 0 0.35rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.task-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #666;
}

.task-duration svg {
    flex-shrink: 0;
}

.task-reward {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f8c902;
}

/* Task Action Button */
.task-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8c902, #f8c902);
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.task-action-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(207, 255, 4, 0.4);
}

.task-action-btn:active:not(:disabled) {
    transform: scale(1.05);
}

.task-action-btn.completed {
    background: rgba(207, 255, 4, 0.2);
    color: #f8c902;
    cursor: default;
}

.task-action-btn.locked {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    cursor: not-allowed;
}

/* Tasks Page Responsive */
@media (max-width: 640px) {
    .banner-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .banner-stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .task-song-title {
        font-size: 0.9rem;
    }

    .task-artist {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) {
    .task-categories,
    .music-task-list {
        max-width: 800px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .task-dashboard-card {
        max-width: 800px;
        margin: 1.5rem auto;
        padding: 1.15rem;
    }

    .task-dashboard-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .task-package-banner {
        max-width: 800px;
        margin: 1.5rem auto;
    }

    .category-title {
        font-size: 1.15rem;
    }

    .category-icon {
        width: 64px;
        height: 64px;
    }

    .task-album-cover {
        width: 70px;
        height: 70px;
    }

    .task-song-title {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .task-categories {
        max-width: 1000px;
    }

    .music-task-list,
    .task-package-banner,
    .task-dashboard-card {
        max-width: 900px;
    }
}


/* ============================================
   MUSIC PLAYER TASK SCREEN
   ============================================ */

.task-player-page {
    position: relative;
    height: 100dvh;
    min-height: 0;
    padding: calc(56px + env(safe-area-inset-top)) 0 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    place-items: stretch center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(20, 23, 34, 0.98) 0%, rgba(9, 11, 18, 0.98) 56%, #040509 100%);
}

.music-app-shell.is-player .bottom-nav {
    display: none;
}

.music-app-shell.is-player {
    height: 100dvh;
    overflow: hidden;
    background: #040509;
}

.music-app-shell.is-player .music-fixed-header {
    display: block;
    background:
        linear-gradient(180deg, rgba(16, 19, 30, 0.98), rgba(12, 14, 23, 0.92)),
        radial-gradient(circle at 50% 0%, rgba(200, 255, 0, 0.08), transparent 44%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.music-app-shell.is-player .music-header-inner {
    width: min(100%, 430px);
    min-height: calc(52px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 0.85rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.music-app-shell.is-player .music-header-back {
    width: 2.22rem;
    height: 2.22rem;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.music-app-shell.is-player .music-header-inner-title {
    color: #fff;
    font-size: 0.94rem;
    font-weight: 950;
    text-align: center;
}

.music-app-shell.is-player .music-header-spacer {
    width: 2.22rem;
    height: 2.22rem;
}

.music-player-shell {
    --ring-angle: 0deg;
    --player-art-size: 17rem;
    --player-art-inner: 11.8rem;
    --player-ring-radius: -8.5rem;
    position: relative;
    isolation: isolate;
    width: min(100%, 430px);
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
    overflow: hidden;
    padding: 0.6rem clamp(1rem, 4vw, 1.3rem) max(0.7rem, env(safe-area-inset-bottom));
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.music-player-shell > *:not(.player-backdrop) {
    position: relative;
    z-index: 1;
}

.player-backdrop {
    position: fixed;
    inset: calc(52px + env(safe-area-inset-top)) 0 0;
    z-index: -1;
    opacity: 0.32;
    pointer-events: none;
}

.player-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(46px) saturate(1.28) brightness(0.5) contrast(1.05);
    transform: scale(1.2);
}

.player-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 10, 16, 0.32), rgba(8, 10, 16, 0.82) 58%, #040509 100%),
        linear-gradient(90deg, rgba(200, 255, 0, 0.08), transparent 28%, transparent 72%, rgba(248, 201, 2, 0.08));
}

.player-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.25rem;
}

.player-live-copy {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 900;
}

.player-live-dot {
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #c8ff00;
    box-shadow: 0 0 0 0.34rem rgba(200, 255, 0, 0.08), 0 0 18px rgba(200, 255, 0, 0.42);
}

.player-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.player-icon-btn {
    width: 2.18rem;
    height: 2.18rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.player-icon-btn:hover {
    transform: translateY(-1px);
    color: #c8ff00;
    background: rgba(255, 255, 255, 0.055);
}

.player-icon-btn svg,
.player-ring-icon svg,
.player-track-actions svg,
.player-utility-row svg,
.player-drawer-handle svg {
    width: 1.04rem;
    height: 1.04rem;
    fill: none;
}

.player-icon-btn path,
.player-ring-icon path,
.player-ring-icon circle,
.player-track-actions path,
.player-track-actions circle,
.player-utility-row path,
.player-drawer-handle path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.player-art-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 17.15rem;
    margin-top: 0;
}

.player-art-stage::before {
    content: "";
    position: absolute;
    inset: 4% 1% 3%;
    border-radius: 999px;
    background:
        repeating-radial-gradient(circle, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 28px),
        radial-gradient(circle, rgba(200, 255, 0, 0.12), transparent 58%);
    opacity: 0.7;
}

.player-art-ring {
    position: relative;
    width: var(--player-art-size);
    height: var(--player-art-size);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        conic-gradient(from -138deg, #c8ff00 0deg, #f8c902 var(--ring-angle), rgba(255, 255, 255, 0.14) var(--ring-angle), rgba(255, 255, 255, 0.14) 360deg);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 28px 70px rgba(0, 0, 0, 0.36),
        0 0 52px rgba(200, 255, 0, 0.08);
}

.player-art-ring::before,
.player-art-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.player-art-ring::before {
    inset: 0.68rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.player-art-ring::after {
    inset: 2.25rem;
    background: rgba(10, 12, 18, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.player-art-wrap {
    position: relative;
    width: var(--player-art-inner);
    height: var(--player-art-inner);
    border-radius: 50%;
    overflow: hidden;
    background: #111;
    z-index: 2;
    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.42),
        0 0 0 8px rgba(255, 255, 255, 0.035),
        0 0 0 1px rgba(255, 255, 255, 0.16);
}

.player-art {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.player-art-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, transparent 0 20%, rgba(0, 0, 0, 0.16) 21% 26%, transparent 27%),
        linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.38));
    pointer-events: none;
    z-index: 1;
}

.player-center-disc {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 3.4rem;
    height: 3.4rem;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #05060a 0 34%, rgba(255, 255, 255, 0.14) 35% 37%, transparent 38%),
        linear-gradient(180deg, #242838, #080a10);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
    z-index: 2;
}

.player-ring-knob {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.12rem;
    height: 1.12rem;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #c8ff00;
    transform: translate(-50%, -50%) rotate(var(--ring-angle)) translateY(var(--player-ring-radius));
    transform-origin: center;
    box-shadow: 0 0 16px rgba(200, 255, 0, 0.46);
    z-index: 3;
    transition: transform 0.18s linear;
}

.player-ring-icon {
    position: absolute;
    z-index: 3;
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.54);
}

.player-ring-icon-left {
    left: 1.85rem;
    top: 7.6rem;
}

.player-ring-icon-right {
    right: 1.85rem;
    top: 7.6rem;
}

.player-track-copy {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    margin-top: 0;
    text-align: center;
}

.player-track-title {
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.player-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    color: rgba(200, 255, 0, 0.72);
    font-size: 0.62rem;
    font-weight: 900;
}

.player-kicker svg {
    width: 0.72rem;
    height: 0.72rem;
    fill: none;
}

.player-kicker path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.player-track-copy h2,
.player-track-copy p {
    margin: 0;
}

.player-track-copy h2 {
    max-width: 100%;
    color: #fff;
    font-size: 1.24rem;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-copy p {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
}

.player-track-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    flex: 0 0 auto;
}

.player-track-actions span {
    color: rgba(255, 255, 255, 0.5);
    display: grid;
    place-items: center;
}

.player-track-actions span:first-child {
    color: rgba(200, 255, 0, 0.72);
}

.player-wave-panel {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding-top: 0;
}

.player-waveform {
    height: 2.75rem;
    display: flex;
    align-items: center;
    gap: 0.24rem;
}

.player-waveform span {
    flex: 1;
    min-width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    opacity: 0.55;
    transform-origin: center;
    transition: background 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.player-waveform span.active {
    background: linear-gradient(180deg, #fff9b8, #c8ff00 42%, #f8c902);
    opacity: 1;
}

.music-player-shell.is-playing .player-waveform span.active {
    animation: playerWave 820ms ease-in-out infinite alternate;
    animation-delay: var(--bar-delay);
}

.player-track-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.26rem;
    color: rgba(255, 255, 255, 0.34);
    font-size: 0.73rem;
    font-weight: 800;
}

.player-track-time strong {
    color: #fff;
}


.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    padding: 0.75rem 0 0.15rem;
}

.player-side-btn,
.player-play-btn {
    border: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.player-side-btn {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
}

.player-side-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.player-play-btn {
    width: 3.85rem;
    height: 3.85rem;
    border-radius: 50%;
    color: #08090d;
    background: linear-gradient(145deg, #f8c902 0%, #c8ff00 58%, #8fb800 100%);
    box-shadow:
        0 16px 34px rgba(200, 255, 0, 0.24),
        0 0 0 8px rgba(200, 255, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.player-play-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(207, 255, 4, 0.32);
}

.player-play-btn:disabled {
    cursor: wait;
    opacity: 0.72;
}

.player-play-btn .pause-icon {
    display: none;
}

.player-play-btn.is-playing .play-icon {
    display: none;
}

.player-play-btn.is-playing .pause-icon {
    display: block;
}

.player-utility-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.1rem 0 0.35rem;
}

.player-utility-row span {
    width: 2.05rem;
    height: 2.05rem;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.38);
}

.player-reward-strip {
    position: relative;
    display: grid;
    gap: 0.4rem;
    align-self: end;
    margin: auto 0 0;
    width: 100%;
    padding: 0.2rem 0 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.player-drawer-handle {
    position: static;
    transform: none;
    justify-self: center;
    width: 2.25rem;
    height: 0.95rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.46);
    background: transparent;
    cursor: default;
}

.player-reward-copy {
    display: grid;
    gap: 0.1rem;
    text-align: center;
}

.player-reward-copy span {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.68rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-reward-copy strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    font-weight: 950;
}

.player-progress {
    height: 0.34rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.player-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c8ff00, #f8c902);
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.25);
    transition: width 0.18s linear;
}

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

@keyframes playerWave {
    from {
        transform: scaleY(0.78);
    }
    to {
        transform: scaleY(1.08);
    }
}

@media (max-width: 390px) {
    .music-player-shell {
        --player-art-size: 15.4rem;
        --player-art-inner: 10.55rem;
        --player-ring-radius: -7.7rem;
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .player-art-stage {
        min-height: 15.6rem;
    }

    .player-ring-icon-left {
        left: 1.5rem;
        top: 6.7rem;
    }

    .player-ring-icon-right {
        right: 1.5rem;
        top: 6.7rem;
    }

    .player-track-copy h2 {
        font-size: 1.2rem;
    }

    .player-waveform {
        height: 2.5rem;
        gap: 3px;
    }

    .player-controls {
        gap: 1.2rem;
    }
}

@media (min-width: 520px) {
    .task-player-page {
        padding: calc(56px + env(safe-area-inset-top) + 0.75rem) 1.5rem 0.75rem;
    }

    .music-player-shell {
        width: min(100%, 430px);
        height: 100%;
        min-height: 0;
        border-radius: 0;
        border: 0;
    }
}

@media (max-height: 740px) {
    .task-player-page {
        padding-top: calc(48px + env(safe-area-inset-top));
    }

    .music-app-shell.is-player .music-header-inner {
        min-height: calc(48px + env(safe-area-inset-top));
    }

    .music-app-shell.is-player .music-header-back,
    .music-app-shell.is-player .music-header-spacer {
        width: 2.05rem;
        height: 2.05rem;
    }

    .player-backdrop {
        inset: calc(48px + env(safe-area-inset-top)) 0 0;
    }

    .music-player-shell {
        --player-art-size: 14rem;
        --player-art-inner: 9.55rem;
        --player-ring-radius: -7rem;
        padding-top: 0.35rem;
        padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
    }

    .player-topbar {
        min-height: 2rem;
    }

    .player-icon-btn {
        width: 2rem;
        height: 2rem;
    }

    .player-art-stage {
        min-height: 14.1rem;
    }

    .player-ring-icon-left {
        left: 1.35rem;
        top: 6.05rem;
    }

    .player-ring-icon-right {
        right: 1.35rem;
        top: 6.05rem;
    }

    .player-track-copy {
        gap: 0.32rem;
    }

    .player-track-copy h2 {
        font-size: 1.08rem;
    }

    .player-track-copy p,
    .player-track-time,
    .player-reward-copy strong {
        font-size: 0.72rem;
    }

    .player-track-actions {
        gap: 0.72rem;
    }

    .player-wave-panel {
        gap: 0.32rem;
        margin-top: 0.45rem;
    }

    .player-waveform {
        height: 2.2rem;
    }

    .player-controls {
        gap: 1rem;
        padding: 0.48rem 0 0.05rem;
    }

    .player-side-btn {
        width: 2.1rem;
        height: 2.1rem;
    }

    .player-play-btn {
        width: 3.35rem;
        height: 3.35rem;
    }

    .player-utility-row {
        display: none;
    }

    .player-reward-strip {
        gap: 0.28rem;
        padding-top: 0.12rem;
    }

    .player-drawer-handle {
        height: 0.68rem;
    }
}


/* ============================================
   INVITE PAGE
   ============================================ */

.invite-page {
    padding: 72px 1rem calc(112px + env(safe-area-inset-bottom));
    display: grid;
    gap: 1rem;
}

.invite-pass,
.invite-action-panel,
.invite-team-panel {
    width: min(100%, 900px);
    margin: 0 auto;
}

.invite-pass {
    min-height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #101010;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.invite-pass-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.1) contrast(1.08) brightness(0.82);
}

.invite-pass-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.15)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.86));
}

.invite-pass-content {
    min-height: inherit;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.15rem;
}

.invite-pass-copy {
    display: grid;
    gap: 0.55rem;
    max-width: 520px;
}

.invite-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    color: #06120d;
    background: #f8c902;
    font-size: 0.74rem;
    font-weight: 900;
}

.invite-pass-copy h2,
.invite-pass-copy p {
    margin: 0;
}

.invite-pass-copy h2 {
    color: #fff;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.invite-pass-copy p {
    max-width: 26rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.45;
}

.invite-signal {
    height: 78px;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: end;
    gap: 0.45rem;
}

.invite-signal span {
    display: block;
    min-height: 14px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #f8c902, #ffc04a 55%, #ff6f61);
    box-shadow: 0 0 20px rgba(207, 255, 4, 0.16);
}

.invite-signal span:nth-child(1) { height: 32%; }
.invite-signal span:nth-child(2) { height: 72%; }
.invite-signal span:nth-child(3) { height: 46%; }
.invite-signal span:nth-child(4) { height: 92%; }
.invite-signal span:nth-child(5) { height: 58%; }
.invite-signal span:nth-child(6) { height: 78%; }
.invite-signal span:nth-child(7) { height: 40%; }
.invite-signal span:nth-child(8) { height: 66%; }

.invite-action-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(207, 255, 4, 0.12), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(207, 255, 4, 0.22);
}

.invite-link-block {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.invite-link-block span {
    color: #aeb7c4;
    font-size: 0.76rem;
    font-weight: 800;
}

.invite-link-block strong {
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.invite-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.invite-copy-btn {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.86rem;
    font-weight: 850;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.invite-copy-btn svg {
    flex: 0 0 auto;
}

.invite-copy-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(207, 255, 4, 0.45);
    background: rgba(255, 255, 255, 0.11);
}

.invite-copy-btn.primary {
    color: #06120d;
    background: #f8c902;
    border-color: #f8c902;
}

.invite-copy-btn.native-share {
    grid-column: 1 / -1;
    color: #f8c902;
    border-color: rgba(207, 255, 4, 0.28);
    background: rgba(207, 255, 4, 0.08);
}

.invite-copy-feedback {
    min-height: 1.2rem;
    margin: 0;
    color: #f8c902;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
}

.invite-stats-grid {
    width: min(100%, 900px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.invite-stat-card {
    min-height: 88px;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    padding: 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.invite-stat-card.accent {
    background: rgba(207, 255, 4, 0.1);
    border-color: rgba(207, 255, 4, 0.25);
}

.invite-stat-card span {
    color: #aeb7c4;
    font-size: 0.72rem;
    font-weight: 750;
}

.invite-stat-card strong {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.invite-stat-card.accent strong {
    color: #f8c902;
}

.invite-social-strip {
    width: min(100%, 900px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.invite-social-link {
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0 0.9rem;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.invite-social-link:hover {
    transform: translateY(-2px);
    color: #f8c902;
    border-color: rgba(207, 255, 4, 0.32);
}

.invite-team-panel {
    display: grid;
    gap: 0.9rem;
}

.invite-team-list {
    display: grid;
    gap: 0.65rem;
}

.invite-team-item,
.invite-empty-state {
    min-height: 4.2rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.invite-team-avatar,
.invite-empty-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #06120d;
    background: linear-gradient(135deg, #f8c902, #ffc04a);
    font-weight: 900;
}

.invite-team-item strong,
.invite-empty-state strong {
    display: block;
    color: #fff;
    font-size: 0.93rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invite-team-item span,
.invite-empty-state span {
    display: block;
    margin-top: 0.18rem;
    color: #aeb7c4;
    font-size: 0.78rem;
}

.invite-team-badge {
    display: inline-flex !important;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: #f8c902 !important;
    background: rgba(207, 255, 4, 0.1);
    border: 1px solid rgba(207, 255, 4, 0.2);
    font-size: 0.72rem !important;
    font-weight: 850;
}

.invite-empty-state {
    grid-template-columns: auto minmax(0, 1fr);
}

@media (min-width: 720px) {
    .invite-page {
        gap: 1.2rem;
    }

    .invite-pass {
        min-height: 370px;
    }

    .invite-pass-content {
        padding: 1.4rem;
    }

    .invite-pass-copy h2 {
        font-size: 2.8rem;
    }

    .invite-action-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .invite-primary-actions {
        width: 390px;
    }

    .invite-copy-feedback {
        grid-column: 1 / -1;
        text-align: right;
    }
}

@media (max-width: 430px) {
    .invite-pass {
        min-height: 330px;
    }

    .invite-pass-copy h2 {
        font-size: 1.72rem;
    }

    .invite-primary-actions,
    .invite-stats-grid,
    .invite-social-strip {
        grid-template-columns: 1fr;
    }

    .invite-social-link {
        justify-content: center;
    }
}


/* ============================================
   DEPOSIT PAGE STYLES
   ============================================ */

/* ============================================
   UNIVERSE INVITE EXPERIENCE
   ============================================ */

.universe-invite-page {
    max-width: none;
    overflow: hidden;
    position: relative;
}

.universe-invite-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 10%, rgba(207, 255, 4, 0.12), transparent 18rem),
        radial-gradient(circle at 85% 20%, rgba(43, 225, 255, 0.12), transparent 17rem),
        linear-gradient(180deg, #02030a 0%, #080912 46%, #020203 100%);
}

.universe-invite-page > * {
    position: relative;
    z-index: 1;
}

.universe-hero,
.cosmic-pass,
.cosmic-grid,
.cosmic-share-strip,
.cosmic-team-panel {
    width: min(100%, 900px);
    margin: 0 auto;
}

.universe-hero {
    min-height: 440px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #05060d;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(207, 255, 4, 0.05);
}

.universe-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.22) contrast(1.05) brightness(0.82);
    transform: scale(1.03);
}

.universe-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 3, 10, 0.94), rgba(2, 3, 10, 0.58) 55%, rgba(2, 3, 10, 0.24)),
        linear-gradient(180deg, rgba(2, 3, 10, 0.08), rgba(2, 3, 10, 0.93)),
        linear-gradient(135deg, rgba(207, 255, 4, 0.18), rgba(43, 225, 255, 0.08) 45%, rgba(255, 111, 97, 0.12));
}

.universe-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.universe-stars span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    opacity: 0.72;
    animation: cosmicTwinkle 2.4s ease-in-out infinite;
}

.universe-stars span:nth-child(1) { left: 8%; top: 16%; animation-delay: 0.1s; }
.universe-stars span:nth-child(2) { left: 16%; top: 44%; animation-delay: 1.2s; }
.universe-stars span:nth-child(3) { left: 24%; top: 24%; animation-delay: 0.5s; }
.universe-stars span:nth-child(4) { left: 33%; top: 72%; animation-delay: 1.7s; }
.universe-stars span:nth-child(5) { left: 42%; top: 18%; animation-delay: 0.3s; }
.universe-stars span:nth-child(6) { left: 48%; top: 58%; animation-delay: 1.9s; }
.universe-stars span:nth-child(7) { left: 55%; top: 33%; animation-delay: 0.7s; }
.universe-stars span:nth-child(8) { left: 63%; top: 78%; animation-delay: 1.4s; }
.universe-stars span:nth-child(9) { left: 70%; top: 14%; animation-delay: 0.9s; }
.universe-stars span:nth-child(10) { left: 78%; top: 50%; animation-delay: 2.1s; }
.universe-stars span:nth-child(11) { left: 88%; top: 28%; animation-delay: 0.4s; }
.universe-stars span:nth-child(12) { left: 93%; top: 67%; animation-delay: 1.1s; }
.universe-stars span:nth-child(13) { left: 12%; top: 82%; animation-delay: 0.8s; }
.universe-stars span:nth-child(14) { left: 37%; top: 42%; animation-delay: 1.6s; }
.universe-stars span:nth-child(15) { left: 58%; top: 11%; animation-delay: 0.2s; }
.universe-stars span:nth-child(16) { left: 83%; top: 82%; animation-delay: 1.8s; }
.universe-stars span:nth-child(17) { left: 19%; top: 65%; animation-delay: 2.2s; }
.universe-stars span:nth-child(18) { left: 51%; top: 86%; animation-delay: 0.6s; }
.universe-stars span:nth-child(19) { left: 73%; top: 37%; animation-delay: 1.3s; }
.universe-stars span:nth-child(20) { left: 30%; top: 10%; animation-delay: 2s; }
.universe-stars span:nth-child(21) { left: 91%; top: 12%; animation-delay: 0.95s; }
.universe-stars span:nth-child(22) { left: 6%; top: 58%; animation-delay: 1.55s; }

.universe-hero-content {
    min-height: inherit;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
    padding: 1.15rem;
}

.universe-copy {
    display: grid;
    gap: 0.7rem;
    max-width: 34rem;
}

.universe-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0 0.8rem;
    border-radius: 999px;
    color: #06120d;
    background: linear-gradient(135deg, #f8c902, #4de9ff);
    font-size: 0.74rem;
    font-weight: 900;
    box-shadow: 0 0 24px rgba(207, 255, 4, 0.22);
}

.universe-copy h2,
.universe-copy p {
    margin: 0;
}

.universe-copy h2 {
    color: #fff;
    font-size: 2.55rem;
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}

.universe-copy p {
    max-width: 27rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.55;
}

.universe-orbit {
    width: min(100%, 315px);
    aspect-ratio: 1;
    justify-self: center;
    position: relative;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.universe-ring {
    position: absolute;
    inset: 11%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.23);
    transform: rotate(-18deg) scaleY(0.52);
}

.universe-ring.ring-two {
    inset: 0;
    border-color: rgba(207, 255, 4, 0.32);
    transform: rotate(24deg) scaleY(0.44);
    box-shadow: 0 0 28px rgba(207, 255, 4, 0.1);
}

.universe-planet {
    width: 46%;
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.9), transparent 0.6rem),
        radial-gradient(circle at 28% 22%, #f8c902 0%, #aef700 24%, #18d6ff 52%, #7d4dff 78%, #121222 100%);
    box-shadow:
        0 0 38px rgba(207, 255, 4, 0.32),
        0 0 70px rgba(43, 225, 255, 0.18),
        inset -20px -24px 30px rgba(0, 0, 0, 0.42);
}

.universe-planet span {
    width: 42%;
    height: 12%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(-18deg);
}

.universe-moon {
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.72);
}

.moon-one {
    left: 10%;
    top: 34%;
    background: #ffcf70;
}

.moon-two {
    right: 14%;
    bottom: 28%;
    width: 0.72rem;
    height: 0.72rem;
    background: #f8c902;
}

.cosmic-pass {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(5, 7, 16, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px);
}

.cosmic-pass-top {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.cosmic-pass-top span,
.cosmic-link-card span {
    color: #aeb7c4;
    font-size: 0.74rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cosmic-pass-top strong {
    color: #f8c902;
    font-size: 1.95rem;
    line-height: 1.05;
    font-weight: 950;
    overflow-wrap: anywhere;
    text-shadow: 0 0 26px rgba(207, 255, 4, 0.18);
}

.cosmic-link-card {
    min-width: 0;
    display: grid;
    gap: 0.4rem;
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cosmic-link-card strong {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cosmic-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.cosmic-action {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.86rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.cosmic-action:hover {
    transform: translateY(-2px);
    border-color: rgba(207, 255, 4, 0.42);
    background: rgba(255, 255, 255, 0.11);
}

.cosmic-action.primary {
    color: #06120d;
    background: linear-gradient(135deg, #f8c902, #4de9ff);
    border-color: rgba(207, 255, 4, 0.65);
    box-shadow: 0 14px 32px rgba(207, 255, 4, 0.18);
}

.cosmic-action.native-share {
    grid-column: 1 / -1;
    color: #f8c902;
    background: rgba(207, 255, 4, 0.08);
    border-color: rgba(207, 255, 4, 0.24);
}

.universe-invite-page .invite-copy-feedback {
    min-height: 1.2rem;
    margin: 0;
    color: #f8c902;
    font-size: 0.8rem;
    font-weight: 850;
    text-align: center;
}

.cosmic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.cosmic-stat {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    padding: 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cosmic-stat.active {
    background: linear-gradient(135deg, rgba(207, 255, 4, 0.15), rgba(43, 225, 255, 0.08));
    border-color: rgba(207, 255, 4, 0.28);
}

.cosmic-stat span {
    color: #aeb7c4;
    font-size: 0.72rem;
    font-weight: 800;
}

.cosmic-stat strong {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 950;
    line-height: 1;
}

.cosmic-stat.active strong {
    color: #f8c902;
}

.cosmic-share-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.cosmic-share-link {
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0 0.9rem;
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.cosmic-share-link:hover {
    transform: translateY(-2px);
    color: #f8c902;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(207, 255, 4, 0.32);
}

.cosmic-team-panel {
    display: grid;
    gap: 0.9rem;
}

.cosmic-team-list {
    display: grid;
    gap: 0.65rem;
}

.cosmic-team-item,
.cosmic-empty-state {
    min-height: 4.2rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cosmic-team-avatar,
.cosmic-empty-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #06120d;
    background:
        radial-gradient(circle at 35% 28%, #fff, transparent 0.34rem),
        linear-gradient(135deg, #f8c902, #4de9ff);
    font-weight: 950;
    box-shadow: 0 0 24px rgba(207, 255, 4, 0.18);
}

.cosmic-team-item strong,
.cosmic-empty-state strong {
    display: block;
    color: #fff;
    font-size: 0.93rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cosmic-team-item span,
.cosmic-empty-state span {
    display: block;
    margin-top: 0.18rem;
    color: #aeb7c4;
    font-size: 0.78rem;
}

.cosmic-team-badge {
    display: inline-flex !important;
    align-items: center;
    min-height: 1.65rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    color: #f8c902 !important;
    background: rgba(207, 255, 4, 0.1);
    border: 1px solid rgba(207, 255, 4, 0.2);
    font-size: 0.72rem !important;
    font-weight: 900;
}

.cosmic-empty-state {
    grid-template-columns: auto minmax(0, 1fr);
}

@keyframes cosmicTwinkle {
    0%, 100% {
        opacity: 0.38;
        transform: scale(0.82);
    }
    50% {
        opacity: 1;
        transform: scale(1.28);
    }
}

@media (min-width: 720px) {
    .universe-invite-page {
        gap: 1.2rem;
    }

    .universe-hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
        padding: 1.45rem;
    }

    .universe-copy h2 {
        font-size: 3.45rem;
    }

    .cosmic-pass {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
        align-items: center;
    }

    .cosmic-pass-top {
        align-self: stretch;
        align-content: center;
        padding-right: 0.9rem;
        border-right: 1px solid rgba(255, 255, 255, 0.09);
    }

    .cosmic-link-card,
    .cosmic-actions,
    .universe-invite-page .invite-copy-feedback {
        grid-column: 2;
    }

    .universe-invite-page .invite-copy-feedback {
        text-align: right;
    }
}

@media (max-width: 430px) {
    .universe-hero {
        min-height: 520px;
    }

    .universe-hero-content {
        align-content: space-between;
    }

    .universe-copy h2 {
        font-size: 2.2rem;
    }

    .universe-orbit {
        width: min(82vw, 280px);
    }

    .cosmic-actions,
    .cosmic-grid,
    .cosmic-share-strip {
        grid-template-columns: 1fr;
    }

    .cosmic-share-link {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .universe-stars span {
        animation: none;
    }
}

/* ════════════════════════════════════
   INVITE PAGE — app style
   ════════════════════════════════════ */

.inv-page {
    max-width: none;
    padding: 68px 1rem calc(108px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inv-page > * {
    width: min(100%, 460px);
    margin-left: auto;
    margin-right: auto;
}

/* ── Main card ── */
.inv-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(248,201,2,0.2);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
}

.inv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f8c902 40%, #ffe97a 60%, transparent);
    opacity: 0.65;
}

/* divider inside card */
.inv-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 0.1rem 0;
}

.inv-label {
    margin: 0 0 0.35rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}

.inv-code-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.inv-code-value {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #f8c902;
    text-shadow: 0 0 20px rgba(248,201,2,0.35);
}

.inv-copy-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(248,201,2,0.1);
    border: 1px solid rgba(248,201,2,0.24);
    color: #f8c902;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.inv-copy-btn:hover { background: rgba(248,201,2,0.18); transform: translateY(-1px); }
.inv-copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* link row */
.inv-link-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
}

.inv-link-value {
    flex: 1;
    font-size: 0.7rem;
    font-family: monospace;
    color: rgba(255,255,255,0.7);
    word-break: break-all;
    line-height: 1.5;
}

/* action row */
.inv-action-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.inv-btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8c902, #f8a400);
    border: none;
    color: #0a0800;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    box-shadow: 0 6px 20px rgba(248,201,2,0.28);
}

.inv-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 8px 24px rgba(248,201,2,0.38); }
.inv-btn-primary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.inv-btn-share {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, color 0.15s, border-color 0.15s;
}

.inv-btn-share svg { width: 17px; height: 17px; }
.inv-ch-wa svg, .inv-ch-tg svg { fill: currentColor; stroke: none; }
.inv-ch-more svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.inv-btn-share:hover { transform: translateY(-2px); }
.inv-ch-wa:hover  { background: rgba(37,211,102,0.14); border-color: rgba(37,211,102,0.3); color: #25d366; }
.inv-ch-tg:hover  { background: rgba(0,136,204,0.14); border-color: rgba(0,136,204,0.3); color: #0088cc; }
.inv-ch-more:hover { background: rgba(248,201,2,0.1); border-color: rgba(248,201,2,0.28); color: #f8c902; }

/* toast */
.inv-toast {
    margin: 0;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    background: rgba(248,201,2,0.1);
    border: 1px solid rgba(248,201,2,0.24);
    color: #f8c902;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

/* ── Stats bar (inside card) ── */
.inv-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.inv-sbar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    text-align: center;
}

.inv-sbar-item strong {
    font-size: 1.1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.inv-sbar-item span {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}

.inv-sbar-gold strong { color: #f8c902; }

.inv-sbar-sep {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ── Team section ── */
.inv-team-section {
    width: min(100%, 460px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.inv-section-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.inv-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inv-see-all {
    font-size: 0.74rem;
    font-weight: 700;
    color: #f8c902;
    text-decoration: none;
    opacity: 0.8;
}

.inv-see-all:hover { opacity: 1; }



/* ── Team member list ── */
.inv-member-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
}

.inv-member-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.14s;
}

.inv-member-row:last-child { border-bottom: none; }
.inv-member-row:hover { background: rgba(255,255,255,0.04); }

.inv-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8c902, #f8a400);
    color: #0a0800;
    font-size: 0.8rem;
    font-weight: 900;
}

.inv-member-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.inv-member-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inv-member-date {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

.inv-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.inv-badge-active  { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.26); color: #4ade80; }
.inv-badge-pending { background: rgba(248,201,2,0.1); border: 1px solid rgba(248,201,2,0.24); color: #f8c902; }

/* ── Empty state ── */
.inv-empty-text {
    margin: 0;
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.38);
    text-align: center;
}

/* Gold text helper */
.inv-gold-text {
    background: linear-gradient(120deg, #f8c902 0%, #ffe97a 48%, #f8a400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}




.deposit-page {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
    padding-top: 56px;
    position: relative;
}

.deposit-container {
    max-width: 460px;
    margin: 0 auto;
}

.deposit-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(248, 201, 2, 0.28), transparent 35%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.22), transparent 32%),
        linear-gradient(145deg, rgba(18, 20, 28, 0.98), rgba(8, 10, 15, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.deposit-hero::before,
.deposit-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.55;
}

.deposit-hero::before {
    width: 92px;
    height: 92px;
    background: rgba(248, 201, 2, 0.16);
    top: -22px;
    right: -12px;
}

.deposit-hero::after {
    width: 78px;
    height: 78px;
    background: rgba(39, 117, 202, 0.18);
    bottom: -18px;
    left: -14px;
}

.deposit-hero-copy,
.deposit-hero-stats {
    position: relative;
    z-index: 1;
}

.deposit-eyebrow,
.deposit-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
    margin-bottom: 0.45rem;
}

.deposit-eyebrow::before,
.deposit-section-label::before {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, rgba(248, 201, 2, 0), rgba(248, 201, 2, 0.9));
}

.section-title {
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

.deposit-hero-text {
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0.6rem 0 0;
}

.deposit-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.deposit-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.7rem 0.65rem;
}

.deposit-stat strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.deposit-stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.35;
}

.deposit-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.deposit-section-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

.deposit-section-note,
.instructions-note {
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.52);
}

.deposit-alert {
    border-radius: 8px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-alert p + p {
    margin-top: 0.35rem;
}

.deposit-alert-warning {
    background: rgba(247, 147, 26, 0.1);
    border-color: rgba(247, 147, 26, 0.25);
    color: #f7c56b;
}

.deposit-alert-danger {
    background: rgba(255, 77, 106, 0.1);
    border-color: rgba(255, 77, 106, 0.25);
    color: #ff8ca1;
}

/* Deposit Method Card */
.deposit-method-card {
    --deposit-accent: #f8c902;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
        linear-gradient(145deg, rgba(16, 18, 24, 0.96), rgba(7, 8, 12, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 0.9rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.deposit-method-card.trc20 {
    --deposit-accent: #f8c902;
}

.deposit-method-card.bep20 {
    --deposit-accent: #f3ba2f;
}

.deposit-method-card.usdc {
    --deposit-accent: #2775ca;
}

.method-accent {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--deposit-accent), rgba(255, 255, 255, 0));
    opacity: 0.9;
}

.deposit-method-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.deposit-method-card.active {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

/* Method Header */
.method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.method-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.method-info {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    flex: 1;
}

.method-icon {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--deposit-accent) 14%, rgba(255, 255, 255, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.method-icon svg {
    width: 26px;
    height: 26px;
}

.method-details {
    flex: 1;
}

.method-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.method-name {
    font-size: 0.96rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.method-network {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.62);
    margin: 0.28rem 0 0;
    font-weight: 400;
}

.method-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.48rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--deposit-accent) 20%, rgba(255, 255, 255, 0.06));
    border: 1px solid color-mix(in srgb, var(--deposit-accent) 28%, rgba(255, 255, 255, 0.08));
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

.method-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.method-toggle-btn:hover {
    background: color-mix(in srgb, var(--deposit-accent) 22%, rgba(255, 255, 255, 0.06));
}

.method-toggle-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.deposit-method-card.active .method-toggle-btn svg {
    transform: rotate(180deg);
}

/* Method Content */
.method-content {
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s ease;
}

.method-content:hover {
    background: rgba(255, 255, 255, 0.02);
}

.deposit-card-btn {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8c902, #f8c902);
    border: none;
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(248, 201, 2, 0.3);
    white-space: nowrap;
}

.deposit-card-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(248, 201, 2, 0.4);
}

.deposit-card-btn:active:not(:disabled) {
    transform: translateY(0);
}

.deposit-card-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.method-content-inner {
    padding: 0.2rem 0.8rem 0.8rem;
}

.deposit-detail-section {
    padding: 0.7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.deposit-inline-note {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.55;
}

/* Deposit Info */
.deposit-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    padding-top: 0.5rem;
    padding-bottom: 0.8rem;
    background: transparent;
    border-top: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0;
}

.info-item {
    text-align: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.info-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.52);
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-value {
    font-size: 0.86rem;
    font-weight: 800;
    color: #fff;
}

.method-panel-grid {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.deposit-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 0.85rem;
}

.deposit-payment-form {
    padding-bottom: 0;
}

.deposit-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 0.85rem;
    align-items: end;
}

.deposit-form-group {
    min-width: 0;
}

.deposit-amount-input {
    width: 100%;
    min-height: 48px;
    padding: 0 0.85rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 9, 14, 0.84);
    color: #fff;
    font-size: 0.84rem;
    outline: none;
}

.deposit-amount-input:focus {
    border-color: color-mix(in srgb, var(--deposit-accent) 70%, white 12%);
    background: rgba(10, 12, 18, 0.96);
}

.deposit-submit-btn {
    min-height: 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--deposit-accent), color-mix(in srgb, var(--deposit-accent) 72%, white 18%));
    color: #000;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0 0.5rem;
    line-height: 1;
}

.deposit-amount-strong,
.deposit-plain-copy {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 0 0.7rem;
    word-break: break-all;
}

.deposit-plain-copy {
    font-size: 0.84rem;
    font-weight: 700;
}

.deposit-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    margin-top: 0.8rem;
}

.deposit-detail-meta span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 400;
}

.deposit-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.deposit-status-pill.status-waiting,
.deposit-status-pill.status-confirming,
.deposit-status-pill.status-confirmed,
.deposit-status-pill.status-sending {
    background: rgba(247, 147, 26, 0.14);
    color: #f7c56b;
}

.deposit-status-pill.status-partially-paid,
.deposit-status-pill.status-finished {
    background: rgba(0, 214, 137, 0.14);
    color: #79f1b5;
}

.deposit-status-pill.status-failed,
.deposit-status-pill.status-expired,
.deposit-status-pill.status-refunded {
    background: rgba(255, 77, 106, 0.14);
    color: #ff8ca1;
}

.deposit-status-pill.status-wrong-asset-confirmed {
    background: rgba(59, 130, 246, 0.14);
    color: #8ec1ff;
}

/* QR Section */
.qr-section {
    padding: 0;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
}

.qr-code {
    width: 116px;
    height: 116px;
    margin: 10px auto 0.5rem;
    background: #fff;
    padding: 0.4rem;
    border-radius: 8px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
}

.qr-code img {
    width: 100%;
    height: 100%;
    display: block;
}

.qr-instruction {
    font-size: 0.73rem;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
    line-height: 1.45;
}

/* Address Section */
.address-section {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.address-label {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.56);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.address-input-group {
    display: flex;
    gap: 0.55rem;
}

.deposit-page .address-value {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 0.85rem;
    border-radius: 18px;
    background: rgba(7, 9, 14, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.72rem;
    font-family: monospace;
    word-break: break-all;
}

.address-input {
    flex: 1;
    background: rgba(7, 9, 14, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 36px;
    border-radius: 18px;
    padding: 0 0.85rem;
    color: #fff;
    font-size: 0.72rem;
    font-family: monospace;
    outline: none;
    transition: all 0.3s ease;
}

.address-input:focus {
    border-color: color-mix(in srgb, var(--deposit-accent) 70%, white 12%);
    background: rgba(10, 12, 18, 0.96);
}

.deposit-page .copy-btn {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--deposit-accent), color-mix(in srgb, var(--deposit-accent) 72%, white 18%));
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px color-mix(in srgb, var(--deposit-accent) 26%, rgba(0, 0, 0, 0.6));
}

.deposit-page .copy-btn svg {
    width: 12px;
    height: 12px;
}

.deposit-page .copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px color-mix(in srgb, var(--deposit-accent) 30%, rgba(0, 0, 0, 0.6));
}

.deposit-page .copy-btn:active {
    transform: scale(0.95);
}

.deposit-page .copy-btn.copied {
    background: linear-gradient(135deg, #73ff9e, #b8ff74);
}

.address-helper {
    margin: 0.6rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.52);
}

/* Warning Box */
.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    background: rgba(255, 149, 0, 0.08);
    border: 1px solid rgba(255, 173, 51, 0.24);
    border-radius: 8px;
    margin-top: 0.85rem;
}

.warning-box svg {
    flex-shrink: 0;
    stroke: #ff9500;
    margin-top: 0.08rem;
    width: 18px;
    height: 18px;
}

.warning-box p {
    font-size: 0.72rem;
    color: #ffd28a;
    margin: 0;
    line-height: 1.5;
}

/* Deposit Instructions */
.deposit-instructions {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem;
    margin: 1rem 0 1.2rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.deposit-records {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem;
    margin: 0 0 1.2rem;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.deposit-record-item {
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.deposit-record-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.deposit-record-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.deposit-record-top strong {
    color: #fff;
    font-size: 0.88rem;
}

.deposit-record-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    margin-top: 0.55rem;
}

.deposit-record-meta span,
.deposit-empty {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    line-height: 1.45;
}

.deposit-empty {
    padding-top: 0.1rem;
}

.instructions-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.instructions-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.instructions-list {
    margin: 0;
    padding-left: 2rem;
    list-style: none;
    counter-reset: instruction-counter;
}

.instructions-list li {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin-bottom: 0.8rem;
    counter-increment: instruction-counter;
    position: relative;
}

.instructions-list li::before {
    content: counter(instruction-counter);
    position: absolute;
    left: -32px;
    top: 0.02rem;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #f8c902, #ffe679);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #000;
    box-shadow: 0 10px 18px rgba(248, 201, 2, 0.28);
}

.instructions-list li:last-child {
    margin-bottom: 0;
}

.deposit-rules {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.deposit-rules.compact {
    margin-top: 0.9rem;
}

.deposit-rule-item {
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.5;
}

.deposit-invoice-page .deposit-container {
    max-width: 500px;
}

.deposit-invoice-sheet {
    --invoice-accent: #f8c902;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--invoice-accent) 18%, transparent) 0, transparent 34%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06) 0, transparent 30%),
        linear-gradient(160deg, rgba(18, 20, 28, 0.98), rgba(9, 10, 15, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
}

.deposit-invoice-sheet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--invoice-accent) 80%, white 12%), rgba(255, 255, 255, 0));
    opacity: 0.95;
}

.deposit-invoice-sheet.trc20,
.deposit-invoice-sheet.bep20,
.deposit-invoice-sheet.usdc {
    --invoice-accent: #f8c902;
}

/* ── Invoice body: single-column stacked layout ── */
.deposit-invoice-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.deposit-invoice-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem 0 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 1.15rem;
}

.deposit-invoice-addr {
    margin-bottom: 0;
}

.deposit-invoice-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.deposit-invoice-network {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.deposit-invoice-main.simple {
    /* legacy — no longer used */
    display: none;
}

.deposit-invoice-lead {
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.6;
}

.deposit-invoice-lead strong {
    color: #fff;
    font-weight: 600;
}

.deposit-invoice-paid-note {
    padding: 0.72rem 0.82rem;
    border-radius: 10px;
    border: 1px solid rgba(121, 241, 181, 0.2);
    background: rgba(0, 214, 137, 0.08);
    color: rgba(232, 255, 242, 0.84);
}

.deposit-invoice-qr-wrap.is-paid {
    gap: 0.8rem;
}

.deposit-invoice-paid-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #79f1b5;
    background: rgba(0, 214, 137, 0.12);
    border: 1px solid rgba(121, 241, 181, 0.22);
}

.deposit-invoice-paid-mark svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.deposit-page .deposit-invoice-sheet .address-value {
    min-height: 44px;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background: rgba(7, 9, 14, 0.78);
    border: 1px solid color-mix(in srgb, var(--invoice-accent) 22%, rgba(255, 255, 255, 0.1));
    font-size: 0.74rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.deposit-invoice-sheet .address-input-group.is-locked .address-value {
    color: rgba(255, 255, 255, 0.58);
    border-color: rgba(121, 241, 181, 0.18);
    background: rgba(7, 9, 14, 0.58);
}

.deposit-new-address-link {
    min-width: 108px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.78rem;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--invoice-accent) 40%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--invoice-accent) 18%, rgba(255, 255, 255, 0.06));
    color: var(--invoice-accent);
    font-size: 0.68rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.deposit-invoice-sheet .copy-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--invoice-accent) 18%, rgba(255, 255, 255, 0.06)) !important;
    border: 1px solid color-mix(in srgb, var(--invoice-accent) 40%, rgba(255, 255, 255, 0.12)) !important;
    color: var(--invoice-accent) !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--invoice-accent) 22%, rgba(0, 0, 0, 0.5)) !important;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

.deposit-invoice-sheet .copy-btn:hover {
    background: color-mix(in srgb, var(--invoice-accent) 28%, rgba(255, 255, 255, 0.08)) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--invoice-accent) 32%, rgba(0, 0, 0, 0.5)) !important;
}

.deposit-invoice-sheet .copy-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.deposit-invoice-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
    margin-top: 1.1rem;
    padding: 1.1rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.deposit-invoice-fact {
    min-width: 0;
}

.deposit-invoice-fact.full {
    grid-column: 1 / -1;
}

.deposit-invoice-fact-label {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.46);
}

.deposit-invoice-fact strong {
    display: block;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-word;
}

.deposit-invoice-subtitle {
    margin: 0 0 0.7rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #fff;
}

.deposit-invoice-steps {
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.instructions-list.compact {
    padding-left: 1.7rem;
}

.instructions-list.compact li {
    margin-bottom: 0.7rem;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.74);
}

.instructions-list.compact li::before {
    left: -28px;
    width: 20px;
    height: 20px;
    font-size: 0.62rem;
    box-shadow: none;
}

.deposit-invoice-rules {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.deposit-invoice-rules p {
    margin: 0 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.74rem;
    line-height: 1.5;
}
.invoice-qr-section {
    text-align: center;
}

.deposit-invoice-sheet .qr-code {
    width: 176px;
    height: 176px;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--invoice-accent) 35%, transparent),
        0 20px 40px rgba(0, 0, 0, 0.35);
}

.deposit-invoice-sheet .qr-code img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.deposit-invoice-qr-note {
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}


.deposit-invoice-rules p:last-child {
    margin-bottom: 0;
}

.deposit-invoice-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.deposit-invoice-card {
    --invoice-accent: #f8c902;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(145deg, rgba(16, 18, 24, 0.96), rgba(7, 8, 12, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.deposit-invoice-card.trc20,
.deposit-invoice-hero.trc20 {
    --invoice-accent: #f8c902;
}

.deposit-invoice-card.bep20,
.deposit-invoice-hero.bep20 {
    --invoice-accent: #f3ba2f;
}

.deposit-invoice-card.usdc,
.deposit-invoice-hero.usdc {
    --invoice-accent: #2775ca;
}

.deposit-invoice-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 1rem;
    align-items: center;
}

.deposit-invoice-card .address-section {
    padding: 0;
}

.deposit-invoice-card .address-input {
    border-color: color-mix(in srgb, var(--invoice-accent) 22%, rgba(255, 255, 255, 0.08));
}

.deposit-invoice-card .deposit-detail-meta {
    margin-top: 0.7rem;
}

.deposit-invoice-card .qr-code {
    width: 132px;
    height: 132px;
    margin: 0 auto;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

/* Deposit Page Responsive */
@media (max-width: 640px) {
    .deposit-container {
        padding-top: 0.9rem;
    }

    .deposit-hero,
    .deposit-instructions {
        border-radius: 8px;
    }

    .deposit-hero-stats,
    .deposit-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .info-item {
        display: block;
        text-align: center;
    }

    .deposit-section-head,
    .instructions-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .deposit-invoice-hero {
        flex-direction: column;
    }

    .deposit-invoice-top {
        flex-direction: column;
    }

    .deposit-invoice-main {
        grid-template-columns: 1fr;
    }

    .deposit-invoice-main.simple {
        grid-template-columns: 1fr;
    }

    .deposit-invoice-facts {
        grid-template-columns: 1fr;
    }

    .deposit-form-grid {
        grid-template-columns: 1fr;
    }

    .deposit-record-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .deposit-detail-layout,
    .method-panel-grid {
        grid-template-columns: 1fr;
    }

    .qr-section {
        order: -1;
    }

    .info-label {
        margin-bottom: 0.25rem;
    }

    .qr-code {
        width: 126px;
        height: 126px;
    }

    .address-input {
        font-size: 0.7rem;
    }
}

@media (min-width: 768px) {
    .deposit-container {
        max-width: 560px;
        padding: 1.2rem 1rem 0;
    }

    .section-title {
        font-size: 1.28rem;
    }

    .qr-code {
        width: 132px;
        height: 132px;
    }

    .method-panel-grid {
        grid-template-columns: 172px minmax(0, 1fr);
    }
}

/* ============================================
   WITHDRAWAL ADDRESS PAGE STYLES
   ============================================ */

.withdrawal-address-page {
    padding-bottom: 100px;
    padding-top: 60px;
}

.withdrawal-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alert li {
    margin: 0.25rem 0;
}

.alert-success {
    background: rgba(207, 255, 4, 0.15);
    border: 1px solid rgba(207, 255, 4, 0.3);
    color: #f8c902;
}

.alert-danger {
    background: rgba(235, 87, 87, 0.15);
    border: 1px solid rgba(235, 87, 87, 0.3);
    color: #eb5757;
}

/* Info Banner */
.info-banner {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(207, 255, 4, 0.1), rgba(207, 255, 4, 0.05));
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(207, 255, 4, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8c902;
}

.banner-content {
    flex: 1;
}

.banner-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem 0;
}

.banner-text {
    font-size: 0.8rem;
    color: #b3b3b3;
    line-height: 1.5;
    margin: 0;
}

/* Section Header with Badge */
.section-header-with-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.locked {
    background: rgba(255, 149, 0, 0.15);
    border: 1px solid rgba(255, 149, 0, 0.3);
    color: #ff9500;
}

.status-badge.unlocked {
    background: rgba(207, 255, 4, 0.15);
    border: 1px solid rgba(207, 255, 4, 0.3);
    color: #f8c902;
}

.status-badge svg {
    width: 14px;
    height: 14px;
}

/* Address Section */
.address-section {
    margin-bottom: 2rem;
}

/* Address Card */
.address-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(207, 255, 4, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.address-type {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.crypto-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(207, 255, 4, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.type-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.network-name {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.bind-date {
    text-align: right;
}

.date-label {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 0.25rem;
}

.date-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f8c902;
}

/* Address Display */
.address-display {
    margin-bottom: 1.25rem;
}

.address-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.address-value-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(207, 255, 4, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.address-value {
    flex: 1;
    font-family: monospace;
    font-size: 0.85rem;
    color: #fff;
    word-break: break-all;
}

.copy-address-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(207, 255, 4, 0.15);
    border: none;
    color: #f8c902;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.copy-address-btn:hover {
    background: rgba(207, 255, 4, 0.25);
    transform: scale(1.05);
}

.copy-address-btn.copied {
    background: rgba(207, 255, 4, 0.2);
    color: #f8c902;
}

/* Address Actions */
.address-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #ff9500;
}

.lock-info svg {
    stroke: #ff9500;
    flex-shrink: 0;
}

.delete-btn {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 8px;
    color: #ff3b30;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.delete-btn:hover:not(:disabled) {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
}

.delete-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lock-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(207, 255, 4, 0.1);
    color: #f8c902;
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.75rem;
}

.lock-btn:hover {
    background: rgba(207, 255, 4, 0.2);
    border-color: #f8c902;
}

.lock-btn svg {
    width: 18px;
    height: 18px;
}

/* No Address Section */
.no-address-section {
    margin-bottom: 2rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.empty-icon {
    margin-bottom: 1.5rem;
    color: #666;
}

.empty-icon svg {
    width: 64px;
    height: 64px;
}

.empty-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.empty-description {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
}

/* Add Address Form */
.add-address-section {
    margin-bottom: 2rem;
}

.address-form {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(207, 255, 4, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

/* Network Options */
.network-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.network-option {
    cursor: pointer;
}

.network-option input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.network-option:hover .option-content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(207, 255, 4, 0.3);
}

.network-option input[type="radio"]:checked ~ .option-content {
    background: rgba(207, 255, 4, 0.1);
    border-color: #f8c902;
}

.option-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-details {
    flex: 1;
}

.option-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem 0;
}

.option-details p {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.option-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: transparent;
    transition: all 0.3s ease;
}

.network-option input[type="radio"]:checked ~ .option-content .option-check {
    background: #f8c902;
    border-color: #f8c902;
    color: #000;
}

/* ── Withdrawal Method Chips ── */
.withdrawal-method-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.withdrawal-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.withdrawal-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.withdrawal-chip.active {
    background: rgba(248, 201, 2, 0.15);
    border-color: rgba(248, 201, 2, 0.3);
    color: #f8c902;
    box-shadow: 0 0 0 2px rgba(248, 201, 2, 0.1);
}

.withdrawal-chip .token-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.withdrawal-chip .chip-label {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.withdrawal-chip .chip-network {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Address Input Field */
.input-wrapper {
    position: relative;
}

.address-input-field {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-family: monospace;
    outline: none;
    transition: all 0.3s ease;
}

.address-input-field:focus {
    border-color: #f8c902;
    /* background: rgba(255, 255, 255, 0.08); */
}

.address-input-field::placeholder {
    color: #666;
}

.input-hint {
    font-size: 0.75rem;
    color: #999;
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
}

/* Checkbox Container */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(207, 255, 4, 0.5);
    border-radius: 4px;
    background: transparent;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background: #f8c902;
    border-color: #f8c902;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.8rem;
    color: #b3b3b3;
    line-height: 1.5;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8c902, #f8c902);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(207, 255, 4, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(207, 255, 4, 0.4);
}

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

/* Security Notice */
.security-notice {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.notice-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notice-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #b3b3b3;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.notice-list li:last-child {
    margin-bottom: 0;
}

.notice-list li svg {
    stroke: #f8c902;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Withdrawal Address Page Responsive */
@media (max-width: 640px) {
    .address-card-header {
        flex-direction: column;
        gap: 1rem;
    }

    .bind-date {
        text-align: left;
    }

    .address-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .delete-btn {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .withdrawal-container {
        padding: 1.5rem;
    }

    .crypto-name {
        font-size: 1.1rem;
    }

    .network-options {
        gap: 1rem;
    }
}

/* ============================================
   WITHDRAW PAGE STYLES
   ============================================ */

.withdraw-page {
    padding-bottom: 100px;
    padding-top: 60px;
}

.withdraw-container {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 1rem;
}

/* Balance Card */
.balance-card {
    background: linear-gradient(135deg, rgba(207, 255, 4, 0.15), rgba(207, 255, 4, 0.05));
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.balance-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.balance-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(207, 255, 4, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8c902;
}

.balance-info {
    flex: 1;
}

.balance-label {
    font-size: 0.8rem;
    color: #b3b3b3;
    margin: 0 0 0.25rem 0;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #f8c902;
    margin: 0;
}

.balance-actions {
    display: flex;
    gap: 0.75rem;
}

.balance-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.balance-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f8c902;
}

.balance-action-btn.deposit-btn {
    background: rgba(207, 255, 4, 0.1);
    border-color: rgba(207, 255, 4, 0.3);
    color: #f8c902;
}

.balance-action-btn.deposit-btn:hover {
    background: rgba(207, 255, 4, 0.2);
}

/* No Address Alert */
.no-address-alert {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(207, 255, 4, 0.3);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.no-address-alert.warning {
    border-color: rgba(255, 149, 0, 0.3);
}

.alert-icon {
    margin-bottom: 1.25rem;
    color: #f8c902;
}

.no-address-alert.warning .alert-icon {
    color: #ff9500;
}

.alert-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.alert-text {
    font-size: 0.9rem;
    color: #b3b3b3;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.alert-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: #f8c902;
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.alert-action-btn:hover {
    background: #f8c902;
    transform: translateY(-2px);
}

/* Withdrawal Address Display */
.withdrawal-address-display {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(207, 255, 4, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.address-display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(207, 255, 4, 0.15);
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 20px;
    color: #f8c902;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.verified-badge.locked {
    background: rgba(255, 149, 0, 0.15);
    border: 1px solid rgba(255, 149, 0, 0.3);
    color: #ff9500;
}

.address-display-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    width: fit-content;
}

.network-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.network-icon.trc20 {
    background: #f8c902;
}

.network-icon.bsc {
    background: #F3BA2F;
}

.network-icon.usdc {
    background: #2775CA;
}

.address-text {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #b3b3b3;
    word-break: break-all;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(207, 255, 4, 0.1);
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 8px;
    color: #f8c902;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.copy-btn:hover {
    background: rgba(207, 255, 4, 0.2);
}

/* Withdrawal Form Section */
.withdrawal-form-section {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(207, 255, 4, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.withdrawal-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f8c902;
    background: rgba(255, 255, 255, 0.08);
}

.input-with-max {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.input-with-max .form-input {
    flex: 1;
}

.max-btn {
    padding: 0.85rem 1.25rem;
    background: rgba(207, 255, 4, 0.1);
    border: 1px solid rgba(207, 255, 4, 0.3);
    border-radius: 10px;
    color: #f8c902;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.max-btn:hover {
    background: rgba(207, 255, 4, 0.2);
}

.input-hints {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #999;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Fee Breakdown */
.fee-breakdown {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.fee-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fee-row.total {
    padding-top: 0.75rem;
    font-weight: 700;
}

.fee-label {
    font-size: 0.85rem;
    color: #b3b3b3;
}

.fee-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.fee-row.total .fee-label,
.fee-row.total .fee-value {
    color: #f8c902;
    font-size: 1rem;
}

/* Submit Button */
.submit-withdraw-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8c902;
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-withdraw-btn:hover {
    background: #f8c902;
    transform: translateY(-2px);
}

/* Recent Withdrawals */
.recent-withdrawals-section {
    margin-bottom: 1.5rem;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.view-all-link {
    font-size: 0.85rem;
    color: #f8c902;
    text-decoration: none;
    font-weight: 600;
}

.view-all-link:hover {
    text-decoration: underline;
}

.withdrawals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.withdrawal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.withdrawal-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.withdrawal-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(235, 87, 87, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eb5757;
}

.withdrawal-details {
    flex: 1;
}

.withdrawal-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.withdrawal-date {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.withdrawal-amount-status {
    text-align: right;
}

.withdrawal-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: #eb5757;
    margin: 0 0 0.35rem 0;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.pending {
    background: rgba(255, 149, 0, 0.15);
    color: #ff9500;
}

.status-badge.processing {
    background: rgba(207, 255, 4, 0.15);
    color: #f8c902;
}

.status-badge.completed {
    background: rgba(207, 255, 4, 0.15);
    color: #f8c902;
}

.status-badge.failed {
    background: rgba(235, 87, 87, 0.15);
    color: #eb5757;
}

.status-badge.cancelled {
    background: rgba(150, 150, 150, 0.15);
    color: #999;
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #f8c902;
}

/* Responsive */
@media (min-width: 768px) {
    .withdraw-container {
        padding-top: 1.5rem;
    }

    .balance-amount {
        font-size: 2.5rem;
    }

    .input-hints {
        font-size: 0.8rem;
    }
}

/* Modern Laravel auth fallback screens */
.blade-auth-page {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding:
        max(0.75rem, env(safe-area-inset-top))
        max(0.75rem, env(safe-area-inset-right))
        max(0.9rem, env(safe-area-inset-bottom))
        max(0.75rem, env(safe-area-inset-left));
    background:
        linear-gradient(135deg, rgba(207, 255, 4, 0.13), transparent 30%),
        linear-gradient(315deg, rgba(255, 184, 77, 0.13), transparent 26%),
        #08090d;
    color: #f8fafc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.blade-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
    pointer-events: none;
}

.blade-auth-back {
    position: fixed;
    top: max(0.85rem, env(safe-area-inset-top));
    left: max(0.85rem, env(safe-area-inset-left));
    z-index: 5;
    width: 2.65rem;
    height: 2.65rem;
    display: grid;
    place-items: center;
    border-radius: 30px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.blade-auth-back:hover {
    transform: translateX(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

.blade-auth-back svg,
.blade-field-control > svg,
.blade-icon-toggle svg,
.blade-captcha-code button svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blade-auth-shell {
    min-height: calc(100vh - 1.65rem);
    min-height: calc(100svh - 1.65rem);
    display: grid;
    align-items: end;
    position: relative;
    z-index: 1;
}

.blade-auth-stage {
    width: min(430px, 100%);
    min-height: calc(100vh - 1.65rem);
    min-height: calc(100svh - 1.65rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: flex-end;
    gap: clamp(0.7rem, 2.2svh, 1.15rem);
    position: relative;
    animation: bladeAuthRise 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blade-auth-visual {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #111318;
    z-index: 0;
}

.blade-auth-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    filter: saturate(1.12) contrast(1.08) brightness(0.92);
    transform: scale(1.04);
    animation: bladeImageDrift 16s ease-in-out infinite alternate;
}

.blade-auth-register .blade-auth-visual img,
.blade-auth-verify .blade-auth-visual img {
    object-position: center 26%;
}

.blade-auth-reset .blade-auth-visual img,
.blade-auth-confirm .blade-auth-visual img {
    object-position: center 22%;
}

.blade-auth-visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 9, 13, 0.08) 0%, rgba(8, 9, 13, 0.56) 44%, rgba(8, 9, 13, 0.94) 100%),
        linear-gradient(90deg, rgba(8, 9, 13, 0.62) 0%, rgba(8, 9, 13, 0.44) 100%),
        linear-gradient(135deg, rgba(207, 255, 4, 0.18), rgba(248, 193, 74, 0.16) 55%, rgba(255, 95, 87, 0.1));
}

.blade-sound-panel {
    display: none;
    position: absolute;
    left: auto;
    right: 1rem;
    bottom: 4rem;
    width: min(16rem, calc(100vw - 2rem));
    padding: 0.9rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
}

.blade-track-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.blade-track-art {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #f8c902, #f8c14a 55%, #ff5f57);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.blade-track-copy {
    display: grid;
    gap: 0.42rem;
    flex: 1;
}

.blade-track-copy span {
    height: 0.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
}

.blade-track-copy span:last-child {
    width: 58%;
    background: rgba(255, 255, 255, 0.38);
}

.blade-sound-bars {
    height: 3rem;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 0.4rem;
}

.blade-sound-bars span {
    display: block;
    min-height: 0.5rem;
    border-radius: 6px 6px 0.35rem 0.35rem;
    background: linear-gradient(180deg, #f8c14a, #f8c902);
    animation: bladeBarPulse 1.1s ease-in-out infinite;
}

.blade-sound-bars span:nth-child(1) { height: 42%; animation-delay: 0ms; }
.blade-sound-bars span:nth-child(2) { height: 80%; animation-delay: 120ms; }
.blade-sound-bars span:nth-child(3) { height: 56%; animation-delay: 240ms; }
.blade-sound-bars span:nth-child(4) { height: 100%; animation-delay: 360ms; }
.blade-sound-bars span:nth-child(5) { height: 64%; animation-delay: 480ms; }
.blade-sound-bars span:nth-child(6) { height: 74%; animation-delay: 600ms; }
.blade-sound-bars span:nth-child(7) { height: 48%; animation-delay: 720ms; }

.blade-auth-panel {
    width: 100%;
    margin: 0 0 50px;
    padding: 1.18rem 1rem max(1.1rem, env(safe-area-inset-bottom));
    position: relative;
    z-index: 2;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 48%),
        rgba(10, 12, 17, 0.82);
    box-shadow:
        0 -1rem 3rem rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(26px) saturate(1.25);
}

.blade-auth-register .blade-auth-panel {
    padding-top: 1rem;
}

.blade-auth-reset .blade-auth-panel,
.blade-auth-confirm .blade-auth-panel {
    width: min(29rem, 100%);
}

.blade-brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 29rem;
    margin: 0 auto clamp(0.9rem, 4svh, 2.4rem);
    color: #f8fafc;
    position: relative;
    z-index: 3;
}

.blade-auth-register .blade-brand-lockup {
    max-width: 64rem;
}

.blade-auth-login .blade-brand-lockup {
    margin-bottom: clamp(0.9rem, 4svh, 2.4rem);
}

.blade-auth-reset .blade-brand-lockup {
    margin-bottom: clamp(0.9rem, 4svh, 2.4rem);
}

.blade-brand-mark,
.blade-auth-reset .blade-brand-mark {
    width: 150px;
    height: 150px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: transparent;
}

.blade-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 0.75rem 1.35rem rgba(0, 0, 0, 0.5))
        drop-shadow(0 0.55rem 1.45rem rgba(248, 201, 2, 0.26));
}

.blade-auth-register .blade-brand-mark {
    width: 5.95rem;
    height: 4.6rem;
}

.blade-auth-header {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.blade-auth-register .blade-auth-header {
    gap: 0.42rem;
    margin-bottom: 0.82rem;
}

.blade-auth-header p,
.blade-auth-header h1,
.blade-auth-header span {
    margin: 0;
}

.blade-auth-header p {
    color: #f8c902;
    font-size: 0.88rem;
    font-weight: 800;
}

.blade-auth-header h1 {
    font-size: 1.28rem;
    line-height: 1.05;
    letter-spacing: 0;
    max-width: 11em;
}

.blade-auth-header span {
    color: #aeb7c4;
    font-size: 12px;
    line-height: 1.55;
    max-width: 34rem;
}

.blade-auth-alert {
    margin: 0 0 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 95, 87, 0.35);
    background: rgba(255, 95, 87, 0.12);
    color: #ffd7d4;
    font-size: 0.9rem;
}

.blade-auth-alert-success {
    border-color: rgba(207, 255, 4, 0.35);
    background: rgba(207, 255, 4, 0.1);
    color: #c8ffe4;
}

.blade-auth-alert p {
    margin: 0.25rem 0;
}

.blade-auth-form {
    display: grid;
    gap: 0.72rem;
}

.blade-auth-register .blade-auth-header h1 {
    font-size: 1.22rem;
}

.blade-register-form {
    gap: 0.62rem;
}

.blade-register-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: -0.2rem 0 0.05rem;
}

.blade-progress-step {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: 30px;
    color: #8793a2;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.74rem;
    font-weight: 800;
}

.blade-progress-step b {
    width: 1.45rem;
    height: 1.45rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    color: inherit;
    font-size: 0.75rem;
}

.blade-progress-step.is-active,
.blade-progress-step.is-complete {
    color: #f8fafc;
    border-color: rgba(248, 201, 2, 0.34);
    background: rgba(248, 201, 2, 0.1);
}

.blade-progress-step.is-active b,
.blade-progress-step.is-complete b {
    color: #06120d;
    background: #f8c902;
}

.blade-register-step {
    display: grid;
    gap: 0.4rem;
}

.blade-register-step[hidden] {
    display: none;
}

.blade-register-fields-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
}

.blade-password-fields-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.62rem;
}

.blade-field {
    display: grid;
    gap: 0.4rem;
    color: #dce3ea;
    font-size: 0.9rem;
    font-weight: 700;
}

.blade-auth-register .blade-field {
    gap: 0.36rem;
}

.blade-field-control {
    height: 40px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.72rem;
    padding: 0 0.9rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.blade-auth-register .blade-field-control {
    height: 40px;
}

.blade-field-control:focus-within {
    border-color: rgba(207, 255, 4, 0.7);
    background: rgba(255, 255, 255, 0.095);
    box-shadow: 0 0 0 4px rgba(207, 255, 4, 0.12);
    transform: translateY(-1px);
}

.blade-field-control > svg {
    color: #f8c902;
}

.blade-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fafc;
    font: inherit;
    font-weight: 600;
}

.blade-field input::placeholder {
    color: #727d8c;
}

.blade-field input:-webkit-autofill,
.blade-field input:-webkit-autofill:hover,
.blade-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc;
    -webkit-box-shadow: 0 0 0 1000px #11141a inset;
}

.blade-field-error {
    margin: -0.35rem 0 0;
    color: #ffd7d4;
    font-size: 0.84rem;
}

.blade-icon-toggle,
.blade-captcha-code button {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #cdd5df;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.blade-icon-toggle {
    background: transparent;
}

.blade-captcha-code button {
    width: 2rem;
    height: 2rem;
    background: transparent;
}

.blade-icon-toggle:hover,
.blade-captcha-code button:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.04);
}

.blade-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    flex-wrap: nowrap;
    font-size: 0.9rem;
}

.blade-form-row a,
.blade-check-line {
    white-space: nowrap;
}

.blade-form-row a,
.blade-auth-switch a {
    color: #f8c902;
    text-decoration: none;
    font-weight: 800;
}

.blade-form-row a:hover,
.blade-auth-switch a:hover {
    text-decoration: underline;
}

.blade-check-line {
    display: inline-grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 0.55rem;
    color: #cbd4df;
    cursor: pointer;
    font-weight: 700;
}

.blade-check-line input {
    position: absolute;
    opacity: 0;
}

.blade-check-line span {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    position: relative;
}

.blade-check-line input:checked + span {
    background: #f8c902;
    border-color: #f8c902;
}

.blade-check-line input:checked + span::after {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.16rem;
    width: 0.32rem;
    height: 0.62rem;
    border: solid #06120d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.blade-captcha-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7.25rem, 0.55fr);
    gap: 0.5rem;
    align-items: end;
}

.blade-captcha-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    height: 40px;
    align-self: end;
    padding: 0 0.45rem 0 0.9rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.065);
}

.blade-captcha-code span {
    flex: 1;
    display: flex;
    align-items: center;
    color: #f8c902;
    font-size: 1rem;
    font-weight: 900;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    letter-spacing: 0;
    user-select: none;
}

.blade-captcha-block .blade-field-control {
    grid-template-columns: 1fr;
}

.blade-auth-submit {
    height: 40px;
    border: 0;
    border-radius: 30px;
    color: #06120d;
    background: linear-gradient(135deg, #f8c902, #f8c14a);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1rem 2.2rem rgba(207, 255, 4, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.blade-auth-register .blade-auth-submit {
    height: 40px;
}

.blade-auth-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 1.2rem 2.7rem rgba(248, 193, 74, 0.23);
}

.blade-auth-submit:active {
    transform: translateY(0);
}

.blade-step-actions {
    display: grid;
    grid-template-columns: minmax(6rem, 0.42fr) minmax(0, 1fr);
    gap: 0.62rem;
}

.blade-step-back {
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.075);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.blade-step-back:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
}

.blade-auth-switch {
    margin: 1rem 0 0;
    color: #aeb7c4;
    font-size: 0.95rem;
    text-align: center;
}

@keyframes bladeAuthRise {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bladeImageDrift {
    from {
        transform: scale(1.04) translateX(-0.5rem);
    }
    to {
        transform: scale(1.08) translateX(0.5rem);
    }
}

@keyframes bladeBarPulse {
    0%, 100% {
        transform: scaleY(0.65);
        opacity: 0.74;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@media (min-width: 760px) {
    .blade-auth-page {
        padding: 1.5rem;
    }

    .blade-auth-back {
        top: 1.5rem;
        left: 1.5rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .blade-auth-shell {
        min-height: calc(100vh - 3rem);
        align-items: center;
    }

    .blade-auth-stage {
        width: min(1160px, 100%);
        min-height: calc(100vh - 3rem);
        align-items: flex-end;
        justify-content: center;
        gap: 0.85rem;
    }

    .blade-auth-register .blade-auth-stage {
        min-height: calc(100vh - 3rem);
    }

    .blade-auth-panel {
        width: min(29rem, 100%);
        margin-top: 0;
        margin-bottom: 50px;
        padding: 1.65rem;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-shadow: 0 1rem 3.5rem rgba(0, 0, 0, 0.34);
    }

    .blade-auth-register .blade-auth-panel {
        width: min(64rem, 100%);
        padding: 1.35rem;
    }

    .blade-brand-lockup {
        width: min(29rem, 100%);
        margin: 0 0 clamp(0.75rem, 2.4vh, 1.7rem);
    }

    .blade-auth-register .blade-brand-lockup {
        width: min(64rem, 100%);
        max-width: 64rem;
    }

    .blade-brand-mark,
    .blade-auth-reset .blade-brand-mark {
        width: 150px;
        height: 150px;
    }

    .blade-auth-register .blade-brand-mark {
        width: 7.5rem;
        height: 7rem;
    }

    .blade-register-fields-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blade-password-fields-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .blade-captcha-block {
        grid-template-columns: minmax(0, 1fr) minmax(9rem, 0.55fr);
    }

    .blade-sound-panel {
        display: block;
    }

    .blade-auth-header h1 {
        font-size: 1.34rem;
        line-height: 1.0;
    }
}

@media (min-width: 1100px) {
    .blade-auth-panel {
        padding: 2rem;
    }

    .blade-auth-register .blade-auth-panel {
        padding: 1.65rem;
    }

    .blade-sound-panel {
        right: auto;
        left: 5vw;
        bottom: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blade-auth-page *,
    .blade-auth-page *::before,
    .blade-auth-page *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}


/* ============================================================
   NATIVE-APP DESIGN SYSTEM — Page Transitions, Toast,
   Skeleton Loaders, Wallet, Rewards, Team CSS
   ============================================================ */

/* ── CSS Design Tokens ─────────────────────────────────────── */
:root {
    --gold:         #f8c902;
    --gold-dim:     rgba(248,201,2,.12);
    --gold-border:  rgba(248,201,2,.25);
    --surface-1:    rgba(255,255,255,.04);
    --surface-2:    rgba(255,255,255,.07);
    --surface-3:    rgba(255,255,255,.11);
    --border:       rgba(255,255,255,.08);
    --border-light: rgba(255,255,255,.13);
    --text-1:       #fff;
    --text-2:       rgba(255,255,255,.65);
    --text-3:       rgba(255,255,255,.4);
    --radius-sm:    10px;
    --radius-md:    16px;
    --radius-lg:    22px;
    --radius-xl:    28px;
    --shadow-card:  0 8px 32px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.06) inset;
    --shadow-glow:  0 0 60px rgba(248,201,2,.18);
    --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Page entrance animation ─────────────────────────────── */
@keyframes pgIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pgOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
    0%   { transform: scale(1);   opacity: .6; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes shimmer {
    0%   { background-position: -300px 0; }
    100% { background-position: 300px 0; }
}
@keyframes bounce-dot {
    0%, 80%, 100% { transform: scale(0); }
    40%            { transform: scale(1); }
}

.home-main,
.wlt-page,
.rwd-page,
.tm-page {
    animation: pgIn .35s ease both;
}

/* ── Skeleton Loader ──────────────────────────────────────── */
.sk-line, .sk-box {
    background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.06) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 8px;
}
.sk-line { height: 14px; width: 100%; }
.sk-line--sm  { height: 10px; width: 60%;  }
.sk-line--lg  { height: 18px; width: 80%;  }
.sk-box  { height: 80px; }

/* ── Toast Notification System ────────────────────────────── */
#toast-container {
    position: fixed;
    top: calc(68px + env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    pointer-events: none;
    width: min(92vw, 380px);
}
.toast-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(20,20,20,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    color: var(--text-1);
    font-size: .875rem;
    font-weight: 500;
    pointer-events: auto;
    animation: fadeUp .25s ease both;
    width: 100%;
}
.toast-item--success { border-color: rgba(52,211,153,.35); }
.toast-item--error   { border-color: rgba(248,113,113,.35); }
.toast-item--warning { border-color: rgba(248,201,2,.35);  }
.toast-icon { flex-shrink: 0; width: 20px; height: 20px; }
.toast-text { flex: 1; }
.toast-item--success .toast-icon { color: #34d399; }
.toast-item--error   .toast-icon { color: #f87171; }
.toast-item--warning .toast-icon { color: var(--gold); }
.toast-exit { animation: pgOut .2s ease forwards; }

/* ── Bottom Sheet ─────────────────────────────────────────── */
.sheet-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 500;
    opacity: 0;
    transition: opacity var(--transition);
}
.sheet-backdrop.is-open { opacity: 1; }

.bottom-sheet {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #111;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-top: 1px solid var(--border);
    padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    z-index: 501;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.32,0,.15,1);
}
.bottom-sheet.is-open { transform: translateY(0); }
.sheet-handle {
    width: 40px; height: 4px;
    background: rgba(255,255,255,.25);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}
.sheet-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 1rem;
    text-align: center;
}

/* ── Native-feel Form Inputs ─────────────────────────────── */
.nf-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1rem;
}
.nf-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.nf-input {
    width: 100%;
    padding: .8rem 1rem;
    background: var(--surface-1);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-1);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    -webkit-appearance: none;
}
.nf-input:focus {
    border-color: var(--gold);
    background: var(--surface-2);
}
.nf-input::placeholder { color: var(--text-3); }

/* ── Native Card ──────────────────────────────────────────── */
.nc-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.nc-card--gold {
    border-color: var(--gold-border);
    background: linear-gradient(135deg, rgba(248,201,2,.07), rgba(0,0,0,0) 60%);
}
.nc-card--gold::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── Wallet Page ──────────────────────────────────────────── */
.wlt-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 68px 1rem calc(108px + env(safe-area-inset-bottom));
    max-width: 460px;
    margin: 0 auto;
}

.wlt-hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(248,201,2,.13) 0%, rgba(0,0,0,0) 55%), rgba(255,255,255,.04);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.5rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}
.wlt-hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
}
.wlt-hero-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(248,201,2,.2), transparent 70%);
    top: -60px; left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.wlt-hero-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-2);
    margin-bottom: .4rem;
}
.wlt-hero-amount {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--gold);
    line-height: 1;
    margin-bottom: .35rem;
}
.wlt-hero-sub {
    font-size: .8rem;
    color: var(--text-3);
    margin-bottom: 1.4rem;
}
.wlt-hero-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
}
.wlt-action-btn {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1.4rem;
    border-radius: var(--radius-md);
    font-size: .88rem;
    font-weight: 700;
    transition: transform .1s, opacity .1s;
}
.wlt-action-btn:active { transform: scale(.94); opacity: .85; }
.wlt-action-deposit  { background: var(--gold); color: #000; }
.wlt-action-withdraw { background: var(--surface-2); border: 1px solid var(--border-light); color: var(--text-1); }

.wlt-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}
.wlt-stat-chip {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .8rem .6rem;
    display: flex;
    align-items: flex-start;
    gap: .55rem;
}
.wlt-stat-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.wlt-stat-icon--gold  { background: rgba(248,201,2,.15); color: var(--gold); }
.wlt-stat-icon--green { background: rgba(52,211,153,.15); color: #34d399; }
.wlt-stat-icon--red   { background: rgba(248,113,113,.15); color: #f87171; }
.wlt-stat-label {
    font-size: .7rem;
    color: var(--text-3);
    margin-bottom: .15rem;
}
.wlt-stat-val {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-1);
}

.wlt-history {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.wlt-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wlt-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-1);
}
.wlt-see-all {
    font-size: .82rem;
    color: var(--gold);
    font-weight: 600;
}

.wlt-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}
.wlt-empty-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
    margin-bottom: .4rem;
}
.wlt-empty-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-1);
}
.wlt-empty-text {
    font-size: .82rem;
    color: var(--text-3);
}

.wlt-tx-list {
    display: flex;
    flex-direction: column;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.wlt-tx-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.wlt-tx-row:last-child { border-bottom: none; }
.wlt-tx-row:active { background: var(--surface-2); }
.wlt-tx-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.wlt-tx-icon--green { background: rgba(52,211,153,.15); color: #34d399; }
.wlt-tx-icon--red   { background: rgba(248,113,113,.15); color: #f87171; }
.wlt-tx-icon--amber { background: rgba(251,191,36,.15);  color: #fbbf24; }
.wlt-tx-info { flex: 1; }
.wlt-tx-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-1);
}
.wlt-tx-date {
    font-size: .75rem;
    color: var(--text-3);
    margin-top: .15rem;
}
.wlt-tx-right { text-align: right; }
.wlt-tx-amount {
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: .2rem;
}
.wlt-tx-amount--out { color: #f87171; }
.wlt-tx-amount--in  { color: #34d399; }
.wlt-tx-status {
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .55rem;
    border-radius: 20px;
    text-transform: capitalize;
}
.wlt-tx-status--approved { background: rgba(52,211,153,.15);  color: #34d399; }
.wlt-tx-status--rejected { background: rgba(248,113,113,.15); color: #f87171; }
.wlt-tx-status--pending  { background: rgba(251,191,36,.15);  color: #fbbf24; }

/* ── Rewards Page ─────────────────────────────────────────── */
.rwd-page {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 68px 1rem calc(108px + env(safe-area-inset-bottom));
    max-width: 460px;
    margin: 0 auto;
}

.rwd-streak-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(248,201,2,.1) 0%, rgba(0,0,0,0) 60%),
                rgba(255,255,255,.04);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-xl);
    padding: 1.4rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-card);
}
.rwd-streak-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rwd-streak-glow {
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(248,201,2,.15), transparent 70%);
    top: -80px; right: -40px;
    pointer-events: none;
}
.rwd-streak-top {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: .6rem;
}
.rwd-streak-icon {
    width: 48px; height: 48px;
    background: var(--gold-dim);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.rwd-streak-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-2);
    margin-bottom: .15rem;
}
.rwd-streak-count {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}
.rwd-streak-count span { font-size: .95rem; font-weight: 500; color: var(--text-2); margin-left: .2rem; }
.rwd-streak-hint {
    font-size: .82rem;
    color: var(--text-3);
    margin-bottom: 1rem;
}

.rwd-week-row {
    display: flex;
    gap: .35rem;
    justify-content: space-between;
}
.rwd-day-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}
.rwd-day-name {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-3);
}
.rwd-day-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
}
.rwd-day-past .rwd-day-dot  { background: rgba(52,211,153,.15); border-color: rgba(52,211,153,.4); color: #34d399; }
.rwd-day-today .rwd-day-dot { background: var(--gold-dim);      border-color: var(--gold); }
.rwd-day-today .rwd-day-name { color: var(--gold); }
.rwd-day-empty { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-3); }

.rwd-section-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: .75rem;
}

.rwd-tiers { display: flex; flex-direction: column; gap: .75rem; }

.rwd-tier-list {
    display: flex;
    flex-direction: column;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.rwd-tier-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid var(--border);
    opacity: .5;
    transition: background var(--transition);
}
.rwd-tier-row:last-child { border-bottom: none; }
.rwd-tier-row.rwd-tier-unlocked { opacity: 1; }
.rwd-tier-emoji { font-size: 1.5rem; flex-shrink: 0; }
.rwd-tier-info { flex: 1; }
.rwd-tier-name { font-size: .88rem; font-weight: 600; color: var(--text-1); }
.rwd-tier-desc { font-size: .75rem; color: var(--text-3); margin-top: .1rem; }
.rwd-tier-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-3);
    white-space: nowrap;
}
.rwd-tier-badge--on {
    background: var(--gold-dim);
    border-color: var(--gold-border);
    color: var(--gold);
}

.rwd-today-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: .25rem 0;
    overflow: hidden;
}
.rwd-today-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
}
.rwd-today-row:last-of-type { border-bottom: none; }
.rwd-today-label { font-size: .88rem; color: var(--text-2); }
.rwd-today-val   { font-size: .92rem; font-weight: 700; color: var(--text-1); }
.rwd-today-val--gold { color: var(--gold); }
.rwd-go-tasks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    padding: .85rem 1rem;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: .9rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: opacity .1s;
}
.rwd-go-tasks:active { opacity: .8; }

/* ── Team Page ─────────────────────────────────────────────── */
.tm-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 68px 1rem calc(108px + env(safe-area-inset-bottom));
    max-width: 460px;
    margin: 0 auto;
}

.tm-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
}
.tm-stat-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .9rem .7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
}
.tm-stat-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.tm-stat-icon--gold  { background: rgba(248,201,2,.15);  color: var(--gold); }
.tm-stat-icon--green { background: rgba(52,211,153,.15); color: #34d399; }
.tm-stat-icon--amber { background: rgba(251,191,36,.15); color: #fbbf24; }
.tm-stat-val   { font-size: 1.3rem; font-weight: 800; color: var(--text-1); line-height: 1; }
.tm-stat-label { font-size: .72rem; color: var(--text-3); }

.tm-invite-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(248,201,2,.1), rgba(0,0,0,0));
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
}
.tm-invite-title { font-size: .92rem; font-weight: 700; color: var(--text-1); }
.tm-invite-sub   { font-size: .78rem; color: var(--text-3); margin-top: .1rem; }
.tm-invite-btn {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: .85rem;
    padding: .55rem 1.2rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .1s;
}
.tm-invite-btn:active { transform: scale(.93); }

.tm-section-title { font-size: .95rem; font-weight: 700; color: var(--text-1); margin-bottom: .7rem; }

.tm-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}
.tm-empty-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-3);
    margin-bottom: .4rem;
}
.tm-empty-title { font-size: .95rem; font-weight: 700; color: var(--text-1); }
.tm-empty-text  { font-size: .82rem; color: var(--text-3); }
.tm-empty-cta {
    margin-top: .5rem;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: .88rem;
    padding: .7rem 1.8rem;
    border-radius: var(--radius-md);
    transition: transform .1s;
}
.tm-empty-cta:active { transform: scale(.93); }

.tm-member-list {
    display: flex;
    flex-direction: column;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.tm-member-row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.tm-member-row:last-child { border-bottom: none; }
.tm-member-row:active { background: var(--surface-2); }
.tm-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1.5px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}
.tm-member-info { flex: 1; }
.tm-member-name { font-size: .88rem; font-weight: 600; color: var(--text-1); }
.tm-member-date { font-size: .73rem; color: var(--text-3); margin-top: .1rem; }
.tm-badge {
    font-size: .7rem;
    font-weight: 700;
    padding: .22rem .6rem;
    border-radius: 20px;
}
.tm-badge--active  { background: rgba(52,211,153,.15); color: #34d399; }
.tm-badge--pending { background: rgba(251,191,36,.15);  color: #fbbf24; }

.tm-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 76px .9rem calc(108px + env(safe-area-inset-bottom));
    max-width: 720px;
    margin: 0 auto;
}

.tm-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: .35rem .1rem .2rem;
}
.tm-overview-copy {
    display: flex;
    flex-direction: column;
    gap: .18rem;
}
.tm-overview-copy span,
.tm-section-head span,
.tm-metric-cell span {
    color: var(--gold);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tm-overview-copy h1 {
    color: var(--text-1);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.08;
}
.tm-invite-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 1rem;
    border-radius: 999px;
    color: #050505;
    background: var(--gold);
    font-size: .82rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(248, 201, 2, .18);
}
.tm-invite-link:active { transform: scale(.96); }

.tm-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(248,201,2,.22);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(248,201,2,.1), rgba(255,255,255,.03) 45%, rgba(255,255,255,.015)),
        rgba(8,9,13,.9);
}
.tm-metric-cell {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
    padding: .9rem .75rem;
    border-right: 1px solid rgba(255,255,255,.08);
}
.tm-metric-cell:last-child { border-right: 0; }
.tm-metric-cell span {
    color: var(--text-3);
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.25;
}
.tm-metric-cell strong {
    color: var(--text-1);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    overflow-wrap: anywhere;
}

.tm-table-section {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.tm-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 .1rem;
}
.tm-section-head h2 {
    color: var(--text-1);
    font-size: .98rem;
    font-weight: 900;
    letter-spacing: 0;
}
.tm-section-head span {
    color: var(--text-3);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.tm-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(9,10,15,.82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    -webkit-overflow-scrolling: touch;
}
.tm-table-wrap::-webkit-scrollbar { height: 4px; }
.tm-table-wrap::-webkit-scrollbar-track { background: transparent; }
.tm-table-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(248,201,2,.35);
}
.tm-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}
.tm-table th,
.tm-table td {
    padding: .78rem .82rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: var(--text-2);
    font-size: .8rem;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}
.tm-table thead th {
    color: var(--gold);
    background: rgba(248,201,2,.06);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tm-table tbody th {
    color: var(--text-1);
    font-weight: 800;
}
.tm-table tbody tr:last-child th,
.tm-table tbody tr:last-child td {
    border-bottom: 0;
}
.tm-table tbody tr:nth-child(even):not(.tm-total-row) {
    background: rgba(255,255,255,.018);
}
.tm-table tbody tr:active {
    background: rgba(248,201,2,.05);
}
.tm-level-table {
    min-width: 560px;
}
.tm-total-row th,
.tm-total-row td {
    color: var(--text-1);
    background: rgba(248,201,2,.08);
    font-weight: 900;
}
.tm-member-name,
.tm-member-email {
    display: block;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tm-member-name {
    color: var(--text-1);
    font-size: .82rem;
    font-weight: 800;
}
.tm-member-email {
    margin-top: .16rem;
    color: var(--text-3);
    font-size: .7rem;
    font-weight: 500;
}
.tm-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 900;
}
.tm-status--active {
    color: #34d399;
    background: rgba(52,211,153,.12);
}
.tm-status--pending {
    color: #fbbf24;
    background: rgba(251,191,36,.12);
}
.tm-empty-row {
    padding: 2rem 1rem !important;
    color: var(--text-2) !important;
    text-align: center !important;
    white-space: normal !important;
}
.tm-empty-row strong,
.tm-empty-row span {
    display: block;
}
.tm-empty-row strong {
    color: var(--text-1);
    font-size: .9rem;
}
.tm-empty-row span {
    margin-top: .25rem;
    color: var(--text-3);
    font-size: .76rem;
}

@media (max-width: 640px) {
    .tm-page {
        max-width: 460px;
        padding-inline: .85rem;
    }
    .tm-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tm-metric-cell:nth-child(2) {
        border-right: 0;
    }
    .tm-metric-cell:nth-child(1),
    .tm-metric-cell:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .tm-overview-copy h1 {
        font-size: 1.18rem;
    }
}

/* ── General page improvements ────────────────────────────── */
/* Consistent section headers */
.app-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}
.app-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-1);
}
.app-see-all {
    font-size: .82rem;
    color: var(--gold);
    font-weight: 600;
}

/* Better alerts */
.alert {
    border-radius: var(--radius-md);
    padding: .9rem 1rem;
    font-size: .87rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.alert-success { background: rgba(52,211,153,.08);  border-color: rgba(52,211,153,.3);  color: #34d399; }
.alert-danger  { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.3); color: #f87171; }
.alert-warning { background: var(--gold-dim);        border-color: var(--gold-border);   color: var(--gold); }
.alert-info    { background: rgba(96,165,250,.08);   border-color: rgba(96,165,250,.3);  color: #60a5fa; }

/* ── Page-level loading shimmer overlay ─────────────────── */
.page-loading {
    position: fixed; inset: 0;
    background: #000;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .3s;
}
.page-loading.loaded { opacity: 0; pointer-events: none; }
.loading-dots {
    display: flex;
    gap: .5rem;
}
.loading-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gold);
    animation: bounce-dot 1.2s infinite ease-in-out;
}
.loading-dots span:nth-child(2) { animation-delay: .16s; }
.loading-dots span:nth-child(3) { animation-delay: .32s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .home-main, .wlt-page, .rwd-page, .tm-page { animation: none; }
    .sk-line, .sk-box { animation: none; }
    .loading-dots span { animation: none; }
}

/* ── Hide legacy page-header (replaced by .music-fixed-header) ── */
.page-header { display: none !important; }

/* ── Events tab bar (below fixed header) ─────────────────── */
.events-tab-bar {
    position: fixed;
    top: 62px;
    left: 0; right: 0;
    z-index: 130;
    display: flex;
    gap: .25rem;
    padding: .5rem .9rem .3rem;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.07);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.events-tab-bar::-webkit-scrollbar { display: none; }

.event-tab {
    flex-shrink: 0;
    padding: .4rem .95rem;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-3);
    background: transparent;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.event-tab.active {
    color: var(--gold);
    background: var(--gold-dim);
    border-color: var(--gold-border);
}

/* Shift events page content to clear both headers */
.events-page--tabbed {
    padding-top: calc(62px + 46px);
}
