:root {
  --color-black: #1a0f0a;
  --color-dark-gray: #2d1b11;
  --color-medium-gray: #3d2818;
  --color-border-gray: #c4995b;
  --color-white: #f4e6d0;
  --text-primary: #f4e6d0;
  --text-secondary: #d4b892;
  --text-muted: #8b6f47;
  --text-light-gray: #a68660;
  --text-black: #1a0f0a;
  --btn-red: #8b2635;
  --btn-red-hover: #a0304a;
  --btn-light-red: #d4405a;
  --btn-white: #f4e6d0;
  --btn-blue: #1e2d5c;
  --btn-green: #4a5c2a;
  --btn-yellow: #c49b3d;
  --btn-yellow-hover: #a67d2e;
  --bg-primary: linear-gradient(135deg, #1a0f0a 0%, #2d1b11 50%, #3d2818 100%);
  --bg-secondary: linear-gradient(45deg, #2d1b11 0%, #3d2818 100%);
  --bg-tertiary: linear-gradient(90deg, #3d2818 0%, #4a3520 100%);
  --bg-overlay: rgba(26, 15, 10, 0.9);
  --bg-light: #f4e6d0;
  --border-primary: 1px solid rgba(196, 153, 91, 0.6);
  --border-white: 1px solid #f4e6d0;
  --shadow-light: 0 -8px 40px rgba(196, 153, 91, 0.1);
  --shadow-heavy: 0 8px 25px rgba(139, 38, 53, 0.3);
  --shadow-menu: 8px 0 20px rgba(196, 153, 91, 0.2);
  --glow-primary: 0 0 20px rgba(196, 153, 91, 0.4);
  --glow-secondary: 0 0 30px rgba(139, 38, 53, 0.5);
  --constellation-glow: 0 0 15px rgba(244, 230, 208, 0.8)
}

.hero-banner {
  background: radial-gradient(circle at 30% 70%, rgba(139, 38, 53, 0.3) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(196, 153, 91, 0.2) 0%, transparent 50%), linear-gradient(180deg, #1a0f0a 0%, #2d1b11 40%, #4a3520 70%, #6b4832 100%);
  position: relative;
  overflow: hidden
}

.hero-banner::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 200 200"><circle cx="30" cy="40" r="1" fill="rgba(244,230,208,0.8)"/><circle cx="170" cy="60" r="1.5" fill="rgba(196,153,91,0.9)"/><circle cx="80" cy="120" r="1" fill="rgba(244,230,208,0.7)"/><circle cx="150" cy="150" r="1" fill="rgba(196,153,91,0.8)"/><circle cx="50" cy="180" r="1.5" fill="rgba(244,230,208,0.6)"/></svg>') repeat, repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(196, 153, 91, 0.03) 3px, rgba(196, 153, 91, 0.03) 6px);
  animation: constellation-drift 20s linear infinite, sand-shimmer 8s ease-in-out infinite alternate
}

@keyframes constellation-drift {
  0% {
    transform: translateX(-20px) translateY(-30px)
  }

  100% {
    transform: translateX(20px) translateY(30px)
  }
}

@keyframes sand-shimmer {
  0% {
    opacity: 0.3
  }

  100% {
    opacity: 0.7
  }
}

.hero-banner::after {
  content: '⧖';
  position: absolute;
  top: 20%;
  right: 15%;
  font-size: 120px;
  color: rgba(196, 153, 91, 0.1);
  animation: clockwise-rotation 30s linear infinite;
  text-shadow: var(--constellation-glow)
}

@keyframes clockwise-rotation {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.hero-content {
  backdrop-filter: blur(2px);
  border-radius: 20px;
  border: 1px solid rgba(196, 153, 91, 0.2)
}

.hero-title {
  background: linear-gradient(45deg, #f4e6d0 0%, #c4995b 50%, #d4b892 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 8px rgba(139, 38, 53, 0.4);
  filter: drop-shadow(0 0 10px rgba(196, 153, 91, 0.3))
}

.hero-subtitle {
  text-shadow: 1px 1px 4px rgba(26, 15, 10, 0.8)
}

.cta-button {
  background: linear-gradient(135deg, #8b2635 0%, #a0304a 100%);
  box-shadow: var(--glow-secondary), inset 0 1px 0 rgba(244, 230, 208, 0.2);
  border: 1px solid rgba(196, 153, 91, 0.4);
  position: relative;
  overflow: hidden
}

.cta-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(244, 230, 208, 0.1) 50%, transparent 60%);
  transform: rotate(45deg);
  animation: button-shine 3s ease-in-out infinite
}

@keyframes button-shine {

  0%,
  100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg)
  }

  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg)
  }
}

