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

:root {
  --forest-darkest: #0f2027;
  --forest-dark: #203a43;
  --forest-medium: #2c5530;
  --forest-light: #4a7c59;
  --forest-bright: #68a085;
  --forest-pale: #a8d5ba;
  --forest-mint: #d4f1e8;
  --forest-white: #fafffe;
  --forest-accent: #ff6b6b;
  --forest-gold: #ffd93d;
  --forest-sage: #9caf88;

  --shadow-natural: 0 4px 20px rgba(44, 85, 48, 0.15);
  --shadow-deep: 0 8px 30px rgba(44, 85, 48, 0.25);
  --shadow-floating: 0 15px 40px rgba(44, 85, 48, 0.2);

  --font-primary: "Nunito", sans-serif;
  --font-secondary: "Merriweather", serif;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--forest-dark);
  background: linear-gradient(135deg, var(--forest-mint) 0%, var(--forest-white) 100%);
  min-height: 100vh;
  font-weight: 400;
}

.main {
  flex: 1;
}

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

/* Header */
.site-header {
  background: rgba(250, 255, 254, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--forest-pale);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-natural);
}

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

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

.site-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--forest-light);
}

.site-name {
  font-family: var(--font-secondary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--forest-dark);
  text-decoration: none;
}

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

.site-nav a {
  color: var(--forest-medium);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--forest-white);
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-natural);
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--forest-light) 0%, var(--forest-bright) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
}

.section.head h1 {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section.head p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

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

.section:nth-child(even) {
  background: var(--forest-white);
}

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

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

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

.section header p {
  font-size: 1.2rem;
  color: var(--forest-medium);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

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

.casino-item {
  width: calc(33.333% - 1.75rem);
  min-width: 320px;
  background: transparent;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.casino-item:hover {
  transform: translateY(-12px) scale(1.02);
}

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

.casino-header {
  padding: 2.5rem;
  text-align: center;
  background: white;
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow-natural);
  border: 1px solid var(--forest-pale);
}

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

.casino-logo:hover {
  transform: scale(1.08) rotate(1deg);
  box-shadow: var(--shadow-floating);
  border-color: var(--forest-light);
}

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

.casino-name {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest-dark);
  margin-bottom: 1.5rem;
}

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

.rating .stars {
  width: 140px;
  height: 24px;
  background: var(--forest-pale);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--forest-mint);
}

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

.rating .text {
  color: var(--forest-medium);
  font-weight: 700;
  font-size: 1.1rem;
}

.casino-body {
  padding: 2.5rem;
  background: white;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-natural);
  border: 1px solid var(--forest-pale);
  border-top: none;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--forest-light), var(--forest-bright));
  border-radius: 15px;
  color: white;
  box-shadow: var(--shadow-deep);
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.8rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.free-spins {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 600;
}

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

.feature-tag {
  background: var(--forest-mint);
  color: var(--forest-dark);
  padding: 0.7rem 1.3rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--forest-pale);
}

.feature-tag:hover {
  background: var(--forest-light);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-natural);
}

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

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

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

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

.detail-label {
  color: var(--forest-medium);
  font-weight: 600;
}

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

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--forest-light), var(--forest-bright));
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.casino-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
  background: linear-gradient(135deg, var(--forest-bright), var(--forest-gold));
}

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

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-natural);
  border: 2px solid var(--forest-pale);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-deep);
  border-color: var(--forest-light);
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-dark);
  padding: 2rem 2.5rem;
  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(--forest-mint);
}

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

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: white;
  transition: all 0.3s ease;
}

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

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

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

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2.5rem;
  color: var(--forest-medium);
  line-height: 1.8;
  font-weight: 500;
}

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

/* Footer */
.footer {
  background: var(--forest-dark);
  color: var(--forest-pale);
  padding: 4rem 0 2rem;
}

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

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

.footer-tagline {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  font-weight: 500;
}

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

.footer-links a {
  color: var(--forest-pale);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

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

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

.copyright {
  font-size: 0.95rem;
  opacity: 0.8;
  font-weight: 500;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInScale 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;
}

/* Text Content */
.text-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 4rem;
  border-radius: 20px;
  box-shadow: var(--shadow-deep);
  line-height: 1.9;
  border: 2px solid var(--forest-pale);
}

.text-content h3 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--forest-dark);
  margin: 2.5rem 0 1.5rem;
}

.text-content p {
  margin-bottom: 1.8rem;
  color: var(--forest-medium);
  font-weight: 500;
}

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

.text-content li {
  margin-bottom: 0.8rem;
  color: var(--forest-medium);
  font-weight: 500;
}

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

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

main {
flex: 1;
}