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

body {
    font-family: 'Comfortaa', sans-serif;
    background-color: #1d4369;
    color: #e8e8e8;
    line-height: 1.6;
    font-size: 16px;
}

main {
    position: relative;
  background-color: #1d4369;
  background-image: url("data:image/svg+xml;utf8,<svg width='400' height='400' xmlns='http://www.w3.org/2000/svg'><line x1='20' y1='0' x2='20' y2='40' stroke='%23ffffff' stroke-width='4' opacity='0.1'/><line x1='0' y1='20' x2='40' y2='20' stroke='%23ffffff' stroke-width='4' opacity='0.1'/><circle cx='100' cy='100' r='10' fill='white' opacity='0.06'/><path d='M150 150 l10 10 m0 -10 l-10 10' stroke='%23ffffff' stroke-width='4' opacity='0.1'/></svg>");
  background-repeat: repeat;
  background-size: 200px 200px;
}

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

/* Header */
.header {
    background-image: url('/public/fon1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 0;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 67, 105, 0.8);
    z-index: 1;
}

.header .container {
    position: relative;
    z-index: 2;
}

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

.logo {
    height: 60px;
    width: auto;
}

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

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #7eac2f;
}

.language-selector {
    margin-left: 20px;
}

.language-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: transparent;
  border: 2px solid white;
  color: white;

    padding: 8px 26px 8px 12px;
  border-radius: 5px;

  font-family: inherit;
  font-size: 16px;
  cursor: pointer;

  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='12' viewBox='0 0 24 24' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;  /* ← стрелка левее */
  background-size: 12px;
}

.language-select:hover {
    border-color: #7eac2f;
    background-color: rgba(126, 172, 47, 0.1);
}

.language-select option {
    background-color: #1d4369;
    color: white;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e8e8e8;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-register {
    background-color: #7eac2f;
    color: white;
    align-self: flex-start;
}

.btn-register:hover {
    background-color: #6a9429;
    transform: translateY(-2px);
}

.btn-login {
    background-color: #276aa6;
    color: white;
}

.btn-login:hover {
    background-color: #1e5a94;
    transform: translateY(-2px);
}

.app-badges {
    display: flex;
    gap: 15px;
}

.app-badge {
    display: block;
}

.badge-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.badge-img:hover {
    transform: scale(1.05);
}

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

.footballer-img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

/* Promo Section */
.promo-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.promo-title {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.promo-code-container {

    border-radius: 10px;
    margin-bottom: 20px;
}

.promo-label {
    display: block;
    color: #e8e8e8;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 28px;
}

.promo-code {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border: 2px dashed #7eac2f;
    width: 309px;
}

.code-text {
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.copy-btn {
    background-color: #7eac2f;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: #6a9429;
}

.promo-description {
    color: #e8e8e8;
    font-size: 1rem;
}

.additional-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    color: #e8e8e8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.benefits-list li::before {
    content: '✓';
    color: #7eac2f;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Content Section */
.content-section {
    padding-bottom: 60px;
}

.content-section .container {
    background-color: #205685;
    border-radius: 10px;
}

.content-wrapper {
    margin: 0 auto;
}

.content-block {
    padding: 30px;

    border-radius: 10px;

}

/* TABLE */
.facts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    margin-top: 30px;
}

.facts-table thead th {
    background-color: rgba(255, 255, 255, 0.2);
    text-align: left;
}

.facts-table tbody tr:nth-child(2n) {
    background-color: rgba(255, 255, 255, 0.05);
}

tbody a {
    color: #7eac2f;
}

.facts-table tr {
    padding: 8px;
    border: 1px solid #fff;
}

.facts-table th {
    padding: 8px;
}

.facts-table td {
    padding: 8px;
    border: 1px solid #fff;
}

/* TABLE */



/* SLOTS */

/* Блок популярных слотов */
.top-slots {
  padding: 48px 0;
  background: linear-gradient(135deg, #1e293b 0%, #1e40af 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.top-slots::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  pointer-events: none;
}

.top-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.top-slots__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Карточка слота */
.slot-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #fff;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.slot-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.slot-card:hover::before {
  opacity: 1;
}

/* Номер слота */
.slot-card__number {
  position: absolute;
  top: -17px;
  left: -17px;
  width: 40px;
  height: 39px;
  background: linear-gradient(135deg, #14a0ff 0%, #1d4369 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  z-index: 2;
}



.app-section {
    background-color: rgb(39, 106, 166);
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    line-height: 1;
    border-radius: 5px;
    gap: 15px;
    padding: 10px 15px;
    overflow: hidden;
    margin: 15px 0px;
}

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

.app-right {
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 2px;
}

img.app {
    height: 38px;
    width: 38px;
    margin-right: 10px;
}

.app-section span {
    font-size: 12px;
}

.star-icons-toogle {
    display: flex;
    gap: 5px;
    list-style: none;
}

.star-icons-toogle li {
    width: 13.36px;
    height: 11.88px;
}

.app-d {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.app-d span {
    text-transform: uppercase;
    font-size: 16.6px;
    font-weight: bolder;
    margin-top: 3px;
}




/* Контент карточки */
.slot-card__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Изображение */
.slot-card__image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.slot-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slot-card:hover .slot-card__img {
  transform: scale(1.05);
}

.slot-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slot-card:hover .slot-card__image::after {
  opacity: 1;
}

/* Информация о слоте */
.slot-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slot-card__name {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0;
  transition: color 0.3s ease;
}

.slot-card:hover .slot-card__name {
  color: #93c5fd;
}

/* Метаинформация */
.slot-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-card__badge {
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid;
  transition: all 0.3s ease;
}

.slot-card__badge--provider {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}

.slot-card__badge--type {
  background: rgba(147, 51, 234, 0.2);
  color: #c4b5fd;
  border-color: rgba(147, 51, 234, 0.3);
}

.slot-card__badge--rtp {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
}



/* === Бренд-бейдж в углу блока === */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #d3dee8;
  color: #1d1d1d;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  position: absolute;
  top: -50px;
  left: 0px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.badge-logo {
  height: 18px;
  width: auto;
}

.badge-text {
  font-weight: bold;
  font-size: 12px;
}

.badge-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #3aad48; 
  border-radius: 50%;
}

.promo-code-container {
    position: relative;
}


/* Описание */
.slot-card__desc {
  color: #d1d5db;
  line-height: 1.6;
  margin: 0;
  font-size: 16px;
}

/* Кнопка */
.slot-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background: #7eac2f;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  align-self: flex-start;
}

.slot-card__btn:hover {
  
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  text-decoration: none;
  color: white;
}

.slot-card__btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.slot-card__btn-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Футер блока */
.top-slots__footer {
  margin-top: 30px;
  text-align: center;
}

.top-slots__footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: #d1d5db;
  font-size: 14px;
}

.top-slots__footer-badge svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
  stroke: none;
}




