/* ==========================================================
   PRESALE FUNNEL — CORE STYLES
   Colors are set as CSS variables for easy campaign reskinning.
   Update these to match your config.php branding.
   ========================================================== */

:root {
    --primary: #9b1b1b;
    --primary-light: #c42a2a;
    --primary-dark: #6e1414;
    --secondary: #2a1a1a;
    --accent: #ffaf00;
    --accent-glow: rgba(201, 160, 64, 0.3);
    --bg-dark: #0d0a0a;
    --bg-card: #1e1515;
    --bg-card-hover: #2a1e1e;
    --bg-input: #e7cd91;
    --text-primary: #e8e2d8;
    --text-secondary: #c4b5a6;
    --text-muted: #8a7a6e;
    --border: #5a3a3a;
    --border-focus: var(--primary);
    --danger: #c0392b;
    --success: #27ae60;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.6);
    --font-body: 'Trebuchet MS', 'Source Sans 3', -apple-system, sans-serif;
    --font-display: 'Spectral SC', Georgia, serif;
    --max-width: 960px;
    --max-width-wide: 1368px;
}

/* ==========================================================
   RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 18px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
}
h1,h2,h3,h4 {
	font-family: var(--font-display);
	line-height: 1.1;
	margin-bottom: 16px;
}
h3 {
	font-size: 1.6rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

/* ==========================================================
   TEXTURE & ATMOSPHERE
   ========================================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(155, 27, 27, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 160, 64, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Grain overlay for texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================
   LAYOUT
   ========================================================== */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 48px;
}

.container--wide {
    max-width: var(--max-width-wide);
}

section {
    padding: 64px 0;
}

/* ==========================================================
   HEADER / NAV BAR
   ========================================================== */
.site-header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    /* Needed for lookup dropdown positioning */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo:hover {
    opacity: 0.85;
}

.site-logo__img {
    height: 24px;
    width: auto;
}

/* Header actions (right side) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-lookup-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.lookup-short { display: none; }

.header-lookup-link:hover {
    color: var(--text-primary);
}

/* Expandable lookup form below header */
.header-lookup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    z-index: 99;
}

.header-lookup.active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header-lookup form {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 440px;
    width: 100%;
}

.header-lookup input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--bg-input);
    color: #1a1212;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.header-lookup input[type="email"]:hover,
.header-lookup input[type="email"]:focus {
    background: #fff;
    outline: none;
    border-color: var(--border-focus);
}

.header-lookup .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

#lookupAlert {
    font-size: 0.85rem;
    margin-left: 8px;
}

