:root {
    color-scheme: light;
    --color-background: #f7f1ff;
    --color-surface: #ffffff;
    --color-text-primary: #2c3e50;
    --color-text-secondary: #4a4a4a;
    --color-border: #e3d9ff;
    --color-primary: #ff6b6b;
    --color-primary-dark: #c44569;
    --color-accent: #4ecdc4;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lifted: 0 10px 35px rgba(102, 126, 234, 0.25);
    --max-width: 1200px;
    font-size: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #333;
    line-height: 1.7;
    background: var(--color-background);
}

a {
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    z-index: 999;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
}

.header {
    background: var(--color-surface);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
}

.logo__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(78, 205, 196, 0.9) 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.25);
}

.logo__text {
    display: inline-block;
    line-height: 1.1;
}

.nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.nav__link {
    text-decoration: none;
    color: inherit;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.2s ease;
}

.nav__link:focus-visible,
.nav__link:hover {
    color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
    width: 100%;
}

.nav__dropdown {
    position: relative;
}

.nav__dropdown-items {
    display: none;
    position: absolute;
    background: var(--color-surface);
    min-width: 220px;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    top: calc(100% + 12px);
    padding: 0.75rem 0;
}

.nav__dropdown:hover .nav__dropdown-items {
    display: block;
}

.nav__dropdown a {
    display: block;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.nav__dropdown a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: var(--color-primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    color: var(--color-text-primary);
}

.page-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem;
}

.hero {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(148, 77, 255, 0.92) 100%);
    padding: 5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255, 255, 255, 0.05) 14px, rgba(255, 255, 255, 0.05) 28px);
    opacity: 0.25;
}

.hero__inner {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero__claims {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero__claim {
    background: rgba(78, 205, 196, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button--primary {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(78, 205, 196, 0.95) 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 107, 107, 0.35);
}

.button--primary:hover,
.button--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(255, 107, 107, 0.45);
}

.button--ghost {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    background: transparent;
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.15);
}

.surface-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 245, 255, 0.96) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(204, 191, 255, 0.4);
}

.surface-card--bordered {
    border: 1px solid rgba(44, 62, 80, 0.08);
}

.insight {
    position: relative;
    overflow: hidden;
}

.insight__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(78, 205, 196, 0.25);
    color: var(--color-primary-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.insight__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.insight__panel {
    background: rgba(255, 107, 107, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.22);
}

.insight__panel h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.insight__panel--context {
    background: rgba(78, 205, 196, 0.12);
    box-shadow: inset 0 0 0 1px rgba(78, 205, 196, 0.3);
}

.insight__provider {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.insight__link {
    align-self: flex-start;
}

.champion__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.champion__card {
    background: rgba(255, 107, 107, 0.07);
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.25);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.champion__card h3 {
    margin: 0;
    color: var(--color-primary-dark);
    font-size: 1.2rem;
}

.champion__badge {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.22) 0%, rgba(78, 205, 196, 0.22) 100%);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.champion__rating {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.champion__reviews,
.champion__map {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
}

.champion__reviews:hover,
.champion__map:hover {
    color: var(--color-primary-dark);
}

.champion__card .list-titled {
    padding-left: 1.2rem;
}

.section-title {
    color: var(--color-text-primary);
    margin-bottom: 1.75rem;
    font-size: 2rem;
    font-weight: 600;
}

.quick-compare {
    display: grid;
    gap: 1.5rem;
}

.quick-compare__item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-surface);
}

