:root {
    --coffee: #1b0a24;
    --cream: #fff4ff;
    --ink: #fff4ff;
    --paper: #160b1d;
    --line: #994eaa;
    font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::after, *::before { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
main { overflow: clip; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #ff87cf; outline-offset: 4px; }
.wrap { width: min(91%, 1400px); margin-inline: auto; }
.top { color: var(--cream); background: var(--coffee); }
.header, .footer .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.header { border-bottom: 1px solid #ffffff19; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 clamp(1.45rem, 3.1vw, 2.75rem)/1 system-ui, sans-serif; white-space: nowrap; }
.brand img { width: clamp(39px, 5.6vw, 76px); height: auto; }
.desktop-menu, .footer nav { display: flex; flex-wrap: wrap; gap: 12px clamp(25px, 4.5vw, 70px); font-size: clamp(1rem, 1.8vw, 1.35rem); }
.mobile-menu { display: none; }
.hero { position: relative; isolation: isolate; color: var(--cream); background: var(--coffee); overflow: hidden; }
.hero-grid { min-height: clamp(350px, 38vw, 545px); display: grid; align-items: center; }
.intro { z-index: 1; width: min(59%, 680px); padding: 40px 0; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 65%; height: 100%; object-fit: cover; object-position: 61% 46%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #1b0a24 33%, #1b0a24e8 42%, #1b0a2400 65%); }
h1, h2 { font-family: system-ui, sans-serif; line-height: 1.04; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.4vw, 5.45rem); max-width: 14ch; }
h2 { font-size: clamp(1.65rem, 3.5vw, 3.35rem); }
.intro p { font-size: clamp(1.02rem, 2vw, 1.55rem); margin: 14px 0 24px; }
form { display: grid; gap: 11px; max-width: 390px; }
.nickname { flex: 1; min-width: 0; }
.nickname input, .button { min-height: 53px; border: 0; border-radius: 10px; font: inherit; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.nickname input { width: 100%; background: #ffffff0b; color: #fff4ff; padding: 10px 18px; border: 1px solid #e7ccea; }
.nickname input::placeholder { color: #e9ddea; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 9px clamp(14px, 2.7vw, 35px); color: #fff; background: #c80a69; font-weight: 750; cursor: pointer; white-space: nowrap; }
.button:hover { background: #df117a; }
.sections > section { padding: 27px 0 33px; scroll-margin-top: 12px; }
.sections h2, .notice { text-align: center; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 32px); list-style: none; padding: 0; margin: 23px 0 0; }
.room, .faq { border: 1px solid var(--line); background: #2b1239; border-radius: 13px; }
.room { display: flex; align-items: center; justify-content: flex-start; min-height: 120px; padding: 15px 18px; gap: 15px; height: 100%; font-size: clamp(1.05rem, 2.25vw, 1.75rem); font-weight: 780; text-align: center; }
.room[aria-current] { border-width: 2px; border-color: #ffa3e1; }
.room-icon { display: flex; flex: none; }
#katilim { position: relative; text-align: center; }
#katilim::before { content: ""; position: absolute; inset: 0 calc((100% - 100vw) / 2); background: #1e0d28; z-index: -1; }
.sections { isolation: isolate; }
#katilim > p { margin: 12px auto 18px; max-width: 68ch; font-size: 1.08rem; }
.faq { margin: 8px auto 0; max-width: 720px; text-align: left; }
.faq summary { font-weight: 650; cursor: pointer; padding: 10px 14px; }
.faq p { margin: 0; padding: 0 14px 12px; }
.notice { padding: 45px 0; min-height: 30vh; }
.notice h1 { max-width: none; font-size: clamp(2.6rem, 7vw, 5rem); }
.notice p { max-width: 66ch; margin: 14px auto; }
.footer .wrap { padding-block: 14px; }
.footer .brand { font-size: clamp(1.4rem, 2.9vw, 2.2rem); }
.footer .brand img { width: 51px; }
.footer nav { font-size: 1rem; gap: 12px 29px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 10; padding: 10px; background: var(--paper); }

.age-badge { order: 2; font-size: 1rem; color: #ffd4f2; border: 1px solid #f749b1; border-radius: 10px; padding: 3px 10px; font-weight: 800; white-space: nowrap; }
.hero h1 span { display: block; width: max-content; color: #ff76bf; background: linear-gradient(105deg,#ff9b74,#ff51b8,#d69afa); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.age-check { display: flex; width: fit-content; align-items: center; gap: 8px; min-height: 34px; cursor: pointer; }
.age-check input { width: 21px; height: 21px; accent-color: #d91681; margin: 0; }
.hero .button { background: linear-gradient(110deg,#a90958,#cf0b70); }
.hero .button:hover { background: #ab0b62; }
.room { position: relative; isolation: isolate; text-align: left; }
.room::after { content: "›"; margin-inline-start: auto; font-size: 1.6em; font-weight: 400; }
.rooms li:nth-child(1) .room { background: radial-gradient(ellipse at 87% 145%,#d620ae,transparent 63%),#2b1239; }
.rooms li:nth-child(2) .room { background: radial-gradient(ellipse at 87% 145%,#d55264,transparent 63%),#2b1239; }
.rooms li:nth-child(3) .room { background: radial-gradient(ellipse at 87% 145%,#6343df,transparent 63%),#2b1239; }
#odalar h2 { display: flex; align-items: center; justify-content: center; gap: 20px; }
#odalar h2::before, #odalar h2::after { content: ""; height: 3px; flex: 1; max-width: 230px; background: linear-gradient(90deg,transparent,#7f4cd7,#f954b6,#ffd151); }
#odalar h2::after { transform: rotate(180deg); }
.footer { border-top: 1px solid #653267; background: radial-gradient(ellipse at 38% 170%, #a82d82, transparent 45%), var(--coffee); }

@media (max-width: 760px) {
    .age-badge { order: 0; margin-inline-start: auto; }
    #odalar h2 { gap: 8px; }
    .header { min-height: 55px; gap: 8px; }
    .desktop-menu { display: none; }
    .mobile-menu { display: block; position: relative; z-index: 2; }
    .mobile-menu summary { cursor: pointer; list-style: none; padding: 6px; font-size: 1.5rem; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu nav { position: absolute; right: 0; min-width: 175px; background: var(--coffee); border: 1px solid var(--line); border-radius: 8px; display: grid; }
    .mobile-menu a { padding: 9px 13px; }
    .hero-grid { width: 100%; display: block; min-height: 0; }
    .hero::after { display: none; }
    .intro { width: 91%; margin-inline: auto; padding: 18px 0 13px; }
    h1 { font-size: clamp(2rem, 8.8vw, 4.2rem); max-width: none; }
    .intro p { margin: 7px 0 13px; }
    form { flex-direction: column; gap: 8px; max-width: none; }
    .nickname input, .button { min-height: 46px; }
    .hero-photo { position: static; display: block; width: 100%; height: clamp(190px, 64vw, 345px); object-position: center 46%; }
    .sections > section { padding: 19px 0 22px; }
    .rooms { grid-template-columns: 1fr; gap: 9px; margin-top: 14px; }
    .room { flex-direction: row; justify-content: flex-start; text-align: left; gap: 11px; padding: 8px 14px; min-height: 53px; }
    .room-icon img { width: 35px; height: 35px; }
    .footer .wrap { flex-direction: column; gap: 12px; }
    .footer nav { justify-content: center; gap: 8px 17px; }
}
