/* Omniware site — layout copied from nixware.cc's structure, Omniware palette.
   bg #0d0d0d / cards #141414 / white pill buttons / lowercase section titles. */
:root {
	--bg-main: #0d0d0d;
	--bg-card: #141414;
	--text-main: #ffffff;
	--text-muted: rgba(255, 255, 255, 0.62);
	--accent: #F5A623;
	--accent-soft: rgba(245, 166, 35, 0.3);
	--radius-sm: 5px;
	--container-width: 1164px;
	--container-padding: 16px;
	--font-family-body: "Geist", "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
	background: var(--bg-main); color: var(--text-main);
	font: 16px/1.5 var(--font-family-body);
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); width: 100%; }

/* ---------------- buttons: white pill, black text (nixware) ---------------- */
.btn {
	border: 1px solid transparent; outline: 0; box-shadow: none; appearance: none;
	cursor: pointer; font-family: var(--font-family-body);
	display: inline-flex; justify-content: center; align-items: center; gap: 5px;
	min-width: 111px; min-height: 38px;
	font-size: 14px; font-weight: 500; line-height: 1; text-align: center;
	color: #000; background-color: #fff; border-radius: 50px; overflow: hidden;
	padding: 10px 34px;
	transition: transform .3s ease-in-out;
}
.btn:hover { transform: scale(1.03); }
.btn--secondary { background-color: #0d0d0d; color: #fff; border-color: #fff; }
.btn--primary { background-color: var(--accent); }

/* ---------------- header ---------------- */
.header {
	width: 100%; display: flex; justify-content: center;
	background-color: var(--bg-main);
	padding: clamp(.9375rem, calc(.9375rem + .9709 * (100vw - 375px) / 100), 1.875rem) 0;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.logo .o { color: var(--accent); }
.logo .w { color: var(--text-main); }
.main-nav { display: flex; justify-content: space-between; flex: 1 1; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 32px; margin-left: auto; margin-right: 22px; }
.main-nav ul a { color: var(--text-muted); font-size: 14px; transition: color .15s; }
.main-nav ul a:hover { color: var(--text-main); }
.header__actions { margin-left: 32px; }
.header__actions .btn { min-width: unset; padding: 9px 26px; }

/* ---------------- sections ---------------- */
section { padding: clamp(1.875rem, calc(1.875rem + 1.2945 * (100vw - 375px) / 100), 3.125rem) 0; position: relative; }
.section-header { margin-bottom: clamp(1.25rem, calc(1.25rem + .3236 * (100vw - 375px) / 100), 1.5625rem); }
.section-header h2 { font-size: clamp(1.25rem, calc(1.25rem + 1.2945 * (100vw - 375px) / 100), 2.5rem); margin: 0; text-transform: lowercase; font-weight: 700; }
.section-header--inline { display: flex; align-items: center; justify-content: space-between; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; }
.section-link:hover { color: var(--text-main); }

/* ---------------- footer ---------------- */
.footer { padding: 20px 0 40px; background-color: var(--bg-main); }
.footer .container { display: block; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 0; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); color: var(--text-muted); transition: color .15s, background .15s; }
.footer__social a:hover { color: var(--text-main); background: #1c1c1c; }
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, calc(1.25rem + 3.8835 * (100vw - 375px) / 100), 5rem); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-nav__item h3 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px; }
.footer-nav__item ul li { margin-bottom: 6px; }
.footer-nav__item ul a { color: var(--text-muted); font-size: 14px; }
.footer-nav__item ul a:hover { color: var(--text-main); }
.footer__bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.55); font-size: 12px; }
.footer-nav__item ul a:focus-visible, .main-nav ul a:focus-visible, .footer__social a:focus-visible, .section-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------------- subpage heads ---------------- */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(1.75rem, calc(1.75rem + .6472 * (100vw - 375px) / 100), 2.5rem); font-weight: 800; margin: 0; }
.page-head p { color: var(--text-muted); margin-top: 6px; }

.nav-button { display: none; }

@media (max-width: 860px) {
	.main-nav { position: fixed; top: 0; left: 0; width: 80%; height: 100svh; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 50px; background-color: var(--bg-main); z-index: 10; padding: var(--container-padding); opacity: 0; visibility: hidden; transform: translateX(-100%); transition: .3s ease-in-out; }
	.main-nav.open { opacity: 1; visibility: visible; transform: none; }
	.main-nav ul { flex-direction: column; align-items: flex-start; margin: 0; }
	.header__actions { margin: 0; }
	.nav-button { display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
}

/* header discord icon */
.header__discord { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: var(--text-muted); transition: color .15s, background .15s; }
.header__discord:hover { color: var(--text-main); background: rgba(255,255,255,.06); }

/* EN / RU language switch */
.lang-switch { display: inline-flex; margin-left: 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; overflow: hidden; }
.lang-btn { background: none; border: 0; cursor: pointer; font-family: var(--font-family-body); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-muted); padding: 7px 10px; line-height: 1; transition: color .15s, background .15s; }
.lang-btn + .lang-btn { border-left: 1px solid rgba(255,255,255,.15); }
.lang-btn:hover { color: var(--text-main); }
.lang-btn.on { color: #000; background: var(--accent); }
@media (max-width: 860px) {
	.lang-switch { margin: 0; align-self: flex-start; }
}

/* ---------------- legal pages ---------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 0 var(--container-padding); }
.legal__meta { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.legal__intro { color: rgba(255,255,255,.8); margin-bottom: 8px; }
.legal h2 { font-size: 19px; font-weight: 600; margin: 34px 0 10px; scroll-margin-top: 90px; }
.legal h3 { font-size: 15.5px; font-weight: 600; margin: 20px 0 6px; }
.legal p, .legal li { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--text-muted); }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: #fff; font-weight: 600; }
.legal__cap { background: var(--bg-card); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); padding: 16px 18px; margin: 14px 0; }
.legal__cap p:last-child { margin-bottom: 0; }
.legal__toc { background: var(--bg-card); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0 10px; }
.legal__toc h2 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.legal__toc ol { margin: 0; padding-left: 20px; }
.legal__toc a { color: rgba(255,255,255,.8); }

/* ---------------- cookie consent banner ---------------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 520px; margin: 0 auto; background: var(--bg-card); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.5); padding: 20px 22px; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.cookie p { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
.cookie p a { color: var(--accent); }
.cookie p a:hover { text-decoration: underline; }
.cookie__row { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { min-width: 0; flex: 1 1 120px; min-height: 40px; padding: 10px 18px; font-size: 13px; }
.cookie__reject { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cookie__reject:hover { border-color: #fff; }
.cookie .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 420px) { .cookie__row { flex-direction: column; } }

/* ---------------- ToS consent checkbox (purchase dialog) ---------------- */
.pay__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.5; cursor: pointer; }
.pay__consent input { flex: none; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.pay__consent a { color: var(--accent); }
.pay__consent a:hover { text-decoration: underline; }
.pay__consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }