:root {
    --bg-color: #091326;
    --card-bg: rgba(15, 26, 51, 0.82);
    --border-color: rgba(56, 189, 248, 0.18);
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --accent-gold: #f59e0b;
    --accent-green: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #091326 radial-gradient(circle at 50% 0%, #1e3a8a 0%, #091326 70%);
    background-attachment: fixed;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 12px;
}

.app-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 24px;
}

/* Glass Card Component */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Profile Header */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.avatar-container {
    position: relative;
    flex-shrink: 0;
}

#user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.vip-badge {
    position: absolute;
    bottom: -4px;
    right: -6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.user-details {
    min-width: 0;
    flex: 1;
}

.user-details h2 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header Widgets (Bonus & Balance) */
.header-widgets {
    display: flex;
    align-items: stretch;
    gap: 6px;
    flex-shrink: 0;
}

.bonus-card {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 5px 9px;
    border-radius: var(--radius-md);
    text-align: right;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    white-space: nowrap;
    min-width: 68px;
    height: 46px;
    box-sizing: border-box;
}
.bonus-card:active {
    transform: scale(0.95);
}
.bonus-card.claimable {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(245, 158, 11, 0.35));
    border: 1px solid #10b981;
    animation: pulse-bonus 1.8s infinite;
}

@keyframes pulse-bonus {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.bonus-label {
    font-size: 10px;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
}

.bonus-amount {
    font-size: 13px;
    font-weight: 800;
    color: #fef08a;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    white-space: nowrap;
    line-height: 1.2;
}

/* Balance Card */
.balance-card {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 5px 9px;
    border-radius: var(--radius-md);
    text-align: right;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    white-space: nowrap;
    min-width: 68px;
    height: 46px;
    box-sizing: border-box;
}

.balance-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1.2;
}

.balance-amount {
    font-size: 14px;
    font-weight: 800;
    color: #818cf8;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    line-height: 1.2;
}

/* COMPACT STREAK SECTION */
.compact-streak {
    padding: 14px;
}

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

.streak-count-badge {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
}

.compact-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 10px;
}

.streak-day-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 2px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease;
}

.streak-day-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
    border-color: #818cf8;
}

.streak-day-item.claimed {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.streak-day-item.day-7 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.3));
    border-color: var(--accent-gold);
}

.day-num {
    font-size: 10px;
    color: var(--text-muted);
}

.day-reward {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.compact-btn {
    padding: 10px;
    font-size: 13px;
}

/* TOGGLE BUTTON FOR CAROUSEL COLLAPSE */
.toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: #e2e8f0;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
}

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

/* 5-Slot Carousel Styles */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 2px;
}

.carousel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.carousel-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
}

.carousel-title-group h3 {
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* MAIN MENU GRID & UNIFORM COMPACT BUTTONS */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 6px;
}

.menu-grid-item {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: #f1f5f9;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    min-width: 0;
    overflow: hidden;
}

.menu-grid-item:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

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

.menu-grid-item .item-icon {
    font-size: 15px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.menu-grid-item .item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

/* Custom Accent Styles */
.menu-grid-item.item-accent {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.45);
    color: #e0e7ff;
}

.menu-grid-item.item-gold {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fef08a;
}

/* Admin Item: Spans 2 columns, centered, exact same 38px height and padding */
.menu-grid-item.item-admin {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.25), rgba(147, 51, 234, 0.25));
    border: 1px solid rgba(225, 29, 72, 0.45);
    color: #fecdd3;
    justify-content: center;
    padding: 9px 12px;
    height: 38px;
}

.section-title-row h3 {
    font-size: 16px;
    font-weight: 700;
}

.badge-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
}

.slots-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.slot-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    overflow: hidden;
}

/* SLOT 1: MAIN PARTNER */
.slot-card.partner-slot {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(99, 102, 241, 0.3));
    border: 1.5px solid rgba(168, 85, 247, 0.8);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
}

/* SLOTS 2, 3, 4: USER TASKS */
.slot-card.user-slot {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* SLOT 5: SPECIAL 5TH SLOT (DISTINCT GOLD-FIRE CREATIVITY) */
.slot-card.special-slot-5 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.25));
    border: 2px solid rgba(245, 158, 11, 0.9);
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.35);
    animation: goldGlow 3s infinite alternate;
}

@keyframes goldGlow {
    0% { border-color: rgba(245, 158, 11, 0.7); box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2); }
    100% { border-color: rgba(239, 68, 68, 1); box-shadow: 0 6px 28px rgba(239, 68, 68, 0.45); }
}

.slot-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

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

