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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    min-height: 100vh;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, #e63946 0%, #0f3460 50%, #3498db 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 3px solid #f4d03f;
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='14' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='2'/%3E%3Cline x1='16' y1='30' x2='44' y2='30' stroke='rgba(255,255,255,0.08)' stroke-width='2'/%3E%3Ccircle cx='30' cy='30' r='4' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.app-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-nav {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.nav-link.active {
    color: #1a1a2e;
    background: #f4d03f;
    border-color: #f4d03f;
}

/* Main */
.app-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Hero */
.chase-hero {
    text-align: center;
    padding: 2rem 1rem;
}

.chase-hero h2 {
    font-size: 1.8rem;
    color: #f4d03f;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Guide Controls / Filters */
.guide-controls {
    margin-bottom: 1.5rem;
    text-align: center;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(15, 52, 96, 0.6);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(52, 152, 219, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.6);
    color: #fff;
}

.filter-btn.active {
    background: #3498db;
    color: #fff;
    border-color: #3498db;
}

/* Difficulty Legend */
.difficulty-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.difficulty-legend-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-right: 0.25rem;
}

.difficulty-legend-item {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 5px;
    letter-spacing: 1px;
    cursor: help;
    position: relative;
}

.difficulty-legend-item.difficulty-generous {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.difficulty-legend-item.difficulty-moderate {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.4);
}

.difficulty-legend-item.difficulty-tough {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.4);
}

.difficulty-legend-item.difficulty-extreme {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.difficulty-legend-item.difficulty-brutal {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.4);
}

/* Tooltips for difficulty badges */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 40, 0.97);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.5;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: normal;
    width: 260px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(20, 20, 40, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 100;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Keep tooltips on-screen for legend edge items */
.difficulty-legend-item:nth-of-type(2)[data-tooltip]::after {
    left: 0;
    transform: translateX(0);
}

.difficulty-legend-item:last-child[data-tooltip]::after {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.difficulty-legend-item:nth-of-type(2)[data-tooltip]::before {
    left: 20px;
    transform: translateX(0);
}

.difficulty-legend-item:last-child[data-tooltip]::before {
    left: auto;
    right: 20px;
    transform: translateX(0);
}

/* Per-set difficulty badge tooltip */
.pull-rates-difficulty.has-tooltip::after {
    left: 0;
    transform: translateX(0);
}

.pull-rates-difficulty.has-tooltip::before {
    left: 20px;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .difficulty-legend {
        gap: 0.35rem;
    }

    .difficulty-legend-label {
        width: 100%;
        text-align: center;
        margin-bottom: 0.25rem;
    }

    [data-tooltip]::after {
        width: 200px;
        font-size: 0.7rem;
    }
}

/* Set Section */
.set-block {
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.4) 0%, rgba(26, 26, 46, 0.6) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.set-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(244, 208, 63, 0.3);
    flex-wrap: wrap;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}

.set-header:hover {
    opacity: 0.85;
}

.set-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
}

.set-chevron {
    font-size: 0.8rem;
    color: #f4d03f;
    transition: transform 0.3s ease;
    display: inline-block;
}

.set-block:not(.collapsed) .set-chevron {
    transform: rotate(90deg);
}

.set-header h3 {
    font-size: 1.3rem;
    color: #f4d03f;
}

