:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-orange: #f59e0b;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    
    --gradient-purple: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    --gradient-orange: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border: rgba(0, 0, 0, 0.05);
    --border-hover: rgba(0, 0, 0, 0.1);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 8px 30px rgba(139, 92, 246, 0.15);
    
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    
    --font: 'Red Hat Display', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
}

/* Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.nav-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
}

.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--accent-pink);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid var(--bg-primary);
}

.nav-content h1 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Notifications Panel */
.notifications-panel {
    position: fixed;
    top: 70px;
    right: 1.5rem;
    width: 360px;
    max-height: 500px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 99;
    overflow: hidden;
    transition: all 0.3s;
}

.notifications-panel.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.notif-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.mark-read {
    background: none;
    border: none;
    color: var(--accent-purple);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font);
}

.notif-list {
    max-height: 400px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}

.notif-item:hover {
    background: var(--bg-card);
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notif-icon.purple { background: rgba(139, 92, 246, 0.2); }
.notif-icon.pink { background: rgba(236, 72, 153, 0.2); }
.notif-icon.orange { background: rgba(255, 170, 0, 0.2); }

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.notif-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notif-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Container */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
}

.user-identity {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.avatar-section {
    position: relative;
    display: inline-block;
}

.avatar-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-purple);
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-primary);
}

.tier-flair {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 2px solid var(--bg-primary);
    color: #fff;
}

