@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:       #e8eee9;
    --surface:  #f5f8f5;
    --text:     #212b1f;
    --muted:    #546651;
    --accent:   #5b7258;
    --accent-light: #7c9379;
    --border:   #c2d1c4;
    --radius:   6px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── NAV ──────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-brand {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* ── DROPDOWN MENU ───────────────────────── */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 0.2rem;
    position: relative;
    top: -1px; /* Subtle pixel shift for absolute baseline alignment with other text links */
}

.dropdown-trigger .arrow {
    font-size: 0.6rem;
    display: inline-block;
    transition: transform 0.2s ease;
    margin-top: 2px; /* Center arrow symbol horizontally and vertically relative to text height */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(91, 114, 88, 0.12);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0 !important;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem !important;
    color: var(--text) !important;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(91, 114, 88, 0.08);
    color: var(--accent) !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

.dropdown:hover .dropdown-trigger {
    color: var(--accent);
}

/* ── MAIN ──────────────────────────────────── */
main {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 4rem 1.5rem 6rem;
}

.hero {
    padding: 3rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.hero-content {
    flex: 1;
}

.hero-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.hero-logos img {
    height: 75px;
    width: auto;
    object-fit: contain;
}

.hero-logos .logo-zhr {
    height: 85px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 300;
}

/* ── CONTENT BLOCKS ──────────────────────── */
.block {
    margin-bottom: 2.5rem;
}

.block p {
    font-size: 1rem;
    color: var(--text);
    max-width: 65ch;
}

.block ul {
    margin-left: 1.25rem;
    margin-top: 0.75rem;
    max-width: 65ch;
    list-style-type: disc;
    color: var(--text);
}

.block li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── SECTION TITLE ───────────────────────── */
h2.section-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

/* ── LIST (zastępy) ──────────────────────── */
.patrol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 600px;
}

.patrol-item {
    background: var(--surface);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 400;
    transition: background 0.15s;
}

.patrol-item:hover {
    background: #f0f7f4;
}

/* ── INFO TABLE ──────────────────────────── */
.info-table {
    width: 100%;
    max-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.info-table tr {
    transition: background 0.15s ease;
}

.info-table td, .info-table th {
    padding: 0.85rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table thead tr {
    background-color: rgba(91, 114, 88, 0.08);
}

.info-table thead td {
    color: var(--text);
    font-weight: 600;
}

.info-table td:first-child {
    color: var(--muted);
    width: 35%;
    font-weight: 500;
}

.info-table tbody tr:hover {
    background-color: rgba(91, 114, 88, 0.03);
}

.info-table td:last-child {
    font-weight: 400;
    color: var(--text);
}

.info-table a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.info-table a:hover {
    text-decoration: underline;
}

/* ── FOOTER ──────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--muted);
}

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

.footer-links a {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logos img {
    height: 42px;
    width: auto;
    filter: grayscale(1) contrast(0.8) brightness(1);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.footer-logos img:hover {
    filter: none;
    opacity: 1;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(91, 114, 88, 0.15);
}

.btn:hover {
    background: var(--accent-light);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(91, 114, 88, 0.25);
    text-decoration: none;
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(91, 114, 88, 0.15);
}

/* ── LAW & PROMISE PAGE ──────────────────── */
.promise-quote {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.law-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.law-item {
    display: flex;
    gap: 1.5rem;
    background: var(--surface);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.law-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 114, 88, 0.08);
}

.law-num {
    font-size: 2.25rem;
    font-weight: 600;
    color: rgba(91, 114, 88, 0.25);
    line-height: 1;
    width: 2.5rem;
    flex-shrink: 0;
    text-align: center;
}

.law-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.6rem;
    line-height: 1.45;
}

.law-text p {
    font-size: 0.925rem;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 0;
}

/* ── SPRAWNOŚCI BADGES ───────────────────── */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.badge-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(91, 114, 88, 0.08);
}

.badge-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.badge-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.3;
}

.badge-level {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c99f18;
    letter-spacing: 0.05em;
}

.badge-category {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.badge-desc {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    flex-grow: 1;
}

/* ── SPIS UTWORÓW i MODAL ────────────────── */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.song-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.song-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 114, 88, 0.08);
    border-color: var(--accent);
}

.song-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.song-card-preview {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.song-card-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 43, 31, 0.45);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: 95%;
    max-width: 620px;
    max-height: 85vh;
    padding: 2.25rem 2.25rem 2rem;
    box-shadow: 0 20px 48px rgba(33, 43, 31, 0.18);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
    color: var(--text);
    transform: scale(1.1);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modal-controls {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.control-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    user-select: none;
}

.control-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(91, 114, 88, 0.05);
}

.control-btn:active {
    transform: scale(0.97);
}

#copy-lyrics {
    margin-left: auto;
}

#copy-lyrics.copied {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.modal-lyrics-container {
    overflow-y: auto;
    padding-right: 0.75rem;
    flex-grow: 1;
}

