/* Vintage Casino Pinup Theme */
@import url("https://fonts.googleapis.com/css2?family=Fredericka+the+Great&family=Rye&family=Pirata+One&family=Griffy&display=swap");

:root {
  --primary-color: #daa520;
  --secondary-color: #8b0000;
  --accent-color: #ffd700;
  --background-color: #2f1b14;
  --text-color: #f5deb3;
  --border-color: #cd853f;
  --hover-color: #b8860b;
  --shadow-color: rgba(218, 165, 32, 0.4);
}

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

body {
  font-family: "Griffy", cursive;
  font-size: 1.7rem;
  background: radial-gradient(ellipse at center, var(--background-color) 0%, #1a1a1a 100%);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 20%, var(--primary-color) 3px, transparent 3px),
    radial-gradient(circle at 80% 80%, var(--accent-color) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, var(--secondary-color) 1px, transparent 1px);
  background-size: 120px 120px, 80px 80px, 60px 60px;
  opacity: 0.08;
  z-index: -1;
  animation: casinoFloat 35s linear infinite;
}

@keyframes casinoFloat {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(120px) translateY(80px) rotate(360deg);
  }
}

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

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  padding: 30px 0;
  box-shadow: 0 10px 35px var(--shadow-color);
  position: relative;
  overflow: hidden;
  border-bottom: 8px solid var(--accent-color);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 25px,
    rgba(255, 215, 0, 0.1) 25px,
    rgba(255, 215, 0, 0.1) 50px
  );
  animation: casinoPattern 18s linear infinite;
}

@keyframes casinoPattern {
  0% {
    transform: translateX(-100px) translateY(-50px);
  }
  100% {
    transform: translateX(100px) translateY(50px);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  font-family: "Fredericka the Great", cursive;
  font-size: 3.5rem;
  color: var(--accent-color);
  text-shadow: 3px 3px 0px var(--secondary-color), 6px 6px 12px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: rotate(-3deg);
}

.logo::after {
  content: "♠️";
  position: absolute;
  top: -25px;
  right: -35px;
  font-size: 1.8rem;
  animation: casinoSpin 3s ease-in-out infinite;
}

@keyframes casinoSpin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 18px 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--hover-color) 100%);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--accent-color);
  text-transform: capitalize;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.nav a:hover::before {
  left: 100%;
}

.nav a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* Main Content */
.main-content {
  padding: 60px 0;
  position: relative;
}

.content-section {
  background: linear-gradient(135deg, rgba(47, 27, 20, 0.95) 0%, rgba(139, 0, 0, 0.1) 100%);
  margin: 45px 0;
  padding: 45px;
  border-radius: 25px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  border: 6px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.content-section::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--accent-color),
    var(--secondary-color),
    var(--primary-color)
  );
  border-radius: 30px;
  z-index: -1;
  animation: casinoBorder 5s linear infinite;
}

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

.section-title {
  font-family: "Rye", cursive;
  font-size: 4rem;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 35px;
  text-shadow: 3px 3px 0px var(--secondary-color), 6px 6px 15px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: rotate(-2deg);
}

.section-title::after {
  content: "🎰";
  position: absolute;
  top: -25px;
  right: -60px;
  animation: casinoSlot 2s ease-in-out infinite;
}

@keyframes casinoSlot {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.3) rotate(20deg);
  }
}

/* Casino Cards */
.casino-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  align-items: stretch;
}

.casino-card {
  background: linear-gradient(135deg, var(--background-color) 0%, #3a2a1a 100%);
  border: 5px solid var(--primary-color);
  border-radius: 20px;
  padding: 35px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 25px;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 45px 0 var(--accent-color), 0 45px var(--secondary-color), 45px 45px var(--primary-color);
  opacity: 0.4;
}

.casino-card:hover {
  transform: translateY(-18px) rotate(2deg);
  box-shadow: 0 25px 55px var(--shadow-color);
  border-color: var(--accent-color);
}

.casino-card:hover::before {
  animation: casinoChips 1.2s ease-in-out infinite;
}

@keyframes casinoChips {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.4) rotate(360deg);
  }
}

.card-title {
  font-family: "Pirata One", cursive;
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.card-content {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: center;
  color: var(--text-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 20px 45px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
  color: var(--background-color);
  text-decoration: none;
  border-radius: 35px;
  font-family: "Griffy", cursive;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.4s ease;
  border: 4px solid var(--secondary-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 450px;
  height: 450px;
}

.btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--background-color) 0%, var(--secondary-color) 100%);
  color: var(--text-color);
  padding: 45px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 8px solid var(--accent-color);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 25% 25%, var(--primary-color) 4px, transparent 4px),
    radial-gradient(circle at 75% 75%, var(--accent-color) 3px, transparent 3px);
  background-size: 100px 100px, 70px 70px;
  opacity: 0.1;
  animation: casinoFooter 25s linear infinite;
}

@keyframes casinoFooter {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  100% {
    transform: translateX(100px) translateY(70px) rotate(180deg);
  }
}

.footer-content {
  position: relative;
  z-index: 2;
}

/* Floating Cards */
.floating-cards {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.card {
  position: absolute;
  color: var(--accent-color);
  font-size: 24px;
  animation: floatCard 9s ease-in-out infinite;
  opacity: 0;
}

@keyframes floatCard {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg) scale(0);
  }
  12% {
    opacity: 1;
    transform: translateY(88vh) rotate(60deg) scale(1);
  }
  88% {
    opacity: 1;
    transform: translateY(12vh) rotate(300deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(0) rotate(360deg) scale(0);
  }
}

/* Casino Decorations */
.casino-decoration {
  position: absolute;
  font-size: 3.5rem;
  color: var(--primary-color);
  opacity: 0.25;
  animation: casinoDance 4s ease-in-out infinite;
}

@keyframes casinoDance {
  0%,
  100% {
    transform: rotate(-12deg) scale(1);
  }
  50% {
    transform: rotate(12deg) scale(1.3);
  }
}

.casino-decoration:nth-child(1) {
  top: 18%;
  left: 6%;
  animation-delay: 0s;
}
.casino-decoration:nth-child(2) {
  top: 28%;
  right: 6%;
  animation-delay: 1.2s;
}
.casino-decoration:nth-child(3) {
  bottom: 28%;
  left: 10%;
  animation-delay: 2.4s;
}
.casino-decoration:nth-child(4) {
  bottom: 18%;
  right: 10%;
  animation-delay: 3.6s;
}

/* FAQ статичный режим */
.accordion-question {
all: unset;
display: block;
font-family: var(--font-family);
font-size: 1.8rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 10px;
}

.accordion-icon {
display: none;
}

.accordion-answer,
.static-answer {
max-height: none !important;
padding: 0 0 1.5rem 0;
color: var(--text-secondary);
overflow: visible;
transition: none !important;
}