* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f9fafb;
    min-height: 100vh;
    color: #111827;
    padding-top: 4rem; /* Space for fixed header */
}

/* Header - SpendBillions Style */
.header {
    background: white;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.logo-text {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1f2937;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0.5rem 0.875rem;
    border-radius: 0.375rem;
}

.nav-link:hover {
    color: #2563eb;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: #374151;
}

.lang-btn.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dropdown-arrow {
    transition: transform 0.2s;
    opacity: 0.6;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 280px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Investor Dropdown Items */
.dropdown-investor-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-investor-item:hover {
    background: #f8fafc;
}

.dropdown-investor-item.active {
    background: #eff6ff;
}

.dropdown-investor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.dropdown-investor-item.active .dropdown-investor-avatar {
    border-color: var(--investor-color, #3b82f6);
}

.dropdown-investor-info {
    flex: 1;
    min-width: 0;
}

.dropdown-investor-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1e293b;
    margin-bottom: 0.125rem;
}

.dropdown-investor-wealth {
    font-size: 0.8125rem;
    color: #059669;
    font-weight: 500;
}

.dropdown-investor-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    flex-shrink: 0;
}

.dropdown-investor-item.active .dropdown-investor-check {
    opacity: 1;
    color: white;
    background: var(--investor-color, #3b82f6);
}

/* Tools Dropdown */
.tools-dropdown {
    min-width: 260px;
    padding: 0.5rem;
}

.dropdown-tool-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-radius: 0.5rem;
}

.dropdown-tool-item:hover {
    background: #f1f5f9;
}

.tool-icon {
    font-size: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.tool-info {
    flex: 1;
}

.tool-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
    margin-bottom: 0.125rem;
}

.tool-desc {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

/* About Dropdown */
.about-dropdown {
    min-width: 280px;
    padding: 1rem;
}

.about-content p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* About Links Dropdown */
.about-links-dropdown {
    min-width: 200px;
    padding: 0.5rem;
}

.dropdown-link {
    display: block;
    padding: 0.625rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.15s;
}

.dropdown-link:hover {
    background: #f1f5f9;
    color: #2563eb;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 99;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-content {
    padding: 1.5rem;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-lang-btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-lang-btn:hover {
    background: #e5e7eb;
}

.mobile-lang-btn.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #2563eb;
}

.mobile-nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.mobile-investor-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-investor-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.mobile-investor-item:hover {
    background: #f1f5f9;
}

.mobile-investor-item.active {
    background: #eff6ff;
    border-color: var(--investor-color, #3b82f6);
}

.mobile-investor-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-investor-item-info {
    flex: 1;
}

.mobile-investor-item-name {
    font-weight: 600;
    color: #1e293b;
}

.mobile-investor-item-wealth {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 500;
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-nav-btn:hover {
    background: #e2e8f0;
}

/* Mobile Nav Links */
.mobile-nav-links {
    margin-top: 1rem;
}

.mobile-nav-links .mobile-nav-label {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: #f1f5f9;
    color: #2563eb;
}

/* Investor Selector Section */
.investor-selector-section {
    background: #f8fafc;
    padding: 3rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.investor-selector-container {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.investor-selector-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.investor-selector-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.investor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.investor-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.investor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.investor-card.active {
    border-color: var(--investor-color, #3b82f6);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.investor-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid #e2e8f0;
    transition: border-color 0.3s;
}

.investor-card.active .investor-card-avatar {
    border-color: var(--investor-color, #3b82f6);
}

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

.investor-card-info {
    text-align: center;
}

.investor-card-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.investor-card-english {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.investor-card-style {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.investor-card-wealth {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    transition: background 0.5s ease;
}

.hero-container {
    max-width: 80rem;
    margin: 0 auto;
}

.hero-avatar {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    padding: 0.5rem;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 42rem;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* Balance Section */
.balance-section {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 4rem;
    z-index: 10;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.balance-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.balance-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.balance-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #059669, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.receipt-btn {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.receipt-btn:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* Balance Row */
.balance-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.balance-info {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.balance-info span:last-child {
    color: #1f2937;
    font-weight: 600;
}

/* Balance Stats */
.balance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
}

/* Progress Bar */
.balance-progress {
    margin-top: 0.75rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.75rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.progress-label {
    color: #475569;
    font-weight: 500;
}

.progress-bar-container {
    width: 100%;
    background: #e2e8f0;
    border-radius: 9999px;
    height: 0.625rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s ease;
    width: 0%;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

.progress-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
}

.progress-max {
    font-weight: 600;
    color: #64748b;
}

/* Container */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #e2e8f0;
}

.product-image-container {
    aspect-ratio: 1;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-price.low {
    color: #059669;
}

.product-price.medium {
    color: #2563eb;
}

.product-price.high {
    color: #7c3aed;
}

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

.product-quantity {
    flex: 1;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    min-width: 3rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

/* Buttons */
.btn {
    padding: 0.625rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.btn-buy {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-buy:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-buy:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-sell {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-sell:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-sell:active:not(:disabled) {
    transform: scale(0.98);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 42rem;
    max-height: 80vh;
    overflow: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

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

/* Advice Modal */
.advice-modal {
    max-width: 32rem;
    padding: 2.5rem 2rem;
    text-align: center;
}

.advice-avatar {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.advice-avatar-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avatar-circle {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.advice-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.advice-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    border-radius: 0.5rem;
    font-style: italic;
    text-align: left;
    transition: all 0.3s ease;
}

.advice-actions {
    display: flex;
    gap: 1rem;
}

.btn-cancel {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-confirm {
    flex: 1;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
}

.advice-modal .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.receipt-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
}

.receipt-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.receipt-content {
    padding: 1.5rem;
}

.receipt-list {
    margin-bottom: 1.5rem;
}

.receipt-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.receipt-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.receipt-item-image {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    border-radius: 0.375rem;
}

.receipt-item-details p {
    font-weight: 500;
}

.receipt-item-details span {
    font-size: 0.875rem;
    color: #6b7280;
}

.receipt-item-total {
    font-weight: 600;
}

.receipt-total {
    border-top: 2px solid #e5e7eb;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
}

.total-amount {
    color: #059669;
}

.receipt-empty {
    text-align: center;
    color: #9ca3af;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

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

    .investor-selector-section {
        padding: 2rem 1rem;
    }

    .investor-selector-title {
        font-size: 1.5rem;
    }

    .investor-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .investor-card {
        padding: 1rem 0.75rem;
    }

    .investor-card-avatar {
        width: 60px;
        height: 60px;
    }

    .investor-card-name {
        font-size: 0.875rem;
    }

    .investor-card-english {
        font-size: 0.625rem;
    }

    .investor-card-style {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
    }

    .investor-card-wealth {
        font-size: 0.875rem;
    }

    .balance-section {
        top: 4rem;
    }
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Calculator Section
   ======================================== */
.calculator-section {
    background: #f8fafc;
    padding: 4rem 1rem;
    border-top: 1px solid #e2e8f0;
}

.calculator-container {
    max-width: 80rem;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    margin-bottom: 2.5rem;
}

.section-title span {
    color: #2563eb;
}

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

.calc-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.calc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.calc-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.calc-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.calc-card p {
    color: #64748b;
    font-size: 0.9375rem;
}

.calc-card strong {
    color: #1e293b;
    font-weight: 700;
}

/* ========================================
   How This Game Works Section
   ======================================== */
.howto-section {
    background: white;
    padding: 4rem 1rem;
    border-top: 1px solid #e2e8f0;
}

.howto-container {
    max-width: 80rem;
    margin: 0 auto;
}

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

.howto-card {
    text-align: center;
    padding: 1.5rem;
}

.howto-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.howto-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.howto-card p {
    color: #64748b;
    line-height: 1.6;
}

/* ========================================
   About This Game Section
   ======================================== */
.about-section {
    background: #1e293b;
    color: white;
    padding: 4rem 1rem;
}

.about-container {
    max-width: 80rem;
    margin: 0 auto;
}

.about-section .section-title {
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.about-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-feature p {
    color: #cbd5e1;
    line-height: 1.7;
}

.about-feature strong {
    color: white;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 1rem 1.5rem;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

.footer-brand h2 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    line-height: 1.6;
}

.footer-links h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    padding: 0.375rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .calculator-section,
    .howto-section,
    .about-section {
        padding: 3rem 1rem;
    }

    .calc-card img,
    .howto-card img {
        width: 60px;
        height: 60px;
    }

    .about-image img {
        max-width: 200px;
    }
}
