/* ==========================================================================
   CASINO UDEN ROFUS — Editorial Style Sheet
   Modern · Minimalist · Mobile-First
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --color-navy: #0a1929;
    --color-navy-dark: #050d18;
    --color-gold: #c9a961;
    --color-gold-light: #e6c98b;
    --color-cream: #f8f5ef;
    --color-text: #1a1a1a;
    --color-text-muted: #5a5a5a;
    --color-border: #e0dcd2;
    --color-table-alt: #faf8f3;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --max-width: 760px;
    --max-width-wide: 1100px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background: var(--color-navy);
    color: #fff;
    padding: 18px 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 400;
}

.nav-tag {
    font-size: 12px;
    color: var(--color-gold-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ==========================================================================
   ARTICLE
   ========================================================================== */
.article {
    background: var(--color-cream);
    padding-bottom: 80px;
}

.hero-figure {
    width: 100%;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 40px 24px 0;
}

.hero-figure img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(10, 25, 41, 0.15);
}

.article-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px 24px 0;
}

/* --- Article Meta --- */
.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    font-weight: 500;
    flex-wrap: wrap;
}

.meta-category {
    color: var(--color-navy);
    font-weight: 700;
}

.meta-separator {
    color: var(--color-gold);
}

/* --- Typography --- */
h1 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(24px, 4.5vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-navy);
    margin-top: 64px;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
    position: relative;
    padding-top: 24px;
}

h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-gold);
}

h3 {
    font-family: var(--font-sans);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-navy);
    margin-top: 40px;
    margin-bottom: 16px;
}

.lead {
    font-size: clamp(19px, 2.5vw, 22px);
    line-height: 1.6;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 28px;
    font-family: var(--font-serif);
    font-style: italic;
}

p {
    margin-bottom: 22px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.75;
    color: var(--color-text);
}

strong {
    font-weight: 600;
    color: var(--color-navy);
}

/* ==========================================================================
   INLINE FIGURE
   ========================================================================== */
.inline-figure {
    margin: 50px -24px;
    width: calc(100% + 48px);
}

.inline-figure img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(10, 25, 41, 0.1);
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrapper {
    margin: 32px 0 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(10, 25, 41, 0.06);
    border: 1px solid var(--color-border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 15px;
    min-width: 500px;
}

.data-table thead {
    background: var(--color-navy);
    color: #fff;
}

.data-table th {
    padding: 16px 18px;
    text-align: left;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-gold);
}

.data-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.5;
    vertical-align: top;
}

.data-table tbody tr:nth-child(even) {
    background: var(--color-table-alt);
}

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

.data-table tbody tr:hover {
    background: #f0ebe0;
    transition: background 0.2s ease;
}

.data-table td:first-child {
    font-weight: 600;
    color: var(--color-navy);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--color-navy);
    color: #fff;
    padding: 40px 24px;
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.footer-disclaimer {
    font-size: 14px;
    color: var(--color-gold-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */
@media (max-width: 768px) {
    body {
        font-size: 17px;
    }

    .site-nav {
        padding: 0 18px;
    }

    .logo {
        font-size: 19px;
    }

    .nav-tag {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-figure {
        padding: 24px 18px 0;
    }

    .article-content {
        padding: 36px 18px 0;
    }

    h2 {
        margin-top: 48px;
    }

    h3 {
        margin-top: 32px;
    }

    .inline-figure {
        margin: 36px -18px;
        width: calc(100% + 36px);
    }

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 12px 14px;
    }
}

/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .site-header {
        padding: 14px 0;
    }

    .site-nav {
        padding: 0 16px;
    }

    .hero-figure {
        padding: 18px 16px 0;
    }

    .article-content {
        padding: 28px 16px 0;
    }

    .article-meta {
        font-size: 11px;
        letter-spacing: 1px;
        gap: 8px;
    }

    h1 {
        margin-bottom: 24px;
    }

    h2 {
        margin-top: 40px;
        margin-bottom: 18px;
        padding-top: 20px;
    }

    h2::before {
        width: 40px;
        height: 2px;
    }

    p {
        margin-bottom: 18px;
        line-height: 1.7;
    }

    .lead {
        margin-bottom: 24px;
    }

    .table-wrapper {
        margin: 24px -4px 28px;
        border-radius: 4px;
    }

    .data-table {
        font-size: 13px;
        min-width: 460px;
    }

    .data-table th {
        padding: 12px 12px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .data-table td {
        padding: 12px 12px;
    }

    .inline-figure {
        margin: 28px -16px;
        width: calc(100% + 32px);
        border-radius: 0;
    }

    .inline-figure img {
        border-radius: 0;
    }

    .site-footer {
        padding: 32px 16px;
    }

    .footer-disclaimer {
        font-size: 13px;
    }
}

/* ==========================================================================
   ACCESSIBILITY · MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* --- Selection --- */
::selection {
    background: var(--color-gold);
    color: var(--color-navy);
}

/* --- Focus visible --- */
a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 2px;
}
