/* CasinoHotelsau premium responsive resort website */
:root {
    --navy: #07162b;
    --navy-2: #0d2440;
    --gold: #c99945;
    --gold-2: #f0c777;
    --sand: #f4ead8;
    --sand-2: #fbf7ef;
    --teal: #0e6f72;
    --white: #ffffff;
    --ink: #122033;
    --muted: #657286;
    --footer: #050b14;
    --border: rgba(18, 32, 51, 0.1);
    --shadow: 0 22px 60px rgba(7, 22, 43, 0.14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --transition: 220ms ease;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
}

body.nav-open {
    overflow: hidden;
}

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

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

p {
    color: var(--muted);
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    line-height: 1.1;
    margin: 0 0 1rem;
    color: var(--ink);
}

h1 {
    font-size: clamp(3rem, 9vw, 7rem);
    letter-spacing: -0.07em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: -0.045em;
}

h3 {
    font-size: 1.25rem;
}

.container {
    width: min(100% - 40px, var(--max-width));
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
    text-align: center;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 16px 0;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: rgba(7, 22, 43, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.2rem;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: var(--navy);
    box-shadow: 0 10px 28px rgba(201, 153, 69, 0.34);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 999px;
    transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
}

.age-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--gold-2);
    border-radius: 999px;
    font-weight: 900;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--white);
    margin: 4px auto;
    transition: var(--transition);
}

/* Heroes */
.hero,
.page-hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background-image: linear-gradient(120deg, rgba(7, 22, 43, 0.88), rgba(7, 22, 43, 0.42) 46%, rgba(201, 153, 69, 0.22)), var(--hero-image);
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.page-hero {
    min-height: 64svh;
    padding-top: 90px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(240, 199, 119, 0.22), transparent 34%), linear-gradient(0deg, rgba(7, 22, 43, 0.28), transparent);
    pointer-events: none;
}

.hero-content,
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.hero-content h1, .page-hero-content h1 {
    color: var(--white);
}

.hero-content p,
.page-hero-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    max-width: 760px;
}

.page-hero-content p {
    margin-inline: auto;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--gold-2);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.section-kicker {
    color: var(--gold);
}

.section-kicker.light {
    color: var(--gold-2);
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.age-note {
    margin-top: 18px;
    font-size: 0.96rem !important;
}

.age-note strong {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 32px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--navy);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    box-shadow: 0 18px 38px rgba(201, 153, 69, 0.32);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-outline {
    color: var(--navy);
    border: 1px solid rgba(7, 22, 43, 0.18);
    background: transparent;
}

.btn-light,
.btn-outline-light {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
}

.btn-gold {
    color: var(--navy);
    background: var(--gold-2);
}

.btn-ghost-light {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: clamp(72px, 9vw, 120px) 0;
}

.section-soft {
    background: linear-gradient(180deg, var(--sand-2), var(--sand));
}

.section-navy {
    background: radial-gradient(circle at top right, rgba(201, 153, 69, 0.22), transparent 32%), var(--navy);
    color: var(--white);
}

.section-navy h2,
.section-navy h3 {
    color: var(--white);
}

.section-navy p {
    color: rgba(255, 255, 255, 0.76);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.align-start {
    align-items: start;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--sand);
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 22, 43, 0.3));
    pointer-events: none;
}

.image-frame img {
    width: 100%;
    height: 100%;
    min-height: 410px;
    object-fit: cover;
}

/* Cards and grids */
.cards-grid {
    display: grid;
    gap: 24px;
}

.four-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

.feature-card,
.room-card,
.text-card,
.amenity,
.testimonial,
.contact-card,
.menu-item,
.highlight-box,
.booking-card,
.info-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(7, 22, 43, 0.08);
}

.feature-card,
.room-card {
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover,
.room-card:hover,
.text-card:hover,
.amenity:hover,
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
    position: relative;
}