.quick-compare__header {
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.quick-compare__header--highlight {
    background: linear-gradient(135deg, rgba(248, 249, 250, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.quick-compare__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-compare__rank {
    font-size: 2rem;
}

.quick-compare__details h3 {
    margin: 0;
    font-size: 1.35rem;
}

.quick-compare__name-link {
    text-decoration: none;
    color: var(--color-text-primary);
}

.quick-compare__name-link:hover,
.quick-compare__name-link:focus-visible {
    color: var(--color-primary);
}

.quick-compare__details p {
    margin: 0.4rem 0 0;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.quick-compare__score {
    text-align: right;
}

.quick-compare__score-value {
    font-size: 2.25rem;
    font-weight: 700;
}

.quick-compare__score-value--top {
    color: #28a745;
}

.quick-compare__score-value--default {
    color: #999;
}

.quick-compare__score-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #99a1a8;
}

.quick-compare__body {
    padding: 1.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.quick-compare__footer {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
}

.facts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.facts-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.facts-table td {
    padding: 0.5rem 0;
    color: var(--color-text-secondary);
}

.facts-table td:last-child {
    text-align: right;
}

.list-titled {
    list-style: none;
    margin: 0.75rem 0 0;
    padding-left: 1.2rem;
    color: #555;
}

.list-titled li {
    margin-bottom: 0.4rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-neutral { background: #e3f2fd; color: #1976d2; }
.badge-positive { background: #e8f5e9; color: #2e7d32; }
.badge-negative { background: #ffebee; color: #c62828; }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.topics-grid__item {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.12) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topics-grid__item:hover,
.topics-grid__item:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lifted);
}

.topics-grid__icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.topics-grid__title {
    margin-bottom: 0.65rem;
    color: var(--color-text-primary);
    font-size: 1.25rem;
}

.topics-grid__link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.districts__intro {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.districts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.districts__list a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.districts__list a:hover {
    color: var(--color-primary-dark);
}

.districts__note {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    background: rgba(255, 215, 0, 0.18);
    border-left: 4px solid #ffc107;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-md);
}

.geo__intro {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.geo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.geo__card {
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.2);
}

.geo__card h3 {
    margin: 0;
    color: var(--color-primary-dark);
}

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

.geo__list a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.geo__list a:hover {
    color: var(--color-primary-dark);
}

.geo__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.events__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.events__card {
    background: rgba(118, 75, 162, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    color: var(--color-text-primary);
    box-shadow: inset 0 0 0 1px rgba(118, 75, 162, 0.2);
}

.events__card h3 {
    margin-top: 0;
    color: var(--color-primary-dark);
}

.events__meta {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    background: rgba(255, 215, 0, 0.18);
    border-left: 4px solid #ffc107;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
}

.cta {
    border: 1px solid rgba(102, 126, 234, 0.4);
    padding: 2.5rem;
    text-align: center;
    background: var(--color-surface);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta__link {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.8rem 2.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cta__link:hover,
.cta__link:focus-visible {
    background: var(--color-primary);
    color: #fff;
}

.notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    color: #856404;
}

.notice__title {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.footer {
    background: #2c3e50;
    color: #fff;
    margin-top: 4rem;
    padding: 3rem 1.5rem;
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer__title {
    margin-bottom: 0.9rem;
    font-size: 1.1rem;
}

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

.footer__link {
    color: #bdc3c7;
    text-decoration: none;
}

.footer__link:hover {
    color: #fff;
}

.footer__bottom {
    border-top: 1px solid rgba(189, 195, 199, 0.2);
    padding-top: 1.25rem;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer__disclaimer {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-top: 0.8rem;
}

.link-inline {
    color: #bdc3c7;
    text-decoration: none;
}

.link-inline:hover {
    color: #fff;
}

.pros-cons__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pros-cons__list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text-secondary);
}

.scoring-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    color: #1a4e8a;
}

.scoring-info ul {
    padding-left: 1.2rem;
    margin: 1rem 0 0;
    line-height: 1.75;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card-grid__item {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-grid__item:hover,
.card-grid__item:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lifted);
}

.card-grid__title {
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 992px) {
    .quick-compare__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-compare__score {
        text-align: left;
    }

    .hero {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 15px;
    }

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

    .nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .surface-card {
        padding: 2rem;
    }

    .quick-compare__body {
        grid-template-columns: 1fr;
    }

    .insight__grid {
        grid-template-columns: 1fr;
    }

    .champion__grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .districts__grid {
        grid-template-columns: 1fr;
    }

    .geo__grid {
        grid-template-columns: 1fr;
    }

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

    .events__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

