/* Reset and base styles */
* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

:active, :focus { outline: 0; }
a:active, a:focus { outline: 0; }

aside, footer, header, nav { display: block; }

body, html {
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

button, input, textarea { font-family: inherit; }
input::-ms-clear { display: none; }
input, textarea {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

input::placeholder, textarea::placeholder { color: inherit; }

button {
  cursor: pointer;
  background-color: transparent;
}
button::-moz-focus-inner { padding: 0; border: 0; }

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }

ul li { list-style: none; }

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* CSS Variables */
:root {
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-width: 1240px;
  --container-step: 20px;
  --container-step-tablet: 15px;
  --container-step-mobile: 10px;
  --container: calc(var(--container-width) + (var(--container-step) * 2));
  
  /* Updated color scheme for Portugal */
  --background-page: #0a0f1c;
  --main: #ffffff;
  --black: #000000;
  --white: #ffffff;
  --header: #1a202c;
  --box-shadow: 0 0 15px rgba(52, 152, 219, 0.3);
  --background: #0f1a2e;
  --primary: #3498db;
  --gold: #e67e22;
  --box-shadow-card: 0 0 25px rgba(52, 152, 219, 0.25);
  --background-card: #1e2733;
  --hover: #2980b9;
  --active: #2471a3;
  --accent: #f39c12;
  --success: #27ae60;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-card: linear-gradient(145deg, #1e2733 0%, #2a3441 100%);
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-step);
}

@media (max-width: 991px) {
  .container {
    padding: 0 var(--container-step-tablet);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 var(--container-step-mobile);
  }
}

/* Base page */
.page {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  min-height: 100vh;
  overflow: hidden;
  color: var(--main);
  background: var(--background-page);
}

.poppins {
  font-family: "Poppins", var(--font-main);
}

