@charset "UTF-8";

html {
  box-sizing: border-box;
}

/* ====== FONTS ====== */
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik/Rubik-ExtraBold.woff2") format("woff2"),
    url("fonts/Rubik/Rubik-ExtraBold.woff") format("woff"),
    url("fonts/Rubik/Rubik-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik/Rubik-Medium.woff2") format("woff2"),
    url("fonts/Rubik/Rubik-Medium.woff") format("woff"),
    url("fonts/Rubik/Rubik-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik/Rubik-Bold.woff2") format("woff2"),
    url("fonts/Rubik/Rubik-Bold.woff") format("woff"),
    url("fonts/Rubik/Rubik-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rubik";
  src: url("fonts/Rubik/Rubik-Regular.woff2") format("woff2"),
    url("fonts/Rubik/Rubik-Regular.woff") format("woff"),
    url("fonts/Rubik/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat/Montserrat-ExtraBold.woff2") format("woff2"),
    url("fonts/Montserrat/Montserrat-ExtraBold.woff") format("woff"),
    url("fonts/Montserrat/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat/Montserrat-Bold.woff2") format("woff2"),
    url("fonts/Montserrat/Montserrat-Bold.woff") format("woff"),
    url("fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat/Montserrat-SemiBold.woff2") format("woff2"),
    url("fonts/Montserrat/Montserrat-SemiBold.woff") format("woff"),
    url("fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-ExtraBold.woff2") format("woff2"),
    url("fonts/Poppins/Poppins-ExtraBold.woff") format("woff"),
    url("fonts/Poppins/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Bold.woff2") format("woff2"),
    url("fonts/Poppins/Poppins-Bold.woff") format("woff"),
    url("fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins/Poppins-Regular.woff2") format("woff2"),
    url("fonts/Poppins/Poppins-Regular.woff") format("woff"),
    url("fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ====== VARS ====== */
:root {
  --main-bg-color: #151516;
  --gold-idle: #ffb700;
  --font-family: "Inter", sans-serif;
  --second-family: "Rubik", sans-serif;
  --accents-white: #fff;
  --accents-black: #0e0e0e;
  --shark-50: #f6f6f6;
  --shark-100: #e7e7e7;
  --shark-200: #d1d1d1;
  --shark-300: #b0b0b0;
  --shark-400: #888;
  --shark-500: #6d6d6d;
  --shark-600: #5d5d5d;
  --shark-700: #4f4f4f;
  --shark-800: #454545;
  --shark-900: #3d3d3d;
  --shark-950-base: #1e1e1e;
  --accents-website-gold: #f1d46a;
}

/* ====== BASE RESET ====== */
*,
*:after,
*:before {
  box-sizing: inherit;
}
ul[class],
ol[class] {
  padding: 0;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  font-size: inherit;
}
ul[class] {
  list-style: none;
}
img {
  width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
::selection {
  background: #f2d669;
  color: #fff;
}

/* scrollbar */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-track {
  background: #202020;
}
body::-webkit-scrollbar-thumb {
  background-color: #f2d669;
  border-radius: 20px;
  border: 3px solid #202020;
}

/* ====== HEADER / LAYOUT ====== */
.header {
  overflow: hidden;
  position: relative;
}
.header__wrapper {
  padding-top: 24px;
  min-height: 800px;
  height: 100vh;
  background-image: radial-gradient(at top left, #00c0fa, #015eea);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
}
@media (max-width: 1350px) {
  .header__wrapper {
    background-size: 100%;
    background-position: top;
  }
}
@media (max-width: 1150px) {
  .header__wrapper {
    max-height: 80dvh;
  }
}
@media (max-width: 950px) {
  .header__wrapper {
    max-height: 100dvh;
    background-size: 1250px;
    background-position: 85% top;
  }
}
@media (max-width: 775px) {
  .header__wrapper {
    background-position: 85% top;
  }
}
@media (max-width: 500px) {
  .header__wrapper {
    background-position: 90% top;
  }
}
@media (max-width: 450px) {
  .header__wrapper {
    background-size: cover;
    background-position: top center;
    max-height: none;
    height: auto;
  }
}

.header__top {
  display: flex;
  justify-content: space-between;
}
.header__top .logo {
  position: relative;
  z-index: 3;
  transition: transform 0.3s;
}
.header__top .logo::before {
  border-radius: 125.571px;
  background: rgba(255, 181, 0, 0.75);
  backdrop-filter: blur(25.65px);
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 178px;
  height: 70px;
  transform: rotate(-10deg);
  z-index: 2;
}
.header__top .logo img {
  width: 178px;
  z-index: 3;
  position: relative;
  padding: 6px 23px 17px 23px;
  border-radius: 37.611px;
  background: rgba(21, 7, 7, 0.67);
  backdrop-filter: blur(17.63px);
  display: block;
}
.header__top .logo:hover {
  transform: scale(1.1);
}
@media (max-width: 550px) {
  .header__top .logo {
    margin-top: 12px;
  }
}

.header__btns {
  display: flex;
  column-gap: 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
}
@media (max-width: 550px) {
  .header__btns {
    width: 100%;
  }
}
.header__btn {
  display: flex;
  column-gap: 8px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 4px;
  position: relative;
  z-index: 3;
}
@media (max-width: 550px) {
  .header__btn {
    width: 100%;
    justify-content: center;
  }
}
.header__btn path {
  transition: fill 0.3s;
}
.header__btn.log {
  border-radius: 8px;
  background: #262626;
  color: #fff;
  transition: all 0.3s;
}
@media (hover: hover) {
  .header__btn.log:hover {
    background: #3f3f3f;
  }
}
.header__btn.reg {
  background: #ffd700;
  border-radius: 8px;
  color: #1e1e1e;
  transition: all 0.3s;
}
@media (hover: hover) {
  .header__btn.reg:hover {
    background: #ffcd4e;
  }
}

/* ====== FOOTER / WRAPPER ====== */
.footer {
  padding: 24px 0;
  background: #1c1c1c;
}
.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  color: #fff;
  font-family: Rubik, sans-serif;
  font-size: 13.3px;
  gap: 12px;
  padding: 24px 0;
  margin-bottom: 12px;
}
.footer__link {
  transition: color 0.3s;
}
.footer__link:hover {
  color: #ccc;
}
.footer__partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
  margin-bottom: 12px;
}
.footer__partner {
  transition: transform 0.3s;
  border-radius: 8px;
  background: #262626;
  padding: 0 30px;
  width: 160px;
  height: 52px;
  display: flex;
}
.footer__partner img {
  margin: auto;
  object-fit: contain;
}
@media (hover: hover) {
  .footer__partner:hover {
    transform: scale(1.1);
  }
}
.footer__adult {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  font-family: Rubik, sans-serif;
  color: #fff;
  font-size: 12px;
  padding: 24px 0;
  border-top: 1px solid #454545;
  border-bottom: 1px solid #454545;
  flex-wrap: wrap;
}
.footer__adult img {
  height: 48px;
  width: auto;
}
.footer__adult a img {
  transition: transform 0.3s;
}
.footer__adult a img:hover {
  transform: scale(1.1);
}
@media (max-width: 700px) {
  .footer__adult {
    gap: 24px;
  }
}
.footer__adult-img {
  display: flex;
  align-items: center;
  column-gap: 24px;
}
.footer__text {
  padding: 24px 0;
  text-align: center;
  font-family: Rubik, sans-serif;
  font-size: 12px;
  color: #fff;
  max-width: 816px;
  margin: 0 auto;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}
.main {
  flex: 1 0 auto;
}
.footer {
  flex: 0 0 auto;
}
.container {
  max-width: 1158px;
  padding: 0 15px;
  margin: 0 auto;
  width: 100%;
}
body {
  background-color: #1c1c1c;
}
.f-bg {
  border-top: 1px solid #454545;
}

.footer-providers {
  padding: 24px 0;
  display: flex;
  gap: 128px;
  justify-content: center;
  align-items: center;
}
.footer-providers a {
  display: block;
}
.footer-providers img {
  width: 160px;
  height: auto;
}
.footer-menu {
  padding: 16px 0;
}
.footer-menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 70%;
}
.footer-menu__link {
  flex-basis: calc((100% - 48px) / 3);
  color: #ffb700;
  font-family: Arial;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
}
.footer-menu__link:hover {
  color: #fff;
}
.footer-bottom {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  justify-content: space-between;
}
.footer-bottom-col_flex {
  display: flex;
  gap: 24px;
}
.footer-bottom img {
  width: auto;
  height: 32px;
}
@media (max-width: 700px) {
  .footer-providers {
    gap: 0;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 24px;
  }
  .footer-bottom-row:nth-child(2) {
    margin-bottom: 0;
  }
  .footer-menu__list {
    gap: 0;
  }
  .footer-menu__link {
    flex-basis: 100%;
  }
}

/* ====== THIRD SECTION ====== */
.third__section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0;
  background: #1c1c1c;
}
.third__section h1 {
  font-family: var(--font-family);
  color: #fff;
  font-size: 45px;
}
.accent-color {
  color: var(--gold-idle);
}
.third__section-content {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 24px;
  width: 75vw;
}
.third__section-content-img {
  display: grid;
  grid-template-columns: 600px 498px;
  gap: 24px;
}
.third__section-content-img-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.third__section-content-header {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 39px;
  color: #fff;
}
.third__section-content-text {
  font-family: "Poppins";
  font-weight: 300;
  font-size: 16px;
  color: #d0d0d0;
  text-align: left;
}
.third__section-question {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 39px;
  color: #fff;
}
.third__section-content-item {
  font-family: "Poppins";
  font-weight: 300;
  font-size: 16px;
  color: var(--gold-idle);
  list-style: disc;
}
.second__section-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.second__section-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e1ae36;
  border-radius: 12px;
  padding: 24px 16px;
  max-width: 320px;
  height: 121px;
  background: #262626;
}
.second__section-card-num {
  font-family: "Poppins";
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
.second__section-card-text {
  font-family: "Poppins";
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: var(--gold-idle);
}
@media (max-width: 768px) {
  .third__section-content {
    width: 95vw;
  }
  .third__section-content-img {
    display: flex;
    flex-direction: column-reverse;
  }
  .second__section-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .second__section-card {
    width: 95vw;
  }
}

/* ====== BONUS LA VERIFICARE (сетка карточек) ====== */
.wrap {
  max-width: 1260px;
  padding: 48px 20px 88px;
  margin: 0 auto;
}
.hero {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  margin-bottom: 24px;
}
.eyebrow {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d0d0f;
  opacity: 0.9;
}
h1 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--gold-idle);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.panel {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, sans-serif;
  margin-top: 28px;
  background: rgba(15, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(180deg, #181920 0%, #12131a 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
}

/* квадратная обложка под HD-иконки */
.cover {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.35s ease;
}
.card:hover .cover img {
  transform: scale(1.07);
}

.content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: var(--gold-idle);
}
.desc {
  color: #b8bdc7;
  font-size: 14px;
  line-height: 1.45;
}

/* Ссылка-обёртка под кнопку, чтобы тянуться к низу */
.card .content > a {
  margin-top: auto;
  display: block;
  width: 100%;
}

/* Кнопка внутри карточки (прибита вниз) */
.card .btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #f7c948 0%, #e0a100 100%);
  color: #1a1100;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    0 10px 22px rgba(240, 168, 0, 0.25);
  transition: filter 0.2s ease, transform 0.08s ease;
  position: relative;
  width: 100%;
}
.card .btn:hover {
  filter: brightness(1.05) saturate(1.05);
}
.card .btn:active {
  transform: translateY(1px);
}

@media (max-width: 520px) {
  .title {
    font-size: 17px;
  }
  .desc {
    font-size: 13.5px;
  }
}

/* === Mobile: 2 карточки в ряд === */
@media (max-width: 520px) {
  .panel {
    padding: 8px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr); /* было 1 колонка */
    gap: 16px;
  }
  .content {
    padding: 5px;
  }
  .card .btn {
    height: 44px;
  }
  .wrap {
    padding: 0;
  }
}

/* Очень узкие экраны — вернуть 1 колонку */
@media (max-width: 360px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
