/* =====================================================
   albumo.world – Mobile-First Design System
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Bebas+Neue&display=swap');

:root {
    --navy:      #002395;
    --navy-mid:  #001a6e;
    --green:     #009c3b;
    --green-dk:  #007a2e;
    --red:       #e30613;
    --gold:      #f5a623;
    --white:     #ffffff;
    --gray-50:   #f8fafc;
    --gray-100:  #f1f5f9;
    --gray-200:  #e2e8f0;
    --gray-400:  #94a3b8;
    --gray-600:  #475569;
    --gray-900:  #0f172a;
    --radius:    14px;
    --radius-sm: 8px;
    --shadow:    0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    min-height: 100vh;
    padding-bottom: 72px; /* space for bottom nav on mobile */
}

/* ── LAYOUT ─────────────────────────────── */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.main-content { flex: 1; }

/* ── HEADER ─────────────────────────────── */
.site-header {
    background: var(--navy);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 16px;
    height: 60px;
    display: flex; align-items: center; gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; object-fit: contain; }

/* Desktop nav */
.desktop-nav { display: none; flex: 1; gap: 4px; }
.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px; font-weight: 700;
    padding: 7px 12px; border-radius: var(--radius-sm);
    transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.12); }

.desktop-actions { display: none; align-items: center; gap: 8px; margin-left: auto; }

/* Hamburger */
.hamburger {
    margin-left: auto;
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; justify-content: center;
    gap: 5px; padding: 8px; border-radius: var(--radius-sm);
}
.ham-line {
    display: block; width: 24px; height: 2.5px;
    background: white; border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile drawer */
.mobile-drawer {
    background: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0 16px;
    display: flex; flex-direction: column;
}
.mobile-user {
    color: rgba(255,255,255,0.6);
    font-size: 13px; font-weight: 600;
    padding: 10px 20px 6px;
}
.mobile-nav-link {
    color: white; text-decoration: none;
    font-size: 16px; font-weight: 700;
    padding: 14px 20px;
    display: block;
    background: none; border: none; text-align: left; cursor: pointer;
    font-family: inherit; width: 100%;
    transition: background 0.15s;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.08); }
.mobile-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 8px 0; }
.mobile-register { color: var(--gold); }
.mobile-logout   { color: rgba(255,255,255,0.6); }

/* ── BOTTOM NAV (mobile only) ────────────── */
.bottom-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--navy);
    border-top: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
}
.bn-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-decoration: none; color: rgba(255,255,255,0.65);
    gap: 2px; transition: color 0.2s;
    padding: 6px 0;
}
.bn-item:hover, .bn-item:active { color: white; }
.bn-icon  { font-size: 22px; line-height: 1; }
.bn-label { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; }

/* ── BUTTONS ────────────────────────────── */
.btn-primary, .btn-outline, a.btn-primary, a.btn-outline {
    padding: 9px 20px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 700; font-family: 'Nunito', sans-serif;
    cursor: pointer; text-decoration: none;
    transition: all 0.2s; border: 2px solid transparent;
    display: inline-flex; align-items: center;
}
.btn-primary, a.btn-primary {
    background: var(--green); color: white; border-color: var(--green);
}
.btn-primary:hover, a.btn-primary:hover { background: var(--green-dk); }
.btn-outline, a.btn-outline {
    background: transparent; color: white; border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: white; }
.user-badge { font-size: 13px; color: var(--gold); font-weight: 700; }

/* ── HERO ───────────────────────────────── */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--navy) 0%, #001a6e 60%, #002a8f 100%);
    padding: 48px 20px 56px;
    text-align: center;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,156,59,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(227,6,19,0.1)  0%, transparent 50%);
    pointer-events: none;
}
.hero-content { position: relative; max-width: 600px; margin: 0 auto; }
.hero-logo {
    width: min(260px, 70vw);
    height: auto; margin-bottom: 20px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.hero-tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(13px, 3vw, 16px);
    letter-spacing: 4px; color: var(--gold);
    margin-bottom: 14px;
}
.hero-subtitle {
    font-size: clamp(14px, 3.5vw, 17px); line-height: 1.6;
    color: rgba(255,255,255,0.75); margin-bottom: 28px;
}
.hero-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn-hero-primary {
    background: var(--green); color: white;
    padding: 14px 28px; border-radius: var(--radius-sm);
    font-size: clamp(14px, 3.5vw, 16px); font-weight: 800; font-family: 'Nunito', sans-serif;
    text-decoration: none; transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0,156,59,0.4);
}
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-secondary {
    background: transparent; color: white;
    padding: 14px 28px; border-radius: var(--radius-sm);
    font-size: clamp(14px, 3.5vw, 16px); font-weight: 800; font-family: 'Nunito', sans-serif;
    text-decoration: none; border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.2s;
}
.btn-hero-secondary:hover { border-color: white; }