.cta-button:hover {
  box-shadow: var(--glow-secondary), 0 0 40px rgba(139, 38, 53, 0.6), inset 0 1px 0 rgba(244, 230, 208, 0.3);
  background: linear-gradient(135deg, #a0304a 0%, #b5425c 100%)
}

.gaming-categories {
  background: radial-gradient(ellipse at 20% 80%, rgba(74, 53, 32, 0.4) 0%, transparent 50%), linear-gradient(135deg, #2d1b11 0%, #3d2818 100%);
  position: relative
}

@keyframes ancient-patterns {
  0% {
    transform: translateX(0) rotate(0deg)
  }

  100% {
    transform: translateX(30px) rotate(360deg)
  }
}

.category-card {
  background: linear-gradient(145deg, rgba(61, 40, 24, 0.8) 0%, rgba(45, 27, 17, 0.9) 100%);
  border: 1px solid rgba(196, 153, 91, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden
}

.category-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(196, 153, 91, 0.1) 0%, transparent 25%, rgba(139, 38, 53, 0.1) 50%, transparent 75%, rgba(196, 153, 91, 0.1) 100%);
  z-index: -1;
  animation: border-glow 4s ease-in-out infinite alternate
}

@keyframes border-glow {
  0% {
    opacity: 0.3
  }

  100% {
    opacity: 0.8
  }
}

.category-card:hover {
  background: linear-gradient(145deg, rgba(74, 53, 32, 0.9) 0%, rgba(61, 40, 24, 1) 100%);
  box-shadow: var(--glow-primary), inset 0 0 20px rgba(196, 153, 91, 0.1);
  border-color: rgba(196, 153, 91, 0.6)
}

.category-icon {
  background: radial-gradient(circle at 30% 30%, rgba(244, 230, 208, 0.2) 0%, transparent 70%), linear-gradient(135deg, rgba(196, 153, 91, 0.1) 0%, rgba(139, 38, 53, 0.1) 100%);
  border: 2px solid rgba(196, 153, 91, 0.4);
  box-shadow: inset 0 0 20px rgba(244, 230, 208, 0.1), var(--constellation-glow);
  position: relative
}

.category-icon::after {
  content: '✦';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 12px;
  color: rgba(196, 153, 91, 0.8);
  animation: star-twinkle 2s ease-in-out infinite alternate
}

@keyframes star-twinkle {
  0% {
    opacity: 0.4;
    transform: scale(0.8)
  }

  100% {
    opacity: 1;
    transform: scale(1.2)
  }
}

.security-section {
  background: radial-gradient(circle at 70% 20%, rgba(139, 38, 53, 0.2) 0%, transparent 60%), linear-gradient(225deg, #3d2818 0%, #1a0f0a 100%);
  position: relative
}

.security-section::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 100 100"><path d="M20,50 L35,35 L50,50 L65,35 L80,50 L65,65 L50,50 L35,65 Z" stroke="rgba(196,153,91,0.04)" stroke-width="1" fill="none"/></svg>') repeat;
  animation: guardian-drift 15s ease-in-out infinite alternate
}

@keyframes guardian-drift {
  0% {
    transform: translateY(-10px) scale(1)
  }

  100% {
    transform: translateY(10px) scale(1.05)
  }
}

.security-item {
  background: linear-gradient(135deg, rgba(61, 40, 24, 0.3) 0%, rgba(26, 15, 10, 0.6) 100%);
  border: 1px solid rgba(196, 153, 91, 0.2);
  backdrop-filter: blur(15px);
  position: relative
}

.security-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(196, 153, 91, 0.1) 0%, transparent 50%);
  pointer-events: none
}