#lookupAlert .alert-error {
    color: var(--danger);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero {
    padding: 80px 0 64px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(155, 27, 27, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Hero with full-width background art */
.hero--bg {
    padding: 0;
    text-align: left;
    min-height: 560px;
    display: flex;
    align-items: stretch;
    background-image: url('../images/BarskhorExtended.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
}

.hero--bg::before {
    /* Dark gradient from left so text is readable over the art */
    width: 100%;
    left: 0;
    transform: none;
    background: linear-gradient(
        to right,
        rgba(13, 10, 10, 0.95) 0%,
        rgba(13, 10, 10, 0.85) 35%,
        rgba(13, 10, 10, 0.4) 60%,
        transparent 80%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 40%;
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__logo {
    width: 100%;
    height: auto;
    margin-bottom: 0;
	object-fit:cover;
	transform: scale(1.15) !important;
}

.hero--bg .hero-eyebrow {
    margin-bottom: 20px;
	text-align: center;
	font-size: 1em;
}

.hero--bg .hero-subtitle {
    margin: 0 0 32px;
	text-align: center;
    color: var(--text-primary);
    opacity: 0.85;
}

.hero--bg .signup-form {
    margin: 0;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 89, 0.3);
    border-radius: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ==========================================================
   HERO IMAGE
   ========================================================== */
.hero-image {
    margin: 40px auto;
    max-width: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Placeholder for when no image is set */
.hero-image--placeholder {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-dark) 100%);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================
   EMAIL FORM
   ========================================================== */
.signup-form {
    width: 100%;
    margin: 0 auto;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.input-group .btn {
    width: 100%;
}

.input-group input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--bg-input);
    color: #1a1212;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
	margin:10px 0;
}

.input-group input[type="email"]:hover {
    background: #fff;
}

.input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(155, 27, 27, 0.2);
    background: #fff;
}

.input-group input[type="email"]::placeholder {
    color: var(--text-muted);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 0;
    clip-path: polygon(
        12px 0%,       /* top-left bevel start */
        100% 0%,        /* top-right corner (square) */
        100% calc(100% - 12px), /* bottom-right bevel start */
        calc(100% - 12px) 100%, /* bottom-right bevel end */
        0% 100%,        /* bottom-left corner (square) */
        0% 12px         /* top-left bevel end */
    );
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(155, 27, 27, 0.3);
}

.btn-accent {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background: #ffdf89;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(155, 27, 27, 0.1);
}

.btn-lg {
    padding: 12px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-text { display: none; }

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

/* ==========================================================
   CONTENT SECTIONS
   ========================================================== */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
	line-height:1.1;
}

.section-subtext {
    text-align: center;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 40px;
}

.features-section {
    padding: 80px 0;
}

/* Feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
	line-height:1.1;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================
   VIP PAGE LAYOUT
   ========================================================== */
.vip-hero {
    padding: 50px 0 50px;
}

.vip-hero .hero-eyebrow {
    display: block;
    text-align: center;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.vip-hero__headline {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 32px;
    text-align: center;
}

.vip-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.vip-split__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vip-split__image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.vip-split__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================
   VIP OFFER CARD
   ========================================================== */
.vip-card {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 0 40px var(--accent-glow);
}

.vip-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 20px;
}

.vip-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0 8px;
}

.vip-price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.vip-benefits {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}

.vip-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    padding-left: 28px;
    position: relative;
}

.vip-benefits li:last-child { border-bottom: none; }

.vip-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.vip-benefits li strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.vip-benefits li span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 2px;
}

.biome-options-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.biome-options-list li {
    padding: 4px 10px;
    padding-left: 10px;
    border-bottom: none;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.vip-benefits .biome-options-list li::before {
    content: none;
    display: none;
}

.skip-link {
    display: block;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s;
}

.skip-link:hover {
    color: var(--text-secondary);
}

/* ==========================================================
   THANK YOU PAGE
   ========================================================== */
.thankyou-check {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(155, 27, 27, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
}

.ks-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #05ce78;
    color: white;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s;
}

.ks-follow-btn:hover {
    background: #04b86b;
    transform: translateY(-1px);
    color: white;
}

/* ==========================================================
   SHARE / REFERRAL PAGE
   ========================================================== */
.share-url-box {
    display: flex;
    gap: 8px;
    margin: 20px 0;
}

.share-url-box input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: #1a1212;
    font-family: monospace;
    font-size: 0.9rem;
}

.referral-progress {
    margin: 32px 0;
}

.referral-tier {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.referral-tier:last-child { border-bottom: none; }

.tier-count {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.tier-count.unlocked {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 169, 89, 0.1);
}

.tier-name {
    flex: 1;
}

.tier-name strong { color: var(--text-primary); }
.tier-name span { color: var(--text-muted); font-size: 0.85rem; }

.tier-status {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.tier-status.unlocked { color: var(--accent); }

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* ==========================================================
   SOCIAL PROOF / COUNTER
   ========================================================== */
.social-proof {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-proof strong {
    color: var(--accent);
}

/* ==========================================================
   ALERT / STATUS MESSAGES
   ========================================================== */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin: 12px 0;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(192, 57, 43, 0.15);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #e74c3c;
}

.alert-success {
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.site-footer a {
    color: var(--text-muted);
}

.site-footer a:hover {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 12px;
}

/* ==========================================================
   TEXT + MEDIA SPLIT
   Alternating image/text blocks (Launch Oracle style)
   ========================================================== */
.split-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-dark) 50%, var(--bg-card) 100%);
}

