/* CSS для PortoJackpots */
:root {
  --primary-color: #1a2b4a;
  --secondary-color: #2a3f6f;
  --accent-color: #4a76b8;
  --light-color: #f0f4ff;
  --text-color: #e0e8ff;
  --dark-blue: #0d1a33;
  --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--dark-blue);
  overflow-x: hidden;
  line-height: 1.5;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.1;
}

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

.mb-50-25 {
  margin-bottom: 50px;
}

.mb-30-20 {
  margin-bottom: 30px;
}

.mb-20-10 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-10 {
  margin-bottom: 10px;
}

.tx-40-18 {
  font-size: 40px;
}

.tx-20-16 {
  font-size: 20px;
}

.tx-20-14 {
  font-size: 20px;
}

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

.tx-16 {
  font-size: 16px;
}

.tx-16-14 {
  font-size: 16px;
}

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

.tx-14-10 {
  font-size: 14px;
}

.tx-14-8 {
  font-size: 14px;
}

.tx-10 {
  font-size: 10px;
}

.tx-main {
  font-size: 16px;
}

.fw-700 {
  font-weight: 700;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

.fw-400 {
  font-weight: 400;
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.m-auto {
  margin: 0 auto;
}

.color-primary {
  color: var(--text-color);
}

.montserrat {
  font-family: 'Montserrat', sans-serif;
}

.opensans {
  font-family: 'Open Sans', sans-serif;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.but {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  background: var(--gradient);
  color: var(--light-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.but:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.but .glare {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.but:hover .glare {
  left: 100%;
}

.back {
  background: rgba(26, 43, 74, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  max-width: max-content;
}

/* Header Styles */
.porto-header {
  padding: 20px 0;
  background: rgba(13, 26, 51, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--light-color);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

.logo span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.burger {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--light-color);
  margin-bottom: 4px;
  border-radius: 2px;
  transition: var(--transition);
}

.porto-header__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav__item {
  margin-left: 30px;
}

.nav__link {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--accent-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.porto-header__exit-menu {
  display: none;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
}

.porto-header__exit-menu::before,
.porto-header__exit-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--light-color);
}

.porto-header__exit-menu::before {
  transform: rotate(45deg);
}

.porto-header__exit-menu::after {
  transform: rotate(-45deg);
}

/* Hero Section */
.porto-hero {
  padding-top: 50px;
}

.porto-hero__title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.porto-hero__text {
  max-width: 800px;
  margin: 0 auto 30px;
}

.porto-hero__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-bottom: 30px;
}

.porto-hero__item {
  display: flex;
  align-items: center;
  background: rgba(26, 43, 74, 0.7);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.porto-hero__item span {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.dates {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dates__icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

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

/* Casino Cards */
.porto-cards__cards {
  list-style: none;
}

.card {
  display: flex;
  background: rgba(26, 43, 74, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card__left {
  display: flex;
  align-items: center;
  flex: 1;
}

.card__wrapper-logo {
  position: relative;
  margin-right: 20px;
}

.card__badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-color);
  color: var(--light-color);
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 1;
}

.card__logo {
  display: block;
  width: 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card__wrapper-bonus {
  display: flex;
  flex-direction: column;
}

.card__name {
  text-decoration: none;
  margin-bottom: 10px;
}

.card__wrapper-rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.card__star {
  margin-right: 5px;
}

.card__bonus {
  color: var(--accent-color);
  text-decoration: none;
  line-height: 1.2;
}

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

.card__infos {
  list-style: none;
  flex: 1;
}

.card__infos-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.card__infos-info span {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.card__right-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__link {
  margin-bottom: 15px;
  min-width: 150px;
}

.card__pays {
  display: flex;
  list-style: none;
  gap: 5px;
}

.card__pay img {
  border-radius: 3px;
}

/* FAQ and Comments */
.porto-texts__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.porto-texts__title {
  max-width: max-content;
}

.porto-texts__list {
  list-style: none;
}

.porto-texts__item {
  background: rgba(26, 43, 74, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.porto-texts__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.porto-texts__item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.porto-texts__stars {
  width: 100px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.porto-texts__text {
  line-height: 1.6;
}

/* Footer */
.porto-footer {
  background: rgba(13, 26, 51, 0.95);
  backdrop-filter: blur(10px);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.porto-footer__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.porto-footer__item {
  display: flex;
  align-items: center;
}

.porto-footer__link {
  display: block;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.porto-footer__link img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.porto-footer__link img.exception {
  max-height: 30px;
}

.porto-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.porto-footer__text {
  line-height: 1.6;
}

.porto-footer__text a {
  color: var(--accent-color);
  text-decoration: none;
}

.porto-footer__text a:hover {
  text-decoration: underline;
}

.war {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* Cookies */
.porto-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 26, 51, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.porto-cookie.active {
  transform: translateY(0);
}

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

.porto-cookie__text {
  flex: 1;
  margin-right: 20px;
}

.porto-cookie__btn {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .tx-40-18 {
    font-size: 32px;
  }
  
  .porto-texts__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .porto-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 15px;
  }

  .logo span {
    height: 20px;
}

  .burger {
    display: flex;
  }
  
  .porto-header__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%;
    background: rgba(13, 26, 51, 2);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .porto-header__menu.active {
    transform: translateX(0);
  }
  
  .nav__list_header {
    flex-direction: column;
  }
  
  .nav__item {
    margin: 15px 0;
  }
  
  .porto-header__exit-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  .card {
    flex-direction: column;
  }
  
  .card__left {
    margin-bottom: 20px;
    justify-content: center;
  }
  
  .card__right {
    flex-direction: column;
    align-items: center;
  }
  
  .card__infos {
    margin-bottom: 20px;
    width: 100%;
  }
  
  .porto-cookie__container {
    flex-direction: column;
    text-align: center;
  }
  
  .porto-cookie__text {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .nav__list_footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .tx-40-18 {
    font-size: 24px;
  }
  
  .tx-20-16 {
    font-size: 18px;
  }
  
  .tx-16 {
    font-size: 14px;
  }
  
  .tx-14 {
    font-size: 12px;
  }
  
  .porto-hero__list {
    flex-direction: column;
    align-items: center;
  }
  
  .porto-hero__item {
    width: 100%;
    max-width: 300px;
  }
  
  .card__left {
    flex-direction: column;
    text-align: center;
  }
  
  .card__wrapper-logo {
    margin-right: 0;
    margin-bottom: 15px;
  }
}