/* assets/template/tpl-4/css/main.css */

/* Base Styles and Variables */
:root {
  --primary: #059669;
  --primary-light: #10b981;
  --primary-dark: #047857;
  --secondary: #7c3aed;
  --secondary-light: #8b5cf6;
  --secondary-dark: #6d28d9;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --success: #22c55e;
  --warning: #eab308;
  --error: #ef4444;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --dark-gray: #475569;
  --card-bg: #ffffff;
  --card-bg-hover: #f8fafc;
  --body-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --radius: 5px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-sm: 3px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --max-width: 1200px;
  --gradient-primary: linear-gradient(135deg, #059669 0%, #047857 100%);
  --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--body-bg);
  line-height: 1.7;
  font-size: 16px;
  background-image: radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
  background-attachment: fixed;
}

img {
  max-width: 360px;
  height: auto;
  border-radius: var(--radius);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
.aus_header {
  background: var(--lighter);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.aus_header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.aus_header .logo {
  font-weight: 900;
  font-size: 2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.aus_header .logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
}

.aus_header .logo img {
  max-height: 50px;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Quick Navigation in Header */
.aus_header .quick-nav {
  display: flex;
  align-items: center;
}

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

.aus_header .quick-nav-list a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
}

.aus_header .quick-nav-list a:hover {
  color: var(--primary);
  background: var(--gradient-primary);
  color: var(--lighter);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.aus_header .quick-nav-list a.active {
  background: var(--gradient-primary);
  color: var(--lighter);
  box-shadow: var(--shadow);
}

/* Main Content */
.aus_main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Table of Contents */
.table-of-contents {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

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

.toc-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 25px;
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

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

.toc-list li {
  margin: 0;
}

.toc-list a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 15px 20px;
  border-radius: var(--radius-lg);
  display: block;
  transition: var(--transition);
  background: var(--lighter);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.toc-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: 0;
}

.toc-list a span {
  position: relative;
  z-index: 1;
}

.toc-list a:hover {
  color: var(--lighter);
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.toc-list a:hover::before {
  width: 100%;
}

/* Section Styles */
.aus_section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.aus_section header {
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.aus_section header h1,
.aus_section header h2 {
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.aus_section header h1 {
  font-size: 3.8rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 25px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.aus_section header h2 {
  font-size: 2.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 20px;
}

.aus_section header p {
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

.aus_section .content {
  position: relative;
}

/* Hero Section */
.aus_section.head {
  background: var(--gradient-hero);
  color: var(--lighter);
  padding: 120px 0 100px;
  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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  z-index: 0;
}

.aus_section.head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--body-bg) 0%, transparent 100%);
  z-index: 1;
}

.aus_section.head header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.aus_section.head header h1 {
  font-size: 4.5rem;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  color: var(--lighter);
  background: none;
  -webkit-text-fill-color: var(--lighter);
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.aus_section.head .content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
  line-height: 1.9;
}

/* Casino List Section */
.aus_section.cs-list {
  background-color: var(--body-bg);
  position: relative;
}

.aus_casino_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin: 0 auto;
}

.casino-item {
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  width: calc(33.333% - 24px);
  min-width: 360px;
  max-width: 400px;
}

.casino-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

/* Casino Badge */
.casino-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--gradient-accent);
  color: var(--lighter);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.casino-badge.hot {
  background: var(--gradient-secondary);
}

.casino-badge.new {
  background: var(--gradient-primary);
}

.casino-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 30px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--lighter) 0%, var(--light) 100%);
}

.casino-logo {
  width: 360px;
  height: 120px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 25px;
  transition: var(--transition);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.casino-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: var(--transition);
}

.casino-item:hover .casino-logo {
  border-color: var(--primary);
  transform: scale(1.05);
}

.casino-item:hover .casino-logo::before {
  transform: translateX(100%);
}

.casino-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  z-index: 1;
  position: relative;
}

.casino-title {
  width: 100%;
}

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

/* Star Rating Display */
.aus_rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.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: 0px;
  top: 0px;
  height: 100%;
  background: url("../../../images/stars-active.svg") left center / auto 100%;
}

.aus_rating > .text {
  line-height: 15px;
  color: var(--text-muted);
  font-weight: 700;
}

