@charset "UTF-8";

/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */
a,
a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-size: inherit;
	font-weight: inherit;
}

ul,
ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button,
input[type=submit] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
	outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

:root {
	--bg: #0a0c2c;
	--accent-pink: #ff0051;
}

* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: #fff;
	font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	caret-color: transparent;
}

input,
textarea {
	caret-color: #ffffff;
}

.wrapper {
	position: relative;
	box-sizing: content-box;
	max-width: 1252px;
	left: 50%;
	transform: translateX(-50%);
	padding: 20px 0;
}

@media (max-width: 1400px) {
	.wrapper {
		padding: 15px 5%;
	}
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__wrapper {
	display: flex;
	align-items: center;
}

.header__logo a {
	font-weight: 400;
	font-size: 20px;
	margin-right: 25px;
	color: #ffffff;
}

.header__logo a:hover {
	opacity: 0.7;
	transition: opacity 0.3s;
}

.header__btn {
	background-color: var(--accent-pink);
	padding: 5px 10px;
	border-radius: 25px;
	color: #fff;
}

.header__btn:hover {
	opacity: 0.8;
}

.nav {
	justify-self: center;
	display: flex;
	gap: 18px;
}

.nav a {
	font-weight: 400;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.nav a:hover {
	opacity: 0.6;
}

.hero {
	display: block;
	position: relative;
	height: 391px;
	margin: 20px 0 50px 0;
	border-radius: 22px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url("../img/bg_hero.webp");
}

.hero:after {
	display: block;
	position: absolute;
	background-image: url("../img/after.webp");
	content: "";
	z-index: -1;
	width: 360px;
	height: 290px;
	right: -135px;
	bottom: -100px;
}

.hero__inner {
	padding: 54px 42px 0;
}

.hero__title {
	font-weight: 700;
	font-size: 56px;
	line-height: 1.05;
	letter-spacing: 0.2px;
	width: 70%;
}

.cta-main {
	margin-top: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 38px;
	border-radius: 999px;
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	cursor: pointer;
}

.cta-main:hover {
	background: rgba(255, 255, 255, 0.08);
}

.hero__quick {
	position: absolute;
	bottom: 15px;
	right: 15px;
	display: flex;
	gap: 14px;
}

.hero__quick a {
	display: inline-block;
	padding: 8px 10px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	font-size: 10px;
	opacity: 0.95;
}

.hero__quick a:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.08);
}

.cat-rotator {
	position: absolute;
	bottom: -50px;
	right: 50%;
	width: 120px;
	height: 120px;
	cursor: pointer;
}

.cat-rotator svg {
	width: 100%;
	height: 100%;
	animation: spin 15s linear infinite;
}

.cat-rotator text {
	fill: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.6px;
}

.cat-arrow {
	position: absolute;
	width: 3px;
	height: 45px;
	background: #fff;
	top: 46%;
	left: 50%;
	transform: translate(-50%, -36%);
	border-radius: 1px;
}

.cat-arrow::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -7px;
	transform: translateX(-50%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid #fff;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 1100px) {
	.cat-rotator {
		left: 80px;
	}
}

