:root {
    color-scheme: dark;
    --ink: #faf7ff;
    --muted: #dfc9fb;
    --night: #100e27;
    --line: #8560ac;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--night); }
a { color: inherit; text-decoration: none; }
a:hover { color: #e3b3ff; }
:focus-visible { outline: 3px solid #e5aaff; outline-offset: 4px; }
.wrap { width: min(92%, 1420px); margin-inline: auto; }
.top { background: #17112f; border-bottom: 1px solid #4c366b; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(1.25rem, 2.35vw, 2rem); font-weight: 800; letter-spacing: -.04em; }
.desktop-menu { display: flex; flex-wrap: wrap; gap: clamp(22px, 4vw, 64px); font-weight: 600; }
.mobile-menu { display: none; }
.hero {
    isolation: isolate;
    overflow: hidden;
    position: relative;
    background: url(yildizlar.svg) center top / cover no-repeat, radial-gradient(ellipse at 21% 70%, #331757 0%, #181137 39%, transparent 70%);
}
.hero::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: auto -15% 5% -15%;
    height: 22%;
    border-bottom: 2px solid #b96aff80;
    border-radius: 50%;
    box-shadow: 0 18px 48px -8px #a342db80;
    transform: rotate(3deg);
    pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: .94fr 1fr; align-items: center; gap: clamp(25px, 4vw, 68px); padding: clamp(28px, 4vw, 60px) 0 clamp(36px, 5vw, 76px); }
.intro { padding-left: clamp(0px, 2vw, 36px); }
h1, h2 { margin: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(2.6rem, 5.1vw, 5rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 3rem); text-align: center; margin-bottom: 25px; }
.intro p { margin: 18px 0 28px; max-width: 32ch; font-size: clamp(1.1rem, 2vw, 1.75rem); line-height: 1.35; font-weight: 550; color: var(--muted); }
form { display: flex; align-items: stretch; gap: 12px; }
.nickname { display: flex; align-items: center; gap: 9px; color: #403752; background: #fbf9ff; border-radius: 13px; padding: 0 13px; flex: 1; min-width: 0; }
.nickname span[aria-hidden] { font-size: 1.45rem; }
.nickname input { border: 0; background: transparent; color: #201936; width: 100%; min-width: 0; min-height: 54px; font: inherit; font-size: 1rem; }
.nickname input::placeholder { color: #625972; }
.button { border: 1px solid #ba87f4; background: linear-gradient(#8d48c7, #7034b2); border-radius: 13px; color: #fff; font: inherit; font-weight: 750; white-space: nowrap; padding: 13px clamp(12px, 1.7vw, 26px); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.button:hover { background: #8444c5; color: #fff; }
.hero-photo { display: block; width: 100%; height: auto; border-radius: clamp(20px, 3.7vw, 54px); box-shadow: 0 15px 42px #07041166; }
.sections { padding: 8px 0 42px; }
.sections section + section { margin-top: clamp(34px, 4vw, 66px); }
.rooms { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.8vw, 26px); padding: 0; margin: 0; }
.room, .faq { background: linear-gradient(110deg, #30254e, #24203e); border: 1px solid var(--line); border-radius: 16px; }
.room { min-height: 76px; height: 100%; display: flex; align-items: center; gap: 12px; padding: 13px; font-size: clamp(1rem, 1.8vw, 1.4rem); font-weight: 750; }
.room-icon { display: grid; place-items: center; background: #513d7c; color: #e4afff; border-radius: 12px; width: 47px; height: 47px; flex: none; font-size: 1.6rem; }
.arrow { margin-inline-start: auto; font-size: 1.6rem; font-weight: 400; }
.faq { max-width: 1180px; margin: 10px auto 0; }
.faq summary { font-size: clamp(1rem, 1.6vw, 1.3rem); padding: 16px 20px; cursor: pointer; font-weight: 700; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }
.notice { padding: 30px 0; text-align: center; }
.notice p { max-width: 62ch; margin: 16px auto 0; color: var(--muted); line-height: 1.65; }
.notice .button { margin-top: 20px; }
.footer { border-top: 1px solid #4c366b; border-bottom: 0; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; padding-block: 24px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 10; padding: 12px; background: var(--night); }
@media (max-width: 760px) {
    .header { min-height: 58px; gap: 10px; }
    .brand img { width: 29px; height: 29px; }
    .desktop-menu { display: none; }
    .mobile-menu { display: block; position: relative; z-index: 2; }
    .mobile-menu summary { list-style: none; cursor: pointer; font-size: 1.4rem; padding: 7px; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu nav { position: absolute; right: 0; width: 170px; background: #241941; border: 1px solid var(--line); border-radius: 12px; display: grid; }
    .mobile-menu a { padding: 10px 13px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 20px 28px; }
    .intro { padding: 0; text-align: center; }
    h1 { font-size: clamp(2rem, 7.8vw, 3.55rem); }
    .intro p { margin: 12px auto 16px; }
    form { flex-direction: column; gap: 9px; }
    .nickname input { min-height: 48px; }
    .hero-photo { max-height: 330px; object-fit: cover; }
    .rooms { grid-template-columns: 1fr; }
    .room { min-height: 55px; padding: 7px 12px; }
    .room-icon { width: 39px; height: 39px; }
    h2 { margin-bottom: 15px; }
}
