/* =========================================
   PULSE — Brutalist Minimal Template
   Black + Red | Monospace | Zero Radius
   ========================================= */
:root {
    --ls-accent: #ff2d2d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

.btn:hover {
    background: var(--accent-hover);
    color: #fff;
}

.btn--cta {
    padding: 8px 20px;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.btn--hero {
    padding: 16px 56px;
    font-size: 15px;
    letter-spacing: 3px;
    border: 2px solid var(--accent);
    background: transparent;
}

.btn--hero:hover {
    background: var(--accent);
    color: #fff;
}

/* --- SECTION TITLE --- */
.section-title {
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 32px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

/* =========================================
   HEADER — Ultra Minimal
   ========================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    flex-shrink: 0;
    margin-right: auto;
}

.header__logo img {
    height: 28px;
    width: auto;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger Toggle — 2 lines */
.header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s, opacity 0.2s;
}

.header__toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.header__toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* =========================================
   SIDEBAR — Slide-in from left
   ========================================= */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: none;
}

body.sidebar-open .sidebar-overlay {
    display: block;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-card);
    z-index: 1003;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

body.sidebar-open .sidebar {
    transform: translateX(0);
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.sidebar__nav a {
    display: block;
    padding: 14px 24px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    transition: color 0.15s, background 0.15s;
}

.sidebar__nav a:hover {
    color: var(--accent);
    background: rgba(255, 45, 45, 0.06);
}

.sidebar__lang {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.sidebar__actions {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn--sidebar {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn--sidebar:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn--sidebar-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn--sidebar-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

body.sidebar-open {
    overflow: hidden;
}

/* =========================================
   HERO — Minimal Centered
   ========================================= */
.hero {
    padding: 100px 20px 80px;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero__title {
    font-family: inherit;
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero__desc {
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

/* =========================================
   FEATURE STRIP — Horizontal Banner
   ========================================= */
.features-strip {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    border-top: 2px solid var(--accent);
}

.features-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    border-right: 1px solid var(--border);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item__icon {
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.feature-item__text {
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

/* =========================================
   SLOTS — Clean Standard Grid
   ========================================= */
.slots {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border);
}

.slots__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.slots__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.slot-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.15s;
}

.slot-card:hover {
    border-color: var(--accent);
}

.slot-card__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.slot-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-card__name {
    padding: 10px 12px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

/* =========================================
   PROVIDERS — Chip Tags
   ========================================= */
.providers {
    padding: 48px 20px;
    border-bottom: 1px solid var(--border);
}

.providers__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.providers__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.provider-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.15s;
}

.provider-chip:hover {
    border-color: var(--accent);
}

.provider-chip img {
    height: 18px;
    width: auto;
    filter: grayscale(1) brightness(0.7);
    transition: filter 0.15s;
}

.provider-chip:hover img {
    filter: grayscale(0) brightness(1);
}

.provider-chip span {
    display: none;
}

/* =========================================
   CONTENT SECTION — BCR / Spoilers
   ========================================= */
.content-section {
    padding: 48px 20px;
    border-bottom: 1px solid var(--border);
}

.content-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* BCR nav pills */
.bcr-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bcr-nav::-webkit-scrollbar {
    display: none;
}

.bcr-nav a {
    display: inline-block;
    padding: 6px 14px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    border: 1px solid var(--border);
    transition: all 0.15s;
}

.bcr-nav a:hover {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(255, 45, 45, 0.08);
}

/* Content blocks */
.bcr-block {
    padding: 24px;
    margin-bottom: 16px;
    background: var(--bg-card);
}

.content-block,
.bcr-section {
    margin: 0 0 16px;
    max-width: 100%;
    padding: 24px;
    background: var(--bg-card);
}

.content-open-block {
    background: var(--bg-card);
    padding: 24px;
    margin-bottom: 20px;
}

.content-open-block h3 {
    margin-top: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-body {
    max-width: 100%;
    padding: 24px;
    margin-bottom: 16px;
    background: var(--bg-card);
}

/* Content typography */
.content-section h2 {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.content-section h3 {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-top: 24px;
    margin-bottom: 10px;
}

.content-section h4 {
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-top: 20px;
    margin-bottom: 8px;
}

.content-section p {
    font-family: inherit;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
    line-height: 1.8;
}

.content-section a {
    color: var(--accent);
}

.content-section ul,
.content-section ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.content-section li {
    font-family: inherit;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
    line-height: 1.7;
}

/* Tables */
.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.content-section table th {
    background: rgba(255, 45, 45, 0.08);
    color: var(--text);
    padding: 10px 14px;
    text-align: left;
    font-family: inherit;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.content-section table td {
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.75);
    font-family: inherit;
    font-size: 12px;
    border: 1px solid var(--border);
    line-height: 1.6;
}

.content-section table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    padding: 48px 20px 60px;
    border-bottom: 1px solid var(--border);
}

.faq-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h2 {
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 28px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

/* FAQ items */
.faq-item {
    border: 1px solid var(--border);
    margin-bottom: 2px;
    transition: border-color 0.15s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    cursor: pointer;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question h3 {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-arrow {
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.2s;
    font-size: 10px;
}

.faq-item.faq-open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 18px;
    border-top: 1px solid var(--border);
}

.faq-item.faq-open .faq-answer {
    padding-top: 16px;
}

.faq-answer,
.faq-answer p {
    font-family: inherit;
    color: var(--text-dim);
    font-size: 12px;
    line-height: 1.8;
}

.faq-answer a {
    color: var(--accent);
}

/* =========================================
   FOOTER — Ultra Minimal
   ========================================= */
.footer {
    padding: 32px 20px;
    text-align: center;
    border-top: 2px solid var(--accent);
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer__copy {
    font-family: inherit;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   RESPONSIVE: 768px
   ========================================= */
@media (max-width: 768px) {

    /* Header */
    .header__inner {
        height: 50px;
    }

    .header__logo img {
        height: 24px;
    }

    .header__right {
        gap: 12px;
    }

    .btn--cta {
        padding: 6px 14px;
        font-size: 10px;
    }

    /* Hero */
    .hero {
        padding: 64px 20px 56px;
    }

    .hero__title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .hero__desc {
        font-size: 13px;
        margin-bottom: 32px;
    }

    .btn--hero {
        padding: 14px 40px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    /* Feature strip */
    .features-strip__inner {
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 14px 16px;
    }

    .feature-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .feature-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    /* Slots */
    .slots {
        padding: 40px 20px;
    }

    .slots__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-title {
        font-size: 10px;
        letter-spacing: 3px;
        margin-bottom: 24px;
    }

    /* Providers */
    .providers {
        padding: 36px 20px;
    }

    .provider-chip {
        padding: 5px 10px;
    }

    .provider-chip img {
        height: 14px;
    }

    /* Content */
    .content-section {
        padding: 36px 20px;
    }

    .content-open-block {
        padding: 16px;
    }

    /* FAQ */
    .faq-section {
        padding: 36px 20px 48px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question h3 {
        font-size: 11px;
    }

    .faq-answer {
        padding: 0 16px 14px;
    }

    .faq-item.faq-open .faq-answer {
        padding-top: 14px;
    }

    /* Footer */
    .footer {
        padding: 24px 20px;
    }
}

/* =========================================
   RESPONSIVE: 480px
   ========================================= */
@media (max-width: 480px) {

    /* Header */
    .header__inner {
        height: 48px;
        padding: 0 16px;
    }

    .header__logo img {
        height: 22px;
    }

    .header__right {
        gap: 10px;
    }

    .btn--cta {
        padding: 5px 12px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    /* Hero */
    .hero {
        padding: 48px 16px 40px;
    }

    .hero__title {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .hero__desc {
        font-size: 12px;
        margin-bottom: 28px;
    }

    .btn--hero {
        padding: 14px 32px;
        font-size: 12px;
        letter-spacing: 2px;
        width: 100%;
    }

    /* Feature strip */
    .features-strip__inner {
        flex-direction: column;
    }

    .feature-item {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

    .feature-item__text {
        font-size: 10px;
    }

    /* Slots */
    .slots {
        padding: 32px 16px;
    }

    .slots__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .section-title {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .slot-card__name {
        font-size: 10px;
        padding: 8px 10px;
    }

    /* Providers */
    .providers {
        padding: 28px 16px;
    }

    .providers__chips {
        gap: 6px;
    }

    .provider-chip {
        padding: 4px 8px;
        gap: 6px;
    }

    .provider-chip img {
        height: 12px;
    }

    /* Content */
    .content-section {
        padding: 28px 16px;
    }

    .content-section h2 {
        font-size: 13px;
    }

    .content-section h3 {
        font-size: 12px;
    }

    .content-section p,
    .content-section li {
        font-size: 12px;
    }

    .content-section table th,
    .content-section table td {
        padding: 8px 10px;
        font-size: 11px;
    }

    .bcr-nav a {
        font-size: 10px;
        padding: 5px 10px;
    }

    /* FAQ */
    .faq-section {
        padding: 28px 16px 36px;
    }

    .faq-question {
        padding: 12px 14px;
    }

    .faq-question h3 {
        font-size: 11px;
    }

    .faq-answer,
    .faq-answer p {
        font-size: 11px;
    }

    /* Footer */
    .footer {
        padding: 20px 16px;
    }

    .footer__copy {
        font-size: 10px;
    }
}

/* Slot image type: vertical */
[data-slot-type="vertical"] .slot-card__img { aspect-ratio: 3/4; }
[data-slot-type="vertical"] .slot-card__img img { object-fit: cover; }

/* Slot image type: horizontal */
[data-slot-type="horizontal"] .slot-card__img { aspect-ratio: 16/9; }
[data-slot-type="horizontal"] .slot-card__img img { object-fit: cover; }
