/* Template 5 - Nature Green Theme */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --nature-forest: #2d5016;
  --nature-green: #4a7c59;
  --nature-sage: #87a96b;
  --nature-mint: #c9e4ca;
  --nature-cream: #f7f9f3;
  --nature-earth: #8b4513;
  --nature-bark: #654321;
  --nature-moss: #8fbc8f;
  --nature-leaf: #228b22;
  --nature-gold: #daa520;

  --shadow-soft: 0 4px 20px rgba(45, 80, 22, 0.1);
  --shadow-medium: 0 8px 30px rgba(45, 80, 22, 0.15);
  --shadow-deep: 0 12px 40px rgba(45, 80, 22, 0.2);

  --font-primary: "Open Sans", sans-serif;
  --font-accent: "Merriweather", serif;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--nature-forest);
  background: var(--nature-cream);
  min-height: 100vh;
  font-weight: 400;
  background-image: radial-gradient(circle at 25% 25%, rgba(74, 124, 89, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(135, 169, 107, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}

.main {
  flex: 1;
}

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

/* Header with Nature Feel */
.site-header {
  background: linear-gradient(135deg, var(--nature-forest) 0%, var(--nature-green) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
  border-bottom: 3px solid var(--nature-sage);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid var(--nature-mint);
  box-shadow: var(--shadow-soft);
}

.site-name {
  font-family: var(--font-accent);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--nature-cream);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-name:hover {
  color: var(--nature-mint);
  text-shadow: 0 0 10px rgba(201, 228, 202, 0.5);
}

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

.site-nav a {
  color: var(--nature-cream);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.site-nav a:hover {
  background: var(--nature-sage);
  color: var(--nature-forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--nature-forest) 0%, var(--nature-green) 50%, var(--nature-sage) 100%);
  color: var(--nature-cream);
  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"><path d="M20,80 Q30,60 40,80 T60,80 T80,80" stroke="%23c9e4ca" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M10,70 Q20,50 30,70 T50,70 T70,70" stroke="%23c9e4ca" stroke-width="0.3" fill="none" opacity="0.2"/></svg>');
  animation: sway 15s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(10px);
  }
}

.section.head h1 {
  font-family: var(--font-accent);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.section.head p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

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

.section:nth-child(even) {
  background: var(--nature-mint);
}

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

.section header h2 {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  color: var(--nature-forest);
  margin-bottom: 1rem;
  position: relative;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--nature-sage), var(--nature-green));
  border-radius: 2px;
}

.section header p {
  font-size: 1.1rem;
  color: var(--nature-green);
  max-width: 600px;
  margin: 0 auto;
}

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

.casino-item {
  width: calc(33.333% - 1.5rem);
  min-width: 320px;
  background: var(--nature-cream);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(74, 124, 89, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.casino-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-deep);
}

.casino-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--nature-gold);
  color: var(--nature-forest);
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-medium);
}

.casino-header {
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--nature-mint), var(--nature-cream));
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--nature-sage);
}

.casino-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
  border-color: var(--nature-green);
}

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

.casino-name {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nature-forest);
  margin-bottom: 1rem;
}

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

.rating .stars {
  width: 120px;
  height: 22px;
  background: var(--nature-mint);
  border: 2px solid var(--nature-sage);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--nature-gold), var(--nature-leaf));
  transition: all 0.4s ease;
  border-radius: 15px;
}

.rating .text {
  color: var(--nature-forest);
  font-weight: 700;
  font-family: var(--font-accent);
}

.casino-body {
  padding: 2rem;
  background: var(--nature-cream);
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--nature-green), var(--nature-sage));
  color: var(--nature-cream);
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

.bonus-amount {
  font-size: 1.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-accent);
}

.free-spins {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

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

.feature-tag {
  background: var(--nature-mint);
  color: var(--nature-forest);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--nature-sage);
}

.feature-tag:hover {
  background: var(--nature-sage);
  color: var(--nature-cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.casino-details {
  margin-bottom: 2rem;
  background: var(--nature-mint);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--nature-sage);
}

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

.detail-item:hover {
  background: var(--nature-cream);
  padding-left: 2rem;
}

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

.detail-label {
  color: var(--nature-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-value {
  color: var(--nature-forest);
  font-weight: 700;
  font-family: var(--font-accent);
}

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--nature-green), var(--nature-sage));
  color: var(--nature-cream);
  padding: 1.2rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--nature-forest);
}

.casino-button:hover {
  background: linear-gradient(135deg, var(--nature-forest), var(--nature-green));
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
}

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

.faq-item {
  background: var(--nature-cream);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid var(--nature-mint);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--nature-sage);
}

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

.accordion-question:hover {
  background: var(--nature-mint);
}

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

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

.accordion-icon::before {
  width: 14px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
}

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

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2rem;
  color: var(--nature-green);
  line-height: 1.7;
  background: var(--nature-mint);
}

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

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--nature-forest) 0%, var(--nature-green) 100%);
  color: var(--nature-cream);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--nature-sage);
}

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

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

.footer-tagline {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

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

.footer-links a {
  color: var(--nature-cream);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-links a:hover {
  background: var(--nature-sage);
  color: var(--nature-forest);
  transform: translateY(-2px);
}

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

.copyright {
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: var(--font-accent);
}

/* Animations */
@keyframes growIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

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

/* Text Content */
.text-content {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--nature-cream);
  padding: 3rem;
  border-radius: 20px;
  line-height: 1.8;
  box-shadow: var(--shadow-medium);
  border: 2px solid var(--nature-mint);
}

.text-content h3 {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nature-forest);
  margin: 2rem 0 1rem;
}

.text-content p {
  margin-bottom: 1.5rem;
  color: var(--nature-green);
}

.text-content ul,
.text-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.text-content li {
  margin-bottom: 0.5rem;
  color: var(--nature-green);
}

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

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

main {
  flex: 1;
}