.icon-circle {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sand);
    color: var(--gold);
    margin-bottom: 16px;
}

.room-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    background: var(--white);
}

.room-card img {
    height: 100%;
    min-height: 285px;
    object-fit: cover;
}

.room-card div {
    padding: 28px;
}

.room-card ul,
.check-list {
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.room-card li,
.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    margin: 9px 0;
}

.room-card li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-weight: 900;
}

.text-card,
.amenity,
.menu-item,
.contact-card {
    padding: 28px;
    transition: var(--transition);
}

.text-card i,
.amenity i,
.menu-item i,
.contact-card i {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 18px;
}

.amenities-grid,
.menu-grid,
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.menu-grid {
    grid-template-columns: repeat(5, 1fr);
}

.contact-card a {
    color: var(--teal);
    font-weight: 900;
}

/* Special strips */
.casino-strip {
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--white);
}

.strip-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}

.strip-content h2 {
    color: var(--white);
}

.strip-content p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 950;
    letter-spacing: -0.04em;
}

.age-badge.large {
    font-size: 1.5rem;
    min-width: 78px;
    min-height: 62px;
    border-radius: 22px;
}

.safe-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.age-alert {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px;
    background: #fff7e5;
    border: 1px solid rgba(201, 153, 69, 0.28);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.responsible-section {
    background: linear-gradient(180deg, #fff, #fff7e8);
}

.highlight-box {
    padding: 32px;
}

.section-navy .highlight-box {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.section-navy .check-list li {
    color: rgba(255, 255, 255, 0.78);
}

/* Gallery */
.gallery-grid {
    display: grid;
    gap: 18px;
}

.preview-gallery {
    grid-template-columns: repeat(4, 1fr);
}

.large-gallery {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 38px rgba(7, 22, 43, 0.1);
}

.large-gallery img:nth-child(1),
.large-gallery img:nth-child(6) {
    grid-column: span 2;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    padding: 30px;
}

.stars {
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.testimonial strong {
    color: var(--navy);
}

/* Timeline */
.timeline {
    position: relative;
    display: grid;
    gap: 20px;
    max-width: 900px;
    margin-inline: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(201, 153, 69, 0.35);
}

.timeline-item {
    position: relative;
    margin-left: 54px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 34px rgba(7, 22, 43, 0.08);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -42px;
    top: 30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 8px rgba(201, 153, 69, 0.18);
}

.timeline-item span {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

/* Booking, CTA, map, form */
.booking-section {
    background: linear-gradient(135deg, var(--sand-2), #ffffff);
}

.booking-card {
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(32px, 6vw, 58px);
    text-align: center;
}

.small-print {
    font-size: 0.92rem;
    margin-top: 20px;
}

.cta-section {
    padding: clamp(70px, 9vw, 110px) 0;
    background-image: linear-gradient(135deg, rgba(7, 22, 43, 0.92), rgba(7, 22, 43, 0.74)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 700px;
    margin-inline: auto;
}

.cta-actions {
    justify-content: center;
}

.multi-actions {
    gap: 12px;
}

.compact-cta {
    background-image: linear-gradient(135deg, rgba(7, 22, 43, 0.94), rgba(14, 111, 114, 0.72)), url('../images/hero.jpg');
}

.map-wrap iframe {
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 46px;
    align-items: start;
}

.contact-form {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--ink);
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(18, 32, 51, 0.16);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 153, 69, 0.16);
}

.field-error {
    display: block;
    min-height: 20px;
    color: #b42318;
    font-size: 0.88rem;
    margin-top: 5px;
}

.form-success {
    color: var(--teal);
    font-weight: 900;
    margin-top: 18px;
}

.info-panel {
    padding: 24px;
    margin-top: 24px;
    background: #fff7e5;
}

/* Footer */
.site-footer {
    background: var(--footer);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr;
    gap: 36px;
    padding: 72px 0;
}

.footer-brand {
    margin-bottom: 18px;
}

.site-footer h3 {
    color: var(--white);
    font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
    color: rgba(255, 255, 255, 0.68);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-2);
}

.footer-contact i {
    color: var(--gold);
    width: 22px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 22px 0;
}

.responsible-note {
    font-size: 0.92rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.92rem;
}

/* Cookies */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    display: none;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 22px;
    background: rgba(7, 22, 43, 0.96);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(16px);
}

.cookie-banner.show {
    display: grid;
}

.cookie-banner p {
    color: rgba(255, 255, 255, 0.75);
    margin: 4px 0 0;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(5, 11, 20, 0.62);
}

.cookie-modal.show {
    display: grid;
}

.cookie-modal-card {
    position: relative;
    width: min(100%, 640px);
    max-height: min(88vh, 720px);
    overflow: auto;
    padding: 34px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 0;
    background: var(--sand);
    color: var(--navy);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.cookie-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.switch input {
    position: absolute;
    opacity: 0;
}

.switch span {
    display: block;
    position: relative;
    width: 58px;
    height: 32px;
    border-radius: 999px;
    background: #c5ccd6;
    cursor: pointer;
    transition: var(--transition);
}

.switch span::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.switch input:checked+span {
    background: var(--gold);
}

.switch input:checked+span::after {
    transform: translateX(26px);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {

    .four-grid,
    .amenities-grid,
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .strip-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: fixed;
        inset: 72px 20px auto;
        display: grid;
        gap: 8px;
        padding: 22px;
        background: rgba(7, 22, 43, 0.97);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 24px;
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--transition);
    }

    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 14px 16px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .split-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .room-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .room-card {
        grid-template-columns: 1fr;
    }

    .room-card img {
        min-height: 240px;
    }

    .preview-gallery,
    .large-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-gallery img:nth-child(1),
    .large-gallery img:nth-child(6) {
        grid-column: span 1;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--max-width));
    }

    .hero,
    .page-hero {
        text-align: left;
    }

    .page-hero {
        min-height: 58svh;
    }

    .hero-actions,
    .cta-actions,
    .modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .four-grid,
    .amenities-grid,
    .menu-grid,
    .contact-card-grid,
    .preview-gallery,
    .large-gallery,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 230px;
    }

    .age-alert {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        display: block;
    }

    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 18px;
    }

    .cookie-option {
        grid-template-columns: 1fr;
    }
}

 
.legal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 106px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--sand-2), var(--white));
    box-shadow: 0 16px 40px rgba(7, 22, 43, 0.08);
}

