/* Template 4 - Luxury Gold & Black Theme */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Lato:wght@300;400;700;900&display=swap");

:root {
  --primary: #d4af37;
  --primary-dark: #b8941f;
  --primary-light: #e6c757;
  --secondary: #8b0000;
  --accent: #ff6b35;
  --success: #28a745;
  --dark: #000000;
  --darker: #0a0a0a;
  --light: #1a1a1a;
  --lighter: #2d2d2d;
  --gray: #666666;
  --light-gray: #333333;
  --border-color: #444444;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
  --shadow-lg: 0 16px 64px rgba(212, 175, 55, 0.4);
  --gradient-primary: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
  --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  --font-family: "Lato", sans-serif;
  --font-display: "Cinzel", serif;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  background-image: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 40%),
    linear-gradient(45deg, transparent 48%, rgba(212, 175, 55, 0.02) 50%, transparent 52%);
  background-size: 100% 100%, 100% 100%, 30px 30px;
}

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

.f-left {
  float: left;
  margin: 0 20px 20px 0;
}
.f-right {
  float: right;
  margin: 0 0 20px 20px;
}
.f-center {
  display: block;
  margin: 0 auto 20px;
}

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

/* Luxury decorative elements */
.luxury-border {
  position: relative;
}

.luxury-border::before,
.luxury-border::after {
  content: "";
  position: absolute;
  background: var(--gradient-primary);
  z-index: 1;
}

.luxury-border::before {
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.luxury-border::after {
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
}

/* Header */
.aus_header {
  background: var(--gradient-dark);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

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

.aus_header .logo {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.aus_header .logo::after {
  content: "♠";
  margin-left: 10px;
  color: var(--secondary);
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.aus_header .logo:hover {
  color: var(--primary-light);
  transform: scale(1.05);
  text-shadow: 0 0 20px var(--primary);
}

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

.aus_header .quick-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(45deg, transparent, transparent);
}

.aus_header .quick-nav a:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Main Content */
.aus_main {
  min-height: calc(100vh - 80px);
}

.aus_section {
  padding: 80px 0;
  position: relative;
}

.aus_section.head {
  background: var(--gradient-dark);
  text-align: center;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.aus_section.head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="luxury" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25 0L50 25L25 50L0 25Z" fill="none" stroke="%23d4af37" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23luxury)"/></svg>');
  animation: luxuryPattern 30s linear infinite;
}

@keyframes luxuryPattern {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(50px, 50px) rotate(360deg);
  }
}

.aus_section.head .container {
  position: relative;
  z-index: 1;
}

.aus_section.head h1 {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 30px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
  position: relative;
}

.aus_section.head h1::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 20px var(--primary);
}

.aus_section.head p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  font-style: italic;
}

/* Section Headers */
.aus_section header {
  text-align: center;
  margin-bottom: 70px;
}

.aus_section header h2 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
}

.aus_section header h2::before,
.aus_section header h2::after {
  content: "◆";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 2rem;
}

.aus_section header h2::before {
  left: -60px;
}

.aus_section header h2::after {
  right: -60px;
}

/* Casino List */
.aus_casino_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 0 auto;
}

.casino-item {
  background: var(--light);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.5s ease;
  width: calc(33.333% - 27px);
  min-width: 300px;
  border: 3px solid var(--primary);
  position: relative;
}

.casino-item::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.casino-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.casino-header {
  padding: 40px 30px;
  text-align: center;
  border-bottom: 2px solid var(--primary);
  background: rgba(212, 175, 55, 0.05);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--primary);
  background: var(--darker);
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.3);
  position: relative;
}

.casino-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

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

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

.casino-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.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;
  filter: hue-rotate(45deg) saturate(2);
}

.aus_rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: url("../../../images/stars-active.svg") left center / auto 100%;
  filter: hue-rotate(45deg) saturate(2) drop-shadow(0 0 5px var(--primary));
}

.aus_rating .text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.casino-body {
  padding: 40px 30px;
}

.casino-bonus {
  text-align: center;
  margin-bottom: 30px;
}

/* Footer */
.aus_footer {
  background: var(--gradient-dark);
  color: var(--text-primary);
  padding: 80px 0 40px;
  margin-top: auto;
  border-top: 4px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(212, 175, 55, 0.3);
  position: relative;
}

.aus_footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  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="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
}

.footer-title {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.footer-nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

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

.aus_footer .footer-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 50px 0;
  position: relative;
  z-index: 1;
}

.aus_footer .icon {
  display: inline-block;
  width: 145px;
  height: 40px;
  padding: 8px 12px;
  background: var(--light);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.aus_footer .icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.aus_footer .icon:hover::before {
  left: 0;
}

.aus_footer .icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: var(--dark);
}

.aus_footer .icon.plus-18 {
  color: #dc2626;
}
.aus_footer .icon.ghelp {
  color: #28a745;
}
.aus_footer .icon.acma {
  color: #007bff;
}
.aus_footer .icon use {
  fill: currentColor;
}

/* Popup */
.popup-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-dark);
  color: var(--text-primary);
  padding: 50px;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  max-width: 600px;
  width: 90%;
  text-align: center;
  display: none;
  position: relative;
}

.popup-banner::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: var(--gradient-primary);
  z-index: -1;
}

.popup-banner.show {
  display: block;
  animation: luxurySlide 0.8s ease-out;
}

@keyframes luxurySlide {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  backdrop-filter: blur(5px);
}

.popup-overlay.show {
  display: block;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
}

.popup-banner h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.popup-banner .popup-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--dark);
  padding: 20px 40px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid var(--primary);
}

.popup-banner .popup-button:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

/* FAQ Accordion */
.accordion-question {
  background: var(--light);
  border: 2px solid var(--primary);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  padding: 25px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-question:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.2);
}

.accordion-icon {
  float: right;
  transition: transform 0.3s ease;
  color: var(--primary);
  font-size: 1.5rem;
}

.faq-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 25px;
  color: var(--text-secondary);
  background: var(--lighter);
  border: 2px solid var(--primary);
  border-top: none;
  margin-bottom: 20px;
}

.faq-item.open .accordion-answer {
  max-height: 500px;
  padding: 25px;
}
