/* ===== Homepage: "Pit Lane" design (dark, high energy) =====
   Loaded only by index.php. Every class starts with .pa- so nothing here
   touches the rest of the site. */

body.home-pa { background: #0a0a0a; }
.pa { --pa-accent: #8b2fc9; --pa-accent-lt: #c9a0f2; --pa-hi: #32e0f4; --pa-ink: #f2f2f5; --pa-mute: #b9b9c3; --pa-card: #141418; --pa-line: #24242b;
      background: #0a0a0a; color: var(--pa-ink); font-family: 'Barlow', 'Segoe UI', system-ui, sans-serif; }
.pa a { color: var(--pa-accent-lt); }
.pa a:hover { color: #fff; }
.pa-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.pa-display { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.5px; }
.pa-h2 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: 0.9; margin: 0; color: #fff; }
.pa-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 1.5px; font-size: 18px; color: var(--pa-hi); }
.pa-section { padding: 48px 0; }
.pa-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.pa-head p { margin: 0; max-width: 400px; color: var(--pa-mute); font-size: 17px; line-height: 1.5; }
.pa-head a { font-weight: 700; font-size: 16px; }

.pa-btn { display: inline-flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: 0.6px; padding: 15px 28px; border-radius: 10px; text-decoration: none; line-height: 1; border: 2px solid transparent; transition: transform 0.15s, background 0.15s; }
.pa-btn:hover { transform: translateY(-2px); }
.pa .pa-btn-primary { background: var(--pa-accent); color: #fff; }
.pa .pa-btn-primary:hover { background: #9d3fdd; color: #fff; }
.pa .pa-btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); }
.pa .pa-btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.pa .pa-btn-light { background: #fff; color: #0a0a0a; }
.pa .pa-btn-light:hover { color: #0a0a0a; }
.pa .pa-btn-dark { background: #0a0a0a; color: #fff; }
.pa .pa-btn-dark:hover { color: #fff; }
.pa-btn svg { width: 20px; height: 20px; }

/* Announcement bar */
.pa-announce { background: #8b2fc9; color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; font-family: 'Barlow', sans-serif; }

/* Hero slider (slides come from admin > Homepage) */
.pa-hero { position: relative; min-height: 640px; overflow: hidden; background: #0a0a0a; }
.pa-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s, visibility 0.7s; display: flex; align-items: flex-end; }
.pa-slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: 640px; }
.pa-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.pa-slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.55) 50%, #0a0a0a 100%); }
.pa-slide-body { position: relative; width: 100%; padding: 0 0 80px; }
.pa-badge { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 1.5px; font-size: 17px; color: #0a0a0a; background: var(--pa-hi); padding: 6px 14px; transform: skewX(-8deg); }
.pa-slide h1, .pa-slide .pa-slide-title { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(56px, 9.5vw, 148px); line-height: 0.86; letter-spacing: -1px; margin: 18px 0 16px; color: #fff; }
.pa-slide h1 span, .pa-slide .pa-slide-title span { display: block; color: var(--pa-hi); font-size: 0.5em; line-height: 1; margin-top: 10px; letter-spacing: 0; }
.pa-slide p { max-width: 560px; font-size: 20px; line-height: 1.5; color: #d9d9e0; margin: 0 0 28px; }
.pa-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
/* product slides: text left, product right on a glow */
.pa-slide-split { align-items: center; }
.pa-split-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; padding: 60px 0 80px; }
.pa-split-grid > div { flex: 1 1 420px; }
.pa-split-visual { position: relative; display: flex; justify-content: center; }
.pa-split-visual::before { content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; top: 8%; background: radial-gradient(circle, rgba(139,47,201,0.55), rgba(50,224,244,0.15) 55%, transparent 70%); }
.pa-split-visual img { position: relative; width: 100%; max-width: 480px; height: auto; }
.pa-dots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.pa-dots button { width: 44px; height: 44px; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pa-dots button::before { content: ''; width: 28px; height: 5px; border-radius: 5px; background: rgba(255,255,255,0.35); transition: background 0.2s, width 0.2s; }
.pa-dots button.is-active::before { background: var(--pa-hi); width: 44px; }

/* Ticker band (items from admin > Homepage) */
.pa-ticker { background: var(--pa-hi); color: #0a0a0a; overflow: hidden; white-space: nowrap; padding: 12px 0; }
.pa-ticker-inner { display: inline-flex; animation: pa-scroll 40s linear infinite; }
.pa-ticker span { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; letter-spacing: 1px; padding: 0 18px; }
.pa-ticker span::after { content: '\2605'; margin-left: 36px; font-style: normal; }
@keyframes pa-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pa-ticker-inner { animation: none; } .pa-slide { transition: none; } }

/* Choose your bike */
.pa-bikes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.pa .pa-bike { display: block; text-decoration: none; color: #fff; background: var(--pa-card); border: 1px solid var(--pa-line); border-radius: 16px; padding: 12px; transition: transform 0.15s, border-color 0.15s; }
.pa .pa-bike:hover { transform: translateY(-4px); border-color: var(--pa-accent); color: #fff; }
.pa-bike-img { background: #fff; border-radius: 10px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pa-bike-img img { width: 92%; height: 92%; object-fit: contain; }
.pa-bike-name { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 4px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; }
.pa-bike-name svg { width: 22px; height: 22px; color: var(--pa-accent-lt); }

/* New drop feature */
.pa-feature { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; background: #121216; border: 1px solid var(--pa-line); border-radius: 24px; padding: 40px; overflow: hidden; }
.pa-feature > div { flex: 1 1 380px; }
.pa-feature-visual { position: relative; display: flex; justify-content: center; }
.pa-feature-visual::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; top: 8%; background: radial-gradient(circle, rgba(139,47,201,0.55), rgba(50,224,244,0.15) 55%, transparent 70%); }
.pa-feature-visual img { position: relative; width: 100%; max-width: 460px; height: auto; }
.pa-feature h2 { margin: 10px 0 18px; font-size: clamp(36px, 4.4vw, 62px); line-height: 0.95; }
.pa-feature p { font-size: 18px; line-height: 1.6; color: #c9c9d2; margin: 0 0 22px; max-width: 460px; }
.pa-price { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 44px; color: #fff; margin-bottom: 24px; }

/* Product cards */
.pa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pa-card { background: var(--pa-card); border: 1px solid var(--pa-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s; }
.pa-card:hover { border-color: var(--pa-accent); transform: translateY(-3px); }
.pa .pa-card > a { color: #fff; text-decoration: none; display: flex; flex-direction: column; flex: 1; }
/* Light studio backdrop: most product images are transparent PNGs of black decals, which disappeared on the old dark tile. */
.pa-card-img { background: radial-gradient(ellipse 75% 70% at 50% 42%, #f4f3f8 0%, #dedce6 55%, #c4c1cf 100%); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; }
.pa-card-img img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(20, 10, 40, 0.35)); }
.pa-tag { position: absolute; top: 12px; left: 12px; background: var(--pa-hi); color: #0a0a0a; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 14px; padding: 4px 10px; border-radius: 6px; }
.pa-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pa-card-body h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.35; color: #fff; }
.pa-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.pa-card-price { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 28px; }
.pa-card-cta { height: 44px; padding: 0 16px; border-radius: 10px; background: var(--pa-accent); color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; }

/* Design Studio band */
.pa-studio { background: var(--pa-accent); border-radius: 24px; padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.pa-studio > div { flex: 1 1 420px; }
.pa-studio h2 { margin: 0 0 18px; font-size: clamp(44px, 6vw, 84px); line-height: 0.88; }
.pa-studio p { font-size: 18px; line-height: 1.6; color: #f1e6fb; margin: 0 0 26px; max-width: 460px; }
.pa-steps { flex: 1 1 340px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pa-steps li { display: flex; gap: 16px; align-items: center; background: rgba(10,10,10,0.25); border-radius: 14px; padding: 16px 18px; font-size: 18px; font-weight: 600; color: #fff; }
.pa-steps b { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-style: italic; font-size: 40px; color: var(--pa-hi); width: 40px; }

/* Merch */
.pa-merch { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.pa-merch-photo { position: relative; border-radius: 24px; overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.pa-merch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pa-merch-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,10,10,0.9)); }
.pa-merch-copy { position: relative; z-index: 1; padding: 32px; }
.pa-merch-copy h2 { margin: 8px 0 14px; font-size: clamp(44px, 5vw, 72px); }
.pa-merch-copy p { margin: 0 0 20px; color: #d9d9e0; font-size: 17px; max-width: 420px; }
.pa-merch-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pa .pa-merch-item { background: var(--pa-card); border: 1px solid var(--pa-line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: #fff; transition: border-color 0.15s; }
.pa .pa-merch-item:hover { border-color: var(--pa-accent); color: #fff; }
.pa-merch-item span:first-child { background: #fff; border-radius: 10px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.pa-merch-item img { width: 86%; height: 86%; object-fit: contain; }
.pa-merch-item h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: #fff; }
.pa-merch-all { justify-content: center; align-items: center; text-align: center; }
.pa-merch-all svg { width: 36px; height: 36px; color: var(--pa-accent-lt); }

/* Reviews (from the reviews system) */
.pa-rev-score { display: flex; align-items: center; gap: 10px; color: #d9d9e0; text-decoration: none; }
.pa-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.pa .pa-review { background: var(--pa-card); border: 1px solid var(--pa-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: #e6e6ec; }
.pa .pa-review:hover { border-color: var(--pa-accent); color: #e6e6ec; }
.pa-review p { margin: 0; font-size: 17px; line-height: 1.55; }
.pa-review small { font-size: 14px; color: #9a9aa6; }
.pa-review small strong { color: #fff; }

/* About (SEO copy from admin > Homepage) */
.pa-about { border-top: 1px solid #1f1f24; }
.pa-about-inner { max-width: 880px; margin: 0 auto; padding: 72px 24px; text-align: center; }
.pa-about h2 { font-size: clamp(36px, 5vw, 60px); }
.pa-about h2 span { color: var(--pa-hi); }
.pa-about .pa-about-sub { color: var(--pa-mute); font-size: 18px; margin: 14px 0 24px; }
.pa-about p { color: #c9c9d2; line-height: 1.8; font-size: 1.05rem; margin: 0 0 18px; }
.pa-about p strong { color: #fff; }
.pa-about a { color: var(--pa-accent-lt); font-weight: 600; }

/* TikTok band */
.pa-tiktok { text-align: center; padding: 56px 0 24px; }
.pa .pa-tiktok-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); }
.pa .pa-tiktok-link:hover { color: var(--pa-hi); }
.pa-tiktok-link svg { width: 40px; height: 40px; }
.pa-tiktok .video-container { max-width: 780px; margin: 20px auto 0; padding: 0 16px; }

@media (max-width: 700px) {
    .pa-hero, .pa-slide.is-active { min-height: 560px; }
    .pa-slide-body { padding-bottom: 72px; }
    .pa-slide p { font-size: 17px; }
    .pa-feature, .pa-studio { padding: 28px 22px; }
    .pa-btn { font-size: 19px; padding: 14px 22px; }
    .pa-merch-photo { min-height: 380px; }
    /* two across on phones so the page is not one long column */
    .pa-bikes, .pa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pa .pa-bike { padding: 8px; border-radius: 12px; }
    .pa-bike-name { font-size: 19px; padding: 10px 4px 2px; }
    .pa-bike-name svg { width: 18px; height: 18px; }
    .pa-card-body { padding: 12px; gap: 8px; }
    .pa-card-body h3 { font-size: 14px; }
    .pa-card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
    .pa-card-price { font-size: 22px; }
    .pa-card-cta { justify-content: center; }
    .pa-merch-items { gap: 12px; }
}

/* "Enter to WIN" giveaway (shared include): dark version on the homepage only */
body.home-pa .newsletter-section { background: #0a0a0a; padding: 40px 20px 88px; }
body.home-pa .newsletter-inner { max-width: 1232px; border: 2px dashed #32e0f4; border-radius: 24px; padding: 44px 32px; box-sizing: border-box; }
body.home-pa .newsletter-inner h2 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 900; font-style: italic; font-size: clamp(40px, 5vw, 64px); letter-spacing: 0; line-height: 0.95; color: #fff; }
body.home-pa .newsletter-inner h2 span { background: none; -webkit-text-fill-color: #32e0f4; color: #32e0f4; }
body.home-pa .newsletter-divider { display: none; }
body.home-pa .newsletter-inner > p { color: #c9c9d2; font-style: normal; font-size: 18px; }
body.home-pa .newsletter-form { max-width: 640px; flex-wrap: wrap; }
body.home-pa .newsletter-form input { background: #141418; border: 1px solid #3a3a44; border-radius: 10px; color: #fff; font-size: 16px; min-height: 52px; flex: 1 1 180px; }
body.home-pa .newsletter-form input:focus { background: #141418; border-color: #a855f7; }
body.home-pa .newsletter-form input::placeholder { color: #8a8a96; }
body.home-pa .newsletter-form button { background: #32e0f4; color: #0a0a0a; border-radius: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; min-height: 52px; }
body.home-pa .newsletter-note { color: #8a8a96; }
