/* Template 3 - Corporate Gold Theme */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:wght@400;600;700&display=swap");

:root {
  --gold-dark: #1a1f2b;       /* глубокий тёмно-синий */
  --gold-charcoal: #2e3440;   /* графитовый с холодным подтоном */
  --gold-primary: #6ca6f8;    /* нежный небесно-синий */
  --gold-light: #f3d7e8;      /* мягкий светло-розовый */
  --gold-accent: #d785b8;     /* акцент — пастельно-розовый с сиреневым оттенком */
  --gold-white: #ffffff;      /* белый */
  --gold-gray: #808080;       /* нейтральный серый */
  --gold-silver: #c0c6d9;     /* серебристо-серый с легким голубым подтоном */
  --gold-black: #000000;      /* чёрный */

  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
  --shadow-elegant: 0 8px 40px rgba(0, 0, 0, 0.2);
  --shadow-luxury: 0 0 30px rgba(212, 175, 55, 0.2);

  --font-primary: "Inter", sans-serif;
  --font-secondary: "Crimson Text", serif;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gold-white);
  background: var(--gold-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

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

/* Top Navigation */
.site-header {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-charcoal) 100%);
  border-bottom: 3px solid var(--gold-primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-elegant);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  border: 2px solid var(--gold-primary);
}

.site-name {
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.site-nav a {
  color: var(--gold-white);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.site-nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.site-nav a:hover::before {
  width: 80%;
}

/* Hero Section */
.section.head {
  padding: 10rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--gold-charcoal) 0%, var(--gold-dark) 50%, var(--gold-charcoal) 100%);
  position: relative;
  overflow: hidden;
}

.section.head::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--gold-primary) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
  animation: goldSparkle 20s linear infinite;
}

@keyframes goldSparkle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.section.head h1 {
  font-family: var(--font-secondary);
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gold-primary);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.section.head p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--gold-white);
  position: relative;
  z-index: 2;
  font-weight: 300;
}

/* Section Styling */
.section {
  padding: 7rem 0;
}

.section:nth-child(even) {
  background: var(--gold-charcoal);
}

.section header {
  text-align: center;
  margin-bottom: 5rem;
}

.section header h2 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.section header p {
  font-size: 1.2rem;
  color: var(--gold-gray);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

/* Casino List */
.casino_list {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

.casino-item {
  width: calc(33.333% - 1.75rem);
  min-width: 320px;
  background: transparent;
  border: 2px solid var(--gold-primary);
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: var(--shadow-luxury);
}

.casino-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s ease;
}

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

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

.casino-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gold-primary);
  color: var(--gold-black);
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.casino-header {
  padding: 2.5rem;
  text-align: center;
  background: var(--gold-charcoal);
  border-bottom: 1px solid var(--gold-primary);
}

.casino-logo {
  width: 360px;
  height: 120px;
  margin: 0 auto 2rem;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 3px solid var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.casino-logo:hover {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: var(--shadow-luxury);
}

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

.casino-name {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.rating .stars {
  width: 140px;
  height: 24px;
  background: var(--gold-dark);
  border: 2px solid var(--gold-primary);
  position: relative;
  overflow: hidden;
}

.rating .stars .fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  transition: all 0.4s ease;
}

.rating .text {
  color: var(--gold-primary);
  font-weight: 700;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
}

.casino-body {
  padding: 2.5rem;
  background: var(--gold-dark);
}

.casino-bonus {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
  color: var(--gold-black);
  position: relative;
  overflow: hidden;
}

.casino-bonus::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
  animation: goldShine 3s linear infinite;
}

@keyframes goldShine {
  0% {
    transform: translateX(-100%) translateY(-100%);
  }
  100% {
    transform: translateX(100%) translateY(100%);
  }
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.free-spins {
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.feature-tag {
  background: var(--gold-charcoal);
  color: var(--gold-white);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gold-primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

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

.feature-tag:hover::before {
  left: 0;
}

.feature-tag:hover {
  color: var(--gold-black);
  transform: translateY(-2px);
}

.casino-details {
  margin-bottom: 2rem;
  background: var(--gold-charcoal);
  border: 1px solid var(--gold-primary);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--gold-primary);
  transition: all 0.3s ease;
  position: relative;
}

.detail-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: rgba(212, 175, 55, 0.1);
  transition: width 0.3s ease;
}

.detail-item:hover::before {
  width: 100%;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--gold-gray);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.detail-value {
  color: var(--gold-primary);
  font-weight: 700;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
}

.casino-action {
  text-align: center;
}

.casino-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-accent));
  color: var(--gold-black);
  padding: 1.25rem 3rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--gold-primary);
}

.casino-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transition: left 0.3s ease;
}

.casino-button:hover::before {
  left: 0;
}

.casino-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.casino-button span {
  position: relative;
  z-index: 2;
}

/* FAQ Section */
.faq_list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gold-charcoal);
  border: 2px solid var(--gold-primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--gold-primary);
  transition: height 0.3s ease;
}

.faq-item:hover::before {
  height: 100%;
}

.accordion-question {
  background: none;
  border: none;
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-white);
  padding: 2rem 2.5rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.accordion-question:hover {
  color: var(--gold-primary);
  padding-left: 3rem;
}

.accordion-icon {
  width: 30px;
  height: 30px;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  background: var(--gold-primary);
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-black);
  transition: all 0.3s ease;
}

.accordion-icon::before {
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 16px;
}

.faq-item.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--gold-light);
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2.5rem;
  color: var(--gold-gray);
  line-height: 1.7;
}

.faq-item.active .accordion-answer {
  max-height: 400px;
  padding: 0 2.5rem 2rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--gold-charcoal) 0%, var(--gold-dark) 100%);
  color: var(--gold-white);
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--gold-primary);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-about {
  flex: 1;
  max-width: 500px;
}

.footer-tagline {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gold-gray);
  font-weight: 300;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.footer-links a {
  color: var(--gold-white);
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

.footer-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.footer-links a:hover::before {
  width: 80%;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gold-primary);
}

.copyright {
  font-size: 1rem;
  color: var(--gold-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInGold 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

/* Text Content */
.text-content {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--gold-charcoal);
  padding: 4rem;
  border: 2px solid var(--gold-primary);
  line-height: 1.8;
  position: relative;
}

.text-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light), var(--gold-primary));
}

.text-content h3 {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 2.5rem 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-content p {
  margin-bottom: 1.5rem;
  color: var(--gold-white);
  font-weight: 300;
}

.text-content ul,
.text-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.text-content li {
  margin-bottom: 0.75rem;
  color: var(--gold-white);
  font-weight: 300;
}


.footer-links ul {
list-style: none;
display: flex;
flex-direction: column; /* превращаем в столбец */
gap: 1rem;              /* расстояние между пунктами */
padding: 0;
margin: 0;
}