*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.5;
  color: inherit;
  background-color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

:root {
  --akcentniy-kolіr: #4bbeff;
  --akcentniy-kolіr-hover: #9adaff;
  --white: #fff;
  --text-style: #6785c3;
  --cardcolor-style: #091224;
  --cardcolor-style-hover: #001741;
  --stroke-style: #364c78;
  --background-style: #020815;
}
:root {
  --font-family: "Inter", sans-serif;
}
body {
  background-color: var(--background-style);
  font-family: var(--font-family);
}
a {
  color: var(--akcentniy-kolіr);
  transition: color 150ms ease-in-out;
}
a:hover {
  color: var(--akcentniy-kolіr-hover);
}
.hero-title {
  font-style: italic;
  font-weight: 800;
  font-size: 36px;
  text-align: center;
  color: var(--white);
}
.hero-text {
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: var(--text-style);
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.flex {
  display: flex;
}
.header-case {
  padding: 20px 0;
}
.header-logo {
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
}
.header-logo img {
  margin-right: 10px;
  height: 30px;
}
.header-nav {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header-list {
  justify-content: end;
  align-items: center;
  column-gap: 20px;
  flex-wrap: wrap;
}
.header-list-item a {
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  text-transform: capitalize;
  text-align: center;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 10; /* Чтобы иконка была сверху */
}

.burger-icon {
  width: 30px;
  height: 2px;
  margin: 3px 0;
  background-color: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.offers {
  margin: 100px auto;
}
.offers-card {
  background: var(--cardcolor-style);
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 250ms ease-in-out;
}

.offers-card:hover {
  background: var(--cardcolor-style-hover);
}
.offers-head {
  margin-bottom: 30px;
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  background: var(--cardcolor-style);
}
.offers-head-text {
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  text-transform: capitalize;
  text-align: center;
  color: var(--akcentniy-kolіr);
}
.offers-site {
  width: 216px;
  margin: 0 auto;
}
.offers-bonus {
  width: 350px;
  margin: 0 auto;
}
.offers-rate {
  width: 271px;
  margin: 0 auto;
}
.offers-visite {
  width: 353px;
  margin: 0 auto;
}

.offers-card-bonus {
  padding: 30px 0;
}
.offers-card-bonus p {
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  text-align: center;
}
.card-rate-case {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid var(--stroke-style);
  border-radius: 25px;
  padding: 10px 20px;
  max-width: 80%;
  margin: 0 auto;
}

.card-rate-case p {
  font-weight: 900;
  font-size: 24px;
  text-align: center;
  color: var(--text-style);
  margin-right: 6px;
}
.card-rate-case span {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  column-gap: 2px;
  color: var(--akcentniy-kolіr);
}
.offers-card-visite a {
  display: block;
  border-radius: 50px;
  padding: 12px 42px;
  background: var(--akcentniy-kolіr);
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  width: 80%;
  margin: 0 auto;
  transition: background 250ms ease-in-out, color 250ms ease-in-out;
}
.offers-card-visite a:hover {
  background: var(--akcentniy-kolіr-hover);
  color: var(--background-style);
}
.article {
  margin-bottom: 100px;
  color: var(--text-style);
}

.article-case {
  padding: 30px;
  border-radius: 20px;
  background-color: var(--cardcolor-style);
  margin-bottom: 40px;
}
.article-title {
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
  line-height: 1.8;
}
.article-subtitle {
  font-style: italic;
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  line-height: 1.5;
}
.articl-text {
  line-height: 1.4;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-style);
}
.footer-disk {
  margin-bottom: 50px;
}
.footer-disk-list {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
  border-radius: 20px;
  padding: 30px;
  background: var(--cardcolor-style);
}

.footer-nav,
.footer-link-list {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}
.footer-link-list {
  column-gap: 20px;
  text-transform: capitalize;
}
.footer-copyrigth,
.footer-case {
  background: var(--cardcolor-style);
}
.footer-case {
  padding: 30px;
}
.footer-copyrigth {
  margin-top: 30px;
}
.footer-copyrigth p {
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  text-transform: capitalize;
  color: var(--text-style);
  text-align: center;
}
/* Основной фон, затемняющий контент */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  display: none; /* по умолчанию скрыт */
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px); /* блюр */
}

/* Попап */
.popup {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.popup h2 {
  margin-bottom: 20px;
}

.popup button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
}

.popup button.yes {
  background-color: #4CAF50;
  color: white;
  border: none;
  transition: background-color 250ms ease-in-out;
}

.popup button.no {
  background-color: #ff695f;
  color: white;
  border: none;
  transition: background-color 250ms ease-in-out;
}
.popup button.yes:hover {
  background-color: #7dd442;
 
}

.popup button.no:hover {
  background-color: #ff0000;
  
}
@media (max-width: 768px) {
  .header-list{
    justify-content: start;
  }
  .offers{
    margin: 30px auto;
  }
  .article-title{
    font-size: 20px;
  }
  .article-subtitle{
    font-size: 18px;
  }
  .article-case{
    padding: 10px;
    border-radius: 5px;
    text-align: center ;
  }
  .footer-disk-list {
   
    justify-content: center;
    
  }
  .offers-card-visite a {
    font-size: 16px;
  }
  .offers-visite,
  .offers-rate,
  .offers-bonus,
  .offers-site {
    width: auto;
    margin: auto;
  }
  .offers-card-visite,
  .offers-card-rate {
    width: 100%;
  }
  .card-rate-case {
    max-width: 200px;
  }
  .offers-card-bonus {
    padding: 0;
  }
  .offers-card {
    flex-direction: column;
    row-gap: 20px;
    padding: 20px 10px;
  }
  .offers-head {
    display: none;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-text {
    font-size: 16px;
  }
  
}
