:root {
    --bg-dark: #0a0202;
    --bg-gradient: radial-gradient(circle at top, #3a0b0b 0%, #110202 40%, #000000 100%);
    --card-bg: #1c0a0a;
    --card-border: #331111;
    --primary-red: #ff2e3b;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-green: #4caf50;
    --text-yellow: #ffb800;
    --nav-bg: #110505;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: var(--text-white);
}

a {
    text-decoration: none;
    color: inherit;
}

#app-container {
    width: 100%;
    max-width: 414px;
    min-height: 100vh;
    background: var(--bg-gradient);
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 20px rgba(255, 46, 59, 0.1);
}

.page {
    min-height: 100vh;
    padding: 20px;
    padding-bottom: 105px;
    animation: fadeIn 0.3s ease;
}

.page.no-nav {
    padding-bottom: 30px;
}

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

.header-title {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.header-title span {
    color: var(--primary-red);
}

.header-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 25px 20px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    font-size: 14px;
}

.input-group input,
.input-group select {
    width: 100%;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 15px 15px 15px 45px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-red);
}

.input-group input::placeholder {
    color: var(--text-gray);
}

.input-group select option {
    background: var(--card-bg);
    color: var(--text-white);
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row .input-group {
    flex: 1;
}

.input-group .eye-icon {
    left: auto;
    right: 15px;
    color: var(--text-gray);
    cursor: pointer;
}

.password-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
    margin-left: 10px;
}

.password-check i {
    color: var(--text-gray);
}

.password-check.valid i {
    color: var(--text-green);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-gray);
    margin-left: 5px;
    line-height: 1.5;
}

.checkbox-group input {
    accent-color: var(--primary-red);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkbox-group a {
    color: var(--primary-red);
}

.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:active {
    opacity: 0.8;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-error {
    display: none;
    background: rgba(255, 46, 59, 0.12);
    border: 1px solid rgba(255, 46, 59, 0.35);
    border-radius: 12px;
    color: #ffb3b8;
    font-size: 12px;
    line-height: 1.5;
    padding: 10px 12px;
    margin-bottom: 15px;
}

.auth-error.visible {
    display: block;
}

.auth-switch {
    text-align: center;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 20px;
}

.auth-switch a {
    color: var(--primary-red);
    font-weight: 600;
}

.login-logo {
    margin: 30px auto 18px;
}

.welcome-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 50px);
    text-align: center;
}

.logo-large {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 46, 59, 0.4);
}

.check-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-red);
    border: 3px solid var(--bg-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.welcome-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.welcome-title span {
    color: var(--primary-red);
}

.welcome-subtitle {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 30px;
}

.bonus-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.bonus-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.bonus-label {
    color: var(--text-gray);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bonus-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 46, 59, 0.3);
}

.bonus-desc {
    font-size: 12px;
    color: var(--text-gray);
}

.features-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-gray);
}

.feature-item i {
    color: var(--primary-red);
    font-size: 18px;
}