@media (max-width: 820px) {
	.cat-rotator {
		left: 45px;
		bottom: 47px;
	}

	.hero__title {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.nav {
		gap: 8px;
	}

	.nav a {
		font-size: 10px;
	}

	.header__logo {
		margin-right: 10px;
	}

	.hero__quick {
		display: flex;
		flex-direction: column;
	}

	.hero__inner {
		padding: 30px 15px 0;
	}

	.cat-rotator {
		left: 15px;
	}
}

@media (max-width: 520px) {
	.hidden-link-520 {
		display: none;
	}
}

@media (max-width: 480px) {
	.cat-rotator {
		width: 90px;
		height: 90px;
	}
}

.footer {
	background: #0b0d2a;
	color: #fff;
	padding: 50px 20px 20px;
}

.footer__container {
	display: flex;
	justify-content: space-between;
	margin: 0 auto 40px;
	flex-wrap: wrap;
	gap: 30px;
}

.footer__title {
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 20px;
}

.footer__phone {
	display: block;
	color: #ffffff;
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 10px;
}

.footer__email {
	display: block;
	color: #ffffff;
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 20px;
}

.footer__phone:hover,
.footer__email:hover {
	opacity: 0.6;
	transition: opacity 0.3s;
}

.footer__btn {
	background: var(--accent-pink);
	border: none;
	color: #fff;
	padding: 15px 30px;
	font-size: 16px;
	border-radius: 30px;
	cursor: pointer;
	transition: 0.3s;
}

.footer__btn:hover {
	opacity: 0.6;
	transition: opacity 0.3s;
}

.footer__text {
	margin: 5px 0;
	font-size: 14px;
	color: #ffffff;
}

.footer__text a{
    color: rgba(255, 255, 255, 0.85);	
}
.footer__text a:hover {
	opacity: 0.6;
}

.faq__wrap {
	display: flex;
	justify-content: center;
}

.footer__bottom {
	text-align: center;
	padding-top: 10px;
	font-size: 14px;
	color: #ccc;
}

@media (max-width: 1100px) {
	.footer__title {
		font-size: 20px;
	}

	.footer__phone {
		font-size: 22px;
	}

	.footer__email {
		font-size: 22px;
	}

	.footer__text {
		font-size: 12px;
	}
}

@media (max-width: 920px) {
	.footer__container {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	.footer__left,
	.footer__right {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}

	.footer__text {
		text-align: center;
	}
}

.section {
	margin: 100px auto;
	padding: 0;
}

.section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2px 10px 6px;
}

.section__title {
	font-weight: 600;
	font-size: 24px;
	letter-spacing: 0.3px;
	margin-right: 10px;
}

/* Поддержка справа */
.support {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.support:hover {
	opacity: 0.7;
	transition: opacity 0.3s;
}

.support-text {
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	margin-right: 10px;
}

.avatars {
	display: flex;
}

.avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 3px solid var(--bg);
	margin-left: -17px;
	overflow: hidden;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
	background: #12132f;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 640px) {
	.section__head {
		flex-direction: column;
	}

	.section__title {
		font-size: 18px;
	}
}

.cards {
	margin-top: 6px;
	display: grid;
	gap: 0 5%;
	grid-template-columns: repeat(3, minmax(250px, 375px));
	position: relative;
}

.card {
	position: relative;
	margin: 30px 0;
	font-size: 24px;
	text-align: center;
	border-radius: 12px;
}

.card__link {
	color: #ffffff;
}

.card__link:hover {
	opacity: 0.7;
	transition: opacity 0.3s;
}

.cards.four-colums {
	grid-template-columns: repeat(4, minmax(150px, 300px));
	gap: 0 2%;
}

@media (max-width: 1024px) {
	.cards {
		grid-template-columns: repeat(2, minmax(250px, 1fr));
		gap: 0 8%;
	}

	.cards.four-colums {
		grid-template-columns: repeat(3, minmax(150px, 280px));
	}
}

/* мобильные — 1 колонка */
@media (max-width: 600px) {
	.cards {
		grid-template-columns: minmax(250px, 375px);
	}

	.cards.four-colums {
		grid-template-columns: repeat(2, minmax(150px, 280px));
	}
}

.card__btn-wrp {
	display: flex;
	position: relative;
	justify-content: space-between;
	width: 100%;
	margin: 10px;
}

.card__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: end;
	height: 210px;
	border-radius: 22px;
	overflow: hidden;
	position: relative;
	background: var(--card);
}

.card__img {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	/*height: 100%;*/
	object-fit: cover;
	border-radius: 22px;
}

.card p {
	position: absolute;
	left: 50%;
	bottom: -35px;
	transform: translateX(-50%);
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	width: 100%;
}

.games__section {
	padding-bottom: 50px;
	padding-top: 20px;
}

.games__title {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	border-radius: 30px;
	background-color: #ff0051;
	width: 225px;
	height: 50px;
}

.order {
	background: #fff;
	color: #0b0d2a;
	border-radius: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 50px;
	margin-bottom: 20px;
	padding: 0;
}

.order__title {
	font-size: 52px;
	font-weight: 700;
	margin: 0 0 15px;
	line-height: 0.9;
}

