@font-face {
  font-family: 'Lilita One';
  src: url(https://fonts.gstatic.com/s/lilitaone/v17/i7dPIFZ9Zz-WBtRtedDbYEF8RQ.woff2);
  font-display: swap;
}

:root {
	--background-color: #fff;
	--main-text-color: #111;
	--max-width: 960px;
	--border-radius: 25px;
	--pink: #ff8ecaff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Lilita One", Arial, sans-serif;
	min-height: 100vh;
	color: var(--main-text-color);
}

.background {
	position: fixed;
	inset: 0;
	z-index: -1;
	background: url('../img/background.gif') center / cover no-repeat;
}

.h1, h2, p, span, th {
	font-weight: 1000;
}


/* HEADER */

.header-wrapper {
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 20px;
}

.header {
	max-width: var(--max-width);
	margin: 0 auto;
	background: var(--background-color);
	border-radius: var(--border-radius);
	padding: 14px 16px;
}	

.header a {
	font-weight: 1000;
}

.menu {
	display: flex;
	gap: 25px;
	overflow-x: auto;
}

.menu a {
	text-decoration: none;
	color: var(--main-text-color);
	white-space: nowrap;
	padding-bottom: 4px;
}

.menu a.active {
	color: var(--pink);
}

.menu::-webkit-scrollbar {
  display: none;
}


/* MESSAGE-CONTAINER */

.message-container {
	max-width: var(--max-width);
  margin: 20px auto;
  background: var(--background-color);
  border-radius: var(--border-radius);
  padding: 20px;
}

.message-container h1, h2, p {
	text-align: center;
	margin-bottom: 10px;
	
}

.message-container h1 {
	color: red;
	margin-bottom: 15px;
}


/* MAIN */

.main {
	display: flex;
	justify-content: center;
	padding: 28px 12px 60px;
}

.content {
	width: 100%;
	max-width: var(--max-width);
	background: var(--background-color);
	border-radius: var(--border-radius);
	padding: 20px;
}

.content h1 {
	text-align: center;
	margin-bottom: 20px;
}


/* MOBILE */

.cards {
	display: grid;
	gap: 14px;
}

.card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 15px;
	border: 3px solid var(--pink);
	border-radius: var(--border-radius);
}

.card-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.card-left img {
	width: 26px;
	height: 26px;
}

.card-info {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 15px;
}

button {
	padding: 6px 14px;
	border-radius: var(--border-radius);
	border: none;
	background: var(--pink);
	color: white;
	cursor: pointer;
	font-family: inherit;
}

button:disabled {
	background: #aaa;
	cursor: not-allowed;
}

.sold {
	opacity: .5;
	border: 3px solid #858585ff;
}

.table-wrapper {
	display: none;
}

@media (min-width: 900px) {

	.menu {
		gap: 35px;
		justify-content: center;
	}

	.cards {
		display: none;
	}

	.table-wrapper {
		display: block;
	}

	table {
		width: 100%;
		border-collapse: collapse;
		font-size: 14px;
	}

  th, td {
    padding: 12px;
    border-bottom: 2px solid var(--border-radius);
    text-align: center;
  }

  th {
    background: var(--pink);
  }

	.sold {
		opacity: 0.5;
		border: none;
	}

}



/* SUPPORT */

.blue {
	color: blue;
	font-weight: 500;
}

.red {
	color: red;
	font-weight: 500;
}



/* PAY */

.pay-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

.selected-account {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pay-account-card {
  width: 100%;
  max-width: 360px;

  background: var(--pink);
  border: 3px solid #000;
  border-radius: 20px;
  padding: 16px;

  text-align: left;
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-methods h2 {
  text-align: center;
}

.pay-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.pay-method-card {
  background: var(--pink);
  border: 3px solid #000;
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.pay-method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,.25);
}

.pay-method-card img {
  width: 48px;
  height: 48px;
}

.pay-method-card span {
  font-weight: 1000;
  text-align: center;
}

/* UI INPUT (pay, admin, forms) */
.ui-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 3px solid var(--pink);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.ui-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 142, 202, 0.4);
}

@font-face {
  font-family: 'Lilita One';
  src: url(https://fonts.gstatic.com/s/lilitaone/v17/i7dPIFZ9Zz-WBtRtedDbYEF8RQ.woff2);
  font-display: swap;
}

:root {
  --background-color: #fff;
  --main-text-color: #111;
  --max-width: 960px;
  --border-radius: 25px;
  --pink: #ff8ecaff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lilita One", Arial, sans-serif;
  min-height: 100vh;
  color: var(--main-text-color);
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('../img/background.gif') center / cover no-repeat;
}

h1, h2, p, span, th {
  font-weight: 1000;
}

/* HEADER */

.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px;
}

.header {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--background-color);
  border-radius: var(--border-radius);
  padding: 14px 16px;
}

.menu {
  display: flex;
  gap: 25px;
  overflow-x: auto;
}

.menu a {
  text-decoration: none;
  color: var(--main-text-color);
  white-space: nowrap;
}

.menu a.active {
  color: var(--pink);
}

/* MAIN */

.main {
  display: flex;
  justify-content: center;
  padding: 28px 12px 60px;
}

.content {
  width: 100%;
  max-width: var(--max-width);
  background: var(--background-color);
  border-radius: var(--border-radius);
  padding: 20px;
}

/* BUTTONS */

button {
  padding: 10px 18px;
  border-radius: var(--border-radius);
  border: none;
  background: var(--pink);
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.btn-secondary {
  background: #ddd;
  color: #111;
  margin-top: 10px;
}

/* PAY */

.pay-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.selected-account {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pay-account-card {
  width: 100%;
  max-width: 360px;
  background: var(--pink);
  border-radius: 20px;
  padding: 16px;
}

.pay-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.pay-method-card {
  background: var(--pink);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pay-method-card img {
  width: 48px;
  height: 48px;
}

/* INPUT */

.ui-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius);
  border: 3px solid var(--pink);
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.ui-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 142, 202, 0.4);
}

.video-box {
  width: 100%;
  margin-top: 24px;
}

.video-box video {
  width: 100%;
  height: auto;
  display: block;

  background: #000;
  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Мобилки */
@media (max-width: 480px) {
  .video-box video {
    border-radius: 14px;
  }
}