/* =====================================================================
   Podbants 2026 look: sharp, bright and clean (website only; the iPhone app keeps app.css).
   Loaded LAST (after theme.css), so it only changes the look, never the layout or what pages do.
   Font: Inter. Colors: Podbants blue + yellow, brighter. Corners: crisp (10-16px), not bubbly.
   To go back to the previous look: remove the theme2026.css line in includes/header.php.
   ===================================================================== */
:root {
  --blue:       #1554f0;
  --blue-deep:  #0b1f4d;
  --blue-tint:  #eef3ff;
  --yellow:     #ffcc33;
  --yellow-dk:  #f5b800;
  --ink:        #0f1729;
  --muted:      #5b6478;
  --line:       #e5e9f2;
  --page:       #f5f7fb;
  --radius:     14px;
  --font-head:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-a:   0 1px 2px rgba(15,23,41,.06), 0 8px 24px rgba(15,23,41,.06);
  --shadow-b:   0 2px 4px rgba(15,23,41,.06), 0 16px 40px rgba(21,84,240,.12);
  --ring:       0 0 0 4px rgba(21,84,240,.18);
}

/* ---- Sharp text everywhere ---- */
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink); background: var(--page);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01"; letter-spacing: -0.006em; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.025em; }
h1 { font-weight: 800; letter-spacing: -0.035em; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
b, strong { font-weight: 700; }
::selection { background: #ffe58a; color: var(--ink); }
:focus-visible { outline: 0; box-shadow: var(--ring); border-radius: 8px; }
.money, .lb-prices b, .fb-post-price b, .bidp-price b, .hac-price b, .home-bid-prices b { font-variant-numeric: tabular-nums; }
main { background: var(--page); }

/* ---- Top strip: slim and dark ---- */
.topstrip { background: linear-gradient(90deg, var(--blue-deep), #14327c 60%, var(--blue-deep)); color: #e6edff;
  font: 600 .8rem/1 var(--font-body); letter-spacing: .02em; padding: .55rem 1rem; }

/* ---- Header: frosted glass, stays on top ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(15,23,41,.08); }
.logo-word { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.045em; }
.main-nav a:not(.btn) { font-weight: 600; font-size: .95rem; color: #2a3550; padding: .5rem .7rem; border-radius: 10px; transition: background .15s, color .15s; }
.main-nav a:not(.btn):hover { background: #eef2fa; color: var(--blue); text-decoration: none; }
.nav-menu-btn { border-radius: 10px; font-weight: 600; }
.nav-menu-panel { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-b); }

/* ---- Buttons: crisp with a soft shine ---- */
.btn { border-radius: 10px; font: 700 .97rem/1 var(--font-body); letter-spacing: -0.005em; padding: .85rem 1.25rem;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, filter .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-yellow { color: #1a1300; background: linear-gradient(180deg, #ffd95c 0%, var(--yellow) 55%, #f7bd12 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(120,80,0,.25), 0 6px 16px rgba(245,184,0,.28); }
.btn-yellow:hover { background: linear-gradient(180deg, #ffde70 0%, #ffd02e 55%, #f2b400 100%); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 4px rgba(120,80,0,.25), 0 10px 22px rgba(245,184,0,.32); }
.btn-blue, .fb-btn-blue, .chat-strip .btn { color: #fff; background: linear-gradient(180deg, #2f6bff 0%, var(--blue) 60%, #0f46d4 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(11,31,77,.3), 0 6px 16px rgba(21,84,240,.28); }
.btn-blue:hover, .fb-btn-blue:hover { background: linear-gradient(180deg, #3d76ff 0%, #1b5cff 60%, #0d40c4 100%); color: #fff; transform: translateY(-1px); }
.btn-outline { border-radius: 10px; border: 1px solid #cfd7e6; background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,41,.06); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-white { border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }

/* ---- Form fields ---- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"],
input[type="url"], input[type="datetime-local"], input[type="date"], select, textarea {
  border-radius: 10px; border: 1px solid #d4dbe8; background: #fff; font-family: var(--font-body); color: var(--ink);
  transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: 0 !important; border-color: var(--blue) !important; box-shadow: var(--ring); }
::placeholder { color: #8a93a7; }

/* ---- Page heads: clean white with a soft color glow ---- */
.hero, .mybids-head { color: var(--ink); border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 260px at 0% 0%, rgba(21,84,240,.10), transparent 60%),
              radial-gradient(700px 240px at 100% 0%, rgba(255,204,51,.16), transparent 60%), #fff; }
.hero h1, .mybids-head h1 { color: var(--ink); }
.mybids-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.hero-sub, .mybids-head p { color: var(--muted); }

/* ---- Section titles: no bubbles, a thin accent line ---- */
.section-head h2, .categories h2, .how-a h2 { color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.how-a h2::after, .home-a .section-head h2::after, .home-a .categories h2::after { height: 4px; width: 44px; background: linear-gradient(90deg, var(--blue), var(--yellow)); }

/* ---- Cards: white, hairline border, soft shadow ---- */
.tile, .seller-card, .comm-card, .home-bid a, .result-list, .lb-card a, .bidp-card, .bidp-about, .sr-products a, .product-card {
  border-radius: 14px; border: 1px solid var(--line) !important; background: #fff; box-shadow: var(--shadow-a); }
.tile:hover, .tile:focus-within, .seller-card:hover, .seller-card:focus-within, .lb-card a:hover, .home-bid a:hover, .product-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-b); border-color: #c8d5f5 !important; }
.tile-media { border-radius: 10px; }
.tile-badge { border-radius: 8px; font: 700 .76rem/1 var(--font-body); }
.categories { background: transparent; }
.notice { border-radius: 12px; background: #fffaf0; border: 1px solid #ffe3a3; color: #4a3a12; }
.pay-flash { border-radius: 12px; }

/* ---- Price drop bars ---- */
.bid-bar, .hac-bar, .fb-bar { background: #e8edf7; }
.bid-bar span, .hac-bar span { background: linear-gradient(90deg, var(--blue), #4f86ff); }

/* ---- Small labels ---- */
.pro-badge, .seller-live, .lb-drop, .pay-chip { border-radius: 6px; font-weight: 700; letter-spacing: .01em; }

/* ---- Strips and banners ---- */
.chat-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gotw { background: linear-gradient(120deg, var(--blue-deep), #16358a); }
.group-cta-box { border-radius: 18px; background: linear-gradient(120deg, var(--blue), #0f3fbf); box-shadow: var(--shadow-b); }

/* ---- Footer: deep navy, thin blue-to-yellow line ---- */
.site-footer { background: linear-gradient(180deg, #0b1f4d, #081638); color: #b9c6e6; padding: 2rem 0; }
.site-footer::before { height: 3px; background: linear-gradient(90deg, var(--blue), #6c9bff 45%, var(--yellow)); }
.site-footer a { color: #fff; font-weight: 600; opacity: .92; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---- Tables ---- */
.earn-table { border-collapse: separate; border-spacing: 0; }
.earn-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }

/* ---- Feed home: uses the new colors ---- */
.fb-home { --fb-bg: var(--page); --fb-hover: #edf1f9; --fb-r: 14px; --fb-shadow: var(--shadow-a); }
.fb-card { border: 1px solid var(--line); }
.fb-item { font-weight: 600; }
.fb-ico { background: #e9eefa; }
.fb-av { background: linear-gradient(135deg, #3d76ff, var(--blue) 45%, #0b2a8a); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.fb-post-title { font-weight: 800; letter-spacing: -0.025em; }
.fb-post-price b { font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.fb-story-av { background: var(--blue); }
.fb-how { background: linear-gradient(120deg, var(--blue), #0f3fbf 60%, var(--blue-deep)); border: 0; }
.fb-join { background: linear-gradient(140deg, #2f6bff, var(--blue) 40%, var(--blue-deep)); border: 0; }

/* ---- Thin scrollbars on computers ---- */
@media (hover: hover) {
  * { scrollbar-width: thin; scrollbar-color: #c3cce0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .tile, .seller-card, .lb-card a { transition: none !important; transform: none !important; }
}

/* ---- Page heads get room to breathe under the sticky header ---- */
.mybids-head { padding-block: 2.4rem 2rem; }
.mybids-head h1 { margin-bottom: .35rem; }

/* ---- Header fits on laptop screens: less important links move to the account menu / footer ---- */
@media (max-width: 1700px) {
  .main-nav > a[href="my_orders.php"], .main-nav > a.nav-school { display: none; }
}
@media (max-width: 1320px) {
  .main-nav > a[href="index.php#categories"], .main-nav > a[href="my_bids.php"] { display: none; }
  .main-nav a:not(.btn) { padding-inline: .5rem; }
}
.header-row { min-width: 0; }
.main-nav { min-width: 0; }
