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

:root {
    --color-dark: #0f172a;
    --color-light: rgba(15, 23, 42, 0.78);
    --color-border: rgba(148, 163, 184, 0.25);
    --color-table-header: rgba(15, 23, 42, 0.9);
    --color-event-border: rgba(148, 163, 184, 0.35);
    --color-white: #ffffff;
    --color-dark-border: rgba(148, 163, 184, 0.6);
    --primary-color: #9146ff;
    --primary-color-strong: #7c3aed;
    --primary-color-soft: rgba(145, 70, 255, 0.16);
    --primary-color-accent: #c084fc;
    --color-primary: var(--primary-color);
    --color-primary-dark: #6d28d9;
    --text-color: #0f172a;
    --text-on-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.35);
    --shadow-md: 0 18px 35px rgba(15, 23, 42, 0.28);
    --shadow-sm: 0 12px 24px rgba(15, 23, 42, 0.18);
    --radius-lg: 1.75rem;
    --radius-md: 1rem;
    --radius-sm: 0.75rem;
}

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

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-on-dark);
    background-color: #050816;
    background-image:
        linear-gradient(180deg, rgba(5, 8, 22, 0.9), rgba(5, 8, 22, 0.6)),
        url('/assets/img/background_blurred.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(145, 70, 255, 0.25), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(14, 165, 233, 0.2), transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(244, 114, 182, 0.22), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus {
    outline: 2px solid rgba(145, 70, 255, 0.45);
    outline-offset: 3px;
}

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

.hidden {
    display: none !important;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

main.page-content {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 7.5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

main.page-content--schedule {
    width: min(80vw, 1600px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 8, 22, 0.76);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 35px rgba(5, 8, 22, 0.35);
}

.header-inner {
    width: min(1600px, 100%);
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-accent));
    color: #050816;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.brand-text {
    color: var(--color-white);
    text-shadow: 0 10px 20px rgba(145, 70, 255, 0.35);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    margin-right: 1rem;
    transition: opacity 0.2s ease, transform 0.3s ease;
    position: relative;
    z-index: 5;
}

.navbar a {
    position: relative;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--color-white);
    opacity: 0.85;
}

.navbar a::after {
    content: '';
    position: absolute;
    inset: auto 18px -6px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-accent));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar a:hover,
.navbar a:focus {
    opacity: 1;
}

.navbar a.is-active {
    opacity: 1;
}

.navbar a:hover::after,
.navbar a:focus::after {
    opacity: 1;
    transform: translateY(0);
}

.navbar a.is-active::after {
    opacity: 1;
    transform: translateY(0);
}

.account-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.account-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(148, 163, 184, 0.16);
    color: var(--color-white);
    font-weight: 600;
}

.account-menu__toggle:hover,
.account-menu__toggle:focus,
.account-menu.is-open .account-menu__toggle {
    background: rgba(145, 70, 255, 0.2);
    box-shadow: 0 12px 24px rgba(145, 70, 255, 0.25);
}

.account-menu__chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.account-menu.is-open .account-menu__chevron {
    transform: rotate(-135deg);
}

.account-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 220px;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 35px rgba(5, 8, 22, 0.4);
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 200;
}

.account-menu.is-open .account-menu__dropdown {
    display: flex;
}

.account-menu__item {
    display: flex;
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-weight: 500;
    background: transparent;
    text-align: left;
}

.account-menu__item:hover,
.account-menu__item:focus {
    background: rgba(145, 70, 255, 0.18);
}

.account-menu__item--logout {
    color: #fda4af;
}

.account-menu__item--logout:hover,
.account-menu__item--logout:focus {
    background: rgba(248, 113, 113, 0.16);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: rgba(145, 70, 255, 0.15);
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: 0.5rem;
}

.menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-white);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open {
    background: var(--primary-color);
    box-shadow: 0 15px 25px rgba(145, 70, 255, 0.35);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.content-card {
    position: relative;
    background: rgba(10, 15, 32, 0.78);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 5vw, 3.25rem);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    inset: -40% -30% auto;
    height: 60%;
    background: radial-gradient(circle at top, rgba(145, 70, 255, 0.35), transparent 60%);
    opacity: 0.65;
    pointer-events: none;
}

.content-card > * {
    position: relative;
    z-index: 1;
}