.legal-sidebar h2 {
    font-size: 1.45rem;
}

.legal-toc {
    display: grid;
    gap: 8px;
    margin: 22px 0;
}

.legal-toc a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--navy);
    font-weight: 800;
    background: rgba(201, 153, 69, 0.08);
    transition: var(--transition);
}

.legal-toc a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateX(3px);
}

.legal-mini-note {
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--navy);
    color: var(--white);
    font-size: 0.95rem;
}

.legal-content {
    display: grid;
    gap: 26px;
}

.legal-content>section {
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(7, 22, 43, 0.07);
    scroll-margin-top: 115px;
}

.legal-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.legal-content p {
    font-size: 1.02rem;
}

.legal-callout {
    margin-top: 24px;
    padding: 24px;
    border-left: 5px solid var(--gold);
    border-radius: var(--radius-lg);
    background: #fff7e5;
}

.legal-callout h3 {
    margin-bottom: 10px;
}

.legal-callout p:last-child {
    margin-bottom: 0;
}

.legal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.legal-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--sand-2), #fff);
}

.legal-card i {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.site-footer .important-notice-links a,
.site-footer a {
    transition: var(--transition);
}

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

@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-toc {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {

    .legal-toc,
    .legal-card-grid {
        grid-template-columns: 1fr;
    }

    .legal-content>section {
        padding: 24px;
    }
}