/* Template 6 - Ultra Minimal Dark */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --primary: #06b6d4;
  --primary-dark: #0891b2;
  --accent: #22d3ee;
  --bg-dark: #000000;
  --bg-card: #0a0a0a;
  --bg-hover: #141414;
  --text-primary: #ffffff;
  --text-secondary: #737373;
  --border: #1a1a1a;
}

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

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

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  font-weight: 400;
  font-size: 15px;
}

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

/* Header */
.site-header {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-logo a {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: color 0.2s ease;
}

.site-logo a:hover {
  color: var(--primary);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.section.head h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  line-height: 1.1;
}

.section.head p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  margin-bottom: 3rem;
}

.section header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Casino List */
.casino_list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.casino-item {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.casino-item:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
}

.casino-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.casino-logo:hover {
  opacity: 0.85;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casino-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.rating .stars {
  width: 100px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.rating .stars .fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.rating .text {
  color: var(--text-secondary);
  font-size: 13px;
  font-family: "JetBrains Mono", monospace;
}

.casino-body {
  padding: 2rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
}

.bonus-amount {
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.free-spins {
  font-size: 14px;
  color: var(--text-secondary);
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: var(--bg-hover);
  color: var(--text-secondary);
  padding: 0.375rem 0.875rem;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.feature-tag:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.casino-details {
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.detail-item:hover {
  background: var(--bg-hover);
}

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

.detail-label {
  color: var(--text-secondary);
  font-size: 13px;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
}

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

.casino-button {
  display: inline-block;
  background: var(--text-primary);
  color: var(--bg-dark);
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.casino-button:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  background: var(--bg-hover);
}

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

.accordion-question:hover {
  color: var(--primary);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--text-secondary);
  transition: all 0.2s ease;
}

.accordion-icon::before {
  width: 12px;
  height: 1px;
}

.accordion-icon::after {
  width: 1px;
  height: 12px;
}

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

.faq-item.active .accordion-icon::before,
.faq-item.active .accordion-icon::after {
  background: var(--primary);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.faq-item.active .accordion-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

/* Footer */
.footer {
  background: var(--bg-card);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.copyright a{
  color: var(--text-secondary);
  font-size: 12px;
}

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

.fade-in {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.05s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.15s;
}

html, body {
height: 100%;
margin: 0;
padding: 0;
}

body {
display: flex;
flex-direction: column;
min-height: 100vh;
}

main {
flex: 1;
}

/* Усиленный стиль h3 за пределами FAQ */
body:not(.faq) h3,
:not(section.faq) h3 {
font-size: 1.7rem;
color: #ffffff;
margin-top: 15px;
margin-bottom: 10px;
text-align: left;
}