/* ── FEATURES ───────────────────────────── */
.features-section { padding: 48px 16px; background: white; }
.container { max-width: 1100px; margin: 0 auto; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.feature-card {
    padding: 24px 20px; background: var(--gray-50);
    border-radius: var(--radius); border: 2px solid var(--gray-200);
    transition: all 0.25s;
}
.feature-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature-icon { font-size: 36px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ── TEAMS SCROLL BANNER ─────────────────── */
.teams-banner { background: var(--navy); padding: 16px 0; overflow: hidden; }
.teams-scroll {
    display: flex; gap: 10px;
    animation: scrollTeams 35s linear infinite;
    white-space: nowrap; width: max-content;
}
.team-pill {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
    padding: 6px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
}
@keyframes scrollTeams {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── PAGE HEADER ────────────────────────── */
.page-header {
    background: var(--navy); padding: 28px 16px 24px;
    text-align: center; border-bottom: 3px solid var(--green);
}
.page-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(32px, 8vw, 48px); letter-spacing: 3px;
    color: white; margin-bottom: 6px;
}
.page-header p { color: rgba(255,255,255,0.65); font-size: 14px; }

/* ── AUTH PAGES ──────────────────────────── */
.auth-page {
    min-height: 80vh; display: flex;
    align-items: center; justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(160deg, var(--navy) 0%, #001a6e 100%);
}
.auth-card {
    background: white; border-radius: 20px;
    padding: 32px 24px; width: 100%; max-width: 420px;
    box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 24px; }
.auth-logo { width: 120px; height: auto; margin-bottom: 16px; }
.auth-header h1 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.auth-header p  { color: var(--gray-600); font-size: 14px; }
.auth-form  { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.auth-footer { text-align: center; font-size: 14px; color: var(--gray-600); }
.auth-footer a { color: var(--navy); font-weight: 700; text-decoration: none; }

/* ── FORM ELEMENTS ───────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--gray-900); }
.form-input {
    padding: 12px 14px; border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    font-size: 16px; font-family: 'Nunito', sans-serif; /* 16px prevents iOS zoom */
    transition: border-color 0.2s; width: 100%; background: white;
    -webkit-appearance: none;
}
.form-input:focus { outline: none; border-color: var(--navy); }
textarea.form-input { resize: vertical; min-height: 70px; }
.btn-auth {
    background: var(--navy); color: white;
    padding: 14px; border-radius: var(--radius-sm);
    font-size: 16px; font-weight: 800; font-family: 'Nunito', sans-serif;
    cursor: pointer; border: none; transition: all 0.2s; width: 100%;
}
.btn-auth:hover:not(:disabled) { background: var(--navy-mid); }
.btn-auth:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── ALERTS ──────────────────────────────── */
.alert {
    padding: 12px 14px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; margin-bottom: 14px;
}
.alert-error   { background: #fee2e2; color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }

/* ── COLLECTION STATS ────────────────────── */
.collection-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; padding: 16px;
    max-width: 1200px; margin: 0 auto;
}
.stat-card {
    background: white; border-radius: var(--radius);
    padding: 14px 10px; text-align: center;
    border: 2px solid var(--gray-200); box-shadow: var(--shadow);
}
.stat-card.stat-trade  { border-color: var(--navy); }
.stat-card.stat-wanted { border-color: var(--red); }
.stat-card.stat-pct    { border-color: var(--gold); }
.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 6vw, 40px);
    color: var(--gray-900); line-height: 1;
}
.stat-trade  .stat-number { color: var(--navy); }
.stat-wanted .stat-number { color: var(--red); }
.stat-pct    .stat-number { color: #92400e; }
.stat-label { font-size: 10px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }

/* ── TOOLBAR ─────────────────────────────── */
.toolbar {
    max-width: 1200px; margin: 0 auto;
    padding: 12px 16px;
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.search-input {
    flex: 1; min-width: 180px;
    padding: 10px 14px; border-radius: 24px;
    border: 2px solid var(--gray-200);
    font-size: 14px; font-family: 'Nunito', sans-serif;
    -webkit-appearance: none;
}
.search-input:focus { outline: none; border-color: var(--navy); }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
    padding: 7px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
    border: 2px solid var(--gray-200);
    background: white; cursor: pointer;
    transition: all 0.2s; font-family: 'Nunito', sans-serif; color: var(--gray-600);
}
.tab.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ── LEGEND ──────────────────────────────── */
.card-legend {
    max-width: 1200px; margin: 0 auto;
    padding: 8px 16px;
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    background: white; border-bottom: 1px solid var(--gray-200);
    font-size: 12px; color: var(--gray-600);
}
.legend-item { display: flex; align-items: center; gap: 4px; font-weight: 600; }
.leg {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 5px;
    font-size: 11px; font-weight: 800;
}
.leg-add    { background: #dcfce7; color: #166534; }
.leg-trade  { background: #dbeafe; color: #1e40af; }
.leg-want   { background: #fee2e2; }
.leg-remove { background: #fee2e2; color: #991b1b; }

/* ── STICKER GROUP ───────────────────────── */
.sticker-group { max-width: 1200px; margin: 0 auto; padding: 0 16px 24px; }
.group-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px; margin-top: 20px;
}
.group-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px; letter-spacing: 2px; color: var(--navy);
    border-bottom: 3px solid var(--green); padding-bottom: 2px;
    display: inline-block;
}
.group-progress {
    font-size: 12px; font-weight: 800; color: var(--green);
    background: #dcfce7; padding: 3px 10px; border-radius: 12px;
    border: 1px solid var(--green);
}

/* ── PANINI STICKER CARDS ────────────────── */
.sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.panini-card {
    position: relative;
    border-radius: 8px; overflow: hidden;
    background: white;
    border: 2px solid var(--gray-200);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.panini-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }

.panini-card.owned   { border-color: var(--team-color, var(--navy)); }
.panini-card.missing { filter: grayscale(55%); opacity: 0.72; }
.panini-card.missing:hover { filter: none; opacity: 1; }

.panini-card.shiny { border-color: var(--gold); }
.panini-card.shiny.owned {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #fffbeb 70%, #fef9c3 100%);
    background-size: 200% 200%;
    animation: foilShimmer 3s linear infinite;
}
@keyframes foilShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-top {
    background: var(--team-color, var(--navy)); color: white;
    padding: 3px 5px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 9px; font-weight: 800; flex-shrink: 0;
}
.card-num { font-family: 'Bebas Neue', sans-serif; font-size: 11px; }
.foil-badge { font-size: 7px; background: var(--gold); color: #000; padding: 1px 4px; border-radius: 3px; font-weight: 800; }

.card-face {
    flex: 1; min-height: 58px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--team-color, var(--navy)) 0%, rgba(255,255,255,0) 100%);
    padding: 6px 4px; position: relative;
}
.card-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 900;
    color: var(--team-color, var(--navy));
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}
.card-flag { position: absolute; top: 3px; right: 4px; font-size: 13px; }

.card-info {
    background: white; padding: 3px 5px; flex-shrink: 0;
}
.card-name {
    font-size: 8px; font-weight: 800;
    color: var(--gray-900); line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-team { font-size: 7px; color: var(--gray-400); font-weight: 600; }

.dup-badge {
    position: absolute; top: 22px; left: 3px;
    background: var(--green); color: white;
    font-size: 7px; font-weight: 900;
    padding: 1px 4px; border-radius: 6px;
}

/* Permanent action buttons */
.card-actions {
    display: flex; justify-content: center; gap: 3px;
    padding: 3px 3px;
    background: rgba(255,255,255,0.97);
    border-top: 1px solid var(--gray-200); flex-shrink: 0;
}
.ca-btn {
    flex: 1; height: 24px;
    border-radius: 5px; border: none;
    font-size: 12px; font-weight: 800; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s; font-family: 'Nunito', sans-serif;
    -webkit-tap-highlight-color: transparent;
}
.ca-btn:active { transform: scale(0.92); }
.ca-add       { background: #dcfce7; color: #166534; font-size: 16px; }
.ca-remove    { background: #fee2e2; color: #991b1b; font-size: 16px; }
.ca-trade-off { background: #dbeafe; color: #1e40af; }
.ca-trade-on  { background: var(--navy); color: white; }
.ca-want-off  { background: var(--gray-100); color: var(--gray-400); }
.ca-want-on   { background: #fee2e2; color: var(--red); }

/* ── MARKET OFFERS ───────────────────────── */
.offers-grid {
    max-width: 1200px; margin: 0 auto; padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.offer-card {
    background: white; border-radius: var(--radius);
    padding: 16px; border: 2px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 12px;
    transition: all 0.2s;
}
.offer-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.offer-sticker { display: flex; align-items: center; gap: 10px; }
.offer-flag { font-size: 32px; }
.offer-sticker-info { flex: 1; }
.offer-number { font-family: 'Bebas Neue', sans-serif; font-size: 16px; color: var(--gray-400); display: block; }
.offer-name   { font-weight: 800; font-size: 14px; display: block; }
.offer-team   { font-size: 11px; color: var(--gray-400); display: block; }
.shiny-tag    { font-size: 10px; background: #fef3c7; color: #92400e; padding: 1px 6px; border-radius: 8px; font-weight: 700; }
.offer-qty    { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: var(--green); background: #dcfce7; padding: 3px 8px; border-radius: 8px; }
.offer-user   { display: flex; flex-direction: column; gap: 3px; }
.offer-user-name { font-weight: 700; font-size: 13px; }
.offer-city   { font-size: 12px; color: var(--gray-400); }
.btn-request {
    background: var(--navy); color: white;
    padding: 10px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 800; cursor: pointer; border: none;
    font-family: 'Nunito', sans-serif; transition: background 0.2s; width: 100%;
}
.btn-request:hover { background: var(--navy-mid); }
.own-offer-badge { text-align: center; font-size: 12px; color: var(--gray-400); }

/* ── MODAL ───────────────────────────────── */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 300;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 0;
}
.modal {
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    background: var(--navy); color: white;
    padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 20px 20px 0 0;
    position: sticky; top: 0;
}
.modal-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 2px; }
.modal-close { background: none; border: none; color: white; font-size: 20px; cursor: pointer; padding: 4px; }
.modal-body  { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.trade-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trade-side  { flex: 1; min-width: 120px; }
.trade-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 6px; }
.trade-sticker { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; display: flex; flex-direction: column; gap: 3px; }
.trade-sticker.receive { background: #dcfce7; border: 2px solid var(--green); }
.trade-from  { font-size: 11px; color: var(--gray-400); margin-top: 3px; }
.trade-arrow { font-size: 24px; color: var(--gray-400); }
.no-stickers { font-size: 13px; color: var(--gray-400); line-height: 1.5; }
.no-stickers a { color: var(--navy); font-weight: 700; }

/* ── MATCHES ─────────────────────────────── */
.matches-header {
    max-width: 1200px; margin: 0 auto; padding: 14px 16px 0;
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.match-count  { font-size: 13px; color: var(--gray-600); }
.perfect-count{ font-size: 13px; font-weight: 800; color: #92400e; }
.matches-grid {
    max-width: 1200px; margin: 0 auto; padding: 14px 16px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px;
}
.match-card {
    background: white; border: 2px solid var(--gray-200);
    border-radius: var(--radius); padding: 16px;
    box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: relative;
}
.match-card.perfect { border-color: var(--gold); background: #fffbeb; }
.perfect-badge {
    position: absolute; top: -1px; right: 14px;
    background: var(--gold); color: #000;
    font-size: 10px; font-weight: 800;
    padding: 3px 10px; border-radius: 0 0 8px 8px;
}
.match-user      { display: flex; align-items: center; gap: 10px; }
.match-user-icon { font-size: 26px; }
.match-user-name { font-weight: 800; font-size: 15px; }
.match-city      { font-size: 12px; color: var(--gray-400); }
.match-details   { display: flex; flex-direction: column; gap: 8px; }
.match-label     { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 4px; }
.match-sticker   { font-size: 13px; padding: 7px 10px; background: var(--gray-50); border-radius: var(--radius-sm); display: flex; align-items: center; gap: 5px; }
.match-sticker.highlight { background: #dcfce7; color: var(--green-dk); font-weight: 700; }
.match-more      { font-size: 11px; color: var(--gray-400); }

/* ── TRADE OFFERS ────────────────────────── */
.offers-tabs {
    max-width: 900px; margin: 0 auto;
    padding: 14px 16px 0; display: flex; gap: 8px;
}
.trade-list {
    max-width: 900px; margin: 0 auto;
    padding: 14px 16px; display: flex; flex-direction: column; gap: 14px;
}
.trade-item {
    background: white; border-radius: var(--radius);
    padding: 16px; border: 2px solid var(--gray-200); box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 10px; position: relative;
}
.trade-item.resolved { opacity: 0.65; }
.trade-status-badge {
    display: inline-block; font-size: 11px; font-weight: 800;
    padding: 3px 10px; border-radius: 10px; width: fit-content;
}
.status-pending  { background: #fef3c7; color: #92400e; }
.status-accepted { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.status-cancelled{ background: var(--gray-200); color: var(--gray-600); }
.trade-parties   { font-size: 13px; color: var(--gray-600); }
.trade-parties strong { color: var(--gray-900); }
.trade-stickers  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trade-give, .trade-want { flex: 1; min-width: 150px; }
.trade-dir       { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 5px; }
.trade-sticker-pill {
    padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 5px;
}
.trade-sticker-pill.give { background: #dcfce7; border: 2px solid var(--green); }
.trade-sticker-pill.want { background: #dbeafe; border: 2px solid #3b82f6; }
.trade-arrow-v   { font-size: 22px; color: var(--gray-400); }
.trade-message   { font-size: 12px; color: var(--gray-600); font-style: italic; }
.trade-date      { font-size: 11px; color: var(--gray-400); }
.trade-actions   { display: flex; gap: 8px; }
.btn-accept, .btn-reject, .btn-cancel {
    flex: 1; padding: 9px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 800;
    cursor: pointer; border: none; font-family: 'Nunito', sans-serif; transition: all 0.2s;
}
.btn-accept { background: var(--green); color: white; }
.btn-reject { background: var(--red); color: white; }
.btn-cancel { background: var(--gray-200); color: var(--gray-600); }

/* ── EMPTY STATE ─────────────────────────── */
.empty-state {
    text-align: center; padding: 60px 20px;
    max-width: 340px; margin: 0 auto;
}
.empty-icon  { font-size: 56px; margin-bottom: 14px; }
.empty-state h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.empty-state p  { color: var(--gray-600); margin-bottom: 20px; line-height: 1.6; font-size: 14px; }

/* ── TOAST ───────────────────────────────── */
.toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
    z-index: 400; padding: 12px 24px; border-radius: 24px;
    font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease; white-space: nowrap;
}
.toast.success { background: #166534; color: white; }
.toast.info    { background: var(--navy); color: white; }
.toast.error   { background: #991b1b; color: white; }
@keyframes toastIn {
    from { transform: translateX(-50%) translateY(20px); opacity: 0; }
    to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ── LOADING ─────────────────────────────── */
.loading { text-align: center; padding: 48px; font-size: 15px; color: var(--gray-400); }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
    background: var(--navy); color: rgba(255,255,255,0.5);
    text-align: center; padding: 24px 16px 80px; /* 80px = space for bottom nav */
    font-size: 12px; margin-top: auto;
}
.footer-logo { height: 40px; width: auto; opacity: 0.7; margin-bottom: 8px; display: block; margin: 0 auto 8px; }

/* ── DESKTOP (≥ 768px) ───────────────────── */
@media (min-width: 768px) {
    body { padding-bottom: 0; }

    .site-footer { padding-bottom: 24px; }

    .desktop-nav     { display: flex; }
    .desktop-actions { display: flex; }
    .hamburger       { display: none; }
    .bottom-nav      { display: none; }

    .modal-backdrop { align-items: center; padding: 24px; }
    .modal { border-radius: 20px; }
    .modal-header { border-radius: 20px 20px 0 0; }

    .collection-stats {
        grid-template-columns: repeat(5, 1fr);
    }

    .sticker-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .toast { bottom: 24px; }
}

@media (min-width: 1024px) {
    .sticker-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}

/* ── HERO HEADLINE ───────────────────────────────────────────────── */
.hero-headline {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(24px, 6vw, 44px);
    font-weight: 900; color: white;
    line-height: 1.15; margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.headline-accent {
    color: var(--gold);
    position: relative;
}
.hero-sub {
    font-size: clamp(14px, 3.5vw, 17px);
    color: rgba(255,255,255,0.75);
    line-height: 1.6; margin-bottom: 28px;
    max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero-fine {
    margin-top: 12px;
    font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.5px;
}

/* ── VALUE STRIP ─────────────────────────────────────────────────── */
.value-strip {
    background: var(--navy-mid);
    padding: 0; display: flex; flex-direction: column;
}
.value-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.85);
    font-size: 14px; line-height: 1.5;
}
.value-icon { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.value-item strong { color: white; }

/* ── HOW IT WORKS ────────────────────────────────────────────────── */
.how-section { padding: 56px 16px; background: var(--gray-50); }
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 6vw, 40px); letter-spacing: 2px;
    color: var(--navy); text-align: center; margin-bottom: 8px;
}
.section-sub {
    text-align: center; color: var(--gray-600);
    font-size: 15px; margin-bottom: 36px; line-height: 1.6;
    max-width: 520px; margin-left: auto; margin-right: auto;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; max-width: 860px; margin: 0 auto;
}
.step-card {
    background: white; border-radius: var(--radius);
    padding: 28px 22px; text-align: center;
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--navy); }
.step-num {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--navy); color: white;
    width: 28px; height: 28px; border-radius: 50%;
    font-size: 13px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 40px; margin: 8px 0 14px; }
.step-card h3 { font-size: 16px; font-weight: 900; margin-bottom: 10px; color: var(--navy); }
.step-card p  { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* ── PRICING ─────────────────────────────────────────────────────── */
.pricing-section {
    padding: 56px 16px 48px;
    background: white;
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px; max-width: 780px; margin: 0 auto 24px;
}
.pricing-card {
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 2px solid var(--gray-200);
    display: flex; flex-direction: column; gap: 16px;
    position: relative; overflow: hidden;
    background: var(--gray-50);
}
.pricing-card-premium {
    background: linear-gradient(160deg, var(--navy) 0%, #001a6e 100%);
    border-color: var(--gold);
    box-shadow: 0 8px 32px rgba(0,35,149,0.25);
    color: white;
}
.pricing-badge {
    display: inline-block; font-size: 13px; font-weight: 900;
    padding: 4px 14px; border-radius: 20px; width: fit-content;
    letter-spacing: 0.5px;
}
.free-badge    { background: var(--gray-200); color: var(--gray-600); }
.premium-badge { background: var(--gold); color: var(--navy); }
.pricing-price { display: flex; align-items: baseline; gap: 6px; }
.price-amount  {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px; line-height: 1;
    color: var(--navy);
}
.pricing-card-premium .price-amount { color: var(--gold); }
.price-period  { font-size: 15px; font-weight: 700; color: var(--gray-400); }
.pricing-card-premium .price-period { color: rgba(255,255,255,0.55); }
.pricing-tagline { font-size: 15px; font-weight: 700; color: var(--gray-600); margin-top: -8px; }
.pricing-card-premium .pricing-tagline { color: rgba(255,255,255,0.8); }
.pricing-features {
    list-style: none; display: flex; flex-direction: column; gap: 8px;
    font-size: 14px; line-height: 1.4;
}
.pricing-features li { display: flex; align-items: flex-start; gap: 6px; }
.pricing-features li.muted { color: var(--gray-400); }
.pricing-card-premium .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-card-premium .pricing-features li.muted { color: rgba(255,255,255,0.3); }
.pricing-btn-free {
    display: block; text-align: center; text-decoration: none;
    padding: 13px; border-radius: var(--radius-sm);
    background: white; color: var(--navy);
    font-size: 15px; font-weight: 800;
    border: 2px solid var(--navy);
    transition: all 0.2s; margin-top: auto;
}
.pricing-btn-free:hover { background: var(--navy); color: white; }
.pricing-btn-premium {
    display: block; text-align: center; text-decoration: none;
    padding: 15px; border-radius: var(--radius-sm);
    background: var(--gold); color: var(--navy);
    font-size: 16px; font-weight: 900;
    transition: all 0.2s; margin-top: auto;
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
    letter-spacing: 0.3px;
}
.pricing-btn-premium:hover { background: #f0a020; transform: translateY(-1px); }
.pricing-current {
    text-align: center; font-size: 14px; font-weight: 700;
    color: var(--gray-400); padding: 12px;
    background: var(--gray-100); border-radius: var(--radius-sm);
}
.pricing-hint {
    text-align: center; font-size: 12px;
    color: rgba(255,255,255,0.45); margin-top: -8px;
}
.pricing-compare {
    display: flex; align-items: flex-start; gap: 10px;
    background: #fffbeb; border: 1px solid #fde68a;
    border-radius: var(--radius); padding: 14px 18px;
    font-size: 14px; color: #92400e; line-height: 1.5;
    max-width: 780px; margin: 0 auto;
}

/* Desktop: 2-col pricing */
@media (min-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .value-strip  { flex-direction: row; }
    .value-item   { flex: 1; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.07); }
    .value-item:last-child { border-right: none; }
}