.main {
  flex: 1 1 auto;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .main {
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .main {
    margin-bottom: 30px;
  }
}

a, button {
  color: var(--main);
}

/* Utility classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

/* Typography */
.tx-main {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .tx-main {
    font-size: 14px;
  }
}

.tx-18 {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
}

.tx-10 {
  font-weight: 400;
  font-size: 10px;
  line-height: 1;
}

.tx-16 {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

.tx-40-18 {
  font-weight: 400;
  font-size: 40px;
  line-height: 120%;
}

@media (max-width: 1220px) {
  .tx-40-18 {
    font-size: 32px;
  }
}

@media (max-width: 991px) {
  .tx-40-18 {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .tx-40-18 {
    font-size: 18px;
  }
}

.tx-20-16 {
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
}

@media (max-width: 991px) {
  .tx-20-16 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .tx-20-16 {
    font-size: 16px;
  }
}

.tx-20-14 {
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
}

@media (max-width: 991px) {
  .tx-20-14 {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .tx-20-14 {
    font-size: 14px;
  }
}

.tx-16-14 {
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 600px) {
  .tx-16-14 {
    font-size: 14px;
  }
}

.tx-14 {
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
}

.tx-14-10 {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
}

@media (max-width: 991px) {
  .tx-14-10 {
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .tx-14-10 {
    font-size: 10px;
  }
}

.tx-14-8 {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
}

@media (max-width: 1220px) {
  .tx-14-8 {
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .tx-14-8 {
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  .tx-14-8 {
    font-size: 8px;
  }
}

.tx-32-26 {
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
}

@media (max-width: 991px) {
  .tx-32-26 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .tx-32-26 {
    font-size: 26px;
  }
}

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

/* Common elements */
.link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  padding: 8px 16px;
  width: fit-content;
  font-weight: 500;
  font-size: 14px;
  color: var(--primary);
  line-height: 1;
  border: 2px solid transparent;
  background: rgba(52, 152, 219, 0.1);
  transition: all 0.3s ease;
}

.link:hover {
  border-color: var(--primary);
  background: rgba(52, 152, 219, 0.2);
  transform: translateY(-2px);
}

.link:focus-visible {
  background-color: var(--hover);
}

.link:active {
  background-color: var(--active);
  transition-duration: 0.1s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary);
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .logo {
    font-size: 14px;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 12px;
    gap: 8px;
  }
}

.logo:hover {
  color: var(--hover);
  transform: scale(1.05);
}

.logo:focus-visible {
  color: var(--hover);
}

.logo:active {
  color: var(--active);
  transition-duration: 0.1s;
}

.logo span {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 991px) {
  .logo span {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 600px) {
  .logo span {
    width: 24px;
    height: 24px;
  }
}

.back {
  border-radius: 20px;
  padding: 15px 25px;
  width: fit-content;
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  box-shadow: var(--box-shadow-card);
  background: var(--gradient);
  border: 2px solid rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
}

.back:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(52, 152, 219, 0.4);
}

@media (max-width: 991px) {
  .back {
    font-size: 18px;
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .back {
    font-size: 16px;
    padding: 10px 15px;
  }
}

.but {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  color: #1a1a1a;
  width: fit-content;
  text-shadow: none;
  padding: 8px 16px;
  border-radius: 20px;
  min-width: 200px;
  min-height: 50px;
  text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.but:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
  border-color: rgba(243, 156, 18, 0.5);
}

@media (max-width: 1220px) {
  .but {
    font-size: 16px;
    min-height: 45px;
    min-width: 180px;
  }
}

@media (max-width: 991px) {
  .but {
    min-height: 40px;
    font-size: 14px;
    min-width: 160px;
  }
}

@media (max-width: 600px) {
  .but {
    min-height: 36px;
    font-size: 12px;
    border-radius: 15px;
    min-width: 140px;
  }
}

.but:focus-visible {
  outline: 2px solid var(--accent);
}

.but:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

/* Margins */
.mb-20 {
  margin-bottom: 20px;
}

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

@media (max-width: 991px) {
  .mb-20-10 {
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .mb-20-10 {
    margin-bottom: 10px;
  }
}

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

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

@media (max-width: 991px) {
  .mb-30-20 {
    margin-bottom: 25px;
  }
}

@media (max-width: 600px) {
  .mb-30-20 {
    margin-bottom: 20px;
  }
}

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

@media (max-width: 991px) {
  .mb-50-25 {
    margin-bottom: 35px;
  }
}

@media (max-width: 600px) {
  .mb-50-25 {
    margin-bottom: 25px;
  }
}

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

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

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

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

.uppercase {
  text-transform: uppercase;
}

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

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

/* Header */
.casino-header {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, var(--header) 0%, #2a3441 100%);
  border-bottom: 3px solid var(--primary);
}

.casino-header__container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .casino-header__container {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .casino-header__container {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 991px) {
  .casino-header__menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--gradient);
    z-index: 100;
    padding: 100px 30px 30px 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: auto;
    transition: all 0.3s ease;
  }
}

@media (max-width: 600px) {
  .casino-header__menu {
    padding: 80px 30px 30px 30px;
  }
}

.casino-header__menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
}

.casino-header__exit-menu {
  display: none;
  position: absolute;
  width: 35px;
  height: 35px;
  background-color: transparent;
}

@media (max-width: 991px) {
  .casino-header__exit-menu {
    display: block;
    top: 30px;
    right: 30px;
  }
}

@media (max-width: 600px) {
  .casino-header__exit-menu {
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
  }
}

.casino-header__exit-menu::before,
.casino-header__exit-menu::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
}

.casino-header__exit-menu::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.casino-header__exit-menu::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 40px;
  height: 18px;
  background-color: transparent;
}

@media (max-width: 991px) {
  .burger {
    display: flex;
  }
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--hover));
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(10, 15, 28, 0.7) 0%, rgba(10, 15, 28, 0.95) 100%);
  z-index: 1;
}

/* Hero section */
.casino-hero {
  padding-top: 50px;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .casino-hero {
    padding-top: 35px;
  }
}

@media (max-width: 600px) {
  .casino-hero {
    padding-top: 25px;
  }
}

.casino-hero__title {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--primary), var(--hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.casino-hero__text {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .casino-hero__text {
    display: none;
  }
}

.casino-hero__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 25px 60px;
  max-width: 900px;
  margin: 5px auto;
}

@media (max-width: 991px) {
  .casino-hero__list {
    gap: 20px 50px;
  }
}

@media (max-width: 600px) {
  .casino-hero__list {
    gap: 15px 40px;
  }
}

@media (max-width: 350px) {
  .casino-hero__list {
    gap: 10px 20px;
  }
}

.casino-hero__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 15px;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
}