.identity-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.user-contact {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.member-since {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Wallet Card */
.wallet-card {
    position: relative;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.wallet-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-purple);
    top: -50px;
    right: -50px;
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: var(--accent-pink);
    bottom: -30px;
    left: -30px;
}

.wallet-content {
    position: relative;
    z-index: 1;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.wallet-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.add-money-btn {
    background: var(--gradient-purple);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.add-money-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.wallet-balance {
    margin-bottom: 1.5rem;
}

.wallet-balance .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
    margin-right: 0.25rem;
}

.wallet-balance .amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.wallet-balance .decimal {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.wallet-quick-actions {
    display: flex;
    gap: 0.75rem;
}

.quick-action {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.quick-action:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

/* Club Section */
.club-section {
    margin-top: 0.5rem;
}

.club-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.club-info {
    margin-bottom: 1.5rem;
}

.club-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.club-title svg {
    color: var(--accent-orange);
}

.club-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.tier-name {
    color: var(--accent-orange);
    font-weight: 700;
}

.club-title p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tier-benefits-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.benefit-tag {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--accent-orange);
}

.tier-progress-container {
    position: relative;
}

.tier-markers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.marker.active {
    color: var(--text-secondary);
}

.marker.current {
    color: var(--accent-orange);
    font-weight: 600;
}

.marker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
}

.marker.active .marker-dot {
    background: var(--text-secondary);
    border-color: var(--text-secondary);
}

.marker.current .marker-dot {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
}

.progress-track {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-orange);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.progress-stats span {
    color: var(--text-muted);
}

.next-tier {
    color: var(--accent-orange);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-card.primary {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
    border-color: rgba(167, 139, 250, 0.3);
}

.stat-visual {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-chart {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--bg-secondary);
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke: var(--accent-purple);
    stroke-width: 3;
    stroke-linecap: round;
    animation: progress 1s ease-out;
}

@keyframes progress {
    from { stroke-dasharray: 0, 100; }
}

.stat-icon {
    font-size: 1.5rem;
    z-index: 1;
}

.stat-visual.blue { background: rgba(59, 130, 246, 0.1); border-radius: var(--radius-sm); }
.stat-visual.orange { background: rgba(255, 170, 0, 0.1); border-radius: var(--radius-sm); }
.stat-visual.pink { background: rgba(236, 72, 153, 0.1); border-radius: var(--radius-sm); }

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Content Section */
.content-section {
    margin-top: 0.5rem;
}

.tab-navigation {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab-pill {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.tab-pill:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.tab-pill.active {
    background: var(--gradient-purple);
    border-color: transparent;
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Tab */
.dashboard-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.view-all {
    background: none;
    border: none;
    color: var(--accent-purple);
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.activity-icon.purple { background: rgba(139, 92, 246, 0.1); }
.activity-icon.green { background: rgba(16, 185, 129, 0.1); }
.activity-icon.orange { background: rgba(255, 170, 0, 0.1); }

.activity-details {
    flex: 1;
}

.activity-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.activity-points {
    font-weight: 700;
    color: var(--accent-green);
}

.activity-points.minus {
    color: var(--accent-pink);
}

/* Referral Card */
.referral-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.referral-content {
    margin-bottom: 1.5rem;
}

.referral-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.referral-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.referral-code {
    display: flex;
    gap: 0.75rem;
}

.code-text {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px dashed var(--border-hover);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-purple);
}

.copy-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.copy-btn:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.ref-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ref-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ref-stat.highlight .ref-number {
    color: var(--accent-purple);
}

.ref-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quick Book */
.quick-book-section {
    margin-bottom: 2rem;
}

.quick-book-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.quick-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 0.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.quick-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-3px);
    color: var(--text-primary);
}

.quick-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
}

.quick-icon.bus { background: rgba(139, 92, 246, 0.1); }
.quick-icon.flight { background: rgba(59, 130, 246, 0.1); }
.quick-icon.movie { background: rgba(236, 72, 153, 0.1); }
.quick-icon.concert { background: rgba(255, 170, 0, 0.1); }

.quick-item span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Tickets Tab */
.filter-chips {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.chip {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.chip:hover, .chip.active {
    background: var(--bg-elevated);
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.tickets-grid {
    display: grid;
    gap: 1rem;
}

.ticket-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.ticket-card:hover {
    border-color: var(--border-hover);
}

.ticket-header {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
}

.ticket-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ticket-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.ticket-status {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ticket-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.ticket-status.past {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.ticket-status.resale {
    background: rgba(255, 170, 0, 0.1);
    color: var(--accent-orange);
}

.ticket-body {
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
}

.ticket-qr {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ticket-qr svg {
    width: 60px;
    height: 60px;
}

.ticket-info {
    flex: 1;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-row svg {
    color: var(--text-muted);
}

.ticket-footer {
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-points {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.ticket-price {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Insights Tab */
.insights-header {
    margin-bottom: 1.5rem;
}

.insight-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.insight-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.insight-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.insight-change {
    font-size: 0.85rem;
    font-weight: 600;
}

.insight-change.positive {
    color: var(--accent-green);
}

.insight-change.negative {
    color: var(--accent-pink);
}

.category-breakdown {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.category-breakdown h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cat-label {
    width: 80px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cat-bar-bg {
    flex: 1;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.cat-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.cat-value {
    width: 60px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
}

.monthly-chart {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.monthly-chart h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.chart-container {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    height: 120px;
    margin-bottom: 0.5rem;
}

.month-bar {
    flex: 1;
    background: var(--bg-secondary);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
    position: relative;
}

.month-bar:hover {
    background: var(--accent-purple);
}

.month-bar.active {
    background: var(--gradient-purple);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.achievements {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.achievements h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.badge-item {
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.5rem;
}

.badge-item.unlocked {
    border-color: var(--accent-orange);
    background: rgba(255, 170, 0, 0.1);
}

.badge-icon {
    font-size: 2rem;
    opacity: 0.3;
}

.badge-item.unlocked .badge-icon {
    opacity: 1;
}

.badge-name {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.badge-item.unlocked .badge-name {
    color: var(--text-secondary);
}

/* Wishlist Tab */
.wishlist-header {
    margin-bottom: 1rem;
}

.wishlist-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.wishlist-grid {
    display: grid;
    gap: 1rem;
}

.wish-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    transition: all 0.3s;
}

.wish-item:hover {
    border-color: var(--border-hover);
}

.wish-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

.wish-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wish-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.wish-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.wish-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-green);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-drop {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.wish-actions {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.book-btn {
    background: var(--accent-purple);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xs);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-sheet {
    position: relative;
    background: var(--bg-elevated);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal:not(.hidden) .modal-sheet {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sheet-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.preset-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.preset-btn:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.preset-btn.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
}

.custom-amount {
    position: relative;
    margin-bottom: 1.5rem;
}

.currency-symbol {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.custom-amount input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 1rem 1rem 1rem 3rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 700;
    outline: none;
    transition: all 0.3s;
}

.custom-amount input:focus {
    border-color: var(--accent-purple);
}

.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-option {
    display: block;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.payment-option input:checked + .option-content {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.1);
}

.option-icon {
    font-size: 1.5rem;
}

.option-details {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.option-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.confirm-btn {
    width: 100%;
    background: #111827;
    border: none;
    color: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-elevated);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    box-shadow: var(--shadow-sm);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 640px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .wallet-balance .amount {
        font-size: 2.5rem;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .badge-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wish-item {
        flex-direction: column;
    }
    
    .wish-image {
        width: 100%;
        height: 150px;
    }
    
    .notifications-panel {
        left: 1rem;
        right: 1rem;
        width: auto;
    }
}

.ticket-card {
    cursor: pointer;
    transition: all 0.3s;
}

.ticket-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.view-ticket-btn {
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 0.9rem;
}

.ticket-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.ticket-qr-preview {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 5px;
}

.ticket-qr-preview svg {
    width: 100%;
    height: 100%;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.browse-btn, .retry-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #111827;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--font);
    cursor: pointer;
}

.loading-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}