.feature-item span {
    color: var(--text-white);
    font-weight: 600;
    font-size: 12px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.top-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.top-logo div {
    background: var(--primary-red);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    position: relative;
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary-red);
    color: var(--text-white);
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.avatar {
    background: var(--primary-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.balance-card {
    background: linear-gradient(135deg, #ff3b4a 0%, #e01e2a 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 46, 59, 0.2);
    position: relative;
}

.balance-label {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.balance-amount {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.balance-id {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.balance-actions {
    display: flex;
    gap: 10px;
}

.balance-eye {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s;
}

.balance-eye:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.btn-timer {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--text-white);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 105px;
    cursor: pointer;
}

.btn-timer:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.claim-notification {
    display: none;
    text-align: center;
    font-size: 11px;
    margin-top: 15px;
    color: var(--text-white);
}

.btn-withdraw {
    background: #110202;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    cursor: pointer;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.action-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
}

.action-btn i {
    color: var(--primary-red);
    font-size: 20px;
}

.updates-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-empty {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

.activity-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-icon {
    background: #2a0d0d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    flex-shrink: 0;
}

.activity-icon.in {
    background: rgba(76, 175, 80, 0.1);
    color: var(--text-green);
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.activity-date {
    font-size: 11px;
    color: var(--text-gray);
}

.activity-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
}

.activity-amount.in {
    color: var(--text-green);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 10px;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    background: transparent;
}

.back-btn.accent {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.page-title {
    font-size: 18px;
    font-weight: 700;
}

.stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 15px;
    flex: 1;
}

.stat-label {
    font-size: 10px;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
}

.stat-value.green {
    color: var(--text-green);
}

.stat-value.red {
    color: var(--primary-red);
}

.stat-value.yellow {
    color: var(--text-yellow);
}

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

.flex-title a {
    font-size: 12px;
    color: var(--primary-red);
}

.activity-item.full {
    padding: 20px;
}

.activity-status {
    font-size: 11px;
    color: var(--text-gray);
    margin-left: 5px;
}

.activity-status::before {
    content: "\2022";
    margin-right: 5px;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 15px;
}

.support-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.support-header-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.support-text h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

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

.btn-support {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: var(--primary-red);
    border: none;
    border-radius: 30px;
    padding: 15px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
}

.help-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.help-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    font-size: 18px;
    flex-shrink: 0;
}

.help-content {
    flex: 1;
}

.help-content h3 {
    font-size: 15px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-content p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

.badge-247 {
    background: var(--primary-red);
    color: var(--text-white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
}

.profile-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(255, 46, 59, 0.3);
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-id {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    gap: 10px;
    width: 100%;
}

.p-stat {
    flex: 1;
    background: #140505;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
}

.p-stat-label {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.p-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-red);
}

.p-stat-value.white {
    color: var(--text-white);
}

.details-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--card-border);
    gap: 15px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 13px;
    flex-shrink: 0;
}

.detail-left i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

.detail-right {
    font-size: 13px;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-item-left i {
    color: var(--primary-red);
    font-size: 18px;
}

.menu-item > i.fa-chevron-right {
    color: var(--text-gray);
    font-size: 12px;
}

.menu-item.logout {
    color: var(--primary-red);
    justify-content: center;
    margin-top: 10px;
    font-weight: 600;
}

.menu-item.logout i {
    margin-right: 10px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background: var(--nav-bg);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    padding: 15px 0 calc(20px + env(safe-area-inset-bottom));
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-gray);
    font-size: 10px;
    cursor: pointer;
    transition: color 0.2s;
}

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

.nav-item.active {
    color: var(--primary-red);
}

.withdraw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.logo-center {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}

.logo-center div {
    background: var(--primary-red);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    font-size: 14px;
}

.withdraw-title-sec {
    text-align: center;
    margin-bottom: 25px;
}

.withdraw-title-sec h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.withdraw-title-sec p {
    font-size: 12px;
    color: var(--text-gray);
}

.avail-balance-card {
    background: linear-gradient(135deg, #ff3b4a 0%, #e01e2a 100%);
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 46, 59, 0.2);
}

.avail-balance-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.avail-balance-amount {
    font-size: 32px;
    font-weight: 800;
}

.withdraw-form-section {
    margin-bottom: 25px;
}

.withdraw-form-section .section-title {
    font-size: 13px;
    margin-bottom: 10px;
}

.amount-input-wrap {
    position: relative;
}

.naira-prefix {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    font-size: 16px;
    font-weight: 600;
}

.amount-input-wrap input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 15px 15px 15px 42px;
    color: var(--text-white);
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.amount-input-wrap input:focus {
    border-color: var(--primary-red);
}

.amount-input-wrap input::placeholder {
    color: var(--text-gray);
}

.amount-input-wrap input::-webkit-outer-spin-button,
.amount-input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-input-wrap input[type="number"] {
    -moz-appearance: textfield;
}

.quick-amounts {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.quick-amounts button {
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 8px 15px;
    color: var(--text-white);
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.quick-amounts button:active {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.bank-details-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
}

.bank-details-wrap .input-group {
    margin-bottom: 15px;
}

.bank-details-wrap .input-group:last-child {
    margin-bottom: 0;
}

.bank-details-wrap .input-group input {
    background: #140505;
    border-radius: 20px;
}

.bank-details-wrap .input-group.plain input {
    padding-left: 15px;
}

.rpc-code-wrap {
    position: relative;
}

.rpc-code-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-red);
    font-size: 14px;
}

.rpc-code-wrap input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 15px 15px 15px 45px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.rpc-code-wrap input:focus {
    border-color: var(--primary-red);
}

.rpc-code-wrap input::placeholder {
    color: var(--text-gray);
}

.rpc-error {
    display: none;
    font-size: 11px;
    color: var(--primary-red);
    margin-top: 8px;
    margin-left: 5px;
}

.rpc-error.visible {
    display: block;
}

.rpc-code-wrap input.invalid {
    border-color: var(--primary-red);
}

.rpc-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 10px;
    margin-left: 5px;
    line-height: 1.4;
}

.rpc-warning i {
    color: var(--primary-red);
    flex-shrink: 0;
}

.btn-confirm-withdraw {
    width: 100%;
    background: var(--primary-red);
    color: var(--text-white);
    border: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-confirm-withdraw:disabled {
    background: #a81723;
    color: #e88a91;
    cursor: not-allowed;
}

.loading-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: #000;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.loading-logo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border: 2px solid rgba(255, 46, 59, 0.3);
    border-radius: 50%;
    animation: pulseRing 1.5s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.loading-logo {
    width: 70px;
    height: 70px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: 800;
    font-style: italic;
    z-index: 2;
}

.loading-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-title i {
    color: var(--primary-red);
    font-size: 14px;
}

.loading-subtitle {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.loading-bar-bg {
    width: 150px;
    height: 3px;
    background: var(--card-border);
    border-radius: 5px;
    overflow: hidden;
}

.loading-bar-fill {
    width: 50%;
    height: 100%;
    background: var(--primary-red);
    border-radius: 5px;
    animation: loadProgress 2s infinite ease-in-out;
}

@keyframes loadProgress {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.notice-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.notice-title-wrap i {
    color: var(--text-yellow);
    font-size: 20px;
    flex-shrink: 0;
}

.close-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-gray);
    flex-shrink: 0;
}

.notice-subtitle {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

.notice-card {
    border: 1px solid;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.notice-card.blue {
    background: #0f1a2d;
    border-color: #1e3a8a;
}

.notice-card.purple {
    background: #1a0f2d;
    border-color: #4c1d95;
}

.notice-card.orange {
    background: #2d1a0f;
    border-color: #7c2d12;
}

.notice-card.green {
    background: #0f2d1a;
    border-color: #14532d;
}

.notice-card.red {
    background: #2d0f0f;
    border-color: #7f1d1d;
}

.notice-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 14px;
}

.notice-card.blue .notice-icon {
    background: #1e3a8a;
    color: #60a5fa;
}

.notice-card.purple .notice-icon {
    background: #4c1d95;
    color: #a78bfa;
}

.notice-card.orange .notice-icon {
    background: #7c2d12;
    color: #f97316;
}

.notice-card.green .notice-icon {
    background: #14532d;
    color: #4ade80;
}

.notice-card.red .notice-icon {
    background: #7f1d1d;
    color: #f87171;
}

.notice-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.notice-text p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
}

.notice-card.blue .notice-text p span {
    color: #60a5fa;
}

.notice-card.purple .notice-text p span {
    color: #a78bfa;
}

.notice-card.orange .notice-text p span {
    color: #f97316;
}

.notice-card.green .notice-text p span {
    color: #4ade80;
}

.notice-card.red .notice-text p span {
    color: #f87171;
}

.btn-understand {
    display: block;
    width: 100%;
    background: var(--primary-red);
    border: none;
    padding: 16px;
    border-radius: 30px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
}

.payment-page-title {
    text-align: center;
    margin-bottom: 25px;
}

.payment-page-title .icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    color: var(--primary-red);
    font-size: 20px;
}

.payment-page-title h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.payment-page-title h2 span {
    color: var(--primary-red);
}

.payment-page-title p {
    font-size: 12px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.payment-page-title p::before,
.payment-page-title p::after {
    content: "";
    height: 1px;
    width: 40px;
    background: var(--card-border);
}

.payment-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.payment-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.payment-info-icon {
    width: 40px;
    height: 40px;
    background: #2a0d0d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    font-size: 16px;
    flex-shrink: 0;
}

.payment-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.payment-info-label {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.payment-info-value {
    font-size: 15px;
    font-weight: 700;
    word-break: break-word;
}

.btn-copy {
    background: var(--primary-red);
    color: var(--text-white);
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    cursor: pointer;
}

.btn-copy.copied {
    background: var(--text-green);
}

.upload-box {
    display: block;
    border: 2px dashed var(--primary-red);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-top: 25px;
    cursor: pointer;
}

.upload-icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    margin: 0 auto 10px auto;
}

.upload-box h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    word-break: break-word;
}

.upload-box p {
    font-size: 11px;
    color: var(--text-gray);
}

.upload-box.uploaded {
    border-color: var(--text-green);
}

.upload-box.uploaded .upload-icon-circle {
    border-color: var(--text-green);
    color: var(--text-green);
}

#file-input {
    display: none;
}

.btn-payment-submit {
    width: 100%;
    background: var(--primary-red);
    border: none;
    padding: 16px;
    border-radius: 30px;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    cursor: pointer;
}

.payment-error-text {
    color: var(--primary-red);
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.secure-text {
    text-align: center;
    font-size: 10px;
    color: var(--text-gray);
    margin-top: 15px;
}

.refer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.refer-bell {
    position: relative;
}

.refer-title-sec {
    text-align: center;
    margin-bottom: 25px;
}

.refer-title-sec h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.refer-title-sec p {
    font-size: 12px;
    color: var(--text-gray);
}

.total-earnings-card {
    background: linear-gradient(135deg, #ff3b4a 0%, #e01e2a 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(255, 46, 59, 0.2);
}

.total-earnings-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
    font-weight: 600;
}

.total-earnings-amount {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.earnings-stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.earning-stat-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 12px 8px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.earning-stat-label {
    font-size: 9px;
    opacity: 0.9;
    text-transform: uppercase;
}

.earning-stat-value {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.btn-withdraw-earnings {
    width: 100%;
    background: #110202;
    border: none;
    border-radius: 30px;
    padding: 16px;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.refer-link-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
}

.refer-link-input-wrap {
    margin-bottom: 15px;
}

.refer-link-input-wrap input {
    width: 100%;
    background: #140505;
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 15px 20px;
    color: var(--text-gray);
    font-size: 12px;
    outline: none;
}

.refer-share-btns {
    display: flex;
    gap: 10px;
}

.btn-share {
    flex: 1;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 12px 8px;
    color: var(--text-white);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-share i {
    color: var(--primary-red);
    font-size: 14px;
}

.btn-share.copied {
    border-color: var(--text-green);
    color: var(--text-green);
}

.btn-share.copied i {
    color: var(--text-green);
}

.earn-method-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
}

.earn-method-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.earn-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-red);
    font-size: 18px;
    flex-shrink: 0;
}

.earn-method-text {
    flex: 1;
    min-width: 0;
}

.earn-method-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.earn-method-text p {
    font-size: 11px;
    color: var(--text-gray);
}

.earn-method-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-red);
    white-space: nowrap;
}

.btn-verify {
    width: 100%;
    background: var(--primary-red);
    border: none;
    border-radius: 30px;
    padding: 14px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.refer-stats-row {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.refer-stat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.refer-stat-box i {
    color: var(--primary-red);
    font-size: 20px;
}

.refer-stat-box .val {
    font-size: 16px;
    font-weight: 700;
}

.refer-stat-box .lbl {
    font-size: 10px;
    color: var(--text-gray);
    text-align: center;
}

.reward-history-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    font-size: 13px;
    color: var(--text-gray);
}
