/* Template 7 - Forest Nature */
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700;800&display=swap");

:root {
  --forest-green: #2d5016;
  --moss-green: #68b684;
  --sage-green: #9caf88;
  --leaf-green: #4a7c59;
  --bark-brown: #8b4513;
  --earth-brown: #a0522d;
  --sky-blue: #87ceeb;
  --cloud-white: #f8f8ff;
  --stone-gray: #708090;
  --sunset-orange: #ff8c69;
  --flower-pink: #ffb6c1;
  --morning-yellow: #f0e68c;
  --font-primary: "Nunito", sans-serif;
  --font-display: "Comfortaa", cursive;
  --shadow-organic: 0 8px 32px rgba(45, 80, 22, 0.15);
  --shadow-hover: 0 16px 48px rgba(45, 80, 22, 0.25);
}

* {
  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.7;
  color: var(--forest-green);
  background: var(--cloud-white);
  min-height: 100vh;
  font-weight: 400;
  background-image: radial-gradient(circle at 20% 20%, rgba(152, 175, 136, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(104, 182, 132, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, rgba(248, 248, 255, 0.8) 0%, rgba(240, 230, 140, 0.1) 100%);
}

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: rgba(248, 248, 255, 0.95);
  color: var(--forest-green);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--moss-green);
  box-shadow: var(--shadow-organic);
  backdrop-filter: blur(10px);
  border-radius: 0 0 30px 30px;
}

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

.header .logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest-green);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.header .logo::before {
  content: "🌿";
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  animation: leafSway 3s ease-in-out infinite;
}

@keyframes leafSway {
  0%,
  100% {
    transform: translateY(-50%) rotate(-5deg);
  }
  50% {
    transform: translateY(-50%) rotate(5deg);
  }
}

.header .logo:hover {
  color: var(--leaf-green);
  transform: translateY(-2px);
}

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

.header .quick-nav a {
  color: #ffb6c1;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 20px;
  background: var(--sage-green);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.header .quick-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--moss-green);
  transition: left 0.3s ease;
  z-index: -1;
  border-radius: 25px;
}

.header .quick-nav a:hover {
  color: var(--cloud-white);
  transform: translateY(-2px) scale(1.05);
}

.header .quick-nav a:hover::before {
  left: 0;
}

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

.section.head {
  background: linear-gradient(135deg, var(--moss-green) 0%, var(--leaf-green) 100%);
  color: var(--cloud-white);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
}

.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="leafPattern" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 Q20 10 15 15 Q10 10 15 5" fill="%23ffffff" opacity="0.1"/><path d="M5 20 Q10 25 5 30 Q0 25 5 20" fill="%23ffffff" opacity="0.05"/><path d="M25 20 Q30 25 25 30 Q20 25 25 20" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23leafPattern)"/></svg>');
  animation: leafFloat 20s linear infinite;
  opacity: 0.3;
}

@keyframes leafFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(30px, 30px) rotate(360deg);
  }
}

.section.head .container {
  position: relative;
  z-index: 1;
}

.section.head h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: growIn 1.5s ease-out;
}

@keyframes growIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.section.head p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

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

.section header h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--forest-green);
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
}

.section header h2::before {
  content: "🌱";
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  animation: sprout 2s ease-in-out infinite;
}

.section header h2::after {
  content: "🌱";
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  font-size: 2rem;
  animation: sprout 2s ease-in-out infinite 1s;
}

@keyframes sprout {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-60%) scale(1.2);
  }
}

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

.casino-item {
  width: calc(33.333% - 20px);
  min-width: 300px;
  background: var(--cloud-white);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: var(--shadow-organic);
  border: 3px solid var(--sage-green);
}

.casino-item::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, var(--moss-green), var(--leaf-green), var(--sage-green));
  border-radius: 35px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.casino-item:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: var(--shadow-hover);
}

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

.casino-header {
  padding: 30px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--sage-green) 0%, var(--moss-green) 100%);
  color: var(--cloud-white);
  border-radius: 30px 30px 0 0;
  position: relative;
}

.casino-header::before {
  content: "🍃 🌿 🍃";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  opacity: 0.7;
}

.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;
  border: 3px solid var(--cloud-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.casino-logo:hover {
  transform: scale(1.05) rotate(-1deg);
  border-color: var(--morning-yellow);
  box-shadow: 0 8px 25px rgba(240, 230, 140, 0.3);
}

.casino-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cloud-white);
  margin-bottom: 12px;
}