.content-card--hero {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

h1 {
    font-size: clamp(2.15rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    color: var(--color-white);
}

.content-hero-text h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(2.35rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
}

.content-hero-text p {
    margin-bottom: 1rem;
    color: var(--text-on-dark);
    font-size: 1.05rem;
}

.content-hero-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-card--social {
    text-align: center;
}

.section-intro {
    max-width: 560px;
    margin: 0.5rem auto 1.75rem;
    color: var(--text-muted);
}

h2 {
    font-size: clamp(1.75rem, 2.4vw, 2.3rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: #1e293b;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 0.85rem;
}

p {
    margin: 0 0 1rem;
    color: var(--text-on-dark);
    font-size: 1.05rem;
}

.twitch-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background: #000;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.controls button {
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-strong));
    color: var(--color-white);
    font-weight: 600;
    box-shadow: 0 18px 32px rgba(145, 70, 255, 0.35);
}

.controls button:hover,
.controls button:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(145, 70, 255, 0.4);
}

.week-range {
    flex: 1 1 auto;
    display: inline-flex;
    justify-content: center;
    padding: 0.55rem 1.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.schedule-change-link {
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-on-dark);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.schedule-change-link:hover,
.schedule-change-link:focus {
    border-color: rgba(145, 70, 255, 0.5);
    box-shadow: 0 18px 30px rgba(145, 70, 255, 0.25);
    transform: translateY(-2px);
}

.schedule-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(8, 11, 26, 0.78);
    box-shadow: var(--shadow-md);
    padding: 1.25rem;
}


.table-schedule {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text-on-dark);
    font-size: 0.95rem;
    text-align: center;
    table-layout: fixed;
}

.table-schedule thead th {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.92), rgba(59, 130, 246, 0.85));
    color: var(--color-white);
    padding: 0.9rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: calc(100% / 7);
}

.table-schedule td {
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 0;
    vertical-align: top;
    width: calc(100% / 7);
}

.table-schedule tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.25);
}

.table-schedule .day-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    min-height: 10rem;
    height: 100%;
}

.event {
    --event-block-height: 18rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    background: linear-gradient(160deg, rgba(145, 70, 255, 0.2), rgba(14, 165, 233, 0.18));
    border: 1px solid rgba(145, 70, 255, 0.35);
    border-radius: 1rem;
    padding: 1rem;
    min-height: var(--event-block-height);
    height: var(--event-block-height);
    width: 100%;
    text-align: center;
    color: var(--color-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.event .time {
    font-size: 1.1rem;
    font-weight: 700;
}

.event .title {
    font-size: 1rem;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.event img {
    border-radius: 0.85rem;
    max-height: 160px;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.event:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 34px rgba(145, 70, 255, 0.35);
}

.event.filmes {
    background: linear-gradient(155deg, rgba(145, 70, 255, 0.35), rgba(55, 48, 163, 0.35));
}

.event.outros-eventos {
    background: linear-gradient(155deg, rgba(59, 130, 246, 0.28), rgba(6, 182, 212, 0.25));
    border-color: rgba(59, 130, 246, 0.45);
}

.event.outros-eventos img {
    max-height: 150px;
}

.event.patrocinio-filme,
.event.patrocinio-filme-vazio,
.event.patrocinio-anime,
.event.patrocinio-anime-vazio,
.event.patrocinio-serie,
.event.patrocinio-serie-vazio {
    --event-block-height: 24rem;
}

.reviews-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem auto 1.5rem;
}

.reviews-search input,
.reviews-search button,
.reviews-search__clear {
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(8, 11, 26, 0.75);
    color: var(--text-on-dark);
    font-weight: 500;
}

.reviews-search input:focus {
    border-color: rgba(145, 70, 255, 0.6);
    outline: none;
    box-shadow: 0 0 0 3px rgba(145, 70, 255, 0.2);
}

.reviews-search button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-strong));
    color: var(--color-white);
    font-weight: 600;
    border: 1px solid transparent;
}

.reviews-search button:hover,
.reviews-search button:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 28px rgba(145, 70, 255, 0.35);
}

.reviews-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    background: rgba(8, 11, 26, 0.45);
    color: rgba(226, 232, 240, 0.86);
    border-color: rgba(148, 163, 184, 0.35);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-search__clear:hover,
.reviews-search__clear:focus {
    background: rgba(145, 70, 255, 0.2);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(145, 70, 255, 0.25);
}

.review-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
}

