/**
 * CasinoTruths — Main Stylesheet
 */

/* ==========================================================================
   Custom Properties
   ========================================================================== */

:root {
    --blue: #315caa;
    --blue-dark: #284d8f;
    --blue-light: #3d6bb8;
    --yellow: #fdd835;
    --yellow-dark: #e6c200;
    --white: #ffffff;
    --background: #f8f9fb;
    --surface: #ffffff;
    --navy: #1a2332;
    --text: #2c3e50;
    --text-muted: #5a6b7d;
    --border: #e2e8f0;
    --border-light: #eef2f7;
    --star-empty: #d1d9e6;
    --success: #27ae60;
    --danger: #c0392b;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 4px 12px rgba(26, 35, 50, 0.08);
    --header-height: 60px;
    --container-max: 1200px;
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Code', 'Segoe UI Mono', Menlo, Consolas, monospace;
    --transition: 0.2s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--blue-dark);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

ul {
    margin: 0;
    padding: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.container--narrow {
    max-width: 720px;
}

.site-main {
    min-height: calc(100vh - var(--header-height) - 200px);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blue);
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(26, 35, 50, 0.15);
}

.site-header .container {
    position: relative;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-logo__desktop {
    display: none;
    height: 34px;
    width: auto;
    background: transparent;
}

.site-logo__mobile {
    display: block;
    height: 40px;
    width: auto;
    background: transparent;
}

@media (min-width: 640px) {
    .site-logo__desktop {
        display: block;
        height: 32px;
    }

    .site-logo__mobile {
        display: none;
    }
}

.site-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    background: transparent;
    text-decoration: none;
    transition: color var(--transition);
}

.site-nav__list a:hover {
    color: var(--yellow);
}

.site-nav__list a[aria-current="page"] {
    color: var(--yellow);
    font-weight: 600;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--blue-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.25rem 1rem;
}

.site-nav.is-open {
    display: block;
}

@media (max-width: 767px) {
    .site-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .site-nav__list li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-nav__list a {
        padding: 0.75rem 0.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: block;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .site-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 1.75rem;
    }

    .site-nav__list a {
        padding: 0.5rem 0;
    }
}

.header-ad {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--yellow);
    color: var(--navy);
    border-color: var(--yellow);
}

.btn--primary:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    color: var(--navy);
}

.btn--secondary {
    background: var(--white);
    color: var(--blue);
    border-color: var(--blue);
}

.btn--secondary:hover {
    background: var(--blue);
    color: var(--white);
}

.btn--sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
}

.btn--lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   Ad Slots
   ========================================================================== */

.ad-slot {
    background: var(--border-light);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ad-slot__label {
    display: block;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--white);
    border-bottom: 1px dashed var(--border);
}

.ad-slot__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.ad-slot--banner .ad-slot__placeholder {
    min-height: 90px;
}

.ad-slot--sidebar .ad-slot__placeholder {
    min-height: 250px;
}

.ad-slot--inline .ad-slot__placeholder {
    min-height: 120px;
    margin: 1.5rem 0;
}

.ad-slot--standard .ad-slot__placeholder {
    min-height: 90px;
}

.ad-slot a {
    display: block;
}

.ad-slot img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Intro Section (Homepage)
   ========================================================================== */

.intro-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.intro-section--home {
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    border-bottom-color: var(--border-light);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(49, 92, 170, 0.08) 1px, transparent 0);
    background-size: 16px 16px;
}

.intro-section__grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-section__content {
    position: relative;
    z-index: 1;
}

.intro-section__art {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    min-width: 0;
    width: 100%;
}

.intro-section__illustration {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    object-position: right center;
}