.split-section--alt {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split--reverse {
    direction: rtl;
}

.split--reverse > * {
    direction: ltr;
}

.split__text {
    max-width: 480px;
}

.split__text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.split__text p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.split__text p strong,
.feature-card p strong,
.cta-section p strong,
.footer-cta p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.split__text p:last-child {
    margin-bottom: 0;
}

.split__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 280px;
}

.split__media img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* Placeholder label when no image is loaded yet */
.split__media--placeholder::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================
   FULL-WIDTH MEDIA SECTION
   ========================================================== */
.full-media {
    padding: 0;
    margin: -20px 0 0;
    position: relative;
}

.full-media img {
    width: 100%;
    display: block;
}

.full-media--contained {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* ==========================================================
   MID-PAGE CTA SECTION
   ========================================================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 10, 10, 0.8);
    pointer-events: none;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section .cta-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 24px;
    text-align: left;
	line-height: 1.1;
}

.cta-section p {
    color: var(--text-secondary);
    margin: 0 0 16px;
    font-size: 1.05rem;
}

.cta-section .signup-form {
    margin: 0;
}

/* ==========================================================
   CREDIBILITY SECTION
   ========================================================== */
.credibility-section {
    padding: 80px 0 40px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border);
}

/* ==========================================================
   FOOTER CTA (urgency block)
   ========================================================== */
.footer-cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid var(--border);
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 10, 10, 0.75);
    pointer-events: none;
}

.footer-cta > * {
    position: relative;
    z-index: 1;
}

.footer-cta .cta-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.footer-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 12px;
	line-height:1.1;
}

.footer-cta p {
    color: var(--text-secondary);
    margin: 0 0 0;
    font-size: 1.05rem;
}

.footer-cta .signup-form {
    margin: 0;
}

/* ==========================================================
   HIGHLIGHT LIST (benefit bullets with accent markers)
   ========================================================== */
.highlight-list {
    list-style: none;
    margin: 20px 0;
}

.highlight-list li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.1;
}

.highlight-list li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 10px;
}

/* ==========================================================
   DIVIDER
   ========================================================== */
.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ==========================================================
   STATS BANNER (key numbers strip)
   ========================================================== */
.stats-banner {
    padding: 48px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(155, 27, 27, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 12px 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================================
   HEADER CTA BUTTON
   ========================================================== */
.header-cta {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ==========================================================
   SECTION BACKGROUND IMAGE UTILITY
   Any section can receive a bg image via inline style +
   this class to get a dark overlay.
   ========================================================== */
.has-bg-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 10, 10, 0.78);
    pointer-events: none;
}

.has-bg-image > * {
    position: relative;
    z-index: 1;
}

/* ==========================================================
   TWO-COLUMN TEXT SECTION
   Side-by-side text columns with optional full-width span line.
   ========================================================== */
.two-col-section {
    padding: 64px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.two-col__col h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
	line-height:1.1;
}

.two-col__col p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.two-col__col p:last-child {
    margin-bottom: 0;
}

.two-col__col p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.two-col__col .highlight-list {
    margin: 12px 0;
}

.two-col__span {
    grid-column: 1 / -1;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
}

/* Compact variant: stays side-by-side on all screen sizes */
.two-col--compact {
    gap: 24px;
}

@media (max-width: 600px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .two-col--compact {
        grid-template-columns: 1fr 1fr;
    }
    .two-col__span {
        margin-top: 0;
    }
}

/* ==========================================================
   FULL-HEIGHT IMAGE SPLIT
   Image bleeds edge-to-edge in its column, spans full
   section height. No border-radius, no box, no padding.
   ========================================================== */
.split-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    min-height: 480px;
    padding: 0 !important;
}

.split-full__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 48px;
}

.split-full__text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.split-full__text p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.split-full__text p:last-child {
    margin-bottom: 0;
}

