/* FiveDev Website - public site  © Five Dev */
:root {
    --bg: #050505;
    --bg-2: #0b0b0c;
    --card: rgba(16, 16, 18, .88);
    --card-2: #161618;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --ink: #f4f4f5;
    --ink-2: #b4b4bb;
    --muted: #7a7a84;
    --accent: #e0242b;
    --accent-2: #ff3a41;
    --accent-soft: rgba(224, 36, 43, .13);
    --accent-line: rgba(224, 36, 43, .38);
    --display: 'Bebas Neue', 'Tajawal', Impact, sans-serif;
    --font: 'Poppins', 'Tajawal', system-ui, sans-serif;
}
html[lang=ar] { --font: 'Tajawal', 'Poppins', system-ui, sans-serif; }

body {
    font-family: var(--font);
    background:
        radial-gradient(1100px 620px at 12% -8%, rgba(190, 18, 26, .22), transparent 62%),
        radial-gradient(900px 560px at 100% 18%, rgba(190, 18, 26, .10), transparent 60%),
        var(--bg);
    background-attachment: fixed;
}
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.flip-rtl { transform: none; }
html[dir=rtl] .flip-rtl { transform: scaleX(-1); }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.red { color: var(--accent); }

/* ---------- buttons (angled) ---------- */
.cta {
    --cut: 14px;
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    font: 700 .86rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
    padding: 1.05em 1.7em; border: 0; cursor: pointer; color: #fff; background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    transition: background .15s, transform .1s, box-shadow .2s; white-space: nowrap;
}
html[dir=rtl] .cta { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.cta:hover { background: var(--accent-2); text-decoration: none; box-shadow: 0 10px 40px rgba(224, 36, 43, .35); }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: .45; cursor: not-allowed; }
.cta.dark { background: #0d0d0f; border: 1px solid var(--line-2); clip-path: none; }
.cta.dark:hover { background: #17171a; box-shadow: none; }
.cta.blue { background: #2563eb; clip-path: none; border-radius: 6px; }
.cta.blue:hover { background: #3b76f6; box-shadow: 0 10px 40px rgba(37, 99, 235, .3); }
.cta.discord { background: #5865f2; clip-path: none; border-radius: 6px; }
.cta.sm { padding: .8em 1.2em; font-size: .78rem; --cut: 10px; }
.cta.block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; color: var(--accent); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(5, 5, 5, .86); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(224, 36, 43, .35), 0 0 28px rgba(224, 36, 43, .35); }
.logo b { display: block; font: 400 1.7rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.logo small { display: block; color: var(--accent); font: 600 .62rem/1.3 var(--font); letter-spacing: .35em; text-transform: uppercase; margin-top: 3px; }
.mark { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff;
    background: linear-gradient(135deg, #ff3a41, #8e0f14); box-shadow: 0 0 26px rgba(224, 36, 43, .45); }
.mark .ico { width: 24px; height: 24px; }

/* hero emblem when there is no hero image / logo */
.emblem { position: relative; z-index: 1; width: min(400px, 82%); aspect-ratio: 1; display: grid; place-items: center; }
.emblem .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(224, 36, 43, .3); }
.emblem .ring:nth-child(2) { inset: 11%; border: 1px dashed rgba(224, 36, 43, .45); animation: spin 50s linear infinite; }
.emblem .ring:nth-child(3) { inset: 22%; border-color: rgba(224, 36, 43, .6); box-shadow: 0 0 60px rgba(224, 36, 43, .25) inset; }
.emblem .core { position: relative; width: 44%; aspect-ratio: 1; border-radius: 26%; transform: rotate(45deg); display: grid; place-items: center;
    background: linear-gradient(145deg, #ff3a41, #7d0c11); box-shadow: 0 0 90px rgba(224, 36, 43, .55), inset 0 0 34px rgba(0, 0, 0, .35); }
.emblem .core span { transform: rotate(-45deg); font: 400 clamp(3rem, 7vw, 5.6rem)/1 var(--display); color: #fff; letter-spacing: .03em; }
.about-art .emblem { width: 62%; margin-bottom: 40px; }
@media (prefers-reduced-motion: reduce) { .emblem .ring { animation: none !important; } }

.menu { display: flex; gap: 6px; margin-inline: auto; }
.menu a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--ink); font: 600 .84rem var(--font); letter-spacing: .04em; text-transform: uppercase; position: relative; }
html[lang=ar] .menu a { letter-spacing: 0; font-size: .95rem; }
.menu a:hover { color: var(--accent-2); text-decoration: none; }
.menu a.on { color: var(--accent); }
.menu a.on::after { content: ''; position: absolute; inset-inline: 14px; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.hdr-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; align-items: center; gap: 8px; background: #0d0d0f; border: 1px solid var(--line-2); color: var(--ink); font: 500 .88rem var(--font); padding: 9px 12px; border-radius: 7px; cursor: pointer; }
.lang:hover { border-color: rgba(255, 255, 255, .25); }
.who { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.who img { width: 30px; height: 30px; border-radius: 50%; }
.burger { display: none; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 7px; padding: 8px; cursor: pointer; }
.announce-bar { background: var(--accent); color: #fff; text-align: center; padding: 8px 16px; font-weight: 600; font-size: .92rem; }

/* ---------- common sections ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--accent-line); background: rgba(224, 36, 43, .07); color: var(--accent-2); border-radius: 999px; padding: 7px 16px; font: 600 .72rem var(--font); letter-spacing: .14em; text-transform: uppercase; }
html[lang=ar] .tag { letter-spacing: .02em; font-size: .82rem; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.tag.no-dot::before { display: none; }
.title { font: 400 clamp(2.6rem, 6vw, 4.6rem)/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; margin: 14px 0 12px; }
html[lang=ar] .title { font-weight: 800; line-height: 1.2; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.sub { color: var(--ink-2); max-width: 640px; font-size: 1.02rem; }
.head-c { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 44px; }
.head-c .sub { margin-inline: auto; }
.section { padding: 90px 0; position: relative; }
.page-top { padding: 56px 0 30px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.panel:hover { border-color: var(--line-2); }
.muted { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: .92rem; }
.checks .ico { color: var(--accent); margin-top: 3px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 78px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-title { font: 400 clamp(4.2rem, 11vw, 9.6rem)/.86 var(--display); text-transform: uppercase; margin: 22px 0 18px; }
.hero-title span { display: block; }
.hero-title span + span { color: var(--accent); text-shadow: 0 0 60px rgba(224, 36, 43, .35); }
html[lang=ar] .hero-title { font-weight: 800; line-height: 1.12; font-size: clamp(3rem, 8vw, 6.4rem); }
.hero .sub { font-size: 1.12rem; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 38px; }
.hstat { display: flex; align-items: center; gap: 12px; }
.hstat .box { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-2); border-radius: 9px; }
.hstat b { display: block; font: 400 1.6rem/1 var(--display); }
.hstat span { font-size: .78rem; color: var(--muted); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 440px; }
.hero-art::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 36, 43, .38), rgba(224, 36, 43, .06) 55%, transparent 70%); filter: blur(6px); }
.hero-art::after { content: ''; position: absolute; width: 64%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(224, 36, 43, .22); box-shadow: 0 0 0 40px rgba(224, 36, 43, .03), 0 0 0 90px rgba(224, 36, 43, .02); }
.hero-art img { position: relative; z-index: 1; max-height: 460px; width: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7)); }
.hero-art img.logo-art { width: 56%; max-width: 320px; border-radius: 50%; box-shadow: 0 0 80px rgba(224, 36, 43, .45); }
.feat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 50px 0 0; position: relative; z-index: 2; }
.feat { padding: 20px; }
.feat .ico { color: var(--accent); width: 22px; height: 22px; margin-bottom: 12px; }
.feat h3 { font-size: .98rem; margin: 0 0 6px; font-weight: 600; }
.feat p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- numbers band ---------- */
.band { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(224, 36, 43, .05), transparent); padding: 46px 0; margin-top: 70px; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.band b { display: block; font: 400 3.3rem/1 var(--display); color: var(--accent); text-shadow: 0 0 40px rgba(224, 36, 43, .3); }
.band span { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang=ar] .band span { letter-spacing: 0; font-size: .92rem; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about .checks { grid-template-columns: 1fr 1fr; margin: 24px 0; }
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.mini { text-align: center; padding: 16px 8px; }
.mini .ico { color: var(--accent); width: 22px; height: 22px; }
.mini b { display: block; font-size: .8rem; margin-top: 8px; text-transform: uppercase; }
.mini span { font-size: .7rem; color: var(--muted); }
.about-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(224, 36, 43, .22), transparent 65%), #0c0c0e; }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-art img.logo-art { width: 38%; height: auto; border-radius: 50%; box-shadow: 0 0 70px rgba(224, 36, 43, .45); }
.about-art .nums { position: absolute; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 16px; background: linear-gradient(0deg, rgba(0, 0, 0, .9), transparent); }
.about-art .nums b { display: block; font: 400 1.7rem/1 var(--display); color: var(--accent); }
.about-art .nums span { font-size: .7rem; color: var(--ink-2); text-transform: uppercase; }

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.prod { display: flex; flex-direction: column; overflow: hidden; position: relative; transition: transform .2s, border-color .2s; }
.prod:hover { transform: translateY(-3px); }
.prod.featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px rgba(224, 36, 43, .18), 0 20px 60px rgba(224, 36, 43, .12); }
.prod .ribbon { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.prod-img { aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 60%, rgba(224, 36, 43, .16), transparent 70%), #0d0d0f; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .ph { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-2); }
.prod-img .ph .ico { width: 30px; height: 30px; }
.prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-body h3 { font: 400 1.6rem/1 var(--display); text-transform: uppercase; margin: 0; letter-spacing: .02em; }
html[lang=ar] .prod-body h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.prod-cat { font-size: .72rem; color: var(--accent-2); letter-spacing: .12em; text-transform: uppercase; }
.prod-desc { color: var(--muted); font-size: .88rem; flex: 1; white-space: pre-wrap; }
.prod-price { font: 400 2.2rem/1 var(--display); }
.prod-price small { font: 400 .8rem var(--font); color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.chip { border: 1px solid var(--line-2); background: #0d0d0f; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; font: 500 .85rem var(--font); cursor: pointer; }
.chip:hover { color: var(--ink); }
.chip[aria-selected=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
.empty-box { text-align: center; padding: 60px 20px; color: var(--muted); }

/* donors */
.donors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.donors li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.donors .rk { width: 38px; height: 38px; display: grid; place-items: center; font: 400 1.4rem/1 var(--display); border-radius: 9px; background: var(--card-2); color: var(--ink-2); flex: none; }
.donors li:nth-child(1) .rk { background: rgba(240, 180, 41, .16); color: #f0b429; }
.donors li:nth-child(2) .rk { background: rgba(210, 214, 222, .14); color: #d5d9e0; }
.donors li:nth-child(3) .rk { background: rgba(205, 127, 50, .16); color: #e0995a; }
.donors b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 70px 30px; background: radial-gradient(700px 260px at 50% 0%, rgba(224, 36, 43, .22), transparent 70%), var(--card); }

/* ---------- rules ---------- */
.rtabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 24px; }
.rtab { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); font: 600 .72rem var(--font); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; text-align: center; }
html[lang=ar] .rtab { font-size: .86rem; letter-spacing: 0; }
.rtab .ico { width: 22px; height: 22px; }
.rtab:hover { border-color: var(--line-2); color: var(--ink); }
.rtab.on { background: linear-gradient(180deg, rgba(224, 36, 43, .22), rgba(224, 36, 43, .08)); border-color: var(--accent-line); color: var(--accent-2); }
.pens { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pen { padding: 3px 11px; border-radius: 999px; font-size: .74rem; font-weight: 600; text-transform: none; letter-spacing: 0; border: 1px solid; }
.pen.p0 { color: #f0b429; border-color: rgba(240, 180, 41, .4); background: rgba(240, 180, 41, .1); }
.pen.p1 { color: #f08a3c; border-color: rgba(240, 138, 60, .4); background: rgba(240, 138, 60, .1); }
.pen.p2 { color: #ef5a5a; border-color: rgba(239, 90, 90, .4); background: rgba(239, 90, 90, .1); }
.pen.p3 { color: #ff3a41; border-color: rgba(255, 58, 65, .5); background: rgba(255, 58, 65, .14); }
.rule { margin-bottom: 10px; overflow: hidden; }
.rule summary, .rule .sum { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; font-size: .95rem; }
.rule summary::-webkit-details-marker { display: none; }
.rule .sum { cursor: default; }
.rule .n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent-2); font: 400 1.2rem/1 var(--display); flex: none; }
.rule .chev { margin-inline-start: auto; color: var(--muted); transition: transform .2s; }
.rule[open] .chev { transform: rotate(180deg); }
.rule .detail { padding: 0 18px 18px 66px; color: var(--ink-2); font-size: .9rem; white-space: pre-wrap; }
html[dir=rtl] .rule .detail { padding: 0 66px 18px 18px; }
.accept { text-align: center; padding: 30px 20px; margin-top: 30px; }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); gap: 20px; justify-content: center; }
.app-card { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.app-card .icon-box { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 11px; }
.app-card .icon-box .ico { width: 24px; height: 24px; }
.app-card h3 { font: 400 1.75rem/1 var(--display); text-transform: uppercase; margin: 4px 0 0; }
html[lang=ar] .app-card h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.3; }
.app-card p { color: var(--ink-2); font-size: .88rem; margin: 0; }
.app-card .checks { flex: 1; }
.c-red .icon-box { background: rgba(224, 36, 43, .14); color: #ff4d53; } .c-red .checks .ico { color: #ff4d53; }
.c-blue .icon-box { background: rgba(37, 99, 235, .16); color: #5b8cff; } .c-blue .checks .ico { color: #5b8cff; }
.c-green .icon-box { background: rgba(34, 197, 94, .14); color: #3ddc84; } .c-green .checks .ico { color: #3ddc84; }
.c-amber .icon-box { background: rgba(240, 180, 41, .14); color: #f0b429; } .c-amber .checks .ico { color: #f0b429; }
.c-purple .icon-box { background: rgba(147, 51, 234, .16); color: #b57bff; } .c-purple .checks .ico { color: #b57bff; }
.closed-note { text-align: center; color: var(--muted); font-size: .85rem; padding: 12px; border: 1px dashed var(--line-2); border-radius: 6px; }

/* ---------- account ---------- */
.acct { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.acct-card { padding: 24px; text-align: center; }
.acct-card img { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; box-shadow: 0 0 0 3px rgba(224, 36, 43, .4); }
.acct h2 { font: 400 1.9rem/1 var(--display); text-transform: uppercase; margin: 0 0 16px; }
html[lang=ar] .acct h2 { font-weight: 800; font-size: 1.4rem; line-height: 1.3; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 160px; }
.list-row b { display: block; }
.signin-box { max-width: 460px; margin: 0 auto; padding: 36px 30px; text-align: center; }
.signin-box img { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 14px; box-shadow: 0 0 40px rgba(224, 36, 43, .4); }
.signin-mark { display: flex; justify-content: center; margin-bottom: 6px; }
.signin-mark .mark { width: 64px; height: 64px; border-radius: 16px; }
.signin-mark .mark .ico { width: 32px; height: 32px; }
.signin-box .title { font-size: 2.4rem; margin-top: 10px; }
.signin-form { text-align: start; margin-top: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #0b0b0d; border: 1px solid var(--line-2); border-radius: 10px; padding: 4px; margin-top: 18px; }
.auth-tabs button { background: none; border: 0; color: var(--ink-2); font: 600 .92rem var(--font); padding: 10px; border-radius: 7px; cursor: pointer; }
.auth-tabs button[aria-selected=true] { background: var(--accent); color: #fff; }
.code-input { font: 600 1.9rem/1 ui-monospace, Consolas, monospace; letter-spacing: .5em; text-align: center; padding: .55em .4em; }
.signin-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent-2); font: 500 .86rem var(--font); cursor: pointer; }
.linkish:disabled { color: var(--muted); cursor: default; }
.signin-box .or { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 20px 0 4px; font-size: .85rem; }
.signin-box .or::before, .signin-box .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.method-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-align: start; }
.method-row .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid rgba(224, 36, 43, .18); margin-top: 60px; background: linear-gradient(180deg, rgba(224, 36, 43, .05), transparent 50%); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 54px 0 40px; }
.foot h4 { font: 400 1.25rem/1 var(--display); letter-spacing: .04em; margin: 0 0 16px; text-transform: uppercase; }
html[lang=ar] .foot h4 { font-weight: 800; font-size: 1.05rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-2); font-size: .9rem; }
.foot a:hover { color: var(--accent-2); text-decoration: none; }
.foot .about-txt { color: var(--ink-2); font-size: .9rem; margin: 14px 0; max-width: 360px; }
.foot .contact { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .88rem; margin-top: 8px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 20px 0 28px; color: var(--muted); font-size: .82rem; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; background: #0d0d0f; color: var(--ink-2); }
.socials a:hover { color: #fff; border-color: var(--accent-line); }

.chat { position: fixed; bottom: 26px; inset-inline-end: 26px; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(224, 36, 43, .15), 0 12px 40px rgba(224, 36, 43, .5); z-index: 50; transition: transform .15s; }
.chat:hover { transform: scale(1.06); text-decoration: none; }
.chat .ico { width: 26px; height: 26px; }

/* ---------- forms in the dark theme ---------- */
input, select, textarea { background: #0b0b0d; border-color: var(--line-2); }
dialog { background: #0f0f11; border-color: var(--line-2); }
.co-product { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #0b0b0d; border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; margin-bottom: 18px; }
.co-product b { display: block; }
.who-ok { display: flex; align-items: center; gap: 10px; background: rgba(47, 191, 113, .12); border: 1px solid rgba(47, 191, 113, .35); color: #c4f3d9; border-radius: 9px; padding: 10px 12px; margin: -4px 0 16px; }
.methods { display: grid; gap: 8px; margin-bottom: 16px; }
.method { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 13px; cursor: pointer; background: #0b0b0d; }
.method:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.method small { color: var(--muted); margin-inline-start: auto; }

@media (max-width: 1100px) {
    .menu { display: none; position: absolute; top: 78px; inset-inline: 0; flex-direction: column; background: rgba(5, 5, 5, .97); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; }
    .menu.open { display: flex; }
    .menu a.on::after { display: none; }
    .burger { display: inline-flex; }
    .hdr-end { margin-inline-start: auto; }
}
@media (max-width: 900px) {
    .hero-grid, .about, .acct { grid-template-columns: 1fr; }
    .hero-art { min-height: 300px; order: -1; }
    .feat-row, .band-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .band-grid { row-gap: 26px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .minis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .wrap { width: calc(100% - 32px); }
    .hdr-in { gap: 10px; }
    .logo small { display: none; }
    .logo b { font-size: 1.35rem; }
    .lang span { display: none; }
    .hdr-end .cta { padding: .8em 1em; }
    .feat-row, .about .checks { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .chat { bottom: 16px; inset-inline-end: 16px; }
}
