/* Landing do Amigo Secreto. Paleta vem do app: noite roxa, pervinca da marca,
   coral do presente e amarelo da fita do ícone. */
:root {
    --night: #0d0b1e;
    --plum: #1a1535;
    --plum-2: #262050;
    --line-dark: rgba(255, 255, 255, 0.1);
    --peri: #7b9bff;
    --peri-soft: #b9c8ff;
    --coral: #ff5c7a;
    --coral-deep: #e23d63;
    --ribbon: #ffc94a;
    --lav: #f5f3ff;
    --lav-2: #ebe7ff;
    --ink: #1a1040;
    --ink-soft: #5a5380;
    --white: #fff;
    --radius: 28px;
    --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--night); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--ribbon); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(13, 11, 30, 0.72); border-bottom: 1px solid var(--line-dark); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; color: #fff; text-decoration: none; font-size: 1.05rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--peri-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: var(--ribbon); color: var(--ink); font-weight: 800; text-decoration: none; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 6px 20px rgba(255, 201, 74, 0.25); }
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 201, 74, 0.35); }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- Hero */
.hero { position: relative; color: #fff; padding: 56px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -1;
    background: radial-gradient(620px 420px at 78% 30%, rgba(123, 155, 255, 0.42), transparent 70%),
        radial-gradient(520px 380px at 18% 8%, rgba(255, 92, 122, 0.22), transparent 70%),
        radial-gradient(700px 500px at 50% 110%, rgba(255, 201, 74, 0.12), transparent 70%); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.05); color: var(--peri-soft); font-size: 0.88rem; font-weight: 700; margin-bottom: 26px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.25); animation: live 2.4s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0.08); } }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 900; }
