/* ===========================
   MrVegas Casino Hotels
   Theme: Desert Palace
   Effect: Glassmorphism
   Architecture: SMACSS
   Typography: Cormorant Garamond + Lato
   =========================== */

/* 1. CSS VARIABLES */
:root {
    /* Desert Palace Theme */
    --dune-sand: #d4a574;
    --oasis-teal: #2c7a7b;
    --sunset-copper: #c05621;
    --desert-cream: #f5efe6;
    --canyon-stone: #8b7355;

    /* Base */
    --bg-body: #faf8f5;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.85);
    --text-main: #2d3748;
    --text-muted: #718096;
    --border-soft: rgba(212, 165, 116, 0.20);

    /* 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;

    /* Shadows */
    --shadow-sm: 0 4px 16px rgba(192, 86, 33, 0.08);
    --shadow-md: 0 14px 40px rgba(192, 86, 33, 0.12);
    --shadow-glass: 0 8px 32px rgba(44, 122, 123, 0.15);

    --header-height: 72px;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', 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;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--oasis-teal);
}

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);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-main);
}

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 (SMACSS: l- prefix) */
.l-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(--sunset-copper);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* 5. HEADER & NAV (SMACSS: module m- prefix) */
.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);
    -webkit-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;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

.m-burger-menu,
.m-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: 700;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn--primary {
    background: var(--oasis-teal);
    color: #ffffff;
}

.btn--primary:hover {
    background: #285e5f;
    color: #ffffff;
}

.btn--secondary {
    background: transparent;
    border-color: var(--oasis-teal);
    color: var(--oasis-teal);
}

.btn--secondary:hover {
    background: var(--oasis-teal);
    color: #ffffff;
}

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

/* 7. HERO */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    align-items: center;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--desert-cream) 0%, var(--bg-body) 100%);
}

.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: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-glass);
    text-align: center;
}

.hero__stat strong {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--oasis-teal);
}

.hero__stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Featured Hotel Card with Glassmorphism */
.featured-hotel {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.featured-hotel__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--desert-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(--sunset-copper);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
}

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

.featured-hotel__body h2 {
    margin: var(--space-sm) 0;
}

.featured-hotel__body p {
    margin: var(--space-md) 0;
    color: var(--text-muted);
}

/* 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 thead tr {
    background: var(--desert-cream);
}

.rating-table th {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--canyon-stone);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rating-table tbody tr:hover {
    background: rgba(212, 165, 116, 0.05);
}

.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(--dune-sand);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.9rem;
}

.rating-badge {
    background: var(--oasis-teal);
}

.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(--bg-body);
}

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

.m-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);
}

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

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

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

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

.m-hotel-card__body h3 {
    margin: var(--space-sm) 0;
}

.m-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;
}

.m-hotel-card__body p {
    color: var(--text-muted);
    margin: var(--space-md) 0;
    line-height: 1.6;
}

.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: rgba(212, 165, 116, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--canyon-stone);
}

/* 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: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq__question:hover {
    color: var(--oasis-teal);
}

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

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

/* 11. LEGAL STRIP, FOOTER, MODALS */
.legal-strip,
.age-disclaimer {
    padding: var(--space-lg) 0;
    background: var(--canyon-stone);
    color: #ffffff;
}

.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 {
    color: #ffffff;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.legal-links a:hover {
    color: #ffffff;
    border-bottom-color: var(--dune-sand);
}

.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__section h3 {
    margin-bottom: var(--space-md);
    color: var(--oasis-teal);
    font-size: 1.1rem;
}

.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(--oasis-teal);
}

.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 with Glassmorphism */
.m-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: var(--space-lg);
    background: rgba(139, 115, 85, 0.72);
}

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

.m-modal__content {
    width: min(420px, 100%);
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glass);
    text-align: center;
}

.m-modal__content h2 {
    margin-bottom: var(--space-md);
    color: var(--oasis-teal);
}

.m-modal__content p {
    margin-bottom: var(--space-lg);
    color: var(--text-muted);
}

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

/* Cookie Banner with Glassmorphism */
.m-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: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(140%);
    transition: transform var(--transition-base);
}

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

.m-cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.m-cookie-banner__inner p {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-main);
}

.m-cookie-banner__inner a {
    color: var(--oasis-teal);
    text-decoration: underline;
}

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

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

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

    .m-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: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-left: 1px solid var(--border-soft);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

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

    .m-mobile-nav a {
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--border-soft);
        font-weight: 700;
    }

    .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,
    .m-modal__actions,
    .legal-strip__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .m-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }
}