.order__text p {
	font-size: 18px;
	margin: 0 0 20px;
}

.order__text {
	padding: 40px;
}

.order__btn {
	background: var(--accent-pink);
	border: none;
	color: #fff;
	padding: 15px 30px;
	font-size: 16px;
	border-radius: 30px;
	cursor: pointer;
	transition: 0.3s;
}

.order__btn:hover {
	opacity: 0.6;
	transition: opacity 0.3s;
}

.order img {
	min-width: 386px;
	height: 325px;
}

@media (max-width: 1024px) {
	.order img {
		min-width: 200px;
		height: initial;
	}

	.order__title {
		font-size: 32px;
		font-weight: 500;
	}

	.order__text p {
		font-size: 16px;
	}
}

@media (max-width: 640px) {
	.order img {
		min-width: 150px;
		height: initial;
	}

	.order__title {
		font-size: 28px;
		font-weight: 500;
	}

	.order__text p {
		font-size: 14px;
	}
}

@media (max-width: 520px) {
	.order img {
		display: none;
	}

	.order__text {
		padding: 20px;
	}
}

.faq {
	margin-top: 20px;
}

.faq__title {
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 30px;
}

.faq__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.faq__item {
	background: #fff;
	color: #0b0d2a;
	padding: 20px;
	border-radius: 15px;
}

.faq__subtitle {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 10px;
}

.faq__text {
	font-size: 14px;
	margin: 0;
}

.faq__btn {
	margin-top: 30px;
	background: var(--accent-pink);
	border: none;
	color: #fff;
	padding: 15px 30px;
	font-size: 16px;
	border-radius: 30px;
	cursor: pointer;
	transition: 0.3s;
}

.faq__btn:hover {
	opacity: 0.6;
	transition: opacity 0.3s;
}

@media (max-width: 1024px) {
	.faq__title {
		font-size: 18px;
	}

	.faq__subtitle {
		font-size: 16px;
	}

	.faq__text {
		font-size: 14px;
	}
}

@media (max-width: 640px) {
	.faq__list {
		grid-template-columns: 1fr;
	}
}

/* ===== МОДАЛКА ===== */
.overlay {
	position: fixed;
	inset: 0;
	background: rgba(5, 7, 16, 0.65);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 60;
	opacity: 0;
	visibility: hidden;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.overlay.show {
	opacity: 1;
	visibility: visible;
}

.modal {
	width: 560px;
	max-width: 95%;
	background: linear-gradient(180deg, #0f1330, #0b0e28);
	border-radius: 20px;
	padding: 28px 26px;
	box-shadow: 0 18px 60px rgba(2, 6, 20, 0.7);
	min-height: 300px;
	caret-color: transparent;

	position: absolute; /* чтобы центрировалась по overlay */
	transform: translateY(-20%); /* начальное положение для анимации */
	opacity: 0;
	transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.28s ease;
}

.overlay.show .modal {
	transform: translateY(0);
	opacity: 1;
}

.close-fixed {
	position: fixed;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 26px;
	cursor: pointer;
	z-index: 80;
}

.modal h3 {
	margin: 0 0 6px;
	font-size: 36px;
	font-weight: 600;
	text-align: center;
}

.modal p.lead {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
	font-size: 16px;
	font-weight: 300;
}

.form-row {
	margin-bottom: 12px;
}

label {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 6px;
	font-weight: 600;
}

input[type=text],
input[type=tel],
input[type=email],
input[type=password] {
	width: 100%;
	background: rgba(255, 255, 255, 0.05); /* легкий фон */
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 12px 10px;
	color: #fff;
	font-size: 15px;
	outline: none;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* подсветка при наведении */
input[type=text]:hover,
input[type=tel]:hover,
input[type=email]:hover,
input[type=password]:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.25);
}

/* активное состояние */
input[type=text]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=password]:focus {
	border-color: rgba(255, 0, 81, 0.5);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 3px rgba(241, 7, 163, 0.25);
}

