:root {
  --deep-emerald: #0b3d2eff;
  --ivory: #f4f1e8ff;
  --charcoal: #1c1c1cff;
  --champagne-gold: #c9a227ff;
  --burgundy: #6b1e2bff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--champagne-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.header {
  background-color: var(--charcoal);
  color: var(--ivory);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.header__logo img {
  height: 50px;
  width: auto;
}

.header__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ivory);
}

.header__nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header__nav-list {
  display: flex;
  gap: 30px;
  list-style: none;
}

.header__nav-link {
  color: var(--ivory);
  font-weight: 500;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--champagne-gold);
  transition: width 0.3s ease;
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--ivory);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.header__burger span {
  width: 25px;
  height: 3px;
  background-color: var(--ivory);
  transition: all 0.3s ease;
}

.footer {
  background-color: var(--charcoal);
  color: var(--ivory);
  padding: 60px 0 30px;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__logo img {
  height: 50px;
  width: auto;
}

.footer__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.footer__menu {
  list-style: none;
}

.footer__menu-item {
  margin-bottom: 10px;
}

.footer__menu-link {
  color: var(--ivory);
  font-size: 0.9rem;
}

.footer__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--champagne-gold);
}

.footer__contacts {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer__company-info {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 20px;
}

.footer__bottom {
  border-top: 1px solid rgba(244, 241, 232, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
}

.footer__responsible-gaming {
  background-color: rgba(107, 30, 43, 0.3);
  padding: 15px;
  margin-top: 20px;
  border-left: 3px solid var(--burgundy);
  font-size: 0.85rem;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(11, 61, 46, 0.7), rgba(28, 28, 28, 0.8));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--ivory);
}

.hero__subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--champagne-gold);
  color: var(--charcoal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--burgundy);
  color: var(--ivory);
}

.btn--secondary {
  background-color: transparent;
  border: 2px solid var(--champagne-gold);
  color: var(--champagne-gold);
}

.btn--secondary:hover {
  background-color: var(--champagne-gold);
  color: var(--charcoal);
}

.section {
  padding: 80px 0;
}

.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--deep-emerald);
}

.section__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--champagne-gold);
  margin: 20px auto 0;
}

.card {
  background-color: var(--ivory);
  border: 1px solid rgba(201, 162, 39, 0.2);
  padding: 30px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(11, 61, 46, 0.1);
  border-color: var(--champagne-gold);
}

.card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--deep-emerald);
}

.card__text {
  margin-bottom: 20px;
  line-height: 1.8;
}

.card__link {
  color: var(--champagne-gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.image-placeholder {
  background-color: rgba(11, 61, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-emerald);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--champagne-gold);
  min-height: 200px;
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--deep-emerald);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(11, 61, 46, 0.3);
  background-color: var(--ivory);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--champagne-gold);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__error {
  color: var(--burgundy);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form__input.error,
.form__textarea.error {
  border-color: var(--burgundy);
}

.form__input.error + .form__error,
.form__textarea.error + .form__error {
  display: block;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--deep-emerald);
  color: var(--ivory);
  padding: 20px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast--success {
  background-color: var(--deep-emerald);
}

.toast--error {
  background-color: var(--burgundy);
}

.responsible-gaming {
  background-color: rgba(107, 30, 43, 0.1);
  border: 2px solid var(--burgundy);
  padding: 30px;
  margin: 40px auto;
  text-align: center;
}

.responsible-gaming__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--burgundy);
  margin-bottom: 15px;
}

.responsible-gaming__text {
  font-size: 0.95rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--champagne-gold);
  font-weight: 600;
}

.stat__label {
  color: var(--deep-emerald);
  font-weight: 500;
}

.verdict {
  background-color: var(--deep-emerald);
  color: var(--ivory);
  padding: 40px;
  margin: 40px 0;
}

.verdict__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--champagne-gold);
  margin-bottom: 20px;
}

.verdict__text {
  line-height: 1.8;
}

.verdict__rating {
  font-size: 1.5rem;
  color: var(--champagne-gold);
  margin-top: 20px;
  font-weight: 600;
}

.cookies-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--charcoal);
  color: var(--ivory);
  padding: 30px 20px;
  z-index: 3000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookies-popup.show {
  transform: translateY(0);
}

.cookies-popup__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookies-popup__content {
  flex: 1;
  min-width: 300px;
}

.cookies-popup__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--champagne-gold);
}

.cookies-popup__text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

.cookies-popup__text a {
  color: var(--champagne-gold);
  text-decoration: underline;
}

.cookies-popup__buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookies-popup__button {
  padding: 12px 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookies-popup__button--accept {
  background-color: var(--champagne-gold);
  color: var(--charcoal);
}

.cookies-popup__button--accept:hover {
  background-color: var(--burgundy);
  color: var(--ivory);
}

.cookies-popup__button--decline {
  background-color: transparent;
  border: 2px solid var(--ivory);
  color: var(--ivory);
}

.cookies-popup__button--decline:hover {
  background-color: rgba(244, 241, 232, 0.1);
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--charcoal);
    padding: 20px;
    flex-direction: column;
  }

  .header__nav.active {
    display: flex;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
  }

  .header__contacts {
    text-align: center;
  }

  .header__burger {
    display: flex;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 30px;
    font-size: 0.85rem;
  }
}
