:root {
  --primary-hue: 53;
  --primary-color: hsl(var(--primary-hue), 85%, 55%);
  --primary-dark: hsl(var(--primary-hue), 85%, 45%);
  --primary-light: hsl(var(--primary-hue), 85%, 65%);
  --secondary-color: hsl(30, 60%, 45%);
  --secondary-dark: hsl(30, 60%, 35%);
  --accent-color: hsl(25, 100%, 50%);
  --accent-light: hsl(25, 100%, 60%);
  --bg-color: hsl(0, 0%, 5%);
  --bg-light: hsl(0, 0%, 10%);
  --bg-card: hsl(0, 0%, 12%);
  --text-color: hsl(0, 0%, 95%);
  --text-muted: hsl(0, 0%, 70%);
  --border-color: hsl(0, 0%, 20%);
  --success-color: hsl(120, 60%, 50%);
  --error-color: hsl(0, 70%, 55%);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.age-gate.hidden {
  display: none;
}

.age-gate-content {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 40px rgba(255, 193, 7, 0.3);
}

.age-gate-icon {
  font-size: 80px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.age-gate-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.age-gate-content p {
  font-size: 18px;
  margin-bottom: 15px;
}

.age-gate-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
}

.age-gate-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.btn-primary,
.btn-secondary,
.btn-hero {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--bg-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--bg-color);
  font-size: 20px;
  padding: 18px 50px;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 2px solid var(--primary-color);
  padding: 30px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent.hidden {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.cookie-options {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 36px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.disclaimer-banner {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  padding: 15px 0;
  text-align: center;
  font-weight: 600;
  color: var(--bg-color);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.game-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-color), var(--bg-light));
}

.game-header {
  text-align: center;
  margin-bottom: 40px;
}

.game-header h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.game-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.balance-display,
.bet-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid var(--border-color);
}

.balance-value,
.bet-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.bet-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.bet-btn:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

.bet-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slot-machine {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.slot-frame {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
  border: 4px solid var(--primary-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg), inset 0 0 30px rgba(255, 193, 7, 0.1);
  position: relative;
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: var(--bg-color);
  padding: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.reel {
  background: linear-gradient(180deg, var(--bg-light), var(--bg-card));
  border: 2px solid var(--border-color);
  border-radius: 10px;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.symbol-container {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.1s linear;
}

.symbol {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.reel.spinning .symbol-container {
  animation: spin 0.1s linear infinite;
}

@keyframes spin {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100px);
  }
}

.paylines {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  pointer-events: none;
}

.payline {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.payline-1 {
  top: 50px;
}
.payline-2 {
  top: 150px;
}
.payline-3 {
  top: 250px;
}

.payline.active {
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  animation: paylineGlow 0.5s ease-in-out;
}

@keyframes paylineGlow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.slot-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.spin-button,
.auto-spin-button {
  padding: 20px 60px;
  font-size: 24px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.spin-button {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--bg-color);
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
}

.spin-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
}

.spin-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auto-spin-button {
  background: var(--bg-card);
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.auto-spin-button:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

.auto-spin-button.active {
  background: var(--success-color);
  color: var(--bg-color);
  border-color: var(--success-color);
}

.win-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.win-display.show {
  opacity: 1;
  animation: winPop 0.6s ease;
}

@keyframes winPop {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.win-amount {
  font-size: 72px;
  font-weight: 900;
  color: var(--primary-color);
  text-shadow: 0 0 20px var(--primary-color), 0 4px 10px rgba(0, 0, 0, 0.8);
}

.win-message {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-top: 10px;
}

.paytable {
  margin-top: 60px;
  background: var(--bg-card);
  padding: 20px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
}

.paytable h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.paytable-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--bg-light);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.paytable-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.paytable-symbol {
  font-size: 24px;
}

.paytable-payout {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.about-section,
.features-section,
.gallery-section,
.responsible-section,
.contact-section {
  padding: 80px 0;
}

.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.about-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.features-section h2,
.gallery-section h2,
.responsible-section h2,
.contact-section h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
}

.feature-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-muted);
}

.gallery-section {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsible-content h3 {
  font-size: 32px;
  margin: 40px 0 20px;
  color: var(--primary-color);
}

.responsible-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.support-logos {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.support-logos a {
  display: block;
  transition: var(--transition);
}

.support-logos a:hover {
  transform: scale(1.1);
}

.support-logos img {
  height: 60px;
  width: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.contact-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-light);
}

.contact-text {
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-color);
  font-family: var(--font-base);
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.footer {
  background: var(--bg-color);
  border-top: 2px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-column p {
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-disclaimer {
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .slot-reels {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    padding: 10px;
  }

  .reel {
    height: 180px;
  }

  .symbol {
    height: 60px;
    font-size: 36px;
  }

  .spin-button,
  .auto-spin-button {
    padding: 15px 30px;
    font-size: 18px;
  }

  .win-amount {
    font-size: 48px;
  }

  .game-header h2,
  .about-content h2,
  .features-section h2 {
    font-size: 32px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .age-gate-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .age-gate-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .slot-reels {
    gap: 3px;
    padding: 8px;
  }

  .reel {
    height: 120px;
  }

  .symbol {
    height: 40px;
    font-size: 24px;
  }

  .game-info {
    flex-direction: column;
    gap: 15px;
  }

  .slot-controls {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
