/* ==========================================================================
   Editorial Basketball & Sports Magazine Theme — Modeled after healthyhabitsbook.info
   Theme for: basketballcourtzone.site
   ========================================================================== */

:root {
    --bg-main: #0C0C0C;
    --bg-surface: #161616;
    --bg-card: #1F2937;
    --bg-darker: #080808;
    --text-main: #F2F2F2;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;
    --accent: #4ADE80;
    --accent-hover: #2ECC71;
    --accent-dim: rgba(74, 222, 128, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-strong: #F2F2F2;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: var(--bg-main);
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Top Notice Bar */
.top-notice-bar {
    background-color: #080808;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.top-notice-bar strong {
    color: var(--accent);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.brand-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 4px;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.brand-text-col {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
}
.brand-sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 0.15rem;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    position: relative;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #E5E7EB;
    transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
}

.nav-sep {
    width: 1px;
    height: 1.25rem;
    background: var(--border-subtle);
    margin: 0 0.5rem;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background-color: var(--accent);
    color: #0C0C0C;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px var(--accent-dim);
    border: none;
    cursor: pointer;
}
.btn-header-cta:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 2px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-main);
    cursor: pointer;
}
@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Masthead */
.hero-masthead {
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-subtle);
    background: radial-gradient(circle at 80% 20%, var(--accent-dim), transparent 50%), var(--bg-main);
}

.hero-tag-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.hero-line-pill {
    display: block;
    width: 2.5rem;
    height: 3px;
    background-color: var(--accent);
}
.hero-tag-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 600;
}

.hero-main-title {
    font-size: clamp(2.4rem, 6.5vw, 5.2rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin-bottom: 2rem;
    max-width: 1200px;
}

.hero-divider {
    border-bottom: 4px solid var(--border-strong);
    margin-bottom: 2.5rem;
}

.hero-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .hero-grid-3 {
        grid-template-columns: 1.2fr 1.1fr 1fr;
        gap: 2rem;
    }
}

.hero-col {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) {
    .hero-col:not(:last-child) {
        padding-right: 1.75rem;
        border-right: 1px solid var(--border-subtle);
    }
}

.col-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.85rem;
}
.col-tag.dim {
    color: var(--text-dim);
}

.col-heading {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.col-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #D1D5DB;
    margin-bottom: 1rem;
}

.report-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.report-card-media {
    background: #111827;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}
.report-badge {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: #0C0C0C;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.report-card-body {
    padding: 1.25rem;
}

/* Quick Links Directory */
.edition-nav {
    display: flex;
    flex-direction: column;
}
.edition-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #E5E7EB;
    transition: all 0.2s ease;
}
.edition-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.edition-link .arrow {
    color: var(--accent);
    font-family: var(--font-mono);
    transition: transform 0.2s ease;
}
.edition-link:hover .arrow {
    transform: translateX(5px);
}

.hero-actions-row {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.btn-brutal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-strong);
    background-color: var(--accent);
    color: #0C0C0C;
    font-weight: 900;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    box-shadow: 4px 4px 0 var(--border-strong);
    transition: all 0.15s ease;
    cursor: pointer;
}
.btn-brutal:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--border-strong);
    background-color: var(--accent-hover);
}

.link-mono-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-main);
    padding: 0.5rem 0;
}
.link-mono-arrow:hover {
    color: var(--accent);
}

/* Sections */
.section-py {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}
.section-dark-alt {
    background-color: #111111;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .section-header-block {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-title-large {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-main);
}

/* Cards Grid */
.cards-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .cards-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.editorial-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.editorial-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.card-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.card-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
}
.card-readtime {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.85rem;
    color: var(--text-main);
}
.card-excerpt {
    font-size: 0.925rem;
    color: #D1D5DB;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Routine / Fixture Table */
.routine-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 0.925rem;
}
.routine-table th, .routine-table td {
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--border-subtle);
    text-align: left;
}
.routine-table th {
    background-color: #1A1A1A;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}
.routine-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Skills / Strategy Grid */
.substance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .substance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .substance-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.substance-box {
    background-color: #141414;
    border: 1px solid var(--border-subtle);
    padding: 1.75rem;
    border-left: 3px solid var(--accent);
}
.substance-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.substance-desc {
    font-size: 0.875rem;
    color: #9CA3AF;
    line-height: 1.55;
}

/* Forms & Inputs */
.form-input {
    width: 100%;
    background-color: #1F2937;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.85rem 1.1rem;
    font-size: 0.9375rem;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}
.form-input:focus {
    border-color: var(--accent);
}
.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #D1D5DB;
    margin-bottom: 0.4rem;
}
.form-group {
    margin-bottom: 1.25rem;
}

/* Footer */
.site-footer {
    border-top: 6px solid var(--border-strong);
    background-color: #080808;
    padding-top: 5rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-list a {
    font-size: 0.875rem;
    color: #9CA3AF;
    transition: color 0.2s ease;
}
.footer-list a:hover {
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #D1D5DB;
    line-height: 1.5;
}
.footer-contact-item strong {
    color: var(--text-main);
}

.footer-disclaimer-box {
    background-color: #121212;
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    border-radius: 2px;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: #9CA3AF;
    margin-bottom: 3rem;
}
.footer-disclaimer-box strong {
    color: #F3F4F6;
}

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: #6B7280;
}
@media (min-width: 768px) {
    .footer-bottom-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #141414;
    border-top: 1px solid var(--border-subtle);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}
.cookie-banner-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 1024px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.cookie-text {
    font-size: 0.85rem;
    color: #D1D5DB;
    line-height: 1.5;
}
.cookie-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.btn-cookie {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
}
.btn-cookie.primary {
    background-color: var(--accent);
    color: #0C0C0C;
    border-color: var(--accent);
}
.btn-cookie.secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: #F2F2F2;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background-color: #0C0C0C;
    z-index: 200;
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
}
.mobile-nav-overlay.open {
    display: flex;
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}
.mobile-nav-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1.15rem;
    font-weight: 700;
}
