/* Sailor Pinup Theme */
@import url("https://fonts.googleapis.com/css2?family=Sail&family=Pirata+One&family=Kaushan+Script&family=Righteous&display=swap");

:root {
  --primary-color: #000080;
  --secondary-color: #dc143c;
  --accent-color: #ffffff;
  --background-color: #f0f8ff;
  --text-color: #191970;
  --border-color: #4169e1;
  --hover-color: #0000cd;
  --shadow-color: rgba(0, 0, 128, 0.4);
}

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

body {
  font-family: "Righteous", cursive;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--background-color) 0%, #e6f3ff 50%, #cce7ff 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 30% 30%, var(--primary-color) 3px, transparent 3px),
    radial-gradient(circle at 70% 70%, var(--secondary-color) 2px, transparent 2px),
    radial-gradient(circle at 50% 10%, var(--accent-color) 1px, transparent 1px);
  background-size: 90px 90px, 60px 60px, 45px 45px;
  opacity: 0.1;
  z-index: -1;
  animation: sailorWaves 40s ease-in-out infinite;
}

@keyframes sailorWaves {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(20px) translateY(-10px);
  }
  50% {
    transform: translateX(-10px) translateY(15px);
  }
  75% {
    transform: translateX(15px) translateY(-5px);
  }
}

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

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

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 30px,
    rgba(255, 255, 255, 0.1) 30px,
    rgba(255, 255, 255, 0.1) 60px
  );
  animation: sailorStripes 20s linear infinite;
}

@keyframes sailorStripes {
  0% {
    transform: translateX(-120px);
  }
  100% {
    transform: translateX(120px);
  }
}

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

.logo {
  font-family: "Sail", cursive;
  font-size: 4rem;
  color: var(--accent-color);
  text-shadow: 4px 4px 0px var(--primary-color), 8px 8px 15px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: rotate(-4deg);
}

.logo::after {
  content: "⚓";
  position: absolute;
  top: -30px;
  right: -40px;
  font-size: 2rem;
  animation: sailorAnchor 4s ease-in-out infinite;
}

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

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

.nav a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 400;
  padding: 20px 35px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 5px solid var(--accent-color);
  text-transform: capitalize;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px 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.4), transparent);
  transition: left 0.6s ease;
}

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

.nav a:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

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

.content-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.8) 100%);
  margin: 50px 0;
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 128, 0.2);
  border: 8px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

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

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

.section-title {
  font-family: "Kaushan Script", cursive;
  font-size: 4.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 3px 3px 0px var(--accent-color), 6px 6px 12px rgba(0, 0, 128, 0.4);
  position: relative;
  transform: rotate(-3deg);
}

.section-title::after {
  content: "🚢";
  position: absolute;
  top: -30px;
  right: -70px;
  animation: sailorShip 3s ease-in-out infinite;
}

@keyframes sailorShip {
  0%,
  100% {
    transform: scale(1) rotate(0deg) translateY(0px);
  }
  50% {
    transform: scale(1.3) rotate(10deg) translateY(-10px);
  }
}

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

.casino-card {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--background-color) 100%);
  border: 6px solid var(--primary-color);
  border-radius: 25px;
  padding: 40px;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0, 0, 128, 0.3);
}

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

.casino-card:hover {
  transform: translateY(-20px) rotate(3deg);
  box-shadow: 0 30px 60px var(--shadow-color);
  border-color: var(--secondary-color);
}

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

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

.card-title {
  font-family: "Pirata One", cursive;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 128, 0.3);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 25px 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  color: var(--accent-color);
  text-decoration: none;
  border-radius: 40px;
  font-family: "Righteous", cursive;
  font-size: 1.6rem;
  font-weight: 400;
  transition: all 0.4s ease;
  border: 5px solid var(--accent-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 128, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.btn:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 128, 0.6);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
}

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

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 20%, var(--accent-color) 4px, transparent 4px),
    radial-gradient(circle at 80% 80%, var(--secondary-color) 3px, transparent 3px);
  background-size: 110px 110px, 80px 80px;
  opacity: 0.1;
  animation: sailorFooter 30s linear infinite;
}

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

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

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

.anchor {
  position: absolute;
  color: var(--primary-color);
  font-size: 26px;
  animation: floatAnchor 10s ease-in-out infinite;
  opacity: 0;
}

@keyframes floatAnchor {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) rotate(45deg) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(10vh) rotate(315deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(0) rotate(360deg) scale(0);
  }
}

/* Sailor Decorations */
.sailor-decoration {
  position: absolute;
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.2;
  animation: sailorSway 5s ease-in-out infinite;
}

@keyframes sailorSway {
  0%,
  100% {
    transform: rotate(-15deg) scale(1);
  }
  50% {
    transform: rotate(15deg) scale(1.4);
  }
}

.sailor-decoration:nth-child(1) {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}
.sailor-decoration:nth-child(2) {
  top: 25%;
  right: 5%;
  animation-delay: 1.5s;
}
.sailor-decoration:nth-child(3) {
  bottom: 25%;
  left: 8%;
  animation-delay: 3s;
}
.sailor-decoration:nth-child(4) {
  bottom: 15%;
  right: 8%;
  animation-delay: 4.5s;
}

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

header .quick-nav a {
position: flex;
color: #ffffff;
flex-wrap: nowrap;
}

.quick-nav-list a {
  display: inline-block; /* Чтобы ссылка вела себя как кнопка */
  white-space: nowrap; /* Запрещаем перенос текста внутри ссылки */
  padding: 10px 20px; /* Добавляем внутренние отступы */
}

.logos_list {
fill: #ffffff !important;

}

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

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