.modal-lyrics {
    font-family: 'Georgia', 'Merriweather', 'Inter', serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.modal-lyrics .verse {
    white-space: pre-wrap;
    padding-left: 0.25rem;
}

.modal-lyrics .verse.chorus {
    white-space: pre-wrap;
    background: rgba(91, 114, 88, 0.05);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.25rem 1.15rem 1.5rem;
    border-radius: 4px;
    color: var(--text);
    font-style: italic;
    position: relative;
}

.modal-lyrics .verse.chorus .chorus-tag {
    display: block;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

/* Custom Scrollbar for Modal */
.modal-lyrics-container::-webkit-scrollbar {
    width: 6px;
}
.modal-lyrics-container::-webkit-scrollbar-track {
    background: transparent;
}
.modal-lyrics-container::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
.modal-lyrics-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 600px) {
    .nav-inner { height: 50px; }
    .hero { 
        padding: 2rem 0 2.5rem; 
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .hero-logos {
        align-self: flex-start;
    }
    .hero-logos img {
        height: 60px;
    }
    .hero-logos .logo-zhr {
        height: 70px;
    }
    main { padding: 2.5rem 1rem 4rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .law-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    .law-num {
        text-align: left;
        font-size: 1.75rem;
        width: auto;
    }
}

/* ── SZYFR UŁAMKOWY ──────────────────────── */
.fraction-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    max-width: 650px;
}

.fraction-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

.fraction-group:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(91, 114, 88, 0.12);
    border-color: var(--accent);
}

.fraction-positions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.fraction-letters {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
    letter-spacing: 0.05em;
}

.fraction-positions span,
.fraction-letters span {
    width: 18px;
    text-align: center;
    display: inline-block;
}

.fraction-line {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    margin: 0.25rem 0 0.5rem 0;
    opacity: 0.85;
}

.fraction-num {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

/* ── NAV TOGGLE (HAMBURGER) ──────────────── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    position: relative;
    z-index: 110;
    flex-shrink: 0;
}

.nav-toggle-box {
    width: 22px;
    height: 16px;
    display: block;
    position: relative;
}

.nav-toggle-inner,
.nav-toggle-inner::before,
.nav-toggle-inner::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent);
    position: absolute;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-inner {
    top: 7px;
}

.nav-toggle-inner::before {
    top: -7px;
}

.nav-toggle-inner::after {
    top: 7px;
}

/* X state */
.nav-toggle.active .nav-toggle-inner {
    transform: rotate(45deg);
}

.nav-toggle.active .nav-toggle-inner::before {
    top: 0;
    opacity: 0;
}

.nav-toggle.active .nav-toggle-inner::after {
    top: 0;
    transform: rotate(-90deg);
}

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

    /* Show hamburger, hide normal links */
    .nav-toggle {
        display: block;
    }

    /* Mobile menu panel */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        list-style: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--surface);
        padding: 2rem 1.75rem;
        border-top: 1px solid var(--border);
        overflow-y: auto;
        z-index: 99;
        /* Hidden by default */
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(91, 114, 88, 0.1);
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a,
    .nav-links > li > .dropdown-trigger {
        font-size: 1.05rem !important;
        font-weight: 500;
        padding: 0.85rem 0 !important;
        display: flex !important;
        width: 100%;
        color: var(--text) !important;
        text-decoration: none;
        vertical-align: unset;
        top: 0;
    }

    .nav-links > li > a:hover,
    .nav-links > li > .dropdown-trigger:hover {
        color: var(--accent) !important;
    }

    /* Active state in mobile */
    .nav-links a.active {
        color: var(--accent) !important;
    }

    /* Mobile dropdown – accordion style */
    .dropdown {
        display: block;
    }

    .dropdown-trigger {
        justify-content: space-between;
        cursor: pointer;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--accent) !important;
        background: transparent !important;
        margin-left: 1.5rem !important;
        padding: 0.25rem 0 0.5rem 0 !important;
        min-width: 0 !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: auto !important;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown.open .dropdown-trigger {
        color: var(--accent);
    }

    .dropdown.open .dropdown-trigger .arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu li {
        margin: 0 !important;
    }

    .dropdown-menu a {
        font-size: 0.95rem !important;
        color: var(--muted) !important;
        padding: 0.5rem 0 0.5rem 1.25rem !important;
        display: block;
        white-space: normal;
        background: none !important;
    }

    .dropdown-menu a:hover {
        color: var(--accent) !important;
        background: none !important;
    }

    /* Stacked hero */
    .hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 0 2.5rem;
        margin-bottom: 2rem;
    }

    .hero-logos {
        align-self: flex-start;
    }

    /* Footer stack */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
    }

    /* Law items */
    .law-item {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .law-num {
        text-align: left;
        font-size: 1.75rem;
        width: auto;
    }
}

@media (max-width: 576px) {
    .nav-inner {
        height: 50px;
    }

    .nav-links {
        top: 50px;
        padding: 1.5rem 1.25rem;
    }

    main {
        padding: 2rem 1rem 3.5rem;
    }

    .hero-logos img {
        height: 55px;
    }

    .hero-logos .logo-zhr {
        height: 65px;
    }

    .info-table td,
    .info-table th {
        padding: 0.6rem 0.85rem;
    }

    /* Song lyrics modal */
    .modal-content {
        padding: 1.5rem 1rem 1.25rem;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 1.3rem;
        padding-right: 2rem;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.5rem;
    }

    .modal-controls {
        gap: 0.35rem;
        flex-wrap: wrap;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .control-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }

    .modal-lyrics .verse.chorus {
        padding: 0.75rem 0.75rem 0.75rem 1rem;
    }
}
