:root {
    --bg-base: #050d10; /* Very dark black-green base */
    --bg-panel: #0a1317; /* Slate dark-green panel */
    --bg-panel-hover: #0f1c22;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(16, 185, 129, 0.08); /* Subtle green border */
    
    --primary-color: #10b981; /* Kotla Green */
    --accent-color: #00c2e8;  /* Glowing Cyan */
    --gradient-brand: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    
    --success: #10b981;
    --danger: #ef4444;
}

body.light-theme {
    --bg-base: #f8fafc;
    --bg-panel: #ffffff;
    --bg-panel-hover: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --border-color: rgba(16, 185, 129, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Background visual glow orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-secondary { color: var(--text-secondary); }

/* Main Layout Grid */
.layout-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

@media (max-width: 1100px) {
    .layout-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none !important;
    }
}

.main-content {
    min-width: 0; /* Prevent grid blowout */
}

.sidebar {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Status Bar */
.status-bar {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #10b981;
    font-weight: 500;
}

.status-right {
    color: #94a3b8;
}

.status-right strong {
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
}

/* Splash Screen */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #020617 0%, #000000 100%);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: transform 0.8s cubic-bezier(0.87, 0, 0.13, 1), opacity 0.5s ease;
}

.splash-container.fade-out {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    max-width: 800px;
    width: 90%;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    justify-content: space-between;
    margin: auto;
}

.splash-header p {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.9;
}

.splash-main h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    letter-spacing: 4px;
    margin: 1.5rem 0 0.5rem;
    color: white;
    font-weight: 800;
}

.splash-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.splash-logo-circle {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    margin: 0 auto;
}

.splash-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.splash-btn {
    background: white;
    color: #10b981;
    border: none;
    padding: 1.25rem 5rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    text-transform: uppercase;
}

.splash-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.splash-footer {
    max-width: 700px;
    padding-bottom: 2rem;
}