.slot-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.slot-title {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-sub {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-badge-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.partner-tag { background: #8b5cf6; color: #fff; }
.user-tag { background: #3b82f6; color: #fff; }
.special-tag { background: linear-gradient(135deg, #ef4444, #f59e0b); color: #fff; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5); }

.slot-num {
    font-size: 14px;
    font-weight: 800;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slot-num-5 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.6);
}

.btn-slot {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    transition: transform 0.1s ease;
}

.btn-slot-gold {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4);
}

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

/* Full Navigation Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.menu-grid-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.menu-grid-item:active {
    transform: scale(0.97);
}

.menu-grid-item .item-icon {
    font-size: 20px;
}

.menu-grid-item .item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.menu-grid-item.item-accent {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.6);
}

.menu-grid-item.item-gold {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
}

.menu-grid-item.item-admin {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    grid-column: span 2;
    justify-content: center;
}

/* VIP & SMM DETAILED MODAL STYLES */
.modal-large {
    max-width: 460px;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 16px 0;
}

.vip-info-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-advantages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.adv-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #e2e8f0;
}

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

.vip-price-tag {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 13px;
    margin: 0 4px;
}

.new-price {
    color: #f59e0b;
    font-size: 15px;
    font-weight: 800;
}

.smm-info-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smm-title {
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
}

.smm-subtitle {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.smm-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smm-service-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
}

.service-price {
    color: #818cf8;
    font-weight: 800;
}

.service-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}

.smm-warning {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    font-size: 11px;
    color: #fca5a5;
    line-height: 1.4;
}

/* VIEW SECTIONS & IN-PAGE NAVIGATION */
.view-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.view-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.view-header h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}

.back-btn {
    background: rgba(245, 158, 11, 0.18);
    border: 1.5px solid #f59e0b;
    color: #fbbf24;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

.back-btn:active {
    transform: scale(0.95);
    background: rgba(245, 158, 11, 0.35);
}

/* Form inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.form-input {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.cabinet-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stat-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.stat-val {
    font-size: 17px;
    font-weight: 800;
    color: #818cf8;
}

.cabinet-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.cabinet-actions .btn {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.3;
}

.cabinet-actions .btn:last-child:nth-child(odd) {
    grid-column: span 2;
}

.btn-withdraw {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-channel {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

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

.my-task-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.task-action-btn {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.btn-pause {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-resume {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

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

.admin-output-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-top: 14px;
}

/* Buttons & Footer */
.btn {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.app-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.98));
    border: 2px solid #f59e0b;
    padding: 14px 24px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.45), 0 0 20px rgba(245, 158, 11, 0.25), 0 8px 30px rgba(0, 0, 0, 0.7);
    z-index: 99999;
    text-align: center;
    max-width: 85%;
    backdrop-filter: blur(12px);
    animation: popCenterToast 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popCenterToast {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.ban-card {
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.ban-card.temp-ban {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.95), rgba(185, 28, 28, 0.95));
    border: 1.5px solid #f97316;
}

.ban-card.perm-ban {
    background: linear-gradient(135deg, rgba(153, 27, 27, 0.95), rgba(88, 28, 135, 0.95));
    border: 1.5px solid #ef4444;
}

.ban-card .ban-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.ban-card .ban-desc {
    font-size: 12px;
    line-height: 1.55;
    color: #fecdd3;
}

.ban-card .ban-desc strong {
    color: #ffffff;
}

.ban-card .ban-ladder {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    margin: 8px 0;
    font-size: 11px;
    color: #fef08a;
}

.fmt-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fmt-btn:hover {
    background: rgba(56, 189, 248, 0.3);
    border-color: #38bdf8;
    transform: translateY(-1px);
}

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

/* 2 Column Info Grid Section */
.info-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 360px) {
    .info-grid-2col {
        grid-template-columns: 1fr;
    }
}

.info-card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.penalty-card {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.12), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.leaders-card {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
}

.info-card-header h4 {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.info-card-icon {
    font-size: 15px;
}

.info-list {
    list-style: none;
    font-size: 11px;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.35;
    padding: 0;
    margin: 0;
}

.leaders-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
}

.leader-item {
    padding: 3px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.leader-item.gold {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
}
.leader-item.silver {
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #f1f5f9;
}
.leader-item.bronze {
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: #fed7aa;
}

.reward-banner-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(99, 102, 241, 0.14));
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 12px 14px;
    text-align: center;
}

.reward-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.reward-header h4 {
    font-size: 12px;
    font-weight: 800;
    color: #34d399;
}

.reward-text {
    font-size: 11px;
    color: #e2e8f0;
    line-height: 1.4;
}

.reward-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    margin: 6px 0;
}

.reward-footer-tag {
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 14px 16px;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.faq-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

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

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item[open] {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(56, 189, 248, 0.4);
}

.faq-question {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "➕";
    font-size: 11px;
    transition: transform 0.2s ease;
    color: #38bdf8;
    margin-left: 6px;
}

.faq-item[open] .faq-question::after {
    content: "➖";
}

.faq-answer {
    padding: 0 12px 12px 12px;
    font-size: 11px;
    color: #cbd5e1;
    line-height: 1.55;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2px;
    padding-top: 8px;
}

.faq-answer code {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
}

.hidden { display: none !important; }

/* Responsive Adjustments for Mobile Screens */
@media (max-width: 390px) {
    .app-container {
        padding: 8px;
    }
    .glass-card {
        padding: 12px;
    }
    .user-details h2 {
        font-size: 14px;
    }
    .status-subtitle {
        font-size: 10px;
    }
    .bonus-card, .balance-card {
        padding: 4px 7px;
        min-width: 62px;
        height: 44px;
    }
    .bonus-label, .balance-label {
        font-size: 9px;
    }
    .bonus-amount, .balance-amount {
        font-size: 12px;
    }
    .menu-grid-item {
        padding: 6px 8px;
        font-size: 11px;
        gap: 5px;
    }
    .menu-grid-item .item-icon {
        font-size: 13px;
    }
}
