/* Template 2 - Modern Minimalist */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --accent-color: #0ea5e9;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-primary: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  min-height: 100vh;
  font-weight: 400;
}

img {
  max-width: 360px;
  height: auto;
  border-radius: 5px;
}

.f-left {
  float: left;
  margin: 0 20px 20px 0;
}
.f-right {
  float: right;
  margin: 0 0 20px 20px;
}
.f-center {
  display: block;
  margin: 0 auto 20px;
}

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

/* Header */
.header {
  background: var(--white);
  color: var(--gray-900);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

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

.header .logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.025em;
}

.header .logo:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

.header .quick-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.header .quick-nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.header .quick-nav a:hover {
  color: var(--primary-color);
  background: var(--gray-50);
}

/* Main Content */
.section {
  padding: 80px 0;
}

.section.head {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  color: var(--gray-900);
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.section.head h1 {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section.head p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

/* Section Headers */
.section header {
  text-align: center;
  margin-bottom: 64px;
}

.section header h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

/* Casino List */
.casino_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0 auto;
}

.casino-item {
  width: calc(33.333% - 16px);
  min-width: 300px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.casino-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.casino-header {
  padding: 24px;
  text-align: center;
  background: var(--white);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.casino-logo:hover {
  transform: scale(1.02);
}

.casino-name {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rating .stars {
  width: 84px;
  height: 15px;
  background: url("../../../images/stars-empty.svg") left center / auto 100%;
  position: relative;
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: url("../../../images/stars-active.svg") left center / auto 100%;
}

.rating .text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.casino-body {
  padding: 24px;
  background: var(--white);
}

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

.bonus-amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success-color);
  margin-bottom: 4px;
}

.free-spins {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.casino-details {
  margin-bottom: 24px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.detail-label svg {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
}

.detail-value {
  font-size: 0.875rem;
  color: var(--gray-900);
  font-weight: 600;
}

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

.casino-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.casino-button:hover {
  background: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Text Block */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.text-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 32px 0 16px;
  letter-spacing: -0.025em;
}

.text-content p {
  margin-bottom: 16px;
}

.text-content ul,
.text-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.text-content li {
  margin-bottom: 8px;
}

/* FAQ */
.faq_list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.accordion-question {
  background: var(--white);
  border: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-question:hover {
  background: var(--gray-50);
}

.accordion-icon::before {
  content: "+";
  font-size: 1.25rem;
  color: var(--gray-400);
  transition: all 0.3s ease;
}

.faq-item.active .accordion-icon::before {
  content: "−";
  color: var(--primary-color);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-50);
}

.accordion-answer p {
  padding: 20px 24px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 64px 0 32px;
  margin-top: 80px;
}

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

.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-column p {
  color: var(--gray-400);
  line-height: 1.6;
}

.logos_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--gray-800);
  border-bottom: 1px solid var(--gray-800);
}

.logo-item {
  width: 120px;
  height: 40px;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 8px;
}

.logo-item:hover {
  background: var(--gray-700);
  border-color: var(--gray-600);
  transform: translateY(-2px);
}

.icon {
  width: 24px;
  height: 24px;
  fill: var(--gray-400);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
}

.copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Animations */


/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.popup-content {
  background: var(--white);
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.popup-close:hover {
  color: var(--gray-600);
  background: var(--gray-100);
}

.popup-body {
  padding: 24px;
}

/* FAQ статичный режим */
.accordion-question {
all: unset;
display: block;
font-family: var(--font-family);
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 10px;
}

.accordion-icon {
display: none;
}

.accordion-answer,
.static-answer {
max-height: none !important;
padding: 0 0 1.5rem 0;
color: var(--text-secondary);
overflow: visible;
transition: none !important;
}