/* Template 5 - Vibrant Gaming Theme */
@import url("https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Nunito:wght@300;400;600;700;800&display=swap");

:root {
  --electric-blue: #0066ff;
  --neon-green: #00ff66;
  --hot-pink: #ff0066;
  --sunny-yellow: #ffcc00;
  --orange-burst: #ff6600;
  --purple-pop: #9900ff;

  --bg-primary: #ffffff;
  --bg-secondary: #f0f9ff;
  --bg-tertiary: #e0f2fe;
  --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;

  --border: #cbd5e1;
  --border-light: #e2e8f0;

  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-color: 0 25px 50px -12px;

  --font-display: "Fredoka One", cursive;
  --font-body: "Nunito", sans-serif;
}

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

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

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

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

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

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

.site-logo a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--electric-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 102, 255, 0.2);
}

.site-logo a:hover {
  color: var(--hot-pink);
  transform: scale(1.1) rotate(-2deg);
  text-shadow: 2px 2px 8px rgba(255, 0, 102, 0.4);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text-light);
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-color) rgba(0, 102, 255, 0.25);
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  background: var(--bg-gradient);
  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 100 100"><defs><pattern id="stars" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,2 15.5,8.5 22.5,8.5 17,13 18.5,20 12.5,16 6.5,20 8,13 2.5,8.5 9.5,8.5" fill="%23ffcc00" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  animation: starTwinkle 4s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.section.head h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--electric-blue);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  text-shadow: 3px 3px 6px rgba(0, 102, 255, 0.3);
  animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

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

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

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

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

.section header h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--hot-pink);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(255, 0, 102, 0.2);
  transform: rotate(-1deg);
}

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

/* 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-primary);
  border: 3px solid var(--border);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(
    45deg,
    var(--electric-blue),
    var(--neon-green),
    var(--hot-pink),
    var(--sunny-yellow),
    var(--orange-burst),
    var(--purple-pop)
  );
  border-radius: 25px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
  animation: rainbowRotate 3s linear infinite;
}

@keyframes rainbowRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

.casino-item:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--shadow-color) rgba(0, 102, 255, 0.3);
}

.casino-header {
  padding: 2rem;
  text-align: center;
  background: var(--bg-tertiary);
  border-bottom: 3px solid var(--neon-green);
}

.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: 3px solid var(--sunny-yellow);
  box-shadow: var(--shadow-color) rgba(255, 204, 0, 0.3);
  position: relative;
}

.casino-logo::after {
  content: "✨";
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 24px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 1;
  }
}

.casino-logo:hover {
  transform: scale(1.05) rotate(-2deg);
  border-color: var(--hot-pink);
  box-shadow: var(--shadow-color) rgba(255, 0, 102, 0.4);
}

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

.casino-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--electric-blue);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 102, 255, 0.2);
  transform: rotate(-0.5deg);
}

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

.rating .stars {
  width: 120px;
  height: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--orange-burst);
}

.rating .stars .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sunny-yellow) 0%, var(--orange-burst) 50%, var(--neon-green) 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: ratingPulse 2s ease-in-out infinite;
}

@keyframes ratingPulse {
  0%,
  100% {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: inset 0 2px 8px rgba(255, 204, 0, 0.3);
  }
}

.rating .text {
  color: var(--purple-pop);
  font-weight: 800;
  font-size: 0.875rem;
  text-shadow: 1px 1px 2px rgba(153, 0, 255, 0.2);
}

.casino-body {
  padding: 2rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--hot-pink) 0%, var(--purple-pop) 100%);
  border-radius: 20px;
  color: var(--text-light);
  box-shadow: var(--shadow-color) rgba(255, 0, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: bonusShine 3s ease-in-out infinite;
}

@keyframes bonusShine {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}

.bonus-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.free-spins {
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

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

.feature-tag {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-tag:hover {
  background: var(--neon-green);
  color: var(--text-light);
  border-color: var(--neon-green);
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-color) rgba(0, 255, 102, 0.3);
}

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

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

.detail-item:hover {
  background: var(--bg-tertiary);
  transform: translateX(5px);
}

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

.detail-label {
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.detail-value {
  color: var(--electric-blue);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 102, 255, 0.2);
}

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--neon-green) 100%);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-color) rgba(0, 102, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

.casino-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.casino-button:hover::before {
  left: 100%;
}

.casino-button:hover {
  background: linear-gradient(135deg, var(--hot-pink) 0%, var(--orange-burst) 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-color) rgba(255, 0, 102, 0.4);
}

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

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

.faq-item:hover {
  border-color: var(--electric-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-color) rgba(0, 102, 255, 0.2);
}

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

.accordion-question:hover {
  background: var(--bg-secondary);
  color: var(--electric-blue);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow);
}

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

.accordion-icon::before {
  width: 16px;
  height: 3px;
  border-radius: 2px;
}

.accordion-icon::after {
  width: 3px;
  height: 16px;
  border-radius: 2px;
}

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

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 600;
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--electric-blue) 0%, var(--purple-pop) 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::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 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.4;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.5;0.1" dur="1.5s" repeatCount="indefinite"/></circle></svg>');
}

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

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

.footer-tagline {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-weight: 600;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--sunny-yellow);
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Animations */
@keyframes vibrantSlide {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.fade-in {
  opacity: 0;
  animation: vibrantSlide 0.6s 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: #C90688;
margin-top: 15px;
margin-bottom: 10px;
text-align: left;
}