/* Template 4 - Green Nature Theme */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --secondary: #16a34a;
  --secondary-dark: #15803d;
  --accent: #eab308;
  --success: #22c55e;
  --dark: #064e3b;
  --darker: #022c22;
  --light: #f0fdf4;
  --lighter: #ffffff;
  --gray: #6b7280;
  --light-gray: #d1fae5;
  --dark-gray: #374151;
  --text-primary: #064e3b;
  --text-secondary: #047857;
  --text-muted: #6b7280;
  --border-color: #bbf7d0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #059669 0%, #16a34a 100%);
  --gradient-secondary: linear-gradient(135deg, #16a34a 0%, #eab308 100%);
  --font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap");

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

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--light);
  line-height: 1.6;
  min-height: 100vh;
  background-image: radial-gradient(circle at 25% 25%, rgba(5, 150, 105, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(22, 163, 74, 0.1) 0%, transparent 50%);
}

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 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Table of Contents */
.toc-container {
  background: var(--lighter);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
}

.toc-container h3 {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.toc-container h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.toc-list li {
  background: rgba(5, 150, 105, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.toc-list a {
  display: block;
  padding: 12px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.toc-list a:hover {
  background: rgba(5, 150, 105, 0.1);
  border-left-color: var(--primary);
  color: var(--primary);
  padding-left: 25px;
}

/* Header */
.aus_header {
  background: var(--lighter);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--primary);
}

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

.aus_header .logo {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aus_header .logo img {
  max-height: 40px;
  width: auto;
}

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

.aus_header .quick-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}


.aus_header .quick-nav a:hover,
.aus_header .quick-nav a.active {
  color: var(--lighter);
}

.aus_header .quick-nav a:hover::before,
.aus_header .quick-nav a.active::before {
  left: 0;
}

/* Main Content */
.aus_main {
  min-height: calc(100vh - 80px);
}

/* Sections */
.aus_section {
  padding: 60px 0;
  position: relative;
}

.aus_section.head {
  background: var(--gradient-primary);
  color: var(--lighter);
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.aus_section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaves" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20,5 Q30,15 20,25 Q10,15 20,5" fill="rgba(255,255,255,0.1)"/><path d="M5,20 Q15,30 25,20 Q15,10 5,20" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23leaves)"/></svg>');
  opacity: 0.3;
}

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

.aus_section.head h1 {
  font-size: 3.6rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.aus_section.head p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Headers */
.aus_section header {
  text-align: center;
  margin-bottom: 50px;
}

.aus_section header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
  position: relative;
}

.aus_section header h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

.casino-item {
  background: var(--lighter);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  width: calc(33.333% - 20px);
  min-width: 300px;
  position: relative;
  border: 2px solid var(--border-color);
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.casino-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.2);
  border-color: var(--primary);
}

.casino-header {
  padding: 25px 20px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(22, 163, 74, 0.05) 100%);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

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

.casino-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.aus_rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.aus_rating .stars {
  width: 84px;
  height: 15px;
  background: url("../../../images/stars-empty.svg") left center / auto 100%;
  position: relative;
}

.aus_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);
}

.aus_rating .text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.casino-body {
  padding: 25px 20px;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.free-spins {
  color: var(--text-secondary);
  font-weight: 600;
}

.casino-details {
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  padding: 8px 12px;
  background: rgba(5, 150, 105, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.detail-label {
  color: var(--text-muted);
  font-weight: 600;
}

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

.casino-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--gradient-primary);
  color: var(--lighter);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.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 {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
  color: var(--lighter);
}

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

/* Text Content */
.text-content {
  background: var(--lighter);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
  border: 2px solid var(--border-color);
}

.text-content h3 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 30px 0 15px;
  position: relative;
  padding-left: 20px;
}

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

.text-content h3:first-child {
  margin-top: 0;
}

.text-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-content ul,
.text-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.text-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* FAQ */
.aus_faq_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--lighter);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

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

.faq-item.active {
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
  border-color: var(--primary);
}

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

.accordion-question:hover {
  background: rgba(5, 150, 105, 0.05);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  background: rgba(5, 150, 105, 0.1);
}

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

.accordion-icon::before {
  top: 11px;
  left: 6px;
  width: 14px;
  height: 2px;
}

.accordion-icon::after {
  top: 6px;
  left: 11px;
  width: 2px;
  height: 14px;
}

.faq-item.active .accordion-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.faq-item.active .accordion-icon::before,
.faq-item.active .accordion-icon::after {
  background: var(--lighter);
}

.faq-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-answer p {
  padding: 0 25px 25px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.aus_footer {
  background: var(--dark);
  color: var(--light-gray);
  padding: 60px 0 30px;
  position: relative;
}

.aus_footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

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

.footer-column h4 {
  color: var(--lighter);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.aus_logos_list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.aus_logos_list .logo-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.aus_logos_list .logo-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--primary);
}

.aus_logos_list .icon {
  width: 120px;
  height: 35px;
  opacity: 0.8;
}

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

.copyright {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Animations */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce-animation {
  animation: bounce 2s infinite;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-scale {
  animation: fadeInScale 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .aus_header .container {
    flex-direction: column;
    gap: 15px;
  }

  .aus_header .quick-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .aus_section.head h1 {
    font-size: 2.5rem;
  }

  .casino-item {
    width: 100%;
    min-width: auto;
  }

  .casino-logo {
    width: 300px;
    height: 100px;
  }

  .text-content {
    padding: 25px;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }
}

.quick-nav-list a {
  background-color: #63e392;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
}

.quick-nav-list a:hover {
  background-color: #63e392;
}