/* ==== КАЛЬКУЛЯТОР БОНУСОВ ==== */
.casino-calc {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.casino-calc__head {
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.casino-calc__tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.casino-calc__tab {
  padding: 6px 20px;
  border: 2px solid #7eac2f;
  border-radius: 10px;
  color: #7eac2f;
  background-color: transparent;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.casino-calc__tab.active {
  background-color: #7eac2f;
  color: white;
}

.casino-calc__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.casino-calc__field label {
  display: block;
  font-size: 0.95rem;
  color: #e8e8e8;
  margin-bottom: 6px;
  font-weight: 500;
}

.casino-calc__field input,
.casino-calc__field select {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #f9f9f9;
  color: #1d4369;

}

.casino-calc__field input:focus,
.casino-calc__field select:focus {
  outline: 2px solid #7eac2f;
}

.casino-calc__wager-group {
  display: flex;
  gap: 15px;
  align-items: center;
}

.casino-calc__wager-select-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tooltip.mini {
  display: inline-block;
  position: relative;
  cursor: help;
  font-weight: bold;
  font-size: 0.85rem;
  margin-left: 6px;
  color: #7eac2f;
  transform: translateY(-1px);
}

.tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.8rem;
  line-height: 1.3;
}

.tooltip.mini:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip.inside {
  transform: translateY(1px);
}

.casino-calc__button {
  background-color: #7eac2f;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 10px;
}

.casino-calc__button:hover {
  background-color: #6a9429;
  transform: translateY(-1px);
}

.casino-calc__results {
  margin-top: 30px;
}

.casino-calc__results table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.casino-calc__results td {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: #e8e8e8;
  font-size: 0.95rem;
  vertical-align: top;
}

/* ==== СКРЫТЫЕ ДЛЯ АУДИОЧИТАЛКИ ==== */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.content-block a {
    text-decoration: none;
}


/* Декоративные элементы */
.slot-card::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.slot-card:hover::after {
  opacity: 1;
}

/* Адаптивность */
@media (min-width: 768px) {
  .top-slots {
    padding: 64px 0;
  }
  
  .top-slots__container {
    
  }
  
  .top-slots__list {
    gap: 48px;
  }
  
  .slot-card {
    padding: 32px;
  }
  
  .slot-card__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
  
  .slot-card__image {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
  }
  
  .slot-card__info {
    flex: 1;
  }
  
}

@media (min-width: 1024px) {
  .top-slots__list {
    gap: 30px;
    margin-top: 30px;
  }
  
  .slot-card {
    padding: 25px;
  }

}

/* SLOTS */



.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.content-block p {
    color: #e8e8e8;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #1d4369;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.support-info p {
    color: #e8e8e8;
    margin-bottom: 8px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #7eac2f;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.disclaimer {
    color: #e8e8e8;
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.copyright {
    color: #b8b8b8;
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .hero-content,
    .promo-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .promo-code {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0 auto;
        margin-top: 35px;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .badge-img {
        height: 40px;
    }

    .logo-container img {
        height: 35px;
        width: 160px;
    }
}

/* Performance optimizations */
.hero-image img,
.footer-logo-img,
.logo {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.language-select:focus,
.copy-btn:focus {
    outline: 2px solid #7eac2f;
    outline-offset: 2px;
}

/* Loading optimization */
img {
    loading: lazy;
}

/* Critical CSS for LCP optimization */
.hero-title,
.logo {
    font-display: swap;
}


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

.header-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.burger {
  font-size: 24px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
}

.main-nav {
  margin-top: 20px;
}

.desktop-only {
  display: inline-block;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .nav-list {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    display: none;
  }

  .nav-list.active {
    display: flex;
  }

  .header-controls {
    display: flex;
  }

  .language-selector.desktop-only {
    display: none;
  }

  .main-nav {
    margin-top: 10px;
  }

  .logo-container {
    flex-shrink: 0;
  }

  .promo-section {
    padding: 79px 0;
}

  .header-row {
        justify-content: space-around;
    }

    .hero {
        padding: 35px 0;
    }
}