#items-modal textarea,
#supportModal textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05); /* легкий фон */
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 12px 10px;
	color: #fff;
	font-size: 15px;
	outline: none;
	resize: vertical; /* можно менять размер только по вертикали */
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* подсветка при наведении */
#items-modal textarea,
#supportModal textarea:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.25);
}

/* активное состояние */
#items-modal textarea,
#supportModal textarea:focus {
	border-color: rgba(255, 0, 81, 0.5);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 3px rgba(241, 7, 163, 0.25);
}

#items-modal textarea {
	margin-top: 20px;
	resize: none;
	min-height: 180px;
}

input:focus {
	border-bottom-color: rgba(255, 255, 255, 0.32);
}

.check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 20px;
	color: #ddd;
	font-size: 14px;
	line-height: 1.4;
}

/* скрываем дефолтный чекбокс */
.check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	position: relative;
	transition: all 0.25s ease;
}

/* эффект при наведении */
.check input[type="checkbox"]:hover {
	border-color: rgba(255, 255, 255, 0.6);
}

/* галочка */
.check input[type="checkbox"]:checked {
	background: linear-gradient(135deg, #f107a3, #4a00e0);
	border-color: transparent;
}

.check input[type="checkbox"]:checked::after {
	content: "✔";
	color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -52%);
	font-size: 12px;
	font-weight: bold;
}

.check label {
	cursor: pointer;
	color: #ccc;
	margin-bottom: 0;
}

.check label a {
	color: #f107a3;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.check label a:hover {
	color: #ff47c7;
}

.submit-btn {
	width: 100%;
	height: 46px;
	background: var(--accent-pink);
	border-radius: 25px;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	cursor: pointer;
}

