/* Fantasy Gaming Color Scheme - Red & White */
:root {
    --primary: #ff4757;
    --primary-dark: #ee3344;
    --secondary: #ff6348;
    --success: #2ed573;
    --danger: #ff4757;
    --warning: #ffa502;
    --dark: #2f3542;
    --light: #f1f2f6;
    --border: #dfe4ea;
    --text-primary: #2f3542;
    --text-secondary: #747d8c;
    --shadow: 0 2px 8px rgba(255, 71, 87, 0.1);
    --shadow-lg: 0 10px 25px rgba(255, 71, 87, 0.15);
    --gradient: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--light);
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile-first container */
.container {
    width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

/* Touch-friendly buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    min-width: 48px;
    text-decoration: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.btn-primary:active {
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-light {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

/* Form elements - mobile optimized */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: white;
    color: var(--text-primary);
    transition: all 0.3s ease;
    min-height: 48px;
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 20px;
    pointer-events: none;
}

.input-group .form-control {
    padding-left: 48px;
}

.input-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    min-width: auto;
    min-height: auto;
}

/* Alert messages */
.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #2ed573;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ff4757;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

/* Card component */
.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 16px;
}

.card-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    padding: 0;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.sidebar-logo span {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-balance {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.balance-card {
    background: var(--gradient);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.balance-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-icon i {
    font-size: 24px;
    color: white;
}

.balance-info {
    flex: 1;
}

.balance-info small {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-bottom: 4px;
}

.balance-info h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.sidebar-menu {
    padding: 12px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-item:active {
    background: var(--light);
}

.menu-item.active {
    background: rgba(255, 71, 87, 0.1);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.menu-item i {
    font-size: 20px;
    width: 24px;
}

.menu-item.text-danger {
    color: var(--danger);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
}

.btn-logout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-logout i {
    font-size: 20px;
}

/* Main Content */
.main-content {
    padding-bottom: 70px;
}

/* Top Header */
.app-header {
    position: sticky;
    top: 0;
    background: var(--gradient);
    padding: 12px 16px;
    z-index: 999;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
    min-width: auto;
    min-height: auto;
}

.app-header .header-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
}

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

.header-back {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    padding: 8px;
    cursor: pointer;
    min-width: auto;
    min-height: auto;
}

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

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    min-width: auto;
    min-height: auto;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
    background: white;
    border-bottom: 1px solid var(--border);
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.quick-icon {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-action-item:active .quick-icon {
    transform: scale(0.95);
    border-color: var(--primary);
}

.quick-icon i {
    font-size: 28px;
    color: var(--text-primary);
}

.quick-action-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Banner Section */
.banner-section {
    padding: 16px;
    background: var(--light);
}

.banner-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.banner-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Service Section */
.service-section {
    padding: 20px 16px;
    background: white;
    margin-bottom: 12px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item.active .service-icon {
    background: var(--gradient);
}

.service-item.active .service-icon i {
    color: white;
}

.service-item:active .service-icon {
    transform: scale(0.95);
}

.service-icon i {
    font-size: 28px;
    color: var(--text-primary);
}

.service-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-height: 56px;
}

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

.nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

/* Loading spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Utilities */
.text-center {
    text-align: center;
}

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

.text-secondary {
    color: var(--text-secondary);
}

.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 8px;
}

.p-2 {
    padding: 16px;
}

.p-3 {
    padding: 24px;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Link styling */
.link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.link:active {
    opacity: 0.7;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin: 20px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider-text::before {
    margin-right: 12px;
}

.divider-text::after {
    margin-left: 12px;
}

/* Avatar */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: var(--primary);
    color: white;
}

.badge-success {
    background: var(--success);
}

.badge-danger {
    background: var(--danger);
}

.badge-warning {
    background: var(--warning);
    color: var(--dark);
}

/* Prevent zoom on iOS */
@media screen and (max-width: 767px) {

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="tel"],
    input[type="number"] {
        font-size: 16px !important;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .app-header {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }

    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}


/* Bottom Navigation - Custom Design */
.bottom-nav-custom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 8px 0 8px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    height: 70px;
}

.nav-item-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    padding: 8px 4px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    height: 100%;
}

.nav-item-custom:not(.center-item) {
    padding-bottom: 4px;
}

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

.nav-item-custom i {
    font-size: 24px;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.nav-item-custom:not(.center-item):active i {
    transform: scale(0.9);
}

.nav-item-custom span {
    font-size: 11px;
    line-height: 1;
}

/* Center Elevated Button */
.nav-item-custom.center-item {
    position: relative;
    top: -25px;
    flex: 0 0 70px;
    padding: 0;
    height: auto;
}

.center-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 71, 87, 0.4);
    border: 4px solid white;
    position: relative;
    transition: all 0.3s ease;
}

.center-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.center-icon i {
    font-size: 28px;
    color: white;
    margin: 0;
}

.nav-item-custom.center-item:active .center-icon {
    transform: scale(0.95);
    box-shadow: 0 2px 15px rgba(255, 71, 87, 0.4);
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .bottom-nav-custom {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
        height: calc(70px + env(safe-area-inset-bottom));
    }
}

/* Ensure main content doesn't hide behind nav */
.main-content {
    padding-bottom: 90px;
}


/* Wallet */
.wallet-header {
    background: var(--gradient);
    padding: 24px 16px 40px;
    color: white;
}

.total-balance {
    text-align: center;
    padding: 20px 0;
}

.balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.currency-label {
    font-size: 16px;
    opacity: 0.8;
}

.wallet-content {
    padding: 0 16px 100px;
    margin-top: -20px;
}

.wallet-cards {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.wallet-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.1;
}

.wallet-card.utility::before {
    background: var(--primary);
    transform: translate(40px, -40px);
}

.wallet-card.cashback::before {
    background: #26de81;
    transform: translate(40px, -40px);
}

.wallet-card.rp::before {
    background: #667eea;
    transform: translate(40px, -40px);
}

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

.wallet-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.wallet-icon.utility {
    background: var(--gradient);
}

.wallet-icon.cashback {
    background: linear-gradient(135deg, #26de81 0%, #20bf6b 100%);
}

.wallet-icon.rp {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wallet-info-btn {
    width: 32px;
    height: 32px;
    background: var(--light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    font-size: 18px;
}

.wallet-name {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.wallet-balance {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.wallet-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: var(--light);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

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

.wallet-action-btn.primary {
    background: var(--gradient);
    color: white;
}

.slab-section {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: var(--primary);
    font-size: 22px;
}

.current-slab-card {
    background: var(--gradient);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
}

.slab-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.slab-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.slab-earnings {
    font-size: 14px;
    opacity: 0.9;
}

.slab-earnings strong {
    font-size: 20px;
    display: block;
    margin-top: 4px;
}

.slabs-list {
    display: grid;
    gap: 12px;
}

.slab-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--light);
    border-radius: 12px;
    border: 2px solid transparent;
}

.slab-item.active {
    border-color: var(--primary);
    background: rgba(255, 71, 87, 0.05);
}

.slab-number {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.slab-item.active .slab-number {
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.slab-details {
    flex: 1;
}

.slab-range {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.slab-rate {
    font-size: 13px;
    color: var(--text-secondary);
}

.slab-rate strong {
    color: var(--primary);
}

.bonus-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 24px;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    margin-bottom: 20px;
}

.bonus-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
}

.bonus-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bonus-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 16px;
}

.bonus-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.bonus-percentage {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 4px;
}

.bonus-label {
    font-size: 14px;
    opacity: 0.9;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* end of wallet */


.otp-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.otp-modal.show {
    display: block;
    opacity: 1;
}

.otp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.otp-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 20px;
    max-height: 90vh;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.otp-modal.show .otp-sheet {
    transform: translateY(0);
}

.otp-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 20px;
}

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

.otp-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.close-btn {
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #e0e0e0;
}

.close-btn i {
    font-size: 20px;
}

.otp-body {
    padding: 10px 0;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
}

.otp-box {
    width: 48px;
    height: 56px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    transition: all 0.2s;
}

.otp-box:focus {
    border-color: #FF4757;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.timer-box {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.timer-box span {
    color: #FF4757;
    font-weight: 700;
}

.btn-otp-verify {
    width: 100%;
    background: linear-gradient(135deg, #FF4757 0%, #FF6348 100%);
    border: none;
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

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

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

@media (min-width: 768px) {
    .otp-sheet {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        border-radius: 24px;
        bottom: 20px;
    }

    .otp-modal.show .otp-sheet {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}