.set-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.set-preview-chase {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.set-block:not(.collapsed) .set-preview-chase {
    display: none;
}

/* Collapsible grid wrapper */
.cards-grid-wrapper {
    overflow: hidden;
    max-height: 5000px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
    margin-top: 1.25rem;
}

.set-block.collapsed .cards-grid-wrapper {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.set-block.collapsed .set-header {
    border-bottom-color: transparent;
    padding-bottom: 0;
}

.set-badge {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.set-badge.special {
    background: rgba(244, 208, 63, 0.15);
    color: #f4d03f;
    border-color: rgba(244, 208, 63, 0.3);
}

.set-total-cards {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Pull Rates Section */
.pull-rates-section {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.5) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(52, 152, 219, 0.25);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pull-rates-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pull-rates-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pull-rates-difficulty {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pull-rates-difficulty.difficulty-generous {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.pull-rates-difficulty.difficulty-moderate {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.4);
}

.pull-rates-difficulty.difficulty-tough {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.4);
}

.pull-rates-difficulty.difficulty-extreme {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}

.pull-rates-difficulty.difficulty-brutal {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.4);
}

.pull-rates-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pull-rate-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pull-rate-bar-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    min-width: 110px;
    white-space: nowrap;
}

.pull-rate-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    min-width: 80px;
}

.pull-rate-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.pull-rate-bar-fill.difficulty-generous {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.pull-rate-bar-fill.difficulty-moderate {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.pull-rate-bar-fill.difficulty-tough {
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.pull-rate-bar-fill.difficulty-extreme {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.pull-rate-bar-fill.difficulty-brutal {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.pull-rate-bar-value {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    min-width: 90px;
    text-align: right;
    font-family: 'SF Mono', 'Monaco', 'Menlo', monospace;
}

.pull-rates-narrative {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.75rem;
}

.pull-rates-source {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

@media (max-width: 768px) {
    .pull-rates-section {
        padding: 1rem;
    }

    .pull-rate-bar-label {
        min-width: 80px;
        font-size: 0.7rem;
    }

    .pull-rate-bar-value {
        min-width: 70px;
        font-size: 0.65rem;
    }

    .pull-rates-narrative {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .pull-rate-bar-row {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .pull-rate-bar-label {
        min-width: unset;
        width: 100%;
    }

    .pull-rate-bar-track {
        min-width: 60px;
    }

    .pull-rate-bar-value {
        min-width: unset;
    }
}

/* Card Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}

/* Card Item */
.chase-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 12px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.chase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(244, 208, 63, 0.4);
}

.chase-card.rank-1 {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.chase-card.rank-2 {
    border-color: rgba(192, 192, 192, 0.4);
}

.chase-card.rank-3 {
    border-color: rgba(205, 127, 50, 0.4);
}

.card-rank {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: #f4d03f;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
}

.card-rank.top-3 {
    background: linear-gradient(135deg, #f4d03f, #e6a817);
    color: #1a1a2e;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 139.5%; /* Pokemon card aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: rgba(15, 52, 96, 0.3);
    z-index: 0;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.card-image-wrapper img.loading {
    opacity: 0;
}

.card-image-wrapper img.loaded {
    opacity: 1;
}

.card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    text-align: center;
    padding: 1rem;
}

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

.card-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-rarity {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.card-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4caf50;
}

.card-price.high-value {
    color: #f4d03f;
}

.card-price.ultra-value {
    color: #e63946;
    text-shadow: 0 0 8px rgba(230, 57, 70, 0.3);
}

/* Collected Toggle */
.collected-toggle {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
    line-height: 1;
}

.collected-toggle:hover {
    border-color: #4caf50;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.15);
    transform: scale(1.1);
}

.collected-toggle.active {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.collected-toggle.active:hover {
    background: #388e3c;
    border-color: #388e3c;
    transform: scale(1.1);
}

/* Collected Overlay */
.collected-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
}

.collected-overlay span {
    background: rgba(76, 175, 80, 0.85);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chase-card.collected .collected-overlay {
    opacity: 1;
}

.chase-card.collected {
    border-color: rgba(76, 175, 80, 0.4);
}

.chase-card.collected .card-image-wrapper img.loaded {
    opacity: 0.92;
}

/* Card Modal */
.card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.card-modal {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.card-modal img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card-modal-info {
    margin-top: 1rem;
    color: #fff;
}

.card-modal-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.card-modal-info .modal-rarity {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.card-modal-info .modal-price {
    color: #4caf50;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.card-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Promo Section */
.promo-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(244, 208, 63, 0.3);
}

.promo-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.promo-section-header h2 {
    font-size: 1.5rem;
    color: #f4d03f;
    margin-bottom: 0.4rem;
}

.promo-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.promo-block .set-header {
    border-left: 3px solid #f4d03f;
}

.set-badge.promo {
    background: rgba(244, 208, 63, 0.15);
    color: #f4d03f;
    border: 1px solid rgba(244, 208, 63, 0.3);
}

.promo-card .card-source {
    font-size: 0.7rem;
    color: rgba(244, 208, 63, 0.7);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-promos {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 2rem;
    font-style: italic;
}

/* Disclaimer */
.chase-disclaimer {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Footer */
.app-footer {
    text-align: center;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(52, 152, 219, 0.2);
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        justify-content: center;
    }

    .header-nav {
        margin-left: 0;
        justify-content: center;
    }

    .app-title {
        width: 100%;
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .set-block {
        padding: 1rem;
    }

    .set-header h3 {
        font-size: 1.1rem;
    }

    .chase-hero h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .card-name {
        font-size: 0.7rem;
    }

    .card-price {
        font-size: 0.7rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
}
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .header-nav { display: none; width: 100%; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
    .header-nav.active { display: flex; }
    .nav-link { text-align: center; padding: 0.75rem 1rem; font-size: 1rem; }
    .header-content { flex-wrap: wrap; }
    .app-title { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .app-header { padding: 1rem; }
    .app-title { font-size: 1.2rem; }
    .nav-link { font-size: 0.9rem; padding: 0.6rem 0.75rem; }
}