.casino-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 30px;
}

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

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

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

/* Casino Features */
.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}

.feature-tag {
  background-color: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--primary);
  font-size: 0.9rem;
  padding: 8px 15px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: var(--transition);
}

.feature-tag:hover {
  background-color: rgba(5, 150, 105, 0.15);
  transform: translateY(-2px);
}

.feature-tag.fast-withdrawals {
  background-color: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--primary);
}

.feature-tag.crypto-accepted {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: var(--accent);
}

.feature-tag.vip-program {
  background-color: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  color: var(--secondary);
}

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

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  align-items: center;
  padding: 10px 0;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-label svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

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

.casino-action {
  margin-top: auto;
  text-align: center;
}

.casino-button {
  display: inline-block;
  padding: 18px 35px;
  background: var(--gradient-primary);
  color: var(--lighter);
  font-weight: 800;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.casino-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-secondary);
  transition: var(--transition);
  z-index: -1;
}

.casino-button:hover {
  color: var(--lighter);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

/* Text Block Section */
.aus_section.tx-block {
  background-color: var(--body-bg);
  position: relative;
}

.text-content {
  background: var(--gradient-card);
  padding: 60px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  line-height: 1.9;
  position: relative;
  overflow: hidden;
}

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

.text-content p {
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.text-content p:last-child {
  margin-bottom: 0;
}

.text-content h3 {
  color: var(--text-primary);
  margin: 45px 0 25px;
  font-size: 1.8rem;
  font-weight: 800;
}

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

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

.text-content li {
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* FAQ Section */
.aus_section.faq-block {
  background-color: var(--body-bg);
  position: relative;
}

.aus_faq_list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-item {
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: 0;
  opacity: 0.05;
}

.faq-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.faq-item:hover::before {
  width: 100%;
}

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

.accordion-question {
  padding: 30px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
}

.accordion-question:hover {
  color: var(--primary);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  position: relative;
  transition: var(--transition);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.accordion-icon::before {
  top: 13px;
  left: 0;
  width: 28px;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 13px;
  width: 2px;
  height: 28px;
}

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

.accordion-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  position: relative;
  z-index: 1;
}

.accordion-answer p {
  padding: 20px 0px 30px 0px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer */
.aus_footer {
  background: var(--gradient-hero);
  color: var(--lighter);
  padding: 100px 0 40px;
  position: relative;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-column {
  flex: 1;
  min-width: 300px;
}

.footer-title {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--lighter);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 20px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--lighter);
  border-radius: var(--radius);
}

/* Responsible Gaming Icons */
.aus_logos_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin: 50px 0;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.aus_logos_list .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  backdrop-filter: blur(20px);
}

.aus_logos_list .logo-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-xl);
  background-color: rgba(255, 255, 255, 0.2);
}

.aus_logos_list .icon {
  height: 40px;
  fill: currentColor;
}

.aus_logos_list .plus-18 .icon {
  color: var(--lighter);
}

.aus_logos_list .ghelp .icon {
  color: rgba(255, 255, 255, 0.95);
}

.aus_logos_list .acma .icon {
  color: var(--lighter);
}

.aus_logos_list .northern .icon {
  color: rgba(255, 255, 255, 0.95);
}

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

.copyright {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Image Floating */
.f-right {
  float: right;
  text-align: right;
  margin: 0px 0px 15px 15px;
}

.f-left {
  float: left;
  text-align: left;
  margin: 0px 15px 15px 0px;
}

.f-center {
  float: none;
  text-align: center;
  margin: 0px auto 15px auto;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 20px;
}

.mb-2 {
  margin-bottom: 40px;
}

.mb-3 {
  margin-bottom: 60px;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 20px;
}

.mt-2 {
  margin-top: 40px;
}

.mt-3 {
  margin-top: 60px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-in-up {
  animation: slideInUp 1s ease-in-out;
}

.slide-in-right {
  animation: slideInRight 1s ease-in-out;
}

.bounce-in {
  animation: bounceIn 1.2s ease-in-out;
}

.pulse {
  animation: pulse 2.5s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: var(--light);
  border-radius: var(--radius);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}