.intro-section__headline {
    font-size: 2.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
    max-width: none;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.intro-section__headline-line2 {
    display: inline-block;
}

.intro-section__headline-accent {
    color: var(--blue);
}

.intro-section__text {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: none;
    margin-bottom: 1.35rem;
    line-height: 1.65;
}

.intro-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.intro-section--home .btn {
    border-radius: 6px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .intro-section {
        padding: 2.5rem 0;
    }

    .intro-section--home {
        padding: 2.5rem 0 2.75rem;
    }

    .intro-section__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 2rem;
    }

    .intro-section__content {
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .intro-section__art {
        height: 100%;
        min-height: 0;
    }

    .intro-section__illustration {
        width: 100%;
        height: 100%;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: right center;
    }

    .intro-section__headline {
        font-size: 2.75rem;
    }
}

@media (min-width: 992px) {
    .intro-section--home {
        padding: 2.75rem 0 3rem;
    }

    .intro-section__headline {
        font-size: 3rem;
    }

    .intro-section__headline-line2 {
        white-space: nowrap;
    }

    .intro-section__text {
        font-size: 1.0625rem;
    }
}

@media (max-width: 767px) {
    .intro-section__art {
        justify-content: center;
    }

    .intro-section__illustration {
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 2 / 1;
        object-position: center;
    }
}

/* ==========================================================================
   Homepage Layout
   ========================================================================== */

.homepage-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.homepage-main {
    flex: 1;
    min-width: 0;
}

.homepage-sidebar {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .homepage-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .homepage-main {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .homepage-sidebar {
        flex: 0 0 calc(30% - 2.5rem);
        max-width: calc(30% - 2.5rem);
        position: sticky;
        top: calc(var(--header-height) + 1rem);
    }
}

/* ==========================================================================
   Section Blocks
   ========================================================================== */

.section-block {
    margin-bottom: 2rem;
}

.section-block__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.page-home .section-block__header {
    align-items: center;
}

.section-block__title {
    font-size: 1.375rem;
    font-weight: 800;
}

.page-home .section-block__title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.page-home .section-block__title::before {
    content: '';
    flex-shrink: 0;
    width: 0.65em;
    height: 0.65em;
    min-width: 10px;
    min-height: 10px;
    background: var(--yellow);
    border-radius: 0;
}

.section-block__subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0.25rem 0 0;
}

.section-block__link {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.section-block--sidebar .section-block__title {
    font-size: 1.125rem;
}

/* ==========================================================================
   Ratings & Tags
   ========================================================================== */

.stars {
    display: inline-flex;
    gap: 1px;
    letter-spacing: -1px;
}

.star {
    font-size: 1rem;
    line-height: 1;
}

.star--full,
.star--half {
    color: var(--yellow);
}

.star--empty {
    color: var(--star-empty);
}

.rating-numeric {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 0.375rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none;
    margin: 0.5rem 0;
    padding: 0;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.tag-list--intel {
    gap: 0.5rem;
}

.tag--intel {
    padding: 0.15rem 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--blue);
    background: rgba(49, 92, 170, 0.04);
    border: 1px solid rgba(49, 92, 170, 0.18);
    border-radius: 3px;
}

.tag--intel::before {
    content: '[ ';
    opacity: 0.65;
}

.tag--intel::after {
    content: ' ]';
    opacity: 0.65;
}

/* ==========================================================================
   Casino Rows (Homepage Top 10)
   ========================================================================== */

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-home .homepage-main {
    position: relative;
}

.page-home .casino-list {
    gap: 1.125rem;
}

.casino-row {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid rgba(49, 92, 170, 0.14);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(26, 35, 50, 0.04);
    transition: box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.casino-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-bottom: 2px solid rgba(49, 92, 170, 0.3);
    border-right: 2px solid rgba(49, 92, 170, 0.3);
    pointer-events: none;
}

.casino-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-top: 2px solid rgba(49, 92, 170, 0.3);
    border-left: 2px solid rgba(49, 92, 170, 0.3);
    pointer-events: none;
    z-index: 1;
}

.casino-row:hover {
    box-shadow: 0 3px 10px rgba(26, 35, 50, 0.07);
    border-color: rgba(49, 92, 170, 0.22);
}

.casino-row__main {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.5rem 0.75rem;
    padding: 0.5rem 0.65rem 0.5rem 0;
}

.casino-row__rank,
.casino-row__logo {
    align-self: start;
}

.casino-row__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(49, 92, 170, 0.04);
    border-bottom: 1px solid rgba(49, 92, 170, 0.1);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.4;
}

.casino-row__meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.35rem;
    min-width: 0;
}

.casino-row__meta-sep {
    opacity: 0.35;
    font-weight: 400;
}

.casino-row__meta-score {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 115%;
    line-height: 1.4;
}

.casino-row__meta-score strong {
    font-weight: 700;
}

.casino-row__rank {
    padding-left: 0.85rem;
}

.casino-row__rank-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.25rem 0.4rem;
}

.casino-row__rank-num {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.casino-row__rank-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--blue);
    border-style: solid;
    opacity: 0.55;
}

.casino-row__rank-corner--tl {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.casino-row__rank-corner--tr {
    top: 0;
    right: 0;
    border-width: 2px 2px 0 0;
}

.casino-row__rank-corner--bl {
    bottom: 0;
    left: 0;
    border-width: 0 0 2px 2px;
}

.casino-row__rank-corner--br {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.casino-row__logo img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: contain;
    border: 1px solid rgba(49, 92, 170, 0.18);
    background: var(--white);
}

.casino-row__content {
    min-width: 0;
}

.casino-row__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem 0.75rem;
    margin-bottom: 0.15rem;
}

.casino-row__name {
    font-size: 1.0625rem;
    margin: 0;
}

.casino-row__name a {
    color: var(--navy);
}

.casino-row__name a:hover {
    color: var(--blue);
}