.casino-hero__item:hover {
  transform: translateY(-5px);
  background: rgba(52, 152, 219, 0.15);
  border-color: rgba(52, 152, 219, 0.4);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

@media (max-width: 991px) {
  .casino-hero__item {
    gap: 8px;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .casino-hero__item {
    gap: 6px;
    padding: 10px;
  }
}

.casino-hero__item span {
  width: 28px;
  height: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 1220px) {
  .casino-hero__item span {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 991px) {
  .casino-hero__item span {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 600px) {
  .casino-hero__item span {
    width: 22px;
    height: 22px;
  }
}

/* Date display */
.dates {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  border-radius: 15px;
  margin: 20px auto;
  padding: 8px 20px;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  box-shadow: var(--box-shadow);
}

@media (max-width: 991px) {
  .dates {
    display: none;
  }
}

.dates__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

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

/* Navigation */
.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

@media (max-width: 991px) {
  .nav__list {
    align-items: flex-start;
    flex-direction: column;
  }
}

.nav__list_header {
  gap: 25px 60px;
}

@media (max-width: 991px) {
  .nav__list_header {
    align-items: center;
    gap: 40px;
  }
}

.nav__link {
  color: var(--primary);
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 8px;
}

.nav__link:hover {
  color: var(--hover);
  background: rgba(52, 152, 219, 0.1);
  transform: translateY(-1px);
}

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

.nav__link:active {
  color: var(--active);
  transition-duration: 0.1s;
}

.war {
  flex-shrink: 0;
}

/* Casino cards section */
.casino-cards {
  position: relative;
  z-index: 2;
}

.casino-cards__cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Casino card */
.card {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-radius: 20px;
  background: var(--gradient-card);
  min-height: 160px;
  box-shadow: var(--box-shadow-card);
  border: 2px solid rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.3);
  border-color: rgba(52, 152, 219, 0.4);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  z-index: 1;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    min-height: auto;
  }
}

.card__legolas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  color: #1a1a1a;
  border-radius: 20px 0 15px 0;
  padding: 6px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: linear-gradient(135deg, var(--primary), var(--hover));
  font-weight: 700;
}

.card__left {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex: 0 1 60%;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .card__left {
    flex: none;
    gap: 15px;
  }
}

.card__wrapper-logo {
  flex: 0 1 300px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(145deg, #2a3441, #1e2733);
  position: relative;
  border-right: 2px solid rgba(52, 152, 219, 0.2);
}

@media (max-width: 768px) {
  .card__wrapper-logo {
    flex: 0 1 50%;
    gap: 10px;
    padding: 30px 10px 10px 10px;
    border-radius: 20px 20px 0 0;
    border-right: none;
    border-bottom: 2px solid rgba(52, 152, 219, 0.2);
  }
}

.card__logo {
  max-width: 280px;
  width: 100%;
  height: 90px;
  transition: all 0.3s ease;
  position: relative;
}

.card__logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@media (max-width: 991px) {
  .card__logo {
    height: 80px;
    max-width: 160px;
  }
}

@media (max-width: 600px) {
  .card__logo {
    height: 70px;
  }
}

.card__wrapper-bonus {
  flex: 0 1 350px;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 20px;
}

@media (max-width: 768px) {
  .card__wrapper-bonus {
    flex: 0 1 50%;
    padding: 15px 15px 0 0;
  }
}

.card__name {
  transition: all 0.3s ease;
  font-size: 16px;
}

.card__name:hover {
  color: var(--hover);
  transform: translateX(3px);
}

.card__wrapper-rating {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .card__wrapper-rating {
    flex-direction: column-reverse;
    flex: none;
    gap: 6px;
    align-items: flex-start;
  }
}

.card__rating {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--accent);
}

.card__star {
  width: 100%;
  max-width: 104px;
  height: 24px;
}

.card__bonus {
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--primary), var(--hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card__bonus:hover {
  transform: translateY(-2px);
}

.card__right {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  flex: 0 1 40%;
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 30px 25px;
}

@media (max-width: 768px) {
  .card__right {
    flex: none;
    gap: 20px;
    padding: 0 15px 20px 15px;
  }
}

.card__infos {
  flex: 0 1 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (max-width: 768px) {
  .card__infos {
    display: none;
  }
}

.card__infos-info {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card__infos-info:hover {
  background: rgba(52, 152, 219, 0.1);
  transform: translateX(3px);
}

.card__infos-info span {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.card__right-right {
  flex: 0 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

@media (max-width: 768px) {
  .card__right-right {
    flex: none;
  }
}

.card__link {
  min-width: 0;
  width: 100%;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.card__pays {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 991px) {
  .card__pays {
    gap: 8px 15px;
  }
}

@media (max-width: 768px) {
  .card__pays {
    justify-content: flex-start;
  }
}

.card__pay {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card__pay:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .card__pay {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 600px) {
  .card__pay {
    width: 22px;
    height: 22px;
  }
}

/* Glare effect for buttons */
.glare {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0) 80%);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-glare 3s ease-in-out infinite alternate;
}

@keyframes pulse-glare {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

/* Text sections */
.casino-texts {
  position: relative;
  z-index: 2;
}

.casino-texts__content {
  display: grid;
  grid-template: auto / repeat(2, 1fr);
  gap: 60px 30px;
}

@media (max-width: 991px) {
  .casino-texts__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.casino-texts__content-el {
  display: flex;
  flex-direction: column;
}

.casino-texts__list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
}

.casino-texts__item {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow-card);
  background: var(--gradient-card);
  border: 2px solid rgba(52, 152, 219, 0.2);
  transition: all 0.3s ease;
}

.casino-texts__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(52, 152, 219, 0.25);
  border-color: rgba(52, 152, 219, 0.3);
}

.casino-texts__item-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  padding: 15px 25px;
  background: linear-gradient(135deg, var(--header), #2a3441);
  border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

@media (max-width: 991px) {
  .casino-texts__item-top {
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .casino-texts__item-top {
    padding: 10px 15px;
  }
}

.casino-texts__item-bottom {
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  background: rgba(52, 152, 219, 0.05);
}

@media (max-width: 991px) {
  .casino-texts__item-bottom {
    padding: 15px 20px;
  }
}

@media (max-width: 600px) {
  .casino-texts__item-bottom {
    padding: 12px 15px;
  }
}

.casino-texts__text {
  color: var(--main);
  line-height: 1.5;
}

.casino-texts__stars {
  width: 104px;
  height: 18px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Footer */
.casino-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--header) 0%, #0f1419 100%);
  border-top: 3px solid var(--primary);
}

.casino-footer__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (max-width: 991px) {
  .casino-footer__container {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 600px) {
  .casino-footer__container {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.casino-footer__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  justify-content: space-between;
}

@media (max-width: 1220px) {
  .casino-footer__list {
    gap: 15px 30px;
    justify-content: center;
  }
}

.casino-footer__grid {
  display: grid;
  grid-template: auto / repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 991px) {
  .casino-footer__grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }
}

.casino-footer__link {
  transition: all 0.3s ease;
  height: 40px;
  display: block;
}

.exception {
  height: 30px;
  padding-top: 8px;
}

@media (max-width: 991px) {
  .casino-footer__link {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .casino-footer__link {
    height: 40px;
  }
}

.casino-footer__link:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
}

.casino-footer__text {
  line-height: 1.4;
}

.casino-footer__title {
  color: var(--primary);
}

/* Cookie popup */
.popup-cookie {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  max-width: 500px;
  padding: 25px;
  border-radius: 20px 20px 0 0;
  background: var(--gradient);
  border: 2px solid rgba(52, 152, 219, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  display: none;
}

@media (max-width: 991px) {
  .popup-cookie {
    padding: 20px;
    max-width: 100%;
  }
}

.popup-cookie.show {
  display: block;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-cookie__title {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.popup-cookie__text {
  position: relative;
  z-index: 2;
  color: var(--white);
  line-height: 1.4;
}

.popup-cookie__links {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

@media (max-width: 600px) {
  .popup-cookie__links {
    flex-direction: column;
    gap: 10px;
  }
}

.popup-cookie__links li {
  flex: 1;
}

.popup-cookie__button {
  width: 100%;
  min-height: 42px;
  font-size: 14px;
  box-shadow: none;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #1a1a1a;
}

.popup-cookie__link {
  width: 100%;
  min-height: 42px;
  font-size: 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-cookie__link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Main content positioning */
main {
  position: relative;
  z-index: 2;
}

/* Additional responsive improvements */
@media (max-width: 480px) {
  .casino-hero__list {
    gap: 10px 15px;
  }
  
  .casino-hero__item {
    padding: 8px;
    gap: 4px;
  }
  
  .card {
    border-radius: 15px;
  }
  
  .card__wrapper-logo {
    padding: 20px 8px 8px 8px;
  }
  
  .but {
    min-width: 120px;
    min-height: 32px;
    font-size: 11px;
    padding: 6px 12px;
  }
}