/* assets/template/tpl-6/css/main.css - Minimalist Black & White Theme */

/* Base Styles and Variables */
:root {
  --primary: #000000;
  --primary-light: #333333;
  --primary-dark: #000000;
  --secondary: #6d28d9;
  --secondary-light: #8b5cf6;
  --secondary-dark: #5b21b6;
  --accent: #dc2626;
  --accent-light: #ef4444;
  --accent-dark: #b91c1c;
  --success: #16a34a;
  --success-light: #22c55e;
  --success-dark: #15803d;
  --dark: #111111;
  --darker: #000000;
  --light: #f5f5f5;
  --lighter: #ffffff;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --dark-gray: #374151;
  --card-bg: #ffffff;
  --card-bg-hover: #f9fafb;
  --body-bg: #f5f5f5;
  --text-primary: #111111;
  --text-secondary: #333333;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  --radius: 5px;
  --radius-lg: 8px;
  --radius-sm: 3px;
  --transition: all 0.3s ease;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --max-width: 1200px;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

/* Font Imports */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--body-bg);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--secondary);
}

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

/* Layout with Sidebar */
.main-with-sidebar {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

/* Header */
.aus_header {
  background-color: var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.aus_header .logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--lighter);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

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

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

.aus_header .quick-nav-list a {
  color: var(--light-gray);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.aus_header .quick-nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: right;
}

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

.aus_header .quick-nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

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

.aus_section:nth-child(even) {
  background-color: var(--lighter);
}

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

.aus_section header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.aus_section header h1,
.aus_section header h2 {
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.aus_section header h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.aus_section header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
}

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

.aus_section .content {
  position: relative;
}

/* Hero Section */
.aus_section.head {
  background-color: var(--primary);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.aus_section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 20px 20px;
  opacity: 0.5;
  z-index: 0;
}

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

.aus_section.head header h1 {
  color: var(--lighter);
  font-size: 4rem;
}

.aus_section.head header::after {
  background: var(--secondary);
}

.aus_section.head .content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-gray);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

/* 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: 30px;
  margin: 0 auto;
}

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

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

/* Casino Badge */
.casino-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--lighter);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 3px;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.casino-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 25px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.casino-logo {
  width: 360px;
  height: 120px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.casino-item:hover .casino-logo {
  border-color: var(--secondary);
}

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

.casino-title {
  width: 100%;
}

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

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

.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: 500;
}

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

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

.bonus-amount {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 8px;
}

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

/* Casino Details */
.casino-details {
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

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

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

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

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

.casino-button {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  border-radius: 3px;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.casino-button:hover {
  background: var(--secondary);
  color: var(--lighter);
  transform: translateY(-2px);
}

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

.text-content {
  background-color: var(--card-bg);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  position: relative;
}

.text-content p {
  margin-bottom: 25px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.text-content h3 {
  color: var(--text-primary);
  margin: 40px 0 20px;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

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

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

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

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.top-casino {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.top-casino-logo {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 5px;
}

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

.top-casino-bonus {
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.top-casino-spins {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.top-casino-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  border-radius: 3px;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.top-casino-button:hover {
  background: var(--secondary);
  color: var(--lighter);
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.toc-list a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

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

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

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

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

.faq-item.active {
  border-color: var(--secondary);
}

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

.accordion-question:hover {
  background-color: var(--card-bg-hover);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 15px;
}

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

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

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

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

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

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

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

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

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

.footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--lighter);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-nav a {
  color: var(--light-gray);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--secondary-light);
}

/* Responsible Gaming Icons */
.aus_logos_list {
  display: flex;
  flex-wrap: wrap;
  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 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.aus_logos_list .logo-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.aus_logos_list .ghelp .icon {
  color: var(--light-gray);
}

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

.aus_logos_list .northern .icon {
  color: var(--accent-light);
}

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

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

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

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

.f-center {
  float: none;
  text-align: center;
  margin: 0px auto 20px 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: 15px;
}

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

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

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

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

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

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