/* Template 4 - Clean Card-Based Design with Table of Contents */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: #f8fafc;
}

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

/* Header */
.aus_header {
  background: white;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2b6cb0;
  gap: 12px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.quick-nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.quick-nav-list a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  position: relative;
}

.quick-nav-list a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #2b6cb0;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.quick-nav-list a:hover {
  color: #2b6cb0;
  background: rgba(43, 108, 176, 0.05);
}

.quick-nav-list a:hover::before {
  width: 80%;
}

/* Main Layout */
.aus_main {
  background: white;
  margin: 2rem auto;
  border-radius: 25px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.main-wrapper {
  display: flex;
  min-height: 80vh;
}

.main-content {
  flex: 1;
  padding: 3rem;
}

/* Table of Contents */
.toc-container {
  width: 280px;
  background: linear-gradient(180deg, #edf2f7 0%, #e2e8f0 100%);
  padding: 2rem;
  position: sticky;
  top: 0;
  height: fit-content;
}

.toc-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid #2b6cb0;
}

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

.toc-nav li {
  margin-bottom: 0.8rem;
}

.toc-nav a {
  text-decoration: none;
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.toc-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: #2b6cb0;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.toc-nav a:hover {
  color: #2b6cb0;
  background: rgba(43, 108, 176, 0.1);
  transform: translateX(8px);
}

.toc-nav a:hover::before {
  height: 60%;
}

.toc-icon {
  font-size: 1.2rem;
}

/* Sections */
.aus_section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.aus_section:first-child {
  padding-top: 0;
}

.aus_section header h1,
.aus_section header h2,
.aus_section header h3 {
  color: #1a202c;
  margin-bottom: 1.5rem;
  position: relative;
}

.aus_section header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #2b6cb0;
  text-align: center;
  margin-bottom: 2rem;
}

.aus_section header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.aus_section header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2b6cb0 0%, #3182ce 100%);
  border-radius: 2px;
  transform: translateX(-50%);
}

/* Casino List */
.aus_casino_list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.casino-item {
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  width: calc(33.333% - 2rem);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid #e2e8f0;
}

.casino-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border-color: #2b6cb0;
}

.casino-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(237, 137, 54, 0.3);
}

.casino-logo {
  width: 360px;
  height: 120px;
  border-radius: 5px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

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

.casino-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
  text-align: center;
}

.aus_rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.stars {
  position: relative;
  width: 110px;
  height: 22px;
  background: url("/assets/images/stars-empty.svg") repeat-x;
  background-size: 22px 22px;
}

.stars .fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: url("/assets/images/stars-active.svg") repeat-x;
  background-size: 22px 22px;
}

.aus_rating .text {
  font-weight: 600;
  color: #2b6cb0;
  font-size: 1.1rem;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  border-radius: 20px;
}

.bonus-amount {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2b6cb0;
  margin-bottom: 0.5rem;
}

.free-spins {
  display: block;
  font-size: 1.1rem;
  color: #4a5568;
  font-weight: 500;
}

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

.feature-tag {
  background: rgba(43, 108, 176, 0.1);
  color: #2b6cb0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(43, 108, 176, 0.2);
}

.casino-details {
  margin-bottom: 2rem;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 15px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e2e8f0;
}

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

.detail-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 500;
}

.detail-label svg {
  width: 18px;
  height: 18px;
  color: #2b6cb0;
}

.detail-value {
  font-weight: 600;
  color: #1a202c;
  font-size: 0.95rem;
}

.casino-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #2b6cb0 0%, #3182ce 100%);
  color: white;
  text-decoration: none;
  padding: 1.2rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casino-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(43, 108, 176, 0.4);
  color: white;
  background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
}

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

.faq-item {
  background: white;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.accordion-question {
  width: 100%;
  background: none;
  border: none;
  padding: 2rem;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-question:hover {
  background: rgba(43, 108, 176, 0.03);
}

.accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2b6cb0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.accordion-icon::after {
  content: "+";
  color: white;
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.active .accordion-icon {
  background: #3182ce;
  transform: rotate(45deg);
}

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

.faq-item.active .accordion-answer {
  max-height: 300px;
}

.accordion-answer p {
  padding: 0 2rem 2rem;
  color: #4a5568;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Images */
img {
  max-width: 360px;
  height: auto;
  border-radius: 5px;
}

.f-left {
  float: left;
  margin: 0 2rem 1rem 0;
}

.f-right {
  float: right;
  margin: 0 0 1rem 2rem;
}

/* Text Content */
.text-content {
  line-height: 1.8;
  color: #4a5568;
  font-size: 1.05rem;
}

.text-content p {
  margin-bottom: 1.5rem;
}

.text-content h3 {
  color: #1a202c;
  margin: 2.5rem 0 1.5rem;
  font-weight: 600;
  font-size: 1.3rem;
}

/* Footer */
.aus_footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 600;
}

.footer-column p {
  color: #cbd5e0;
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.logo-item {
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: scale(1.1);
}

.logo-item svg {
  width: 70px;
  height: 45px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-item:hover svg {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.copyright {
  color: #cbd5e0;
  font-size: 1rem;
}

/* Animations */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: slideInFromLeft 0.8s ease forwards;
}

.slide-in-up {
  animation: slideInFromRight 0.8s ease forwards;
}
