:root {
    --bg-deep: #04020f;
    --bg-card: rgba(22, 14, 54, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-soft: #9b8fc7;
    --text-muted: #6b5fa3;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #22d3ee;
    --accent-amber: #f59e0b;
    --accent-green: #10b981;
    --accent-red: #f43f5e;
    --grad-primary: linear-gradient(135deg, #8b5cf6, #ec4899);
    --grad-success: linear-gradient(135deg, #10b981, #22d3ee);
    --grad-warning: linear-gradient(135deg, #f59e0b, #f43f5e);
    --grad-info: linear-gradient(135deg, #22d3ee, #8b5cf6);
    --glow-violet: 0 0 20px rgba(139, 92, 246, 0.4);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.4);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --radius-pill: 999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at 15% 5%, rgba(139, 92, 246, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 85%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 70%);
    min-height: 100vh;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: rgba(139, 92, 246, 0.4);
    color: #fff;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
}

.app-shell {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 16px 100px;
    position: relative;
}

.desktop-warning {
    display: none;
}

@media (min-width: 769px) {
    .desktop-warning {
        display: block;
        text-align: center;
        color: #fff;
        background: rgba(139, 92, 246, 0.2);
        padding: 10px 16px;
        font-size: 13px;
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }
    .app-shell {
        border-left: 1px solid var(--glass-border);
        border-right: 1px solid var(--glass-border);
        backdrop-filter: blur(20px);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--glow-violet); }
    50% { box-shadow: 0 0 35px rgba(139, 92, 246, 0.65), 0 0 60px rgba(236, 72, 153, 0.2); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes coin-flip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(720deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes progress-fill {
    from { width: 0%; }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.96);
}

.btn-gradient {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
    border: none;
}
.btn-gradient:hover {
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.55);
    transform: translateY(-1px);
}
.btn-gradient:active {
    transform: scale(0.96) translateY(0);
}

.btn-ghost {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-soft);
}
.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-success-grd {
    background: var(--grad-success);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-warning-grd {
    background: var(--grad-warning);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-title h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-title a {
    font-size: 12px;
    color: var(--accent-violet);
    text-decoration: none;
    font-weight: 500;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.pill-violet {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.pill-pink {
    background: rgba(236, 72, 153, 0.15);
    color: #f9a8d4;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.pill-cyan {
    background: rgba(34, 211, 238, 0.12);
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.pill-green {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill-amber {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.pill-red {
    background: rgba(244, 63, 94, 0.12);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.notice-bar {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #c4b5fd;
    margin-bottom: 16px;
    animation: fadeIn 0.5s ease;
}

.notice-bar i {
    font-size: 15px;
    color: var(--accent-violet);
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 6px;
    margin-bottom: 18px;
}

.top-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
    box-shadow: var(--glow-violet);
}

.top-nav-info h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.top-nav-info small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px;
    animation: fadeIn 0.6s ease;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    padding: 32px 24px;
    animation: fadeInUp 0.5s ease;
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: var(--glow-violet);
    animation: float 3s ease-in-out infinite;
}

.auth-brand h1 {
    font-size: 22px;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-brand p {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 4px;
}

.auth-form .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14px;
    padding: 12px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control::placeholder {
    color: var(--text-muted);
}

.auth-form .form-control:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.auth-form .input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: var(--text-soft);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.demo-creds {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 12px;
    color: #c4b5fd;
}

.demo-creds strong {
    color: var(--accent-violet);
}

.wallet-hero {
    background: linear-gradient(135deg, #1a0f3c 0%, #0f0a24 100%);
    border-radius: var(--radius-xl);
    padding: 22px 20px 18px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.4s ease;
}

.wallet-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.wallet-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
    pointer-events: none;
}

.wallet-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.wallet-balance-label {
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 2px;
    font-weight: 500;
}

.wallet-balance {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.wallet-balance sup {
    font-size: 18px;
    font-weight: 600;
    top: -8px;
}

.wallet-actions {
    display: flex;
    gap: 8px;
}

.wallet-btn {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.wallet-btn-redeem {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.wallet-btn-redeem:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

.wallet-btn-add {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wallet-btn-add:hover {
    background: rgba(255, 255, 255, 0.12);
}

.wallet-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.wallet-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-stat span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wallet-stat strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 18px;
    animation: fadeInUp 0.5s ease;
}

.quick-nav-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.quick-nav-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
    transform: translateY(-2px);
}

.quick-nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.quick-nav-icon.violet { background: rgba(139, 92, 246, 0.15); color: var(--accent-violet); }
.quick-nav-icon.pink { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }
.quick-nav-icon.cyan { background: rgba(34, 211, 238, 0.12); color: var(--accent-cyan); }
.quick-nav-icon.amber { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }
.quick-nav-icon.green { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.quick-nav-icon.red { background: rgba(244, 63, 94, 0.12); color: var(--accent-red); }

.quick-nav-item span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-soft);
}

.daily-checkin {
    background: linear-gradient(135deg, #1a1040, #0f0a24);
    border-radius: var(--radius-xl);
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    animation: fadeInUp 0.55s ease;
}

.checkin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.checkin-header h3 {
    font-size: 15px;
    font-weight: 700;
}

.checkin-header .streak {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent-amber);
    font-weight: 600;
}

.checkin-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.checkin-day {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 8px 4px;
    text-align: center;
}

.checkin-day.checked {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent-violet);
}

.checkin-day.checked .day-num {
    color: var(--accent-violet);
}

.checkin-day.today {
    border-color: var(--accent-pink);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.2);
}

.checkin-day .day-label {
    font-size: 9px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.checkin-day .day-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkin-day.claimed .day-num {
    color: var(--accent-violet);
}

.spin-section {
    margin-bottom: 18px;
    animation: fadeInUp 0.6s ease;
}

.spin-card {
    background: linear-gradient(135deg, #1e1258, #150f35);
    border-radius: var(--radius-xl);
    padding: 20px 18px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.spin-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink), var(--accent-cyan));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.spin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.spin-header h3 {
    font-size: 15px;
    font-weight: 700;
}

.spin-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent-amber);
    font-weight: 600;
}

.spin-wheel-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
}

.spin-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-segments {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #8b5cf6 0deg 51deg,
        #ec4899 51deg 102deg,
        #22d3ee 102deg 153deg,
        #f59e0b 153deg 204deg,
        #10b981 204deg 255deg,
        #f43f5e 255deg 306deg,
        #8b5cf6 306deg 360deg
    );
    position: relative;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 11px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.wheel-pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 28px;
    background: var(--grad-primary);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 3;
}

.spin-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.spin-label-item {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    transform-origin: center 70px;
}

.spin-label-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateY(-70px); }
.spin-label-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51deg) translateY(-70px); }
.spin-label-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102deg) translateY(-70px); }
.spin-label-item:nth-child(4) { transform: translate(-50%, -50%) rotate(153deg) translateY(-70px); }
.spin-label-item:nth-child(5) { transform: translate(-50%, -50%) rotate(204deg) translateY(-70px); }
.spin-label-item:nth-child(6) { transform: translate(-50%, -50%) rotate(255deg) translateY(-70px); }
.spin-label-item:nth-child(7) { transform: translate(-50%, -50%) rotate(306deg) translateY(-70px); }

.spin-result-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 2, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.spin-result-card {
    background: linear-gradient(135deg, #1e1258, #150f35);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    animation: fadeInUp 0.4s ease;
}

.spin-result-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.spin-result-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.spin-result-card p {
    color: var(--text-soft);
    font-size: 13px;
    margin-bottom: 20px;
}

.level-card {
    background: linear-gradient(135deg, #1a1040, #0f0a24);
    border-radius: var(--radius-xl);
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    animation: fadeInUp 0.5s ease;
}

.level-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.level-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.level-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.level-text h4 {
    font-size: 14px;
    font-weight: 700;
}

.level-text span {
    font-size: 11px;
    color: var(--text-soft);
}

.level-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.level-progress-fill {
    height: 100%;
    background: var(--grad-primary);
    border-radius: 3px;
    transition: width 1s ease;
}

.level-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.level-reward-preview {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.level-reward-preview::-webkit-scrollbar {
    display: none;
}

.level-reward-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    text-align: center;
    min-width: 70px;
}

.level-reward-item span {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.level-reward-item strong {
    font-size: 12px;
    color: var(--accent-amber);
}

.panel-block {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    margin-bottom: 18px;
    animation: fadeInUp 0.6s ease;
}

.offer-list {
    display: grid;
    gap: 10px;
}

.offer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: all 0.2s;
}

.offer-item:hover {
    border-color: rgba(139, 92, 246, 0.25);
    background: rgba(139, 92, 246, 0.05);
}

.offer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.offer-info {
    flex: 1;
    margin-left: 12px;
}

.offer-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.offer-info p {
    font-size: 11px;
    color: var(--text-soft);
}

.offer-points {
    text-align: right;
    flex-shrink: 0;
}

.offer-points strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-amber);
}

.offer-points span {
    font-size: 10px;
    color: var(--text-muted);
}

.special-banner {
    background: linear-gradient(135deg, #2d1b69, #1a0f3c);
    border-radius: var(--radius-xl);
    padding: 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.55s ease;
}

.special-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.banner-text p {
    font-size: 11px;
    color: var(--text-soft);
}

.banner-btn {
    background: var(--grad-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.trending-rewards {
    margin-bottom: 18px;
    animation: fadeInUp 0.65s ease;
}

.trending-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.trending-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.trending-card {
    background: linear-gradient(135deg, #1e1258, #150f35);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-lg);
    padding: 14px;
    min-width: 160px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.2s;
}

.trending-card:hover {
    transform: translateY(-2px);
}

.trending-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-bottom: 8px;
}

.trending-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trending-card p {
    font-size: 10px;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.trending-card .reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-amber);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(10, 6, 28, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-around;
    z-index: 50;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.bottom-nav-item.active {
    color: var(--accent-violet);
}

.bottom-nav-item i {
    font-size: 20px;
}

.admin-shell .top-nav {
    padding-top: 14px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.admin-stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 14px 10px;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

.admin-stat-card .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    font-size: 18px;
}

.admin-stat-card .stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.admin-stat-card .stat-value {
    font-size: 20px;
    font-weight: 800;
}

.admin-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    margin-bottom: 18px;
    animation: fadeInUp 0.5s ease;
}

.admin-form-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.admin-form .form-control,
.admin-form .form-select {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 13px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.admin-form .form-control::placeholder {
    color: var(--text-muted);
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.admin-form .form-select option {
    background: #0f0a24;
    color: #fff;
}

.user-manager {
    margin-top: 18px;
}

.user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 8px;
}

.user-row-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--grad-primary);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
}

.user-avatar.admin {
    background: var(--grad-warning);
}

.user-details h4 {
    font-size: 13px;
    font-weight: 600;
}

.user-details p {
    font-size: 10px;
    color: var(--text-muted);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-red);
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    display: grid;
    place-items: center;
    border: 2px solid var(--bg-deep);
}

.empty-state {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 0.4;
}

.empty-state p {
    font-size: 13px;
}

.badge-admin { background: rgba(245, 158, 11, 0.15); color: #fcd34d; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.badge-user { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #6ee7b7;
    font-size: 13px;
    margin-bottom: 12px;
}

.alert-danger {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #fda4af;
    font-size: 13px;
    margin-bottom: 12px;
}

.text-violet { color: var(--accent-violet); }
.text-pink { color: var(--accent-pink); }
.text-cyan { color: var(--accent-cyan); }
.text-amber { color: var(--accent-amber); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
