/* assets/template/tpl-7/css/main.css - Colorful Gradient Theme */

/* Base Styles and Variables */
:root {
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --secondary-dark: #0891b2;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --success: #10b981;
  --success-light: #34d399;
  --success-dark: #059669;
  --danger: #ef4444;
  --danger-light: #f87171;
  --danger-dark: #dc2626;
  --dark: #1e293b;
  --darker: #0f172a;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --dark-gray: #334155;
  --card-bg: #ffffff;
  --card-bg-hover: #f1f5f9;
  --body-bg: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(139, 92, 246, 0.1);
  --shadow-lg: 0 20px 25px rgba(139, 92, 246, 0.15);
  --radius: 5px;
  --radius-lg: 16px;
  --radius-sm: 3px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    sans-serif;
  --max-width: 1200px;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  --gradient-tertiary: linear-gradient(135deg, var(--accent) 0%, var(--danger) 100%);
  --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 25%, #10b981 50%, #f59e0b 75%, #ef4444 100%);
  --gradient-rainbow: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981, #f59e0b, #ef4444);
}

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

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  line-height: 1.6;
  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(--gradient-hero);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.aus_header .logo {
  font-weight: 700;
  font-size: 2rem;
  color: var(--lighter);
  display: flex;
  align-items: center;
  gap: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.aus_header .logo::before {
  content: "🌈";
  font-size: 2.2rem;
  animation: pulse 2s infinite;
}

.aus_header .logo img {
  max-height: 50px;
  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: 30px;
  margin: 0;
  padding: 0;
}

.aus_header .quick-nav-list a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 10px 20px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
}

.aus_header .quick-nav-list a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-rainbow);
  border-radius: 30px;
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

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

.aus_header .quick-nav-list a:hover::before {
  opacity: 1;
}

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

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

.aus_section:nth-child(odd) {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.aus_section:nth-child(even) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
}

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

.aus_section header::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-rainbow);
  border-radius: 3px;
}

.aus_section header h1,
.aus_section header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.aus_section header h1 {
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  line-height: 1.2;
}

.aus_section header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  line-height: 1.3;
}

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

.aus_section .content {
  position: relative;
}

/* Hero Section */
.aus_section.head {
  background: var(--gradient-hero);
  padding: 150px 0 120px;
  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="rainbow" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23rainbow)"/></svg>');
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

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

.aus_section.head header h1 {
  color: var(--lighter);
  background: none;
  -webkit-text-fill-color: var(--lighter);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-size: 4.5rem;
}

.aus_section.head header::after {
  background: rgba(255, 255, 255, 0.4);
  width: 120px;
}

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

/* Casino List Section */
.aus_section.cs-list {
  position: relative;
}

.aus_casino_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  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: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  flex-direction: column;
  width: calc(33.333% - 27px);
  min-width: 320px;
  max-width: 400px;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-rainbow);
  border-radius: var(--radius-lg);
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  opacity: 0;
  transition: var(--transition);
}

.casino-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
}

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

/* Casino Badge */
.casino-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: var(--lighter);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  animation: pulse 2s infinite;
}

.casino-badge.hot {
  background: var(--gradient-tertiary);
  animation: pulse 1.5s infinite;
}

.casino-badge.new {
  background: var(--gradient-secondary);
  animation: pulse 2.5s infinite;
}

.casino-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 30px;
  border-bottom: 2px solid var(--border-color);
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
}

.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: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.casino-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
  transition: var(--transition);
}

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

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

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

.casino-title {
  width: 100%;
}

.casino-name {
  font-weight: 700;
  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: 500;
}

.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: 2px solid var(--border-color);
  position: relative;
}

.casino-bonus::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gradient-rainbow);
}

.bonus-amount {
  font-weight: 700;
  font-size: 2.2rem;
  background: var(--gradient-hero);
  -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: 500;
}

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

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  align-items: center;
  padding: 12px 15px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

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

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

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

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

.casino-button {
  display: inline-block;
  padding: 18px 36px;
  background: var(--gradient-hero);
  color: var(--lighter);
  font-weight: 600;
  border-radius: 35px;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.casino-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition);
}

.casino-button:hover {
  color: var(--lighter);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

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

/* Text Block Section */
.aus_section.tx-block {
  position: relative;
}

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

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

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

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

.text-content h3 {
  color: var(--text-primary);
  margin: 50px 0 25px;
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  padding-left: 30px;
}

.text-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 30px;
  background: var(--gradient-rainbow);
  border-radius: 3px;
}

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

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

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

/* FAQ Section */
.aus_section.faq-block {
  position: relative;
}

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

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

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-rainbow);
  opacity: 0;
  transition: var(--transition);
}

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

.faq-item:hover::before {
  opacity: 1;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.faq-item.active::before {
  opacity: 1;
}

.accordion-question {
  padding: 30px;
  background-color: var(--card-bg);
  color: var(--text-primary);
  font-weight: 600;
  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;
}

.accordion-question:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

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

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--gradient-rainbow);
  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 cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Footer */
.aus_footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  color: var(--text-secondary);
  padding: 100px 0 40px;
  position: relative;
  border-top: 6px solid;
  border-image: var(--gradient-rainbow) 1;
}

.aus_footer::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="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(139,92,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
  z-index: 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

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

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

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

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

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

.footer-nav a {
  color: var(--light-gray);
  transition: var(--transition);
  font-size: 1.1rem;
  position: relative;
  padding-left: 20px;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gradient-rainbow);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--lighter);
  transform: translateX(10px);
}

.footer-nav a:hover::before {
  opacity: 1;
}

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

.aus_logos_list .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: var(--radius-lg);
  padding: 25px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.aus_logos_list .logo-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.aus_logos_list .icon {
  width: 150px;
  height: 45px;
  fill: currentColor;
}

.aus_logos_list .plus-18 .icon {
  color: var(--primary-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: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.copyright {
  font-size: 1.1rem;
  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;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.pulse {
  animation: pulse 2s infinite;
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* 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;
}