.split-full__text p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.split-full__image {
    position: relative;
    overflow: hidden;
}

.split-full__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Image on right: image column comes second (default grid order) */
.split-full--img-right .split-full__image {
    order: 2;
	min-height:700px;
}

.split-full--img-right .split-full__text {
    order: 1;
}

/* Image on left: image column comes first */
.split-full--img-left .split-full__image {
    order: 1;
}

.split-full--img-left .split-full__text {
    order: 2;
}

/* Alt background variant */
.split-full--alt {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ==========================================================
   IMAGE GRID ROW
   1, 2, or 3 images in a row with optional captions.
   ========================================================== */
.image-grid-section {
    padding: 80px 0;
}

.image-grid {
    display: grid;
    gap: 24px;
}

.image-grid--1 {
    grid-template-columns: 1fr;
}

.image-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.image-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.image-grid__item {
    text-align: center;
}

.image-grid__caption-above {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.image-grid__frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.image-grid__frame img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.image-grid__caption-below {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 12px;
}

.image-grid__caption-below strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Section-level heading for image grid sections */
.image-grid-section .section-heading {
    margin-bottom: 12px;
	line-height:1.1;
}

.image-grid-section .section-subtext {
    margin-bottom: 48px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 600px) {
	.split-section--alt,
    section { 
	padding: 44px 0; }
	
	.credibility-section {
		padding: 44px 0 0;}
		
	.container {
		padding: 0 24px;
	}
    .hero { padding: 48px 0 40px; }

    .hero--bg {
        min-height: auto;
        background-image: url('../images/Barskhor-hero-mobile.jpg') !important;
        background-position: left bottom;
        background-size: 110% auto;
    }

    .hero--bg::before {
        background: linear-gradient(
            to bottom,
            rgba(13, 10, 10, 0.93) 0%,
            rgba(13, 10, 10, 0.8) 45%,
            rgba(13, 10, 10, 0.3) 65%,
            transparent calc(100% - 200px)
        );
    }

    .hero__content {
        width: 100%;
        padding: 40px 0 360px;
        text-align: center;
    }

    .hero--bg .hero-subtitle,
    .hero--bg .signup-form {
        max-width: 100%;
    }

    .hero__logo {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* input-group is already stacked by default */

    /* Mobile header: hide logo, let actions take full width */
    .site-logo {
        display: none;
    }

    .site-header .container {
        justify-content: center;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .header-lookup-link {
        font-size: 0.8rem;
    }

    .lookup-full { display: none; }
    .lookup-short { display: inline; }

    .header-lookup {
        left: 0;
        right: 0;
        padding: 12px 24px;
    }

    .vip-split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vip-split__image {
        padding: 0;
        margin: 0;
    }

    .vip-split__image img {
        width: 100%;
        max-height: none;
    }

    .vip-hero {
        padding: 90px 0 40px;
    }

    .vip-card { padding: 32px 20px; }

    .share-url-box {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .split-section { padding: 36px 0; }
	.two-col-section {
		padding: 36px 0;
	}
    .split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .split--reverse {
        direction: ltr;
    }

    .split__media {
        min-height: 200px;
    }

    .cta-section,
    .footer-cta {
        padding: 36px 0;
    }

    .cta-section .cta-layout,
    .footer-cta .cta-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    /* Full-height image split — stacks on mobile */
    .split-full {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-full__image {
        position: relative;
        min-height: 360px;
    }

    .split-full__text {
        padding: 48px 24px 24px;
        max-width: 100%;
    }

    /* Mobile image-first: image on top regardless of desktop layout */
    .split-full--mobile-img-first .split-full__image {
        order: 1;
    }
    .split-full--mobile-img-first .split-full__text {
        order: 2;
    }

    /* Mobile image-last: text on top, image below */
    .split-full--mobile-img-last .split-full__image {
        order: 2;
    }
    .split-full--mobile-img-last .split-full__text {
        order: 1;
    }

    /* Image grid — collapse to single column on small screens */
    .image-grid--2,
    .image-grid--3 {
        grid-template-columns: 1fr;
    }

    .image-grid-section {
        padding: 36px 0;
    }
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ==========================================================
   COOKIE CONSENT
   ========================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1000;
    font-size: 0.85rem;
    color: var(--text-secondary);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-banner.hidden { display: none; }

.cookie-banner a { color: var(--accent); }

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 0;
    clip-path: polygon(
        8px 0%, 100% 0%, 100% calc(100% - 8px),
        calc(100% - 8px) 100%, 0% 100%, 0% 8px
    );
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================
   DASHBOARD (share.php)
   ========================================================== */

.dash-gate {
    padding: 120px 0 80px;
}

.dash-content {
    padding: 100px 0 60px;
}

.dash-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.dash-status__left {
    display: flex;
    gap: 24px;
}

.dash-status__links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dash-link {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.dash-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.dash-status__item {
    text-align: center;
}

.dash-status__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.dash-status__value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.dash-vip {
    color: var(--accent) !important;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.dash-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dash-card__desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.dash-card__note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Biome vote options */
.biome-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.biome-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s;
}

.biome-option:hover {
    border-color: var(--text-muted);
    background: var(--bg-card-hover);
}

.biome-option.selected {
    border-color: var(--accent);
    background: rgba(201, 160, 64, 0.08);
}

.biome-option__name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.biome-option__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.biome-option__tally {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.biome-option__yours {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
    min-width: 40px;
    text-align: right;
}

.biome-vote-btn {
    padding: 6px 14px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background: transparent;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.biome-vote-btn:hover:not(:disabled) {
    background: var(--accent);
    color: var(--bg-dark);
}

.biome-vote-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Votes remaining indicator */
.votes-remaining {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(201, 160, 64, 0.06);
    border-radius: var(--radius);
}

.votes-remaining span {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Vote action buttons row */
.vote-actions {
    display: none;
    gap: 8px;
    margin-top: 16px;
}

/* Vote confirmed state */
.vote-confirmed {
    text-align: center;
    padding: 16px;
    margin-top: 16px;
    background: rgba(201, 160, 64, 0.06);
    border: 1px solid rgba(201, 160, 64, 0.2);
    border-radius: var(--radius);
}

.vote-confirmed p {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Vote area + lock overlay */
.vote-area {
    position: relative;
}

.vote-lock-overlay {
    display: none;
}

.vote-area.locked .vote-lock-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 10;
    align-items: center;
    justify-content: center;
    background: rgba(13, 10, 10, 0.7);
    border-radius: var(--radius);
    pointer-events: none;
}

.vote-lock-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 12px 28px;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    background: rgba(13, 10, 10, 0.85);
    transform: rotate(-4deg);
}

.vote-area.locked .biome-options,
.vote-area.locked .btn {
    pointer-events: none;
}

/* VIP gate CTA */
.dash-vip-gate {
    padding: 24px;
    text-align: center;
    background: rgba(201, 160, 64, 0.06);
    border: 1px dashed var(--accent);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.dash-vip-gate p {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* Share URL in dashboard */
.dash-card .share-url-box {
    max-width: 100%;
    margin: 0 0 4px;
}

.dash-card .share-buttons {
    margin-bottom: 24px;
}

/* Reward items */
.dash-reward-item {
    padding: 10px 14px;
    background: rgba(201, 160, 64, 0.08);
    border-left: 3px solid var(--accent);
    margin-top: 8px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Dashboard responsive */
@media (max-width: 768px) {
    .dash-grid {
        grid-template-columns: 1fr;
    }

    .dash-status {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .dash-status__left {
        justify-content: center;
        gap: 16px;
    }

    .dash-status__links {
        justify-content: center;
        gap: 10px;
    }

    .dash-status__item {
        flex: 1;
        min-width: 80px;
    }

    .dash-content {
        padding: 40px 0 40px;
    }

    .dash-card {
        padding: 24px 20px;
    }
}
