/* assets/template/tpl-10/css/main.css - Green & White Theme */

/* Base Styles and Variables */
:root {
  --primary: #16a34a;
  --primary-light: #22c55e;
  --primary-dark: #15803d;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --secondary-dark: #020617;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --success: #0ea5e9;
  --success-light: #38bdf8;
  --success-dark: #0284c7;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --dark-gray: #334155;
  --card-bg: #ffffff;
  --card-bg-hover: #f8fafc;
  --body-bg: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius: 5px;
  --radius-lg: 10px;
  --radius-sm: 3px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
  --font-sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", 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=Nunito:wght@300;400;500;600;700;800&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(--primary-dark);
}

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

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

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

.aus_header .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.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: 20px;
  margin: 0;
  padding: 0;
}

.aus_header .quick-nav-list a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.aus_header .quick-nav-list a:hover {
  color: var(--primary);
  background-color: rgba(22, 163, 74, 0.1);
}

.aus_header .quick-nav-list a.active {
  color: var(--primary);
  background-color: rgba(22, 163, 74, 0.15);
}

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

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

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

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

.aus_section header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
}

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

.aus_section header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

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

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

.aus_section .content {
  position: relative;
}

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

.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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></svg>');
  background-size: 100px 100px;
  z-index: 0;
}

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

.aus_section.head header h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  color: var(--lighter);
}

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

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

/* 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: 300px;
  max-width: 380px;
}

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

/* Casino Badge */
.casino-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--lighter);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  z-index: 10;
}

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

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

.casino-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
  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: 10px;
  margin-bottom: 15px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

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

.casino-title {
  width: 100%;
}

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

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

.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;
  padding: 0px 0px 0px 5px;
  color: var(--text-muted);
}

.aus_rating > .text + .stars {
  margin: 0px 0px 0px 10px;
}

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

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

.bonus-amount {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}

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

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

.feature-tag {
  background-color: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--primary);
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.feature-tag.fast {
  background-color: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.2);
  color: var(--success);
}

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

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

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

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

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

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

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

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

.casino-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.casino-button:hover {
  background: var(--primary-dark);
  color: var(--lighter);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

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

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

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

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

.text-content h3 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 1.4rem;
  font-weight: 700;
}

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

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

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

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

.accordion-question {
  padding: 20px;
  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);
}

.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 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-answer p {
  padding: 10px 0px 20px 0px;
  color: var(--text-secondary);
}

/* Game Categories */
.game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 40px;
}

.game-category {
  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);
  width: calc(33.333% - 14px);
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.game-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.game-category-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.game-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-category:hover .game-category-image img {
  transform: scale(1.05);
}

.game-category-content {
  padding: 20px;
}

.game-category-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.game-category-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.game-category-link {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  font-size: 0.9rem;
}

.game-category-link:hover {
  background: var(--primary-dark);
  color: var(--lighter);
  transform: translateY(-2px);
}

/* Footer */
.aus_footer {
  background-color: var(--secondary);
  color: var(--light-gray);
  padding: 60px 0 20px;
  position: relative;
  border-top: 4px solid var(--primary);
}

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

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

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

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

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

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

/* Responsible Gaming Icons */
.aus_logos_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 30px 0;
  padding: 30px 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 {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

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

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

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

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

/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.popup-content {
  background-color: var(--card-bg);
  margin: 10% auto;
  padding: 0;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

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

.popup-header {
  background-color: var(--primary);
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.popup-header h3 {
  color: var(--lighter);
  margin: 0;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 700;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--lighter);
  cursor: pointer;
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--light);
}

.popup-body {
  padding: 30px;
}

.popup-casino-logo {
  background-color: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin: 0 auto 25px;
  max-width: 200px;
  border: 1px solid var(--border-color);
}

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

.popup-casino-info h4 {
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-primary);
}

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

.popup-bonus-amount {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}

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

.popup-casino-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.popup-feature-tag {
  background-color: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: var(--primary);
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.popup-casino-button {
  display: block;
  padding: 15px 25px;
  background: var(--primary);
  color: var(--lighter);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

.popup-casino-button:hover {
  background: var(--primary-dark);
  color: var(--lighter);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

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

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

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

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

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

.pulse {
  animation: pulse 2s infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  backgroun: var(--primary-dark);
}
