/* Custom CSS stylesheet for browseboxdck.com */

/* ---------------------------------------------------- */
/* VARIABLES & THEMING (METRO MAP PALETTE) */
/* ---------------------------------------------------- */
:root {
    --off-white: #FBF8F0;
    --route-blue: #146C94;
    --moss: #4E8A5E;
    --coral: #FF5A36;
    --charcoal: #1F0704;
    --soft-tan: #F4DFCE;
    
    /* Blur Glass UI specific variants with red and orange glow */
    --glass-bg: rgba(31, 7, 4, 0.75);
    --glass-border: rgba(255, 90, 54, 0.18);
    --glass-glow: rgba(255, 90, 54, 0.3);
    --text-light: #FBF8F0;
    --text-dark: #1F0704;
    --text-muted: #E2C2BD;
    
    --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

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

body {
    background-color: #550D02; /* Rich dark red base */
    background-image: radial-gradient(circle at 30% 20%, #E23E1A 0%, #870000 50%, #2D0400 100%); /* Orange and red gradient */
    background-attachment: fixed;
    color: var(--text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    padding-bottom: 0;
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover, a:focus {
    color: var(--off-white);
}

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

/* ---------------------------------------------------- */
/* LAYOUT CONTAINER */
/* ---------------------------------------------------- */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 40px 24px; /* Added padding top for sticky nav */
}

/* ---------------------------------------------------- */
/* GLASS UI BLOCKS */
/* ---------------------------------------------------- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
    transition: box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.glass-panel:hover {
    border-color: rgba(255, 90, 54, 0.35);
    box-shadow: 0 8px 32px 0 var(--glass-glow);
}

/* ---------------------------------------------------- */
/* HEADER & NAVIGATION */
/* ---------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-bottom: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 15px 40px;
    background: rgba(31, 7, 4, 0.9);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-dot {
    width: 14px;
    height: 14px;
    background-color: var(--coral);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--coral);
}

.logo-text {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
}

.nav-link:hover, .nav-link:focus {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: var(--text-light);
    background: var(--coral);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    position: relative;
    transition: background var(--transition-speed) ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    left: 0;
    transition: transform var(--transition-speed) ease;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* Hamburger open state handled via class toggled by JS */
.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------------------------------------------------- */
/* HERO SECTION */
/* ---------------------------------------------------- */
.hero-section {
    text-align: center;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 90, 54, 0.25);
    border: 1px solid var(--coral);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-lead {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ---------------------------------------------------- */
/* SECTIONS CONFIG & TITLES */
/* ---------------------------------------------------- */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ---------------------------------------------------- */
/* LEGEND GRID */
/* ---------------------------------------------------- */
.legend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.legend-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.indicator-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.state-confirmed .indicator-dot {
    background: var(--route-blue);
    box-shadow: 0 0 8px var(--route-blue);
}

.state-scheduled .indicator-dot {
    background: var(--coral);
    box-shadow: 0 0 8px var(--coral);
}

.state-pending .indicator-dot {
    background: var(--soft-tan);
    box-shadow: 0 0 8px var(--soft-tan);
}

.legend-text h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.legend-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---------------------------------------------------- */
/* METRO MAP KNOCKOUT CORRIDOR */
/* ---------------------------------------------------- */
.metro-map-container {
    overflow-x: auto;
}

.metro-corridor-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 900px; /* Force minimum desktop width for visual routing */
    padding: 10px 0;
}

.corridor-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 15px;
}

.corridor-node {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid transparent;
}

.corridor-node.completed {
    border-left-color: var(--moss);
}

.corridor-node.scheduled {
    border-left-color: var(--coral);
}

.corridor-node.r16-station {
    border-left-color: var(--route-blue);
}

.node-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.node-match {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.node-status {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Metro connectors */
.corridor-connector {
    width: 40px;
    height: 4px;
    flex-shrink: 0;
}

.blue-line {
    background: var(--route-blue);
    box-shadow: 0 0 6px var(--route-blue);
}

.coral-line {
    background: var(--coral);
    box-shadow: 0 0 6px var(--coral);
}

.moss-line {
    background: var(--moss);
    box-shadow: 0 0 6px var(--moss);
}

/* ---------------------------------------------------- */
/* GRID TWO COLUMN STATIONS & PATHWAYS */
/* ---------------------------------------------------- */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.column-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.badge-dot.green { background: var(--moss); }
.badge-dot.orange { background: var(--coral); }

.match-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    transition: transform var(--transition-speed) ease;
}

.match-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.05);
}

.match-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.match-teams {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.match-penalty-details {
    font-size: 0.9rem;
    color: var(--soft-tan);
    margin-bottom: 8px;
}

.match-outcome-banner {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--moss);
    background: rgba(78, 138, 94, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
}

.advancement-path {
    font-size: 0.85rem;
    margin-top: 6px;
    color: var(--text-muted);
}

.advancement-path strong {
    color: var(--text-light);
}

/* ---------------------------------------------------- */
/* BUTTONS & CTA ARRAYS */
/* ---------------------------------------------------- */
.cta-container {
    margin-top: 20px;
}

.button-primary {
    display: inline-block;
    background: var(--coral);
    color: var(--text-light);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 14px rgba(255, 90, 54, 0.35);
}

.button-primary:hover, .button-primary:focus {
    background: var(--route-blue);
    box-shadow: 0 4px 14px rgba(20, 108, 148, 0.35);
    color: var(--text-light);
}

.button-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.button-secondary:hover, .button-secondary:focus {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.button-text {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.button-text:hover {
    color: var(--text-light);
}

/* ---------------------------------------------------- */
/* QUARTER-FINAL PREVIEW */
/* ---------------------------------------------------- */
.qf-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qf-timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.qf-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.qf-date {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--coral);
    margin-bottom: 8px;
}

.qf-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------- */
/* HOW TO READ GUIDE */
/* ---------------------------------------------------- */
.quick-guide-section {
    display: flex;
    gap: 30px;
    align-items: center;
}

.guide-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 90, 54, 0.15);
    border: 2px solid var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metro-icon {
    color: var(--coral);
}

.guide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.guide-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.inline-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ---------------------------------------------------- */
/* REGISTER / ROUTES / FILTER STATIONS */
/* ---------------------------------------------------- */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.filter-label {
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.filter-btn:hover, .filter-btn:focus {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--text-light);
}

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

.station-card {
    padding: 20px;
    border-left: 5px solid transparent;
}

.station-card.completed-status {
    border-left-color: var(--moss);
}

.station-card.scheduled-status {
    border-left-color: var(--coral);
}

.station-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.station-status-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.completed-status .station-status-tag { color: var(--moss); }
.scheduled-status .station-status-tag { color: var(--coral); }

.station-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.station-teams {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.station-teams small {
    font-weight: 400;
    color: var(--text-muted);
}

.station-outcome-detail, .station-destination {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

.station-outcome-detail strong, .station-destination strong {
    color: var(--text-light);
}

.hidden-item {
    display: none !important;
}

/* ---------------------------------------------------- */
/* ROUND OF 16 BRANCHES Grid */
/* ---------------------------------------------------- */
.r16-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.r16-card {
    border-top: 4px solid transparent;
}

.r16-card.status-fully-confirmed {
    border-top-color: var(--route-blue);
}

.r16-card.status-partially-confirmed {
    border-top-color: var(--coral);
}

.r16-card.status-pending {
    border-top-color: var(--soft-tan);
}

.r16-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-fully-confirmed .status-indicator { background: var(--route-blue); }
.status-partially-confirmed .status-indicator { background: var(--coral); }
.status-pending .status-indicator { background: var(--soft-tan); }

.route-status-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.r16-match-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.r16-meta p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.r16-meta p strong {
    color: var(--text-light);
}

/* ---------------------------------------------------- */
/* PATH GUIDE SPECIFICS */
/* ---------------------------------------------------- */
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.guide-block h2 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: var(--coral);
}

.guide-block ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-block ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---------------------------------------------------- */
/* EDITORIAL / LEGAL CONTENT PAGE LAYOUT */
/* ---------------------------------------------------- */
.editorial-content h2, .legal-page h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--coral);
}

.editorial-content h3, .legal-page h3 {
    font-size: 1.15rem;
    margin-top: 25px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.editorial-content p, .legal-page p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.editorial-content ul, .legal-page ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.editorial-content li, .legal-page li {
    margin-bottom: 8px;
}

.updated-date {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ---------------------------------------------------- */
/* DIRECT DESK CONTACT FORM */
/* ---------------------------------------------------- */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input, .form-select, .form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--coral);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(255, 90, 54, 0.3);
}

.form-select option {
    background: var(--charcoal);
    color: var(--text-light);
}

.form-textarea {
    resize: vertical;
}

.hidden-message {
    display: none;
    text-align: center;
    max-width: 600px;
    margin: 30px auto 0 auto;
    border-color: var(--moss);
}

.hidden-message h3 {
    color: var(--moss);
    margin-bottom: 8px;
}

/* ---------------------------------------------------- */
/* FOOTER LAYOUT */
/* ---------------------------------------------------- */
.main-footer {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    margin-bottom: 0;
    padding: 50px 40px 30px 40px;
    background: rgba(18, 4, 2, 0.97);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 40px;
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-addresses {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-block h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: 6px;
}

.address-block p {
    color: var(--text-muted);
    line-height: 1.4;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-links-grid h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.footer-links-grid ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-grid ul a {
    color: var(--text-muted);
}

.footer-links-grid ul a:hover, .footer-links-grid ul a:focus {
    color: var(--text-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-btn {
    background: transparent;
    border: none;
    color: var(--coral);
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.85rem;
}

.link-btn:hover {
    color: var(--off-white);
}

/* ---------------------------------------------------- */
/* COOKIE BANNER */
/* ---------------------------------------------------- */
.cookie-banner-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

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

.cookie-banner-content {
    max-width: 800px;
    width: 100%;
    margin-bottom: 0;
    border: 1px solid var(--coral);
}

.cookie-banner-content h3 {
    margin-bottom: 10px;
}

.cookie-banner-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cookie-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-block;
    position: relative;
}

.cookie-option input:checked ~ .custom-checkbox {
    background: var(--coral);
    border-color: var(--coral);
}

.cookie-option input:checked ~ .custom-checkbox::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 2px;
    left: 6px;
}

.cookie-option input:disabled ~ .custom-checkbox {
    opacity: 0.5;
    cursor: not-allowed;
}

.option-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.option-label small {
    color: var(--text-muted);
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

/* ---------------------------------------------------- */
/* RESPONSIVENESS (BREAKPOINTS) */
/* ---------------------------------------------------- */

@media (max-width: 1200px) {
    .content-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-links-grid {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Header Menu Toggle */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none; /* JS toggles display block via inline utility */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(31, 7, 4, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-menu.open {
        display: flex;
    }

    /* Grids to Single Column */
    .legend-grid,
    .grid-two-cols,
    .qf-timeline-grid,
    .stations-grid,
    .r16-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    /* Convert visual metro corridor nodes layout */
    .metro-corridor-wrapper {
        min-width: 100%;
    }
    
    .corridor-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .corridor-connector {
        width: 4px;
        height: 25px;
        align-self: center;
    }

    .corridor-node {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links-grid {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .quick-guide-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .main-header {
        padding: 15px 20px;
    }

    .glass-panel {
        padding: 20px;
    }
}