/* Template 5 - Red Gold Luxury Theme */
:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #ef4444;
  --secondary: #d97706;
  --secondary-dark: #b45309;
  --accent: #fbbf24;
  --success: #16a34a;
  --dark: #7f1d1d;
  --darker: #450a0a;
  --light: #fef2f2;
  --lighter: #ffffff;
  --gray: #6b7280;
  --light-gray: #fecaca;
  --dark-gray: #374151;
  --text-primary: #7f1d1d;
  --text-secondary: #991b1b;
  --text-muted: #6b7280;
  --border-color: #fecaca;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #dc2626 0%, #d97706 100%);
  --gradient-secondary: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --font-family: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");

* {
  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: var(--light);
  line-height: 1.6;
  min-height: 100vh;
  background-image: radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(217, 119, 6, 0.1) 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 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Popup Banner */
.popup-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-primary);
  color: var(--lighter);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  max-width: 500px;
  width: 90%;
  text-align: center;
  display: none;
  animation: popupSlideIn 0.5s ease-out;
}

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

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

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

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

.popup-banner h3 {
  font-family: var(--font-family);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-banner p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.popup-banner .popup-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: var(--lighter);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popup-banner .popup-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

.aus_header .logo {
  color: var(--primary);
  font-family: var(--font-family);
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.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: 600;
  padding: 12px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
}

.aus_header .quick-nav a {
  background: var(--gradient-primary); /* или solid цвет, например: #d4418e */
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-weight: 600;
}

.aus_header .quick-nav a:hover {
  opacity: 0.85;
}

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

.aus_header .quick-nav a:hover::before,
.aus_header .quick-nav a.active::before {
  left: 0;
}

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

/* Sections */
.aus_section {
  padding: 60px 0;
  position: relative;
}

.aus_section.head {
  background: var(--gradient-primary);
  color: var(--lighter);
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

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

.aus_section.head h1 {
  font-family: var(--font-family);
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.aus_section.head p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
}

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

.aus_section header h2 {
  font-family: var(--font-family);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.aus_section header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  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: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  width: calc(33.333% - 20px);
  min-width: 300px;
  position: relative;
  border: 3px solid var(--border-color);
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-gold);
}

.casino-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(220, 38, 38, 0.3);
  border-color: var(--primary);
}

.casino-header {
  padding: 30px 25px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--border-color);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.casino-name {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.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%;
  filter: hue-rotate(-20deg) saturate(1.3);
}

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

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

.casino-bonus {
  text-align: center;
  margin-bottom: 25px;
  padding: 10px; /* Added padding */
}

.aus_logos_list .icon {
  width: 100px;
  height: 30px;
  fill: var(--text-secondary);
}

.aus_footer {
  background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
  color: var(--lighter);
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 4px solid var(--accent);
  position: relative;
}

.footer-title {
  color: var(--accent);
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

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

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