.casino-row__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.casino-row__rating .stars {
    font-size: 0.875rem;
}

.casino-row__rating .rating-numeric {
    font-size: 0.8125rem;
}

.casino-row__summary {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.casino-row__content .tag-list {
    margin: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 0.35rem;
}

.casino-row__content .tag--intel {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.1rem 0.3rem;
    font-size: 0.5625rem;
}

.casino-row__actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-shrink: 0;
    align-self: start;
    min-width: 6.75rem;
    padding-right: 0.1rem;
}

.casino-row__actions .btn {
    border-radius: 5px;
    white-space: nowrap;
    width: 100%;
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
    justify-content: center;
}

@media (max-width: 720px) {
    .casino-row__main {
        grid-template-columns: auto auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        padding-bottom: 0.5rem;
    }

    .casino-row__content {
        grid-column: 3;
        grid-row: 1;
    }

    .casino-row__actions {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
        width: 100%;
        padding: 0.15rem 0.65rem 0;
    }

    .casino-row__actions .btn {
        width: auto;
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .casino-row__main {
        grid-template-columns: auto 1fr;
        gap: 0.5rem 0.65rem;
    }

    .casino-row__meta {
        font-size: 0.5625rem;
        padding: 0.35rem 0.65rem;
    }

    .casino-row__meta-score {
        display: none;
    }

    .casino-row__rank {
        grid-row: 1;
        grid-column: 1;
        padding-left: 0.65rem;
    }

    .casino-row__rank-num {
        font-size: 1.375rem;
    }

    .casino-row__rank-box {
        min-width: 2.25rem;
        min-height: 2.25rem;
    }

    .casino-row__logo {
        grid-row: 1;
        grid-column: 2;
        justify-self: start;
    }

    .casino-row__content {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 0 0.65rem;
    }

    .casino-row__actions {
        grid-row: 3;
        padding: 0 0.65rem;
    }
}

/* ==========================================================================
   Casino Cards (Directory)
   ========================================================================== */

.filter-bar {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.filter-bar__search {
    width: 100%;
    padding: 0.625rem 1rem;
    font-family: var(--font);
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    background: var(--white);
}

.filter-bar__search:focus {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
    border-color: var(--blue);
}

.filter-bar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    padding: 0.375rem 0.75rem;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-tag:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.filter-tag--active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.filter-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.casino-directory {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.casino-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.casino-card.is-hidden {
    display: none;
}

.casino-card__logo img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: contain;
}

.casino-card__name {
    font-size: 1.125rem;
    margin: 0 0 0.25rem;
}

.casino-card__name a {
    color: var(--navy);
}

.casino-card__summary {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0.5rem 0;
}

.casino-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

@media (max-width: 540px) {
    .casino-card {
        flex-direction: column;
    }
}

/* ==========================================================================
   News Rail (Sidebar)
   ========================================================================== */

.news-rail {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-rail-item {
    border-bottom: 1px solid var(--border);
}

.news-rail-item:last-child {
    border-bottom: none;
}

.news-rail-item__link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 0.875rem;
    align-items: center;
    padding: 0.75rem 0;
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition);
}

.news-rail-item__link:hover {
    opacity: 0.85;
}

.news-rail-item__link:hover .news-rail-item__headline {
    color: var(--blue);
}

.news-rail-item__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--border-light);
    position: relative;
    border: 1px solid rgba(49, 92, 170, 0.15);
    align-self: center;
}

.page-home .news-rail-item__thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 3px;
    background: var(--yellow);
    z-index: 1;
}

.page-home .news-rail-item__category {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.06em;
}

.news-rail-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-rail-item__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
}

.news-rail-item__category {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue);
    line-height: 1.3;
    margin: 0;
}

.news-rail-item__headline {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition);
}

.news-rail-item__date {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin: 0;
}

.news-rail--inline {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0 1rem;
}

/* ==========================================================================
   News Grid (News Page)
   ========================================================================== */

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

.news-card__image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--border-light);
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.02);
}

.news-card__body {
    padding: 1.125rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--blue);
    margin-bottom: 0.375rem;
}

.news-card__headline {
    font-size: 1.0625rem;
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.news-card__headline a {
    color: var(--navy);
}

.news-card__headline a:hover {
    color: var(--blue);
}

.news-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    flex: 1;
    line-height: 1.5;
}

.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: auto;
}