.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;
  filter: hue-rotate(60deg) saturate(1.5);
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: url("../../../images/stars-active.svg") left center / auto 100%;
  filter: hue-rotate(60deg) saturate(1.5) drop-shadow(0 0 3px var(--morning-yellow));
}

.rating .text {
  font-size: 0.9rem;
  color: var(--cloud-white);
  font-weight: 600;
}

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

.casino-bonus {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, var(--morning-yellow) 0%, var(--sunset-orange) 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "✨";
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.bonus-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cloud-white);
  margin-bottom: 4px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.free-spins {
  display: block;
  font-size: 1rem;
  color: var(--cloud-white);
  font-weight: 500;
  opacity: 0.9;
}

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

.feature-tag {
  background: var(--leaf-green);
  color: var(--cloud-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-tag:hover {
  background: var(--forest-green);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.casino-details {
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(152, 175, 136, 0.1) 0%, rgba(104, 182, 132, 0.1) 100%);
  border-radius: 15px;
  padding: 16px;
  border: 2px solid var(--sage-green);
}

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

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

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

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

.detail-value {
  font-size: 0.9rem;
  color: var(--forest-green);
  font-weight: 700;
}

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--moss-green) 0%, var(--leaf-green) 100%);
  color: var(--cloud-white);
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
  position: relative;
  overflow: hidden;
}

.casino-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--bark-brown) 100%);
  transition: left 0.3s ease;
  z-index: -1;
  border-radius: 30px;
}

.casino-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
}

.casino-button:hover::before {
  left: 0;
}

/* Text Content */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--forest-green);
}

.text-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--leaf-green);
  margin: 32px 0 16px;
  position: relative;
}

.text-content h3::before {
  content: "🌿";
  position: absolute;
  left: -35px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

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

.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(--cloud-white);
  border: 2px solid var(--sage-green);
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-organic);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--moss-green);
}

.accordion-question {
  background: linear-gradient(135deg, var(--sage-green) 0%, var(--moss-green) 100%);
  border: none;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cloud-white);
  padding: 24px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-question:hover {
  background: linear-gradient(135deg, var(--moss-green) 0%, var(--leaf-green) 100%);
}

.accordion-icon::before {
  content: "🌱";
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.faq-item.active .accordion-icon::before {
  content: "🌿";
  transform: rotate(180deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: linear-gradient(135deg, rgba(152, 175, 136, 0.1) 0%, rgba(248, 248, 255, 1) 100%);
}

.accordion-answer p {
  padding: 24px;
  color: var(--forest-green);
  line-height: 1.7;
  text-align: justify;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--forest-green) 0%, var(--leaf-green) 100%);
  color: var(--cloud-white);
  padding: 64px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  border-radius: 50px 50px 0 0;
}

.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"><defs><pattern id="footerNature" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 10 Q25 15 20 20 Q15 15 20 10" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="30" r="2" fill="%23ffffff" opacity="0.03"/><circle cx="30" cy="30" r="2" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footerNature)"/></svg>');
  animation: naturePattern 25s linear infinite;
  opacity: 0.3;
}

@keyframes naturePattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

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

.footer-column h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--morning-yellow);
  position: relative;
}

.footer-column h3::before {
  content: "🌸";
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.footer-column p {
  color: rgba(248, 248, 255, 0.8);
  line-height: 1.7;
  text-align: justify;
}

.logos_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-top: 2px solid var(--sage-green);
  border-bottom: 2px solid var(--sage-green);
  position: relative;
  z-index: 1;
}

.logo-item {
  width: 130px;
  height: 45px;
  background: rgba(248, 248, 255, 0.1);
  border: 2px solid var(--sage-green);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 8px;
  backdrop-filter: blur(10px);
}

.logo-item:hover {
  background: var(--moss-green);
  border-color: var(--morning-yellow);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(104, 182, 132, 0.3);
}

.icon {
  width: 28px;
  height: 28px;
  fill: var(--cloud-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  position: relative;
  z-index: 1;
}

.copyright {
  color: rgba(248, 248, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1s ease;
}

.slide-in-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

header .quick-nav a {
position: relative;
overflow: hidden; /* чтобы ::before не вылезал */
display: inline-block;
z-index: 1;
}

header .quick-nav a::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: var(--gradient-cyber);
transition: left 0.3s ease;
z-index: -1;
}

header .quick-nav a:hover::before {
left: 0;
}

/* 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;
}

