/**
 * BloodCrimes Landing — index.php
 * Reference: stitch_bloodcrimes/homepage_desktop_refined_3 (+ mobile_refined_3)
 * Kolory znormalizowane: #0B0B0E→--bc-bg-950, #141418→--bc-bg-900,
 * #D6AD62→--bc-gold, #B51220→--bc-crimson-600
 */

.bc-landing {
    background: var(--bc-bg-950);
    color: var(--bc-text-primary);
    font-family: var(--bc-font-body);
    overflow-x: hidden;
    position: relative;
}

/* ==================== */
/* ATMOSPHERE           */
/* ==================== */

.bc-land-main {
    min-height: 100vh;
    position: relative;
}

.bc-land-bg {
    inset: 0;
    position: absolute;
    z-index: 0;
}

.bc-land-bg-photo {
    background-color: #0d0d12;
    background-image:
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(159, 18, 57, 0.22), transparent),
        linear-gradient(180deg, #101016 0%, #09090B 45%, #050507 100%);
    background-size: cover;
    background-position: center;
    inset: 0;
    opacity: 1;
    position: absolute;
}

.bc-land-vignette {
    background: radial-gradient(circle, transparent 20%, #09090B 100%);
    inset: 0;
    position: absolute;
}

.bc-land-wrap {
    margin: 0 auto;
    max-width: 1280px;
    padding: 4rem 1.25rem;
    position: relative;
    z-index: 2;
}

/* ==================== */
/* HERO GRID            */
/* ==================== */

.bc-land-hero {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 992px) {
    .bc-land-hero {
        grid-template-columns: 7fr 5fr;
    }

    .bc-land-left {
        padding-right: 3rem;
    }
}

.bc-land-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Kicker */
.bc-land-kicker {
    align-items: center;
    color: var(--bc-gold);
    display: flex;
    font-family: var(--bc-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.7rem;
    letter-spacing: 0.25em;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.bc-land-kicker-icon {
    font-size: 1.35rem;
}

/* Wordmark */
.bc-land-wordmark-wrap {
    display: inline-block;
    margin-bottom: 1.4rem;
    position: relative;
}

.bc-land-wordmark {
    font-family: var(--bc-font-display);
    font-size: clamp(3.2rem, 9vw, 5.4rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--bc-text-primary);
}

.bc-land-wordmark-bar {
    background: var(--bc-crimson-600);
    bottom: -0.5rem;
    height: 6px;
    left: 0;
    position: absolute;
    width: 45%;
}

.bc-land-title {
    margin: 0 0 1.2rem;
    text-shadow: 0 0 24px rgba(159, 18, 57, 0.45);
}

.bc-land-copy {
    color: var(--bc-text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 1.8rem;
    max-width: 34rem;
}

/* CTAs */
.bc-land-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

@media (min-width: 576px) {
    .bc-land-actions {
        flex-direction: row;
    }
}

.bc-btn-landing {
    align-items: center;
    background: var(--bc-crimson-600);
    border: 1px solid var(--bc-crimson-600);
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--bc-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.6rem;
    justify-content: center;
    letter-spacing: 0.14em;
    padding: 1rem 2.2rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease;
}

.bc-btn-landing:hover {
    background: var(--bc-crimson-500);
    box-shadow: 0 0 20px rgba(159, 18, 57, 0.5);
    color: #fff;
    text-decoration: none;
}

.bc-btn-landing-ghost {
    background: transparent;
    border-color: var(--bc-border-light);
    color: var(--bc-gold);
}

.bc-btn-landing-ghost:hover {
    background: var(--bc-bg-900);
    box-shadow: none;
    color: var(--bc-gold-light);
}

.bc-land-note {
    align-items: center;
    color: var(--bc-text-muted);
    display: flex;
    font-size: 0.82rem;
    font-style: italic;
    gap: 0.45rem;
    margin: 0.6rem 0 0;
}

/* ==================== */
/* LIVE STATS           */
/* ==================== */

.bc-land-stats {
    background: var(--bc-bg-900);
    border: 1px solid var(--bc-border);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.2rem;
    overflow: hidden;
    padding: 1.4rem 1.3rem;
    position: relative;
}

@media (min-width: 768px) {
    .bc-land-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bc-land-stats-line {
    background: linear-gradient(90deg, transparent, var(--bc-crimson-600), transparent);
    height: 1px;
    left: 0;
    opacity: 0.6;
    position: absolute;
    top: 0;
    width: 100%;
}

.bc-land-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.bc-land-stat-label {
    color: var(--bc-text-muted);
    font-family: var(--bc-font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bc-land-stat-value {
    align-items: center;
    color: var(--bc-text-primary);
    display: flex;
    font-family: var(--bc-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    gap: 0.5rem;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-land-stat-value.is-gold-text {
    color: var(--bc-gold);
}

.bc-ping {
    border-radius: 999px;
    display: inline-flex;
    height: 9px;
    position: relative;
    width: 9px;
    flex-shrink: 0;
}

.bc-ping::before {
    animation: bc-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
    background: var(--bc-success);
    border-radius: 999px;
    content: '';
    height: 100%;
    left: 0;
    opacity: 0.75;
    position: absolute;
    top: 0;
    width: 100%;
}

.bc-ping::after {
    background: var(--bc-success);
    border-radius: 999px;
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

@keyframes bc-ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* ==================== */
/* AUTH PANELS          */
/* ==================== */

.bc-land-auth {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .bc-land-auth {
        margin-top: 0;
    }
}

.bc-auth-panel {
    background: var(--bc-bg-900);
    border: 1px solid var(--bc-border);
    padding: 1.6rem;
    position: relative;
}

.bc-auth-panel::before {
    background: var(--bc-gold);
    content: '';
    height: 1px;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
}

.bc-auth-title {
    align-items: center;
    color: var(--bc-text-primary);
    display: flex;
    font-family: var(--bc-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    gap: 0.6rem;
    letter-spacing: 0.1em;
    margin: 0 0 1.3rem;
    text-transform: uppercase;
}

.bc-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.bc-auth-field {
    position: relative;
}

.bc-auth-field i {
    bottom: 0.85rem;
    color: var(--bc-text-muted);
    font-size: 0.85rem;
    left: 0.85rem;
    pointer-events: none;
    position: absolute;
}

.bc-auth-input {
    background: var(--bc-bg-950);
    border: 1px solid var(--bc-border);
    border-radius: 0;
    color: var(--bc-text-primary);
    font-size: 0.95rem;
    padding: 0.8rem 0.9rem 0.8rem 2.4rem;
    transition: border-color 0.2s ease;
    width: 100%;
}

.bc-auth-input:focus {
    border-color: var(--bc-crimson-600);
    box-shadow: none;
    outline: none;
}

.bc-auth-submit {
    background: var(--bc-border-light);
    border: none;
    border-radius: 0;
    color: var(--bc-text-primary);
    cursor: pointer;
    font-family: var(--bc-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 0.8rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
    width: 100%;
}

.bc-auth-submit:hover {
    background: var(--bc-crimson-600);
    box-shadow: 0 0 15px rgba(159, 18, 57, 0.3);
    color: #fff;
}

.bc-auth-submit-ghost {
    background: transparent;
    border: 1px solid var(--bc-border-light);
    color: var(--bc-gold);
}

.bc-auth-submit-ghost:hover {
    background: transparent;
    border-color: var(--bc-gold);
    box-shadow: none;
    color: var(--bc-gold-light);
}

.bc-auth-alt {
    margin-top: 1rem;
    text-align: center;
}

.bc-auth-alt a {
    color: var(--bc-text-secondary);
    font-size: 0.82rem;
    text-decoration: none;
}

.bc-auth-alt a:hover {
    color: var(--bc-gold);
}

.bc-land-alert {
    background: rgba(159, 18, 57, 0.15);
    border: 1px solid var(--bc-crimson-600);
    color: var(--bc-crimson-300);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.9rem;
}

/* ==================== */
/* CONTENT SECTION      */
/* ==================== */

.bc-land-content {
    background: var(--bc-bg-950);
    border-top: 1px solid var(--bc-border);
    padding: 5rem 1.25rem 6rem;
    position: relative;
    z-index: 2;
}

.bc-land-container {
    margin: 0 auto;
    max-width: 1280px;
}

.bc-land-content-head {
    margin-bottom: 3.5rem;
    text-align: center;
}

.bc-land-content-head h2 {
    margin-bottom: 1rem;
}

.bc-land-content-head p {
    color: var(--bc-text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 48rem;
}

/* Gallery */
.bc-land-gallery {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .bc-land-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bc-land-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bc-land-shot {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--bc-border);
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.bc-land-shot img {
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 100%;
}

.bc-land-shot:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.bc-land-shot::after {
    background: linear-gradient(to top, var(--bc-bg-950), transparent 55%);
    content: '';
    inset: 0;
    position: absolute;
}

.bc-land-shot-label {
    bottom: 0.9rem;
    color: var(--bc-gold);
    font-family: var(--bc-font-display);
    font-size: 0.8rem;
    font-weight: 700;
    left: 1rem;
    letter-spacing: 0.2em;
    position: absolute;
    text-transform: uppercase;
    z-index: 1;
}

/* Bento features */
.bc-land-bento {
    display: grid;
    gap: 1.3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .bc-land-bento {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bc-bento-card {
    background: var(--bc-bg-900);
    border: 1px solid var(--bc-border);
    overflow: hidden;
    padding: 1.8rem;
    position: relative;
}

@media (min-width: 768px) {
    .bc-bento-wide {
        grid-column: span 2;
    }
}

.bc-bento-num {
    color: var(--bc-text-primary);
    font-family: var(--bc-font-display);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.06;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.bc-bento-title {
    align-items: center;
    color: var(--bc-text-primary);
    display: flex;
    font-family: var(--bc-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    gap: 0.8rem;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.bc-bento-title .fa {
    color: var(--bc-crimson-500);
    font-size: 1.5rem;
}

.bc-bento-list {
    color: var(--bc-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.92rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-bento-list i {
    color: var(--bc-gold);
    font-size: 0.75rem;
    margin-right: 0.4rem;
}

@media (min-width: 576px) {
    .bc-bento-cols {
        display: grid;
        gap: 0.55rem 1.5rem;
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================== */
/* FOOTER               */
/* ==================== */

.bc-land-footer {
    background: var(--bc-bg-950);
    border-top: 1px solid var(--bc-border);
    padding: 1.8rem 1.25rem;
    position: relative;
    z-index: 2;
}

.bc-land-footer-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .bc-land-footer-inner {
        flex-direction: row;
    }
}

.bc-land-footer-left {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.bc-land-lang {
    background: var(--bc-bg-900);
    border: 1px solid var(--bc-border);
    border-radius: 0;
    color: var(--bc-text-primary);
    font-size: 0.85rem;
    padding: 0.45rem 0.7rem;
}

.bc-land-copy {
    color: var(--bc-text-secondary);
    font-size: 0.85rem;
}

.bc-land-footer-links {
    display: flex;
    gap: 1.5rem;
}

.bc-land-footer-links a {
    color: var(--bc-text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bc-land-footer-links a:hover {
    color: var(--bc-gold);
}

/* ==================== */
/* 404                  */
/* ==================== */

.bc-404-wrap {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 720px;
    min-height: 100vh;
    padding: 3rem 1.25rem;
    position: relative;
    text-align: center;
    z-index: 2;
}

.bc-404-code {
    color: var(--bc-crimson-600);
    font-family: var(--bc-font-display);
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    margin: 0;
    text-shadow: 0 0 40px rgba(159, 18, 57, 0.4);
}

.bc-404-title {
    color: var(--bc-text-primary);
    font-family: var(--bc-font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0.5rem 0 0.6rem;
    text-transform: uppercase;
}

.bc-404-sub {
    color: var(--bc-text-secondary);
    margin: 0 0 1.6rem;
}

.bc-404-meta {
    border: 1px solid var(--bc-border);
    color: var(--bc-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--bc-font-display);
    font-size: 0.8rem;
    gap: 1.4rem;
    justify-content: center;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    padding: 0.9rem 1.2rem;
    text-transform: uppercase;
}

.bc-404-meta i {
    color: var(--bc-gold);
    margin-right: 0.4rem;
}

.bc-404-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) {
    .bc-404-actions {
        flex-direction: row;
    }
}
