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

:root {
  --green-primary: #2d5a27;
  --green-secondary: #4a7c59;
  --green-accent: #7fb069;
  --green-light: #b7ce63;
  --green-pale: #f0f8e8;
  --green-white: #ffffff;
  --green-gray: #f8f9fa;
  --green-dark: #1a3d16;
  --green-orange: #ff8c42;
  --green-success: #28a745;

  --shadow-green: 0 8px 25px rgba(45, 90, 39, 0.15);
  --shadow-light: 0 4px 15px rgba(45, 90, 39, 0.1);
  --shadow-strong: 0 12px 35px rgba(45, 90, 39, 0.2);

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "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.6;
  color: var(--green-dark);
  background: var(--green-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

/* Top Bar Header */
.top-bar {
  background: var(--green-primary);
  color: var(--green-white);
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 2rem;
}

.top-bar-social {
  display: flex;
  gap: 1rem;
}

.top-bar-social a {
  color: var(--green-white);
  text-decoration: none;
  padding: 0.3rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.top-bar-social a:hover {
  background: var(--green-accent);
}

/* Main Header */
.site-header {
  background: var(--green-white);
  box-shadow: var(--shadow-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.site-logo img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 2px solid var(--green-primary);
}

.site-name {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-primary);
  text-decoration: none;
}

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

.site-nav a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

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

.site-nav a:hover {
  color: var(--green-primary);
}

.site-nav a:hover::after {
  width: 80%;
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-secondary) 100%);
  color: var(--green-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,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  background-size: 100px 100px;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100px 100px;
  }
}

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

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

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

.section:nth-child(even) {
  background: var(--green-pale);
}

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

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

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--green-accent);
  border-radius: 2px;
}

.section header p {
  font-size: 1.2rem;
  color: var(--green-dark);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.8;
}

/* 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(--green-white);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-accent), var(--green-light));
}

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

.casino-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--green-orange);
  color: var(--green-white);
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 15px;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.casino-header {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--green-white);
}

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

.casino-logo:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-green);
}

.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(--green-primary);
  margin-bottom: 1.5rem;
}

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

.rating .stars {
  width: 120px;
  height: 22px;
  background: var(--green-pale);
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--green-accent);
}

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

.rating .text {
  color: var(--green-primary);
  font-weight: 700;
  font-family: var(--font-secondary);
}

.casino-body {
  padding: 0 2rem 2.5rem;
  background: var(--green-white);
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  color: var(--green-white);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--green-accent), var(--green-light), var(--green-accent));
  border-radius: 15px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.free-spins {
  font-size: 1.1rem;
  font-weight: 500;
}

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

.feature-tag {
  background: var(--green-pale);
  color: var(--green-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid var(--green-accent);
}

.feature-tag:hover {
  background: var(--green-accent);
  color: var(--green-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

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

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

.detail-item:hover {
  background: var(--green-pale);
}

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

.detail-label {
  color: var(--green-dark);
  font-weight: 500;
  opacity: 0.8;
}

.detail-value {
  color: var(--green-primary);
  font-weight: 700;
  font-family: var(--font-secondary);
}

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

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--green-primary), var(--green-accent));
  color: var(--green-white);
  padding: 1.2rem 2.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-light);
  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.2), transparent);
  transition: left 0.5s ease;
}

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

.casino-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

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

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

.faq-item:hover {
  box-shadow: var(--shadow-green);
  border-color: var(--green-accent);
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-primary);
  padding: 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(--green-pale);
}

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

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--green-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(--green-orange);
}

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

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

/* Footer */
.footer {
  background: var(--green-primary);
  color: var(--green-white);
  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: 400px;
}

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

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

.footer-links a {
  color: var(--green-white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a:hover {
  background: var(--green-accent);
  border-color: var(--green-accent);
  transform: translateY(-2px);
}

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

.copyright {
  font-size: 1rem;
  opacity: 0.8;
}

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

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

/* Text Content */
.text-content {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--green-white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  line-height: 1.8;
  border: 1px solid var(--green-pale);
}

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

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

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

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