.disclaimer-en {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.disclaimer-ur {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    direction: rtl;
    text-align: right;
}

@media (max-width: 768px) {
    .splash-main h1 { font-size: 3rem; }
    .splash-logo-circle { width: 150px; height: 150px; }
    .splash-subtitle { font-size: 1.2rem; }
}

/* Top Header */
/* Announcement Bar */
.announcement-bar {
    background: #064e3b;
    color: white;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 56px;
    background: linear-gradient(90deg, #064e3b 0%, #065f46 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,.22);
    position: sticky;
    top: 36px; /* Height of announcement bar */
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo-img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.vertical-bar {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.logo-text p {
    font-size: 0.55rem;
    font-weight: 800;
    color: #6ee7b7;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
}

.badge.status {
    color: #6ee7b7;
    border-color: rgba(110, 231, 199, 0.2);
    background: rgba(110, 231, 199, 0.08);
}

.badge.price {
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.badge.rate {
    color: #6ee7b7;
    border-color: rgba(110, 231, 199, 0.2);
    background: rgba(110, 231, 199, 0.08);
}

.badge.ticket {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
}

.badge.ticket svg {
    color: #f59e0b;
}

.badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #6ee7b7;
}

.pulse {
    box-shadow: 0 0 0 rgba(110, 231, 183, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(110, 231, 183, 0); }
    100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: #fff;
    color: #064e3b;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.nav-pill-container {
    display: flex;
    background: rgba(17, 26, 34, 0.65);
    padding: 0.35rem;
    border-radius: 0.75rem;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-item {
    padding: 0.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
    background: linear-gradient(135deg, #00c853 0%, #10b981 100%) !important;
    color: white !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Status Bar override removed */

/* Main Layout Grid */
.layout-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 2rem 5%;
}

@media (max-width: 1024px) {
    .layout-container {
        grid-template-columns: 1fr;
    }
}

/* Marketplace Section */
.marketplace-header {
    background: var(--bg-panel);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.marketplace-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.marketplace-title-row h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.btn-reload {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-reload:hover {
    background: rgba(255,255,255,0.05);
}

.search-toolbar {
    display: flex;
    gap: 1rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
}

.search-input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 0.375rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
}

.search-input:focus {
    border-color: var(--accent-color);
}

.view-toggles {
    display: flex;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    overflow: hidden;
}

.search-toolbar {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
}

.search-input {
    width: 100%;
    background: #050d10;
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.view-toggles {
    display: flex;
    background: #050d10;
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 0.5rem;
    padding: 2px;
}

.marketplace-title-row h2 {
    font-family: 'Outfit', sans-serif;
    color: #00c2e8; /* Glowing Cyan */
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.view-btn {
    padding: 0.6rem 0.8rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.view-btn.active {
    background: #3b82f6; /* Blue highlight */
    color: white;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    background: #091215;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
}

.card-image-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(6, 14, 17, 0.85);
    border: 1.5px solid #10b981;
    color: #10b981;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-price {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(6, 14, 17, 0.9);
    border: 1.5px solid #10b981;
    color: #10b981;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-business {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #3b82f6; /* light blue pin as in screenshot */
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    margin-top: auto;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #10b981;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-date {
    font-size: 0.7rem;
    color: #64748b;
}

/* List view style override */
.product-grid.list-view {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
}

.product-grid.list-view .product-card {
    flex-direction: row;
    height: 180px;
}

.product-grid.list-view .product-card .card-image-wrapper {
    width: 250px;
    height: 100%;
}

@media (max-width: 650px) {
    .product-grid.list-view .product-card {
        flex-direction: column;
        height: auto;
    }
    .product-grid.list-view .product-card .card-image-wrapper {
        width: 100%;
        height: 180px;
    }
}

.sidebar {
    background: #091215;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
}

/* ========================================= */
/* REWARDS VIEW                              */
/* ========================================= */

.rewards-hero {
    background: #061418;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rewards-hero h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.rewards-hero h2 .highlight-green {
    color: #10b981;
}

.rewards-hero p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

.rewards-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .rewards-cards-grid {
        grid-template-columns: 1fr;
    }
}

.reward-card {
    background: #091215;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 1rem;
    padding: 2.25rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.reward-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.12);
}

.card-icon-container {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.card-icon-container svg {
    color: #fff;
}

.reward-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.reward-card .kotla-badge {
    align-self: flex-start;
    background: rgba(16, 185, 129, 0.08);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.reward-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.bg-watermark {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 1;
    transform: rotate(-10deg);
}

.bg-watermark svg {
    stroke: currentColor;
}

.economy-rules-spend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .economy-rules-spend-grid {
        grid-template-columns: 1fr;
    }
}

.economy-rules-card, .spend-k-card {
    background: #091215;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 1rem;
    padding: 2.25rem 2rem;
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.rule-icon-title {
    color: #f59e0b; /* lightning bolt color */
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #050d10;
    border: 1px solid rgba(16, 185, 129, 0.05);
    border-radius: 0.5rem;
}

.rule-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.rule-left svg {
    color: #64748b;
}

.rule-right {
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.spend-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.spend-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.spend-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.spend-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.spend-text p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Utilities */
.hidden { display: none !important; }

/* ========================================= */
/* DIRECTORY VIEW                            */
/* ========================================= */

.directory-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .directory-layout {
        grid-template-columns: 1fr;
    }
}

.directory-sidebar {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-header-national .label-xs {
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.sidebar-header-national h2 {
    font-size: 1.75rem;
    margin: 0.5rem 0 1rem;
}

.sidebar-header-national h2 span {
    color: var(--primary-color);
}

.btn-reload-sm {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stats-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-val {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.sidebar-text-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-sm {
    margin-bottom: 1rem;
}

.form-group-sm label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.select-sm {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: white;
    padding: 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    outline: none;
}

.directory-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-panel);
    padding: 0.75rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.tab-toggle {
    display: flex;
    background: rgba(0,0,0,0.3);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.tab-toggle button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-toggle button.active {
    background: var(--primary-color);
    color: white;
}

.search-bar-modern {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border: 1px solid var(--border-color);
}

.search-bar-modern input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.75rem;
    flex: 1;
    outline: none;
    font-size: 0.875rem;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dir-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
}

.dir-card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dir-avatar {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    overflow: hidden;
}

.dir-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dir-avatar-text {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.label-tag {
    font-size: 0.6rem;
    color: var(--primary-color);
    font-weight: 700;
}

.dir-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dir-info-row {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dir-info-row.phone {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================= */
/* COMMUNITY VIEW                            */
/* ========================================= */

.community-hero {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.6) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 1.25rem;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.25);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.ch-icon { margin-bottom: 1rem; }

.community-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card-wide {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
}

.info-card-wide h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-card-wide p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.redeem-section {
    background: var(--bg-panel);
    border-radius: 1rem;
    padding: 2rem;
}

.redeem-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.redeem-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.step-content h4 { font-size: 0.875rem; margin-bottom: 0.5rem; }
.step-content p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; }

/* ========================================= */
/* ABOUT VIEW                                */
/* ========================================= */

.about-hero {
    text-align: center;
    padding: 4rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tech-card {
    background: rgba(17, 26, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 1.25rem;
    text-align: center;
    backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.15);
}

.tech-card h3 { margin: 1.5rem 0 1rem; font-size: 1.1rem; }
.tech-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.how-works-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}


.hw-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.hw-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.hw-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hw-content h4 { margin-bottom: 0.5rem; }
.hw-content p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; }

/* Resources card styles removed for security */

/* ========================================= */
/* INSPIRATION VIEW                          */
/* ========================================= */

.inspiration-container {
    max-width: 1000px;
    margin: 0 auto;
}

.ins-hero {
    position: relative;
    background: #0f172a;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 6rem;
    min-height: 400px;
}

.ins-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

.pakistan-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/32/Flag-map_of_Pakistan.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    filter: grayscale(1) invert(1);
    z-index: 1;
}

.ins-quote-box h2 {
    font-size: 2.25rem;
    font-style: italic;
    color: white;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
    font-weight: 600;
}

.ins-dates {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6; /* Blueish to match screenshot */
    margin-bottom: 0.5rem;
}

.ins-heritage {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

.ins-profile-card {
    position: relative;
    margin: 2rem auto -4rem;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.5);
    z-index: 10;
    text-align: center;
    width: 220px;
}

.ins-portrait {
    width: 100%;
    aspect-ratio: 1;
    background: #f3f4f6;
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.ins-portrait-info h3 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.ins-portrait-info span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
}

.ins-dedication {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.ins-dedication h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ins-dedication p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ins-founder strong {
    display: block;
    color: white;
    font-size: 1rem;
}

.ins-founder span {
    color: #3b82f6;
    font-size: 0.875rem;
}

.ins-sections {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.ins-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .ins-row {
        grid-template-columns: 1fr;
    }
}

.ins-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ins-text-side h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.ins-text-side p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.urdu-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
}

.urdu-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Noto Nastaliq Urdu', serif;
}

.urdu-card p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
    font-family: 'Noto Nastaliq Urdu', serif;
}

/* Vault Modal Design */
.auth-vault-card {
    background: #020617;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 2rem;
    width: 90%;
    max-width: 440px;
    padding: 2.5rem;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.7);
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
    margin: auto;
}

.vault-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.vault-logo-mini {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.vault-logo-mini img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
}

.step-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: 0.5rem;
}

.step-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.vault-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-vault label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 1.25rem;
    color: rgba(255, 255, 255, 0.3);
}

.input-wrapper input {
    width: 100%;
    padding: 1.1rem 1.1rem 1.1rem 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.input-wrapper input:focus {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.vault-btn {
    width: 100%;
    padding: 1.1rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.vault-btn.primary {
    background: #10b981;
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.vault-btn.primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

.vault-btn.ghost {
    background: transparent;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.vault-btn.ghost:hover {
    color: white;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #10b981;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

/* PIN Keypad */
.pin-display {
    margin-bottom: 2rem;
}

.pin-display input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    text-align: center;
    letter-spacing: 0.75rem;
    font-weight: 700;
    outline: none;
}

.pin-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.key {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.key:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.key:active {
    transform: scale(0.95);
    background: #10b981;
}

.key.clear, .key.backspace {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Dashboard Grid */
.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.balance-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.balance-card.kotla {
    border-color: rgba(16, 185, 129, 0.2);
}

.balance-card.tickets {
    border-color: rgba(245, 158, 11, 0.2);
}

.balance-card label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.balance-card .amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.balance-card.kotla .amount { color: #10b981; }
.balance-card.tickets .amount { color: #f59e0b; }

.action-card {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.card-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.action-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.vault-close {
    width: 100%;
    margin-top: 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.5;
}

.vault-close:hover {
    opacity: 1;
}

/* Footer Bottom */
footer {
    padding: 4rem 5% 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 480px) {
    .auth-vault-card {
        padding: 1.5rem;
    }
}

.ins-legacy-footer {
    margin-top: 6rem;
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.ins-legacy-footer h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}

.ins-legacy-footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}


/* Transaction History Section */
.history-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.history-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.tx-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.tx-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tx-info strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.tx-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.tx-amount {
    font-weight: 700;
    font-size: 0.95rem;
}

.tx-amount.credit {
    color: var(--primary-color);
}

.tx-amount.debit {
    color: var(--danger);
}


/* About page visuals */
.about-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 0.75rem;
}

.about-hero p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.tech-card {
    background: #091215;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 1rem;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
}

.tech-icon-wrapper {
    color: #10b981;
    margin-bottom: 1.5rem;
}

.tech-icon-wrapper svg {
    color: #10b981;
}

.tech-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.tech-card p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.6;
}

.about-bottom-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
}

@media (max-width: 900px) {
    .about-bottom-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.how-it-works-panel h3, .official-resources-panel h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.works-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.works-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.works-icon-circle.bg-green-accent {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.works-icon-circle svg {
    color: #10b981;
}

.works-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
}

.works-text p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

.official-resources-panel {
    background: #091215;
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 1rem;
    padding: 2.25rem 2rem;
}

.official-resources-panel h3 {
    margin-bottom: 1.5rem;
}

.resources-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-res {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-res.blue {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-res.blue:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-res.green {
    background: #10b981;
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-res.green:hover {
    background: #059669;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.resources-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
}

.resources-links li {
    position: relative;
    padding-left: 1.25rem;
}

.resources-links li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #94a3b8;
}

.resources-links a {
    color: #94a3b8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.resources-links a:hover {
    color: #10b981;
}

/* Responsive overrides for Top Header and Main Navigation */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    .layout-container {
        padding: 0 0.5rem 2rem;
        gap: 1rem;
    }
    .top-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
        top: 0;
        height: auto;
    }
    
    .logo-container {
        justify-content: space-between;
        width: 100%;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    #marketPriceBadge, #ticketRateBadge {
        display: none !important;
    }
    
    .header-actions .badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .header-actions button, .header-actions .btn-primary {
        flex: 1;
        justify-content: center;
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .main-nav {
        padding: 1rem 0;
    }
    
    .nav-pill-container {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-pill-container::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        flex: 0 0 auto;
        text-align: center;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.4rem;
    }
    .logo-text p {
        font-size: 0.55rem;
    }
    .logo-img {
        height: 38px;
    }
    .vertical-bar {
        height: 24px;
    }
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - 40px);
}

.toast-card {
    pointer-events: auto;
    background: rgba(10, 19, 23, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast-card.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-content {
    flex-grow: 1;
    min-width: 0;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-body {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    opacity: 0.6;
    transition: opacity 0.2s;
    margin-left: 4px;
}

.toast-close:hover {
    opacity: 1;
    color: var(--text-primary);
}

.toast-card.chat { border-left-color: #00c2e8; }
.toast-card.token { border-left-color: #f59e0b; }
.toast-card.order { border-left-color: #10b981; }
.toast-card.rider { border-left-color: #ea580c; }
.toast-card.system { border-left-color: #8b5cf6; }

/* Navbar for admin and log pages */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 19, 23, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: white;
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    .logo {
        justify-content: center;
    }
}