.security-icon {
  background: radial-gradient(circle at 40% 40%, rgba(244, 230, 208, 0.15) 0%, transparent 60%), linear-gradient(225deg, rgba(139, 38, 53, 0.2) 0%, rgba(196, 153, 91, 0.1) 100%);
  border: 2px solid rgba(196, 153, 91, 0.3);
  box-shadow: var(--constellation-glow);
  position: relative
}

.security-icon::before {
  content: '◊';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  color: rgba(244, 230, 208, 0.6);
  animation: pulse-glow 3s ease-in-out infinite
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1)
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5)
  }
}

.casino-wrapper {
  background: linear-gradient(90deg, rgba(26, 15, 10, 0.8) 0%, rgba(61, 40, 24, 0.4) 50%, rgba(26, 15, 10, 0.8) 100%);
  border: 1px solid rgba(196, 153, 91, 0.4);
  backdrop-filter: blur(8px);
  position: relative
}

.casino-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 153, 91, 0.1) 50%, transparent 100%);
  animation: temple-light 6s ease-in-out infinite
}

@keyframes temple-light {
  0% {
    left: -50%
  }

  50% {
    left: 100%
  }

  100% {
    left: -50%
  }
}

.casino-item {
  background: radial-gradient(ellipse at center top, rgba(196, 153, 91, 0.1) 0%, transparent 70%), linear-gradient(180deg, rgba(45, 27, 17, 0.9) 0%, rgba(61, 40, 24, 0.7) 100%);
  border: 1px solid rgba(196, 153, 91, 0.3);
  position: relative
}

.casino-item::after {
  content: '⧗';
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 14px;
  color: rgba(196, 153, 91, 0.4);
  animation: time-flow 4s ease-in-out infinite
}

@keyframes time-flow {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.4
  }

  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 0.8
  }
}

.testimonials {
  background: radial-gradient(ellipse at 50% 100%, rgba(74, 53, 32, 0.3) 0%, transparent 70%), linear-gradient(180deg, #1a0f0a 0%, #2d1b11 100%)
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(61, 40, 24, 0.6) 0%, rgba(45, 27, 17, 0.8) 100%);
  border: 1px solid rgba(196, 153, 91, 0.2);
  backdrop-filter: blur(12px);
  position: relative
}

.testimonial-card::before {
  content: '"';
  color: rgba(139, 38, 53, 0.6);
  text-shadow: var(--glow-secondary);
  filter: drop-shadow(0 0 8px rgba(139, 38, 53, 0.4))
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(196, 153, 91, 0.2)
}

.news-section {
  background: radial-gradient(circle at 30% 30%, rgba(139, 38, 53, 0.15) 0%, transparent 60%), linear-gradient(45deg, #3d2818 0%, #2d1b11 100%)
}

.news-card {
  background: linear-gradient(145deg, rgba(45, 27, 17, 0.9) 0%, rgba(61, 40, 24, 0.7) 100%);
  border: 1px solid rgba(196, 153, 91, 0.2);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 153, 91, 0.6) 50%, transparent 100%);
  animation: news-highlight 3s ease-in-out infinite
}

@keyframes news-highlight {

  0%,
  100% {
    opacity: 0.3
  }

  50% {
    opacity: 1
  }
}

.news-card:hover {
  border-color: rgba(196, 153, 91, 0.5);
  box-shadow: var(--glow-primary)
}

.news-image {
  background: radial-gradient(circle at 30% 70%, rgba(196, 153, 91, 0.3) 0%, transparent 60%), linear-gradient(135deg, rgba(139, 38, 53, 0.2) 0%, rgba(74, 53, 32, 0.4) 100%);
  color: rgba(244, 230, 208, 0.8);
  position: relative
}

.news-image::after {
  content: '⟐';
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 24px;
  color: rgba(196, 153, 91, 0.4);
  animation: rune-glow 2s ease-in-out infinite alternate
}

@keyframes rune-glow {
  0% {
    opacity: 0.4;
    text-shadow: none
  }

  100% {
    opacity: 1;
    text-shadow: var(--constellation-glow)
  }
}

