:root {
    --primary: #ffae19;
    --dark: #080808;
    --card: #141414;
    --muted: #a3a3a3;
    --line: rgba(255,255,255,.08);
}

* { box-sizing: border-box; }
body { margin: 0; color: #fff; background: var(--dark); font-family: Segoe UI, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { font-family: inherit; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: 78px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    background: rgba(8, 8, 8, .8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo { color: var(--primary); font-size: 22px; font-weight: 900; }
.logo span { display: block; color: #9ca3af; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 22px; color: #d1d5db; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 22px; border-radius: 999px; background: var(--primary); color: #050505; font-weight: 900; border: 0; cursor: pointer; }
.outline-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.18); }

.auth-page,
.account-page {
    min-height: 100vh;
    padding: 122px 8% 70px;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,174,25,.18), transparent 28%),
        linear-gradient(135deg, #101010 0%, #070707 72%);
}

.auth-page { display: grid; place-items: start center; }
.auth-page.wide { place-items: start center; }

.auth-card,
.account-card,
.account-hero {
    width: min(520px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    padding: 28px;
    backdrop-filter: blur(14px);
}

.auth-page.wide .auth-card { width: min(980px, 100%); }

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

h1 { font-size: clamp(36px, 5vw, 58px); line-height: .95; margin: 16px 0; }
h2 { color: var(--primary); margin-top: 0; }
p, .hint { color: var(--muted); line-height: 1.8; }
label { display: block; color: #9ca3af; font-size: 12px; font-weight: 900; letter-spacing: .1em; margin: 14px 0 8px; text-transform: uppercase; }
input, textarea { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: #101010; color: #fff; padding: 13px 14px; outline: none; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--primary); }
form .pill-btn { width: 100%; margin-top: 18px; }
.link-btn {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-weight: 900;
    margin-top: 12px;
    padding: 8px;
}

.auth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.auth-grid .full { grid-column: 1 / -1; }
.alert { color: #fecaca; background: rgba(220,38,38,.16); border: 1px solid rgba(248,113,113,.35); border-radius: 8px; padding: 12px; margin: 14px 0; }
.alert.info { color: #dbeafe; background: rgba(37,99,235,.14); border-color: rgba(96,165,250,.35); }
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    margin: 18px 0;
}

.google-btn span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #4285f4;
    font-weight: 950;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #737373;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,.12);
}
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; color: var(--primary); font-weight: 800; }
.auth-links.inline { justify-content: flex-start; }

.account-page { display: block; }
.account-hero { width: 100%; margin-bottom: 22px; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.account-card { width: 100%; }
.account-card a { color: var(--primary); font-weight: 900; }
.profile-warning {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255,174,25,.32);
    border-radius: 8px;
    background: rgba(255,174,25,.12);
    color: #f8fafc;
    padding: 12px 14px;
    margin: 16px 0;
}
.profile-warning strong { color: var(--primary); }
.profile-warning.small { margin: 12px 0 18px; }
.booking-stack { display: grid; gap: 12px; }
.booking-stack a { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #101010; color: #fff; transition: .2s ease; }
.booking-stack a:hover { border-color: var(--primary); transform: translateY(-1px); }
.booking-stack strong, .booking-stack span, .booking-stack small { display: block; }
.booking-stack span { color: var(--muted); margin: 8px 0; }
.booking-stack small { color: var(--primary); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);
}

.profile-modal.show { display: flex; }

.profile-modal-card {
    position: relative;
    width: min(980px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,174,25,.18), transparent 30%),
        #111;
    padding: 28px;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.profile-modal .hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
}

@media (max-width: 760px) {
    .site-header { padding: 14px 18px; height: auto; gap: 12px; align-items: start; }
    .site-nav { display: none; }
    .auth-page, .account-page { padding: 106px 18px 48px; }
    .auth-grid, .account-grid { grid-template-columns: 1fr; }
    .auth-grid .full { grid-column: auto; }
    .profile-modal { padding: 12px; align-items: flex-start; }
    .profile-modal-card { padding: 22px; }
}
