/* 1. CSS VARIABLES - Monaco Classic Theme */
:root {
    /* Monaco Classic theme colors */
    --roulette-red: #c0392b;
    --tuxedo-black: #111111;
    --champagne-cream: #f8f5f0;
    --casino-green: #27ae60;
    --diamond-light: #ecf0f1;

    /* Base */
    --bg-body: #f7f4ef;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --text-main: #171717;
    --text-muted: #666666;
    --border-soft: rgba(0, 0, 0, 0.10);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 72px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Premium Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.2);

    --header-height: 72px;
    --font-heading: 'Libre Baskerville', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --transition-fast: 0.18s ease;
    --transition-base: 0.3s ease;
}

/* 2. RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { margin: 0; }

/* 4. LAYOUT */
.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.main-content {
    padding-top: var(--header-height);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: var(--space-xl);
}

.section-header--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    margin-bottom: var(--space-sm);
    color: var(--roulette-red);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* 5. HEADER & NAV */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-height);
    z-index: 1000;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.site-logo img {
    height: 42px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a {
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--roulette-red);
    border-bottom-color: var(--roulette-red);
}

.burger-menu,
.mobile-nav,
.nav-overlay {
    display: none;
}

/* 6. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn--primary {
    background: var(--roulette-red);
    color: white;
}

.btn--secondary {
    background: transparent;
    border-color: var(--tuxedo-black);
    color: var(--text-main);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background: #a93226;
}

.btn--secondary:hover {
    border-color: var(--roulette-red);
    color: var(--roulette-red);
}

/* 7. HERO */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    align-items: center;
    padding: var(--space-3xl) 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: var(--space-2xl);
    align-items: center;
}

.hero__text {
    margin-top: var(--space-md);
    max-width: 720px;
    color: var(--text-muted);
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.hero__stat {
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.hero__stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--roulette-red);
}

.featured-hotel {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.featured-hotel__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--champagne-cream);
}

.featured-hotel__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-hotel__badge {
    position: absolute;
    left: var(--space-md);
    top: var(--space-md);
    padding: 6px 10px;
    background: var(--roulette-red);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 800;
}

.featured-hotel__body {
    padding: var(--space-lg);
}

/* 8. RATING TABLE */
.rating-table-wrap {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.rating-table th,
.rating-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
}

.rating-table th {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0;
}

.rank-badge,
.rating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 32px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: var(--roulette-red);
    color: white;
    font-weight: 900;
}

.rating-badge {
    background: var(--casino-green);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 4px 8px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    background: var(--champagne-cream);
}

/* 9. HOTEL CARDS */
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
}

.hotel-card {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hotel-card__media {
    aspect-ratio: 16 / 10;
    background: var(--champagne-cream);
}

.hotel-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-card__body {
    padding: var(--space-lg);
}

.hotel-card__meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin: var(--space-sm) 0 var(--space-md);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: var(--space-md) 0;
    padding: 0;
    list-style: none;
}

.amenity-list li {
    padding: 5px 8px;
    background: var(--champagne-cream);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

/* 10. FAQ */
.faq {
    max-width: 820px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--border-soft);
}

.faq__question {
    width: 100%;
    padding: var(--space-lg) 0;
    background: transparent;
    border: 0;
    color: var(--text-main);
    text-align: left;
    font-weight: 800;
    cursor: pointer;
}

.faq__answer {
    display: none;
    padding-bottom: var(--space-lg);
    color: var(--text-muted);
}

.faq__item.is-open .faq__answer {
    display: block;
}

/* 11. LEGAL STRIP, FOOTER, MODALS */
.legal-strip,
.age-disclaimer {
    padding: var(--space-lg) 0;
    background: var(--tuxedo-black);
    color: white;
}

.legal-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-weight: 700;
}

.legal-links a:hover {
    color: var(--champagne-cream);
}

.site-footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--bg-card);
    border-top: 1px solid var(--border-soft);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: var(--space-sm);
}

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

.site-footer__bottom {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.72);
}

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

.modal__content {
    width: min(420px, 100%);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    text-align: center;
}

.modal__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.cookie-banner {
    position: fixed;
    right: var(--space-md);
    bottom: var(--space-md);
    z-index: 2500;
    width: min(420px, calc(100% - 32px));
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transform: translateY(140%);
    transition: transform var(--transition-base);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

/* 12. RESPONSIVE */
@media (max-width: 992px) {
    .site-nav {
        display: none;
    }

    .burger-menu {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: 0;
        padding: 8px;
        cursor: pointer;
    }

    .burger-menu span {
        width: 24px;
        height: 2px;
        background: var(--text-main);
    }

    .mobile-nav {
        position: fixed;
        inset: var(--header-height) 0 auto auto;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        width: min(320px, 86vw);
        height: calc(100vh - var(--header-height));
        padding: var(--space-lg);
        background: var(--bg-card);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .mobile-nav.is-open {
        transform: translateX(0);
    }

    .nav-overlay {
        position: fixed;
        inset: var(--header-height) 0 0;
        z-index: 1000;
        display: none;
        background: rgba(0, 0, 0, 0.45);
    }

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

    .hero__grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .hotel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero__stats,
    .hotel-grid {
        grid-template-columns: 1fr;
    }

    .hero__actions,
    .modal__actions,
    .legal-strip__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}