/* Template 3 - Modern Minimalist Light Theme */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #f59e0b;
  --accent: #10b981;
  --success: #059669;
  --danger: #dc2626;
  --dark: #1f2937;
  --light: #f8fafc;
  --lighter: #ffffff;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
  --border-color: #d1d5db;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --font-family: "Inter", sans-serif;
  --font-display: "Playfair Display", 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(--light);
  line-height: 1.6;
  min-height: 100vh;
  background-image: radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
}

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

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

.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.5rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
}

.aus_header .logo:hover {
  color: var(--primary-dark);
  transform: scale(1.05);
}

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

.aus_header .quick-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.aus_header .quick-nav a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

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

.aus_section {
  padding: 80px 0;
}

.aus_section.head {
  background: linear-gradient(135deg, var(--lighter) 0%, rgba(37, 99, 235, 0.05) 100%);
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.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 60 60"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232563eb" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

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

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

.aus_section.head h1 {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  line-height: 1.1;
}

.aus_section.head p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

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

.aus_section header h2 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  position: relative;
}

.aus_section header h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

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

.casino-item {
  background: var(--lighter);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  width: calc(33.333% - 20px);
  min-width: 300px;
  border: 1px solid var(--border-color);
  position: relative;
}

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

.casino-header {
  padding: 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--light-gray);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--light-gray);
  background: var(--light);
  transition: all 0.3s ease;
}

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

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

.casino-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

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

.casino-body {
  padding: 32px 24px;
}

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

/* Footer */
.aus_footer {
  background: var(--text-primary);
  color: var(--lighter);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-title {
  color: var(--lighter);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

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


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

.popup-banner.show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

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

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
}

.popup-banner h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.popup-banner .popup-button {
  display: inline-block;
  background: var(--primary);
  color: var(--lighter);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.popup-banner .popup-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* FAQ Accordion */
.accordion-question {
  background: var(--lighter);
  border: 1px solid var(--border-color);
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.accordion-question:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
}

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

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

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  color: var(--text-secondary);
  background: var(--light);
  border-radius: 0 0 8px 8px;
  margin-bottom: 16px;
}

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

.aus_footer .icon use {

fill: #ffffff !important;

.aus_footer .icon {
display: inline-block;
vertical-align: middle;
margin: 0 15px;
width: 64px;
height: auto;
}

.aus_footer .footer-icons {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 30px;
padding: 30px 0;
}

/* === Горизонтальные h3 вне .faq-item === */

/* Обертка: превращаем все соседние h3 в одну строку */
h2 + h3,
h3 + h3 {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.4rem 0.8rem;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: normal;
}

/* Исключение: h3 внутри FAQ не трогаем */
.faq-item h3 {
  display: block !important;
  margin: revert !important;
  padding: revert !important;
  background: none !important;
  border-radius: 0 !important;
  font-weight: bold;
}