.stats-section {
  background: linear-gradient(135deg, rgba(26, 15, 10, 0.9) 0%, rgba(45, 27, 17, 0.9) 100%);
  border-top: 1px solid rgba(196, 153, 91, 0.4);
  border-bottom: 1px solid rgba(196, 153, 91, 0.4);
  position: relative
}

.stats-section::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 40 40"><circle cx="20" cy="20" r="1" stroke="rgba(196,153,91,0.1)" stroke-width="0.5" fill="none"/></svg>') repeat;
  animation: stats-pattern 20s linear infinite
}

@keyframes stats-pattern {
  0% {
    transform: translateX(0) translateY(0)
  }

  100% {
    transform: translateX(20px) translateY(20px)
  }
}

.stat-item {
  border: 1px solid rgba(196, 153, 91, 0.2);
  background: radial-gradient(circle at center, rgba(139, 38, 53, 0.1) 0%, transparent 70%), rgba(61, 40, 24, 0.3);
  backdrop-filter: blur(5px);
  position: relative
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: rgba(196, 153, 91, 0.6);
  border-radius: 50%;
  box-shadow: var(--constellation-glow);
  animation: stat-pulse 2s ease-in-out infinite
}

@keyframes stat-pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1)
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5)
  }
}

.stat-number {
  color: rgba(196, 153, 91, 0.9);
  text-shadow: var(--constellation-glow);
  background: linear-gradient(45deg, #c4995b 0%, #d4b892 50%, #f4e6d0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(196, 153, 91, 0.4))
}

.promo-banner {
  background: radial-gradient(ellipse at 80% 20%, rgba(139, 38, 53, 0.4) 0%, transparent 70%), radial-gradient(ellipse at 20% 80%, rgba(196, 153, 91, 0.3) 0%, transparent 70%), linear-gradient(45deg, #1a0f0a 0%, #3d2818 100%);
  border: 1px solid rgba(196, 153, 91, 0.3);
  position: relative;
  overflow: hidden
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(196, 153, 91, 0.04) 4px, rgba(196, 153, 91, 0.04) 8px);
  animation: divine-pattern 12s ease-in-out infinite alternate
}

@keyframes divine-pattern {
  0% {
    opacity: 0.3;
    transform: translateX(-10px)
  }

  100% {
    opacity: 0.7;
    transform: translateX(10px)
  }
}

.promo-banner::after {
  content: '⟢ ⧖ ⟣';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 20px;
  color: rgba(196, 153, 91, 0.3);
  animation: divine-symbols 8s ease-in-out infinite
}

@keyframes divine-symbols {

  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0)
  }

  33% {
    opacity: 0.7;
    transform: translateY(-5px)
  }

  66% {
    opacity: 0.5;
    transform: translateY(5px)
  }
}

.promo-title {
  background: linear-gradient(135deg, #f4e6d0 0%, #c4995b 50%, #8b2635 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 8px rgba(139, 38, 53, 0.4);
  filter: drop-shadow(0 0 15px rgba(196, 153, 91, 0.3))
}

footer {
  border: 1px solid rgba(196, 153, 91, 0.4);
  background: linear-gradient(180deg, rgba(26, 15, 10, 0.9) 0%, rgba(61, 40, 24, 0.3) 100%);
  backdrop-filter: blur(10px);
  position: relative
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 153, 91, 0.8) 50%, transparent 100%)
}

.footer-age {
  background: linear-gradient(90deg, rgba(61, 40, 24, 0.8) 0%, rgba(45, 27, 17, 1) 100%);
  border-top: 1px solid rgba(196, 153, 91, 0.2);
  position: relative
}

.footer-age::after {
  content: '※';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: rgba(196, 153, 91, 0.4);
  font-size: 16px;
  animation: footer-mark 3s ease-in-out infinite
}

@keyframes footer-mark {

  0%,
  100% {
    opacity: 0.4
  }

  50% {
    opacity: 0.8
  }
}

.eighteen section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eighteen .hero-title {
  margin-bottom: 0;
  padding-bottom: 25px;
}

.eighteen .icon {
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  background: var(--color-border-gray);
  border-radius: 50%;
}