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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.5;
  color: #ffffff;
  background: #1a1a2e;
  min-height: 100vh;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #333;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  padding: 16px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ff6b35;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: #cccccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.nav-link:hover {
  color: #ff6b35;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Hero Featured Section */
.hero-featured {
  padding: 100px 0 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.featured-casinos-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.featured-card-large {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.featured-card-large:hover {
  transform: scale(1.02);
}

.featured-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.featured-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-logo-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.logo-circle {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  color: #333;
  border: 2px solid #fff;
}

.logo-circle.red {
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
}

.logo-circle.dark {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
}

.featured-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 3;
}

/* Main Casino Section */
.casinos-main {
  padding: 40px 0 80px;
  background: #1a1a2e;
}

.main-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #ff6b35;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.casino-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.casino-card {
  padding: 20px;
  border-radius: 15px;
  position: relative;
  transition: transform 0.3s ease;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.casino-card:hover {
  transform: translateY(-5px);
}

.casino-card.green {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
}

.casino-card.purple {
  background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 100%);
}

.casino-card.cyan {
  background: linear-gradient(135deg, #006064 0%, #00acc1 100%);
}

.casino-card.blue {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
}

.casino-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.casino-logo-main {
  margin-bottom: 20px;
  text-align: center;
}

.logo-bg {
  background: #ff0000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.logo-domain {
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
}

.casino-logo-main.loki {
  color: #fff;
}

.crown {
  font-size: 24px;
  margin-bottom: 5px;
}

.logo-text-large {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

.logo-text-small {
  font-size: 14px;
  font-weight: bold;
}

.logo-text-script {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  font-style: italic;
}

.logo-text-bold {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.casino-rating {
  margin-bottom: 15px;
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.star {
  color: #ffd700;
  font-size: 16px;
}

.star.half {
  color: #ffd700;
}

.star.empty {
  color: rgba(255, 255, 255, 0.3);
}

.casino-info {
  flex-grow: 1;
  text-align: center;
}

.casino-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.bonus-text {
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.3;
}

.casino-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.visit-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: auto;
}

.visit-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Info Section */
.info-section {
  padding: 80px 0;
  background: #16213e;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #ff6b35;
}

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

.info-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.info-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fff;
}

.info-card p {
  color: #cccccc;
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: #1a1a2e;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  font-size: 16px;
  color: #fff;
}

.faq-toggle {
  font-size: 20px;
  color: #ff6b35;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: #cccccc;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: #0f0f23;
  padding: 50px 0 30px;
  border-top: 1px solid #333;
}

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

.footer-section h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-section p {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
}

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

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

.footer-section a:hover {
  color: #ff6b35;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #999;
}

.footer-bottom p {
  margin-bottom: 5px;
}

.footer-bottom a {
  color: #cccccc;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ff6b35;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-casinos-top {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .casino-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f0f23;
    border-top: 1px solid #333;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .casino-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .main-title {
    font-size: 24px;
  }
  
  .featured-card-large {
    height: 250px;
  }
  
  .featured-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .casino-card {
    padding: 15px;
  }
  
  .info-card {
    padding: 20px;
  }
  
  .main-title {
    font-size: 20px;
  }
  
  .featured-card-large {
    height: 200px;
  }
  
  .featured-title {
    font-size: 18px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.casino-card,
.info-card,
.featured-card-large {
  animation: fadeInUp 0.6s ease forwards;
}

.casino-card:nth-child(2) {
  animation-delay: 0.1s;
}

.casino-card:nth-child(3) {
  animation-delay: 0.2s;
}

.casino-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Focus states for accessibility */
.nav-link:focus,
.visit-btn:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .casino-card,
  .info-card {
    border: 1px solid black;
    background: white;
  }
}
.featured-bonus {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 14px;
  border-radius: 10px;
  max-width: 70%;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.bonus-label {
  font-size: 11px;
  color: #ff6b35;
  font-weight: bold;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bonus-amount {
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .featured-bonus {
    max-width: 90%;
    font-size: 90%;
    padding: 8px 10px;
  }

  .bonus-label {
    font-size: 10px;
  }

  .bonus-amount {
    font-size: 12px;
  }
}

.payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #1e1e2d;
  color: #fff;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 25px;
}

.payment-table thead {
  background-color: #2a2a3c;
  font-weight: 600;
}

.payment-table th,
.payment-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #333;
}

.payment-table tbody tr:last-child td {
  border-bottom: none;
}

.payment-table tbody tr:hover {
  background-color: #2f2f44;
  transition: background 0.2s ease-in-out;
}

.payment-table td[data-label]::before {
  display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .payment-table, .payment-table thead, .payment-table tbody, .payment-table th, .payment-table td, .payment-table tr {
    display: block;
    width: 100%;
  }

  .payment-table thead {
    display: none;
  }

  .payment-table tr {
    margin-bottom: 15px;
    background-color: #1e1e2d;
    border-radius: 10px;
    padding: 10px;
  }

  .payment-table td {
    padding: 10px 15px;
    text-align: left;
    position: relative;
  }

  .payment-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: #888;
  }
}
.transparent-card {
  background-color: rgba(255, 255, 255, 0.05); /* полупрозрачный белый на тёмном фоне */
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #fff;
  line-height: 1.6;
  font-size: 16px;
}

/* Универсальный контейнер для затемнённых секций */
.casino-section-dark {
  background: #131323;
  color: #f1f1f1;
  padding: 40px 20px;
  border-radius: 12px;
  font-family: 'Segoe UI', sans-serif;
}

/* Заголовки */
.casino-section-dark h2,
.casino-section-dark h3,
.casino-section-dark h4 {
  color: #ff6b35;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Обычные параграфы */
.casino-section-dark p {
  font-size: 16px;
  line-height: 1.6;
  color: #dddddd;
  margin-bottom: 15px;
}

/* Таблицы */
.casino-section-dark table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #1e1e2f;
  border-radius: 8px;
  overflow: hidden;
}

.casino-section-dark table th,
.casino-section-dark table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #333;
  color: #fff;
}