.news-card__read {
    font-weight: 600;
    white-space: nowrap;
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */

.cta-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.cta-section--submit {
    background: var(--white);
}

.cta-section--advertise {
    background: var(--border-light);
}

.cta-section__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.cta-section__title {
    font-size: 1.375rem;
    margin-bottom: 0.375rem;
}

.cta-section__text {
    color: var(--text-muted);
    margin: 0;
    max-width: 560px;
}

.cta-section--inline {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--border-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.cta-section--inline .cta-section__inner {
    flex-direction: column;
}

@media (min-width: 768px) {
    .cta-section__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-section--inline .cta-section__inner {
        flex-direction: row;
    }
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header__subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 640px;
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ==========================================================================
   Casino Review Page
   ========================================================================== */

.review-hero {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.review-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.review-hero__logo img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
}

.review-hero__title {
    font-size: 1.75rem;
    font-weight: 800;
}

.review-hero__verdict {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin: 0.5rem 0 1rem;
    max-width: 640px;
}

@media (min-width: 640px) {
    .review-hero__inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .review-hero__logo img {
        width: 96px;
        height: 96px;
    }
}

.review-layout {
    padding-bottom: 3rem;
}

.review-main {
    max-width: 760px;
}

.review-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.review-section:last-child {
    border-bottom: none;
}

.review-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.review-section--verdict {
    background: var(--border-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.review-section--verdict .review-section__title {
    margin-top: 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0;
}

@media (min-width: 480px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.facts-grid__item {
    padding: 0.75rem 1rem;
    background: var(--border-light);
    border-radius: var(--radius);
}

.facts-grid__item dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.facts-grid__item dd {
    margin: 0;
    font-weight: 600;
    color: var(--navy);
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.pros-cons__col h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.pros-cons__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-cons__col li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.pros-cons__col--pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.pros-cons__col--cons li::before {
    content: '−';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.score-bar__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.score-bar__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
}

.score-bar__value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--blue);
}

.score-bar__track {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.score-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ==========================================================================
   Article Page
   ========================================================================== */

.article-header {
    background: var(--white);
    padding: 2rem 0 1rem;
}

.article-header__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.article-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    max-width: 760px;
    margin-bottom: 1rem;
}

.article-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.article-header__author {
    font-weight: 500;
}

.article-hero {
    margin-bottom: 2rem;
}

.article-hero__image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.article-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
}

.article-main {
    min-width: 0;
}

.article-body {
    max-width: 680px;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text);
}

.article-body p {
    margin-bottom: 1.25em;
}

.article-sidebar {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .article-header__title {
        font-size: 2.25rem;
    }

    .article-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .article-main {
        flex: 1;
    }

    .article-sidebar {
        flex: 0 0 320px;
        position: sticky;
        top: calc(var(--header-height) + 1rem);
    }
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 540px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.375rem;
}

.required {
    color: var(--danger);
}

.form input[type="text"],
.form input[type="url"],
.form input[type="email"],
.form select,
.form textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-family: var(--font);
    font-size: 0.9375rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color var(--transition), outline var(--transition);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
    border-color: var(--blue);
}

.form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0.375rem 0 0;
}

.file-upload input[type="file"] {
    font-size: 0.875rem;
}

.notice {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.notice--info {
    background: #eef4fc;
    border: 1px solid #c5d9f0;
    color: var(--navy);
}

.notice--success {
    background: #e8f8ef;
    border: 1px solid #b8e6cb;
    color: var(--navy);
}

.notice--error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: var(--navy);
}

.notice p {
    margin: 0;
    font-size: 0.9375rem;
}

/* ==========================================================================
   Content Sections (About, Advertise, etc.)
   ========================================================================== */

.content-section {
    margin-bottom: 2rem;
}

.content-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.content-section p {
    color: var(--text);
    line-height: 1.7;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
}

.placement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .placement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.placement-card {
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.placement-card h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.placement-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: var(--yellow);
}

.site-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.site-footer__left {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .site-footer__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
        align-items: stretch;
        gap: 2rem;
    }

    .site-footer__left {
        gap: 0;
        min-height: 100%;
    }

    .site-footer__nav {
        margin-top: auto;
        padding-top: 0.75rem;
    }

    .site-footer__newsletter {
        justify-self: end;
        width: 100%;
        max-width: 320px;
    }
}

.site-footer__newsletter {
    min-width: 0;
}

.site-footer__newsletter-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.site-footer__newsletter-text {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.newsletter-signup {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter-signup input[type="email"] {
    flex: 1;
    min-width: 180px;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
}

.newsletter-signup input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-signup__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.newsletter-alert {
    font-size: 0.8125rem;
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.newsletter-alert--success {
    background: rgba(39, 174, 96, 0.2);
    color: #b8f0d0;
}

.newsletter-alert--error {
    background: rgba(192, 57, 43, 0.25);
    color: #ffc9c4;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.newsletter-unsubscribe-form {
    margin-top: 1rem;
}

.site-footer__logo {
    height: 28px;
    width: auto;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.site-footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 280px;
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__nav a {
    font-size: 0.875rem;
    font-weight: 500;
}

.site-footer__disclaimer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__disclaimer p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.site-footer__copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}