.hero h1 em { font-style: normal; position: relative; background: linear-gradient(100deg, var(--peri), #c4a8ff 55%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em svg { display: none; position: absolute; left: -2%; bottom: -0.22em; width: 104%; height: 0.32em; overflow: visible; }
.hero h1 em svg path { stroke: var(--ribbon); }
.lead { margin-top: 28px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #cfd3f5; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stores a { display: inline-flex; line-height: 0; transition: transform 0.2s; }
.stores a:hover { transform: translateY(-3px); }
.storeBadge { width: 168px; height: auto; display: block; }
.hero-note { margin-top: 18px; color: var(--peri-soft); font-size: 0.9rem; }

@media (min-width: 960px) {
    .hero { padding: 84px 0 120px; }
    .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
}

/* ---------- Celular com a revelação */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.4; border-radius: 46px; padding: 11px; background: linear-gradient(160deg, #35305f, #0a0818 40%); box-shadow: 0 50px 90px -20px rgba(0, 0, 0, 0.7), 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset; transform: rotate(3.5deg); }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; border-radius: 999px; background: #05040f; transform: translateX(-50%); z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #221c4a 0%, #14102c 55%, #0d0b1e 100%); display: flex; flex-direction: column; padding: 56px 18px 18px; color: #fff; }
.scr-head { text-align: center; }
.scr-head b { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.scr-head span { color: var(--peri-soft); font-size: 0.78rem; }
.scr-body { position: relative; flex: 1; display: grid; place-items: center; }
.scr-foot { text-align: center; font-size: 0.78rem; color: var(--peri-soft); min-height: 2.6em; }

/* O presente é o personagem do app (o mesmo do ícone), partido em tampa e corpo */
.gift { position: absolute; width: 176px; aspect-ratio: 585 / 649; background: none; border: 0; padding: 0; cursor: pointer; transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.35s; -webkit-tap-highlight-color: transparent; animation: wiggle 3.2s ease-in-out infinite; filter: drop-shadow(0 22px 24px rgba(226, 61, 99, 0.35)); }
.gift:hover { transform: translateY(-4px) rotate(-2deg); }
.gift img { position: absolute; left: 0; width: 100%; height: auto; pointer-events: none; user-select: none; }
.g-bottom { bottom: 0; }
.g-top { top: 0; transition: transform 0.55s cubic-bezier(0.3, 1.5, 0.5, 1); transform-origin: 15% 100%; }
@keyframes wiggle { 0%, 70%, 100% { rotate: 0deg; } 76% { rotate: -3deg; } 82% { rotate: 3deg; } 88% { rotate: -2deg; } 94% { rotate: 1deg; } }
.tap { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.8rem; font-weight: 800; color: var(--ink); background: var(--ribbon); padding: 6px 14px; border-radius: 999px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { transform: translateX(-50%) scale(1.07); } }

.reveal-card { position: absolute; inset: 6px 0 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px 14px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)); border: 1px solid var(--line-dark); opacity: 0; transform: translateY(34px) scale(0.86); pointer-events: none; transition: opacity 0.4s 0.15s, transform 0.65s 0.15s cubic-bezier(0.3, 1.4, 0.5, 1); }
.reveal-card small { color: var(--peri-soft); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.rc-av { width: 92px; height: 92px; border-radius: 50%; margin: 12px 0 10px; box-shadow: 0 0 0 4px var(--ribbon), 0 14px 30px rgba(0, 0, 0, 0.4); }
.rc-name { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.rc-meta { margin-top: 12px; font-size: 0.74rem; color: var(--peri-soft); font-weight: 700; }
.rc-likes { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.rc-likes span { font-size: 0.78rem; padding: 5px 11px; border-radius: 999px; background: rgba(123, 155, 255, 0.18); color: #dfe6ff; font-weight: 700; }
.rc-budget { margin-top: auto; font-size: 0.8rem; color: #dfe6ff; padding-top: 12px; }
.rc-budget b { color: var(--ribbon); font-size: 1.05rem; }

.stage.open .gift { opacity: 0; transform: scale(0.55) translateY(20px); pointer-events: none; }
.stage.open .g-top { transform: translate(-10px, -70px) rotate(-16deg); }
.stage.open .reveal-card { opacity: 1; transform: none; pointer-events: auto; }

.again { margin-top: 6px; background: none; border: 0; color: var(--ribbon); font: inherit; font-size: 0.8rem; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Peças soltas ao redor do celular */
.float { position: absolute; z-index: 4; border-radius: 20px; padding: 12px 15px; font-size: 0.86rem; font-weight: 700; color: var(--ink); background: #fff; box-shadow: 0 24px 44px -12px rgba(0, 0, 0, 0.55); animation: drift 7s ease-in-out infinite; max-width: 190px; line-height: 1.3; }
.float small { display: block; color: var(--ink-soft); font-weight: 600; font-size: 0.72rem; margin-bottom: 3px; }
.float-chat { left: -9%; top: 24%; border-bottom-left-radius: 6px; }
.float-chat.reply { background: var(--peri); color: #0d0b1e; border-bottom-left-radius: 20px; border-bottom-right-radius: 6px; left: auto; right: -12%; top: auto; bottom: 13%; animation-delay: -3s; }
.float-av { top: 3%; right: 4%; display: flex; padding: 8px; gap: 0; border-radius: 999px; animation-delay: -1.5s; }
.float-av img { width: 38px; height: 38px; border-radius: 50%; margin-left: -10px; border: 2px solid #fff; background: #fff; }
.float-av img:first-child { margin-left: 0; }
@keyframes drift { 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .stage { min-height: 520px; } .float-chat { left: -4%; } .float-chat.reply { right: -4%; } }

.confetti { position: absolute; left: 50%; top: 46%; width: 10px; height: 10px; border-radius: 2px; pointer-events: none; z-index: 5; }

/* ---------- Faixa de ocasiões */
.marquee { background: var(--ribbon); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); transform: rotate(-1.2deg); margin: -34px -10px 0; position: relative; z-index: 6; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 900; letter-spacing: -0.02em; padding: 15px 0; white-space: nowrap; }
.marquee span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin: 0 28px; background: var(--ink); transform: rotate(45deg) translateY(-2px); border-radius: 3px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Seções claras */
.light { background: var(--lav); padding: 120px 0 96px; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.kicker { display: inline-block; font-weight: 800; font-size: 0.85rem; color: var(--peri); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.light .kicker { color: #4a63d6; }
h2.title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 900; }
.sec-head p { margin-top: 18px; font-size: 1.12rem; color: var(--ink-soft); }
.dark .sec-head p { color: #c3c8ee; }

/* Passos: aqui a ordem importa, então os números fazem sentido */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 30px 32px; box-shadow: 0 1px 0 rgba(26, 16, 64, 0.05), 0 22px 40px -26px rgba(55, 40, 140, 0.35); counter-increment: s; overflow: hidden; }
.step::before { content: counter(s); position: absolute; right: 20px; top: -16px; font-size: 9rem; font-weight: 900; line-height: 1; color: var(--lav-2); letter-spacing: -0.06em; }
.step h3 { position: relative; font-size: 1.4rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.step p { position: relative; color: var(--ink-soft); max-width: 24em; }
.step-ico { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: var(--ink); color: var(--ribbon); }
.step:nth-child(2) .step-ico { background: var(--peri); color: var(--ink); }
.step:nth-child(3) .step-ico { background: var(--coral); color: #fff; }
.step-ico svg { width: 26px; height: 26px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Seção escura de recursos */
.dark { background: var(--night); color: #fff; padding: 110px 0; position: relative; overflow: hidden; isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 90% 0%, rgba(123, 155, 255, 0.2), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(255, 92, 122, 0.14), transparent 70%); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { position: relative; border-radius: var(--radius); padding: 30px 28px; background: linear-gradient(180deg, var(--plum-2), var(--plum)); border: 1px solid var(--line-dark); overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(123, 155, 255, 0.5); }
.card h3 { font-size: 1.25rem; letter-spacing: -0.025em; margin-bottom: 8px; }
.card p { color: #c3c8ee; font-size: 0.98rem; max-width: 30em; }
.card-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(123, 155, 255, 0.16); color: var(--peri-soft); }
.card-ico svg { width: 22px; height: 22px; }
.card.hot { background: linear-gradient(150deg, #3b3290, #231d52 60%, #1a1535); }
.card.hot .card-ico { background: var(--ribbon); color: var(--ink); }
.card.coral .card-ico { background: rgba(255, 92, 122, 0.2); color: #ff9bb0; }

/* conversa anônima dentro do card */
.chat { margin-top: 26px; display: grid; gap: 10px; max-width: 360px; }
.bubble { padding: 11px 15px; border-radius: 18px; font-size: 0.92rem; font-weight: 600; max-width: 85%; line-height: 1.35; }
.bubble.q { background: #fff; color: var(--ink); border-bottom-left-radius: 5px; justify-self: start; }
.bubble.a { background: var(--peri); color: #0d0b1e; border-bottom-right-radius: 5px; justify-self: end; }
.who { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; color: var(--peri-soft); font-weight: 700; }
.who i { width: 22px; height: 22px; border-radius: 50%; background: var(--plum); border: 1.5px dashed var(--peri-soft); display: grid; place-items: center; font-style: normal; font-size: 0.7rem; }

/* restrição: dois rostos e um corte no meio */
.pair { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.pair img { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); }
.pair .cut { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 7px, transparent 7px 13px); }
.pair .cut::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px var(--plum); }
.pair .cut::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2.5px; background: #fff; transform: translate(-50%, -50%); z-index: 1; border-radius: 2px; }

.faces { display: flex; margin-top: 22px; }
.faces img { width: 44px; height: 44px; border-radius: 50%; margin-left: -12px; border: 2.5px solid var(--plum); }
.faces img:first-child { margin-left: 0; }

@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } .card.wide { grid-column: span 2; } }
@media (min-width: 1000px) {
    .bento { grid-template-columns: repeat(6, 1fr); }
    .card { grid-column: span 2; }
    .card.wide { grid-column: span 4; }
}

/* ---------- Dois jeitos de sortear */
.modes { display: grid; gap: 20px; }
.mode { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: 0 22px 40px -26px rgba(55, 40, 140, 0.35); border: 1px solid rgba(26, 16, 64, 0.06); }
.mode.on { background: var(--ink); color: #fff; }
.mode small { display: inline-block; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--lav-2); color: #4a63d6; }
.mode.on small { background: rgba(255, 201, 74, 0.18); color: var(--ribbon); }
.mode h3 { font-size: 1.7rem; letter-spacing: -0.035em; margin: 18px 0 8px; }
.mode > p { color: var(--ink-soft); }
.mode.on > p { color: #c3c8ee; }
.mode ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.mode li { position: relative; padding-left: 32px; font-weight: 600; }
.mode li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--peri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230d0b1e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.mode.on li::before { background-color: var(--ribbon); }
@media (min-width: 860px) { .modes { grid-template-columns: 1fr 1fr; } }
.light.tight { padding: 40px 0 110px; }

/* ---------- Ocasiões */
.occ { margin-top: 34px; color: var(--ink-soft); max-width: 46em; font-size: 1.05rem; }

/* ---------- FAQ */
.faq-wrap { display: grid; gap: 40px; }
.faq details { background: #fff; border-radius: 20px; margin-bottom: 12px; border: 1px solid rgba(26, 16, 64, 0.07); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.015em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--lav-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 9v12M9 15h12' stroke='%231a1040' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--ribbon); }
.faq details p { padding: 0 26px 24px; color: var(--ink-soft); max-width: 46em; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } .faq-wrap .sec-head { position: sticky; top: 110px; align-self: start; margin-bottom: 0; } }

/* ---------- CTA final */
.cta { position: relative; text-align: center; color: #fff; padding: 110px 0 90px; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 420px at 50% 0%, rgba(123, 155, 255, 0.35), transparent 70%), radial-gradient(500px 300px at 85% 100%, rgba(255, 92, 122, 0.22), transparent 70%); }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: -0.045em; line-height: 1; font-weight: 900; max-width: 14em; margin: 0 auto; }
.cta p { margin: 22px auto 0; color: #c3c8ee; font-size: 1.15rem; max-width: 30em; }
.cta .stores { justify-content: center; }
.cta-icon { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 32px; box-shadow: 0 20px 50px -10px rgba(255, 92, 122, 0.5); }

footer.foot { border-top: 1px solid var(--line-dark); padding: 32px 0 44px; color: var(--peri-soft); font-size: 0.9rem; background: var(--night); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; color: var(--peri-soft); font-weight: 600; }
.foot a:hover { color: #fff; text-decoration: underline; }

/* ---------- Entrada suave ao rolar */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .rise { opacity: 1; transform: none; }
    .marquee-track { flex-wrap: wrap; width: auto; }
}

@media (min-width: 720px) {
    .hero h1 em { white-space: nowrap; }
    .hero h1 em svg { display: block; }
}

.float { transition: opacity 0.4s; }
.stage.open .float-chat { opacity: 0; pointer-events: none; }

html, body { overflow-x: clip; }
@media (max-width: 520px) { .storeBadge { width: 150px; } .stores { gap: 10px; } }

/* ---------- Seletor de idioma no menu */
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--peri-soft); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang summary:hover, .lang[open] summary { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 170px; border-radius: 18px; background: var(--plum); border: 1px solid var(--line-dark); box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6); }
.lang a { display: block; padding: 10px 14px; border-radius: 12px; color: #dfe3ff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.lang a:hover { background: rgba(255, 255, 255, 0.08); }
.lang a[aria-current] { background: rgba(123, 155, 255, 0.2); color: #fff; font-weight: 800; }
@media (max-width: 400px) { .nav-right { gap: 6px; } .pill { padding: 10px 14px; } .lang summary { padding: 0 11px; } .brand { font-size: 0.98rem; } }