.review-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: rgba(8, 11, 26, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    color: var(--color-white);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-item:hover,
.review-item:focus {
    transform: translateY(-4px);
    box-shadow: 0 22px 36px rgba(145, 70, 255, 0.28);
}

.review-item img {
    width: 96px;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.review-item h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.review-item .heart {
    color: #f472b6;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.modal-rating__heart {
    display: none;
    color: #f472b6;
    font-size: 1.1rem;
}

.rating .star {
    font-size: 1.05rem;
    color: rgba(148, 163, 184, 0.35);
}

.rating .star.full {
    color: #fbbf24;
}

.rating .star.half {
    background: linear-gradient(90deg, #fbbf24 50%, rgba(148, 163, 184, 0.35) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.review-item .sponsor,
.review-item .date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

#modal-overlay,
#schedule-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.75);
    z-index: 200;
}

#review-modal,
#schedule-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(520px, 90vw);
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(10, 15, 32, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 210;
    color: var(--text-on-dark);
}

#review-modal .close,
#schedule-modal .close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.75rem;
    color: var(--text-muted);
    background: none;
}

#review-modal .close:hover,
#review-modal .close:focus,
#schedule-modal .close:hover,
#schedule-modal .close:focus {
    color: var(--color-white);
}

#review-modal .modal-title,
#schedule-modal .modal-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.35rem;
    color: var(--color-white);
}

#review-modal .modal-image,
#schedule-modal .schedule-modal__image {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

#review-modal .modal-review {
    margin-top: 1.25rem;
    color: var(--text-on-dark);
    white-space: pre-line;
}

#schedule-modal .schedule-modal__media {
    margin: 1.5rem 0;
}

#schedule-modal .schedule-modal__media img {
    width: 100%;
    border-radius: var(--radius-sm);
    display: block;
}

#schedule-modal .schedule-modal__details {
    margin: 1.5rem 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

#schedule-modal .schedule-modal__detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#schedule-modal .schedule-modal__detail dt {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

#schedule-modal .schedule-modal__detail dd {
    margin: 0;
    font-weight: 600;
    color: var(--color-white);
}

#schedule-modal .schedule-modal__section {
    margin-top: 1.5rem;
}

#schedule-modal .schedule-modal__section-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--color-white);
}

#schedule-modal .schedule-modal__section p {
    margin: 0;
    color: var(--text-on-dark);
    white-space: pre-line;
}

#schedule-modal .schedule-modal__actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

#schedule-modal .schedule-modal__link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

#schedule-modal .schedule-modal__link:hover,
#schedule-modal .schedule-modal__link:focus {
    background: var(--color-primary-dark);
}

.hidden {
    display: none !important;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 460px;
    display: grid;
    gap: 0.85rem;
}

.social-links li {
    width: 100%;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(8, 11, 26, 0.85);
    color: var(--color-white);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.social-links a:hover,
.social-links a:focus {
    transform: translateY(-4px);
    border-color: rgba(145, 70, 255, 0.45);
    box-shadow: 0 22px 36px rgba(145, 70, 255, 0.22);
}

.social-links img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(5, 8, 22, 0.45));
}

.social-links span {
    flex: 1;
    text-align: center;
}

.site-footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 2.5rem 1.5rem 3rem;
    background: rgba(5, 8, 22, 0.82);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(16px);
}

.footer-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--color-white);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(15, 23, 42, 0.6);
}

.footer-links a:hover,
.footer-links a:focus {
    border-color: rgba(145, 70, 255, 0.5);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(8, 11, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(145, 70, 255, 0.7);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(145, 70, 255, 0.9);
}

@media (max-width: 1024px) {
    .content-card--hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .navbar {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1.5rem;
        right: 1.5rem;
        background: rgba(8, 11, 26, 0.92);
        border: 1px solid rgba(148, 163, 184, 0.35);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        display: none;
        z-index: 150;
    }

    .navbar.is-open {
        display: flex;
    }

    .navbar a {
        padding: 0.85rem 1rem;
        border-radius: 0.85rem;
        border: 1px solid transparent;
        opacity: 1;
    }

    .navbar a::after {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    main.page-content {
        padding-top: 6.5rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .controls button,
    .schedule-change-link,
    .week-range {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .review-item {
        flex-direction: column;
        text-align: center;
    }

    .review-item img {
        width: 120px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .header-inner {
        padding: 1rem;
    }

    .schedule-wrapper {
        padding: 1rem;
    }

    .reviews-search input,
    .reviews-search button,
    .reviews-search__clear {
        width: 100%;
    }

    .social-links {
        margin-top: 1.5rem;
    }
}