.casino-section-dark table th {
  background-color: #22223a;
  font-weight: bold;
  color: #ff6b35;
}

.casino-section-dark table tr:last-child td {
  border-bottom: none;
}

/* Списки */
.casino-section-dark ul,
.casino-section-dark ol {
  margin: 15px 0 20px 20px;
  color: #cccccc;
}

.casino-section-dark li {
  margin-bottom: 10px;
}

/* Ссылки */
.casino-section-dark a {
  color: #ff9a3c;
  text-decoration: underline;
}

.casino-section-dark a:hover {
  text-decoration: none;
}

.casino-section-dark img {
  max-width: 100%;
  height: auto;
  border: 2px solid #444;
  border-radius: 8px;
  margin: 15px auto;
  display: block;
  max-height: 450px;
  object-fit: contain;
}


/* Кнопки */
.casino-section-dark .visit-btn {
  background: #ff6b35;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  margin-top: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.casino-section-dark .visit-btn:hover {
  background: #ff8833;
}

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

.contact-box {
  background: #2a2b38;
  padding: 20px;
  border: 1px solid #3b3d4a;
  border-radius: 10px;
  color: #eee;
}

.contact-box h3 {
  font-size: 1.1rem;
  color: #ff8833;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-box a {
  color: #a5b4fc;
  text-decoration: underline;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background-color: #1e1f2c;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.casino-footer {
  background-color: #141426;
  color: #ccc;
  padding: 40px 20px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.casino-footer h4 {
  color: #ff8833;
  font-size: 16px;
  margin-bottom: 12px;
}

.casino-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.casino-footer .footer-section {
  flex: 1 1 220px;
  min-width: 200px;
}

.casino-footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.casino-footer .footer-section ul li {
  margin-bottom: 6px;
}

.casino-footer .footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.casino-footer .footer-section ul li a:hover {
  color: #fff;
}

.casino-footer .social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
  color: #ff8833;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.casino-footer .social-links a:hover {
  opacity: 0.7;
}

.casino-footer .footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

.casino-footer .footer-bottom a {
  color: #ff8833;
  text-decoration: none;
}

.casino-footer .footer-bottom a:hover {
  text-decoration: underline;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 20px;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #ff8833;
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff8833;
  color: #fff;
  border: none;
  padding: 14px 16px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: none;
}

#scrollTopBtn:hover,
#scrollTopBtn:focus,
#scrollTopBtn:active {
  background-color: #ff8833; /* Без изменений при наведении/нажатии */
  outline: none;
}
/* Кнопки авторизации */
.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons .btn {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: none;
}

.login-btn {
  border: 2px solid #ff6b35;
  color: #ff6b35;
  background: transparent;
}

.register-btn {
  background-color: #ff6b35;
  color: white;
  border: none;
}

/* Отключаем hover-эффекты */
.auth-buttons .btn:hover,
.auth-buttons .btn:focus {
  background-color: inherit;
  color: inherit;
  outline: none;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .header-flex {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .auth-buttons {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .auth-buttons .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
}

