/* Template 3 - Dark Elegant Theme */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;500;600&display=swap");

:root {
  --primary: #d4af37;
  --primary-dark: #b8941f;
  --secondary: #8b7355;
  --accent: #e6c46b;
  --success: #4ade80;

  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-card: #1e1e1e;

  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-accent: var(--primary);

  --border: #374151;
  --border-light: #4b5563;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);

  --font-serif: "Playfair Display", serif;
  --font-sans: "Source Sans Pro", sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

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

.site-logo a {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-logo a:hover {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.site-nav a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.site-nav a:hover {
  color: var(--text-primary);
  background: rgba(212, 175, 55, 0.1);
}

.site-nav a:hover::before {
  width: 100%;
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1" fill="%23d4af37" opacity="0.3"/></svg>');
  animation: sparkle 8s linear infinite;
}

@keyframes sparkle {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-60px) rotate(360deg);
  }
}

.section.head h1 {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.section.head h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-50%);
}

.section.head p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 60px;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}

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

/* Casino List */
.casino_list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.casino-item {
  flex: 0 0 calc(33.333% - 1.5rem);
  min-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow);
  position: relative;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 16px;
}

.casino-item:hover::before {
  opacity: 1;
}

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

.casino-header {
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.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: all 0.3s ease;
  border: 2px solid var(--border);
  background: var(--bg-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.casino-logo:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

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

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

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

.rating .stars {
  width: 120px;
  height: 20px;
  background: var(--bg-primary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.rating .stars .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.rating .text {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

.casino-body {
  padding: 2.5rem 2rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.bonus-amount {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.free-spins {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.feature-tag {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.feature-tag:hover {
  background: var(--primary);
  color: var(--bg-primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

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

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

.detail-item:hover {
  background: rgba(212, 175, 55, 0.1);
}

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

.detail-label {
  color: var(--text-secondary);
  font-weight: 500;
}

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

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--success) 0%, #22c55e 100%);
  color: var(--bg-primary);
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
}

.casino-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

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

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

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
}

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

.accordion-question:hover {
  background: rgba(212, 175, 55, 0.05);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--bg-primary);
  font-weight: bold;
  font-size: 18px;
}

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

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

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

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

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

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

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

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

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

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


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