.modal-inner {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	transition: opacity 0.35s cubic-bezier(0.2, 0.9, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.modal-inner.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

.modal-switch {
	display: block;
	text-align: center;
	margin-top: 16px;
	font-size: 14px;
	color: var(--accent-pink, #f107a3);
	cursor: pointer;
	transition: 0.3s;
}

.modal-switch:hover {
	opacity: 0.8;
}

.modal-inner.leaving {
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
	z-index: 1;
}

/* accessibility / motion */
@media (prefers-reduced-motion: reduce) {
	.cat-rotator svg {
		animation: none;
	}

	.overlay,
	.modal {
		transition: none;
	}
}

.header-lk {
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-lk__logo {
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	display: block;
}

.container-lk {
	max-width: 1200px;
	margin: 30px auto;
	padding: 20px;
}

/* Нумерация для OL */
.policy ol {
  list-style: none;
  padding-left: 1.5em;
  counter-reset: section;
}

.policy ol > li {
  counter-increment: section;
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 1em;
}

.policy ol > li::before {
  content: counters(section, ".") " ";
  color: #ccc;
}

/* Вложенные OL */
.policy ol li ol {
  counter-reset: subsection;
  list-style: none;
  padding-left: 1.5em;
}

.policy ol li ol > li {
  counter-increment: subsection;
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 1em;
}

.policy ol li ol > li::before {
  content: counters(section, ".") "." counters(subsection, ".") " ";
  color: #ccc;
}

/* UL с точками */
.policy ul {
  list-style: none; /* убираем стандартные маркеры */
  padding-left: 1.5em;
}

.policy ul > li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 1em;
}

.policy ul > li::before {
  content: "•"; /* точка */
  color: #ccc;  
  font-size: 1em;
  line-height: 1;
}


.policy h1, .policy h2 {
	margin: 1em 0 0.5em;
	text-align: center;
}
.policy h2 {
	margin: 1em 0 0.5em;
	display: inline-block;
}
.policy a {
	font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;	
}

.container-main {
	margin: 30px auto;
}

.tabs-lk {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
}

.tabs-lk__tab-btn {
	padding: 12px 24px;
	background: var(--accent-pink);
	border-radius: 15px;
	cursor: pointer;
	color: #ffffff;
	font-size: 16px;
	transition: 0.3s;
}

.tabs-lk__tab-btn_active {
	background: #d500e5;
	color: #fff;
}

.tabs-lk__tab-btn:hover {
	opacity: 0.6;
	transition: opacity 0.3s;
}

.tabs-lk__tab-content {
	display: none;
	animation: fadeIn 0.5s;
}

.tabs-lk__tab-content_active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Карточки */
.card-lk {
	background: #151a2d;
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.card-lk h3 {
	margin-top: 0;
	color: #fff;
}

.card-lk input {
	width: 100%;
	padding: 12px;
	margin: 10px 0;
	border-radius: 8px;
	border: none;
	background: #0c0f1a;
	color: #fff;
	outline: none;
}

.card-lk button.save {
	background: var(--accent-pink);
	border: none;
	padding: 12px 20px;
	border-radius: 12px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
}

button.save:hover {
	opacity: 0.8;
}

.card-lk__table table {
	width: 100%;
	border-collapse: collapse;
	color: #fff;
}

.card-lk__table table th,
.card-lk__table table td {
	padding: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	text-align: left;
}

@media (max-width: 640px) {
	.card-lk__table {
		overflow-x: scroll;
	}
}

/*Сервис страница*/
.container-service .service-card {
    background-color: #20234b;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.container-service .left-side {
    flex: 1 1 30%;
    background-color: #2c2f5e;
    padding: 2rem;
    text-align: center;
}

.container-service .left-side img {
    width: 100%;
    border-radius: 22px;
    margin-bottom: 1.5rem;
}

.container-service .left-side h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.container-service .left-side p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.container-service .right-side {
    flex: 1 1 70%;
    padding: 2rem;
}

.container-service .right-side h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.container-service form div {
    margin-bottom: 1.5rem;
}

.container-service label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.container-service input {
    width: 100%;
    padding: 0.75rem 1rem;
	border: 2px solid #444b77;
	border-radius: 0.5rem;
	background-color: #2a2e50;
	color: #e0e0e0;
    font-size: 1rem;
    box-sizing: border-box;
}

.container-service input[type="number"] {
    padding-right: 3.5rem;
}

.container-service .input-currency {
    position: relative;
}

.container-service .input-currency span {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.875rem;
}

.container-service .payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.container-service .payment-methods input[type="radio"] {
    display: none;
}

.container-service .payment-methods label {
    display: flex;
    align-items: center;
    padding: 0.75rem;
	background-color: #2a2e50;
    border: 1px solid #444b77;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.container-service .payment-methods input[type="radio"]:checked + label {
    border-color: #3b46a0;
    background-color: #5c66d1;
}

.container-service .payment-methods i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.container-service .summary {
    background-color: #1a1c44;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.container-service .summary .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.container-service .summary .total {
    font-weight: 600;
    font-size: 1.125rem;
    color: #2563eb;
}

.container-service .diag-strike {
	position: relative;
	color: #a8a8a8;
	font-weight: 500;
}

.container-service .diag-strike::before {
	content: '';
	position: absolute;
	left: 0;
	top:0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxsaW5lIHgxPSIwIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwIiBzdHJva2U9IiNGRjY5NjkiIHN0cm9rZS13aWR0aD0iMiIvPiA8L3N2Zz4=');
	background-size: cover;
}

.container-service .promo-error{
    font-size: 10px;
    color: red;
    padding: 0 4px;
	float: right;
}

.container-service button.submit-btn {
    width: 100%;
    background-color: #2563eb;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.container-service button.submit-btn:hover {
    background-color: #1d4ed8;
}

.container-service .terms {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.container-service .terms a {
    color: #2563eb;
    text-decoration: none;
}

.container-service .terms a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .container-service .service-card {
        flex-direction: column;
    }
    .container-service .left-side,
    .container-service .right-side {
        flex: 1 1 100%;
    }
    .container-service .payment-methods {
        grid-template-columns: 1fr;
    }
}

.container-service-subscription {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
	.container-service-subscription {
		/*grid-template-columns: repeat(3, 1fr);*/
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}
}

.container-service form .subscription-option {
	margin-bottom: 0;
}

.container-service-subscription .subscription-option input[type="radio"] {
	display: none;
}

.container-service-subscription .subscription-option label {
	display: flex;
	flex-direction: column;
	padding: 1rem;
	border: 2px solid #444b77;
	border-radius: 0.5rem;
	background-color: #20234b;
	cursor: pointer;
	transition: all 0.2s ease;
	color: #e0e0e0;
    height: 100%;
    justify-content: center;	
}

.container-service-subscription .subscription-option label .title {
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.container-service-subscription .subscription-option label .price {
	font-size: 0.875rem;
	color: #aaaacc;
}

/* Состояние выбранного варианта */
.container-service-subscription .subscription-option input[type="radio"]:checked+label {
	border-color: #5c66d1;
	background-color: #2a2e50;
}

.container-service-subscription .subscription-option-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-align: center;
    min-height: 120px;
	grid-column: 1 / -1;
}

.container-service-subscription .subscription-option-empty span {
    display: block;
    margin-top: 8px;
    font-weight: 500;
}

.container-service-subscription .subscription-option-empty i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
}

/*Профиль*/
.container-profile__wrapper {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

/* ряд для данных и пароля */
.container-profile__row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.container-profile__row .container-profile__card {
	flex: 1 1 300px;
}

/* карточки */
.container-profile__card {
	background: #20234b;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.container-profile__card h3 {
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
}

.container-profile__card .form-row {
	margin-bottom: 15px;
}

.container-profile__card label {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 6px;
	font-weight: 600;
}

.container-profile__card input {
	width: 100%;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid rgba(255,255,255,0.15);
	background: rgba(255,255,255,0.05);
	color: #fff;
	font-size: 15px;
	transition: 0.3s;
}

.container-profile__card input:focus {
	border-color: rgba(255, 0, 81, 0.5);
	box-shadow: 0 0 0 3px rgba(241, 7, 163, 0.25);
}

.container-profile__save,
.container-profile__logout,
.container-profile__btn {
	background: var(--accent-pink);
	border: none;
	padding: 12px 20px;
	border-radius: 12px;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: 0.3s;
	margin-top: 10px;
}

.container-profile__logout {
	background: #ff0051;
	margin-left: 10px;
}

.container-profile__save:hover,
.container-profile__btn:hover {
	opacity: 0.8;
}

/* история всегда на всю ширину */
.container-profile__history-block {
	width: 100%;
}

.container-profile__history {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.container-profile .history-item {
    background: #262a5c;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.container-profile .history-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}

.container-profile .history-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.container-profile .history-item__service {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.container-profile .history-item__status {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
	text-wrap: nowrap;
}

.container-profile .status--success {
    background: rgba(0, 200, 100, 0.2);
    color: #00d97e;
}

.container-profile .status--decline {
    background: rgb(244, 67, 54, 0.2);
    color: rgb(244, 67, 54, 1);
}

.container-profile .status--pending {
    background: rgba(255, 200, 0, 0.2);
    color: #ffc107;
}

.container-profile .history-item__body p {
    margin: 6px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.container-profile .amount {
    color: var(--accent-pink);
    font-weight: bold;
}

.container-profile .delivery {
    font-weight: 600;
}

.container-profile .container-profile__btn {
    flex-grow: 1;
    width: auto;
    padding: 12px;
    border-radius: 10px;
    background: var(--accent-pink);
    font-weight: 600;
}


/* Обрабатывается — оранжевая */
.container-profile__btn.status-btn--processing {
    background: #ff9800;
}

/* Выполнен — синяя */
.container-profile__btn.status-btn--success {
    background: #2196f3;
}

.container-profile__btn.status-btn--decline {
    background: #F44336;
}

.container-profile .history-item-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-align: center;
    min-height: 120px;
	grid-column: 1 / -1;
}

.container-profile .history-item-empty span {
    display: block;
    margin-top: 8px;
    font-weight: 500;
}

.container-profile .history-item-empty i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.container-profile .button-group {
    display: flex;
    gap: 8px;
    align-items: center;
	margin-top: 20px;
}

.container-profile .button-group .container-profile__btn{
	margin-top: 0;
}

.container-profile .container-profile__icon-btn {
    background: var(--accent-pink);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.container-profile .container-profile__icon-btn:hover {
    opacity: 0.8;
}

.container-profile .container-profile__icon-btn i {
    font-size: 16px;
}