/* CSS Variables for Premium Look */
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --casino-red: #a50000;
  --gold-accent: #d4af37;
  --deep-black: #121212;
  --silver-glow: #e0e0e0;
  --neon-blue: #00b7eb;
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --gradient-bg: linear-gradient(135deg, #1a1a1a, #2c2c2c);
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  background: var(--gradient-bg);
  color: var(--silver-glow);
  line-height: 1.8;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Age Modal */
.modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--deep-black);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 10px 20px var(--shadow-dark);
  animation: fadeIn 0.5s ease-out;
}

.modal-content h2 {
  color: var(--gold-accent);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.modal-content .cta-button {
  background: var(--neon-blue);
  color: var(--deep-black);
  padding: 0.75rem 1rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin: 0.5rem;
}

.modal-content .cta-button.secondary {
  background: var(--casino-red);
}

.modal-content .cta-button:hover {
  transform: scale(1.05);
}

/* Header */
header {
  background: var(--deep-black);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px var(--shadow-dark);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Burger Menu */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.burger-menu span {
  background: var(--gold-accent);
  height: 4px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 10px;
}

.burger-menu span:nth-child(3) {
  top: 20px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu ul li {
  margin-left: 25px;
}

.nav-link {
  color: var(--silver-glow);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  color: var(--gold-accent);
  transform: translateY(-2px);
}

.cta-button {
  background: var(--gold-accent);
  color: var(--deep-black);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #b8972e;
  transform: scale(1.05);
}

.mobile-cta {
  display: none;
}

/* Hero Section */
.hero {
  background: url("images/hero-bg-premium.jpg") no-repeat center center/cover;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-accent);
  margin-bottom: 1.2rem;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
  animation: fadeIn 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero-button {
  background: var(--neon-blue);
  color: var(--deep-black);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-button:hover {
  background: #0097c7;
  transform: scale(1.1);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 1rem;
}

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

/* How to Play */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.step {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px var(--shadow-dark);
}

.step-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 0.8rem;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--gold-accent);
}

.screenshot {
  display: block;
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px var(--shadow-dark);
}

/* Slot Machine */
.slot-machine {
  padding: 2rem;
  border-radius: 20px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 15px 40px var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.slot-machine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  z-index: 0;
}

.reels {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.reel {
  width: 120px;
  height: 120px;
  background: #fff;
  border: 4px solid var(--gold-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reel.winning {
  animation: flashWin 0.8s ease-in-out 3;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.balance {
  font-size: 1.3rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

.bet-selector select {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--silver-glow);
  border: none;
  cursor: pointer;
}

#spin-button,
#auto-spin-button {
  background: var(--neon-blue);
  color: var(--deep-black);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

#spin-button:hover,
#auto-spin-button:hover {
  background: #0097c7;
  transform: scale(1.05);
}

.paytable {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.paytable h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--gold-accent);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px var(--shadow-dark);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--gold-accent);
}

/* Text-Image Sections */
.text-image {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 1.5rem;
}

.text-image.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.section-image {
  max-width: 40%;
  border-radius: 12px;
  box-shadow: 0 8px 16px var(--shadow-dark);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px var(--shadow-dark);
}

.user-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  border: 2px solid var(--gold-accent);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px var(--shadow-dark);
}

.gallery-item img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--gold-accent);
}

/* Contact Form */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form label {
  font-size: 1.1rem;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

form input,
form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: 2px solid var(--gold-accent);
  background: rgba(255, 255, 255, 0.1);
  color: var(--silver-glow);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

form textarea {
  height: 150px;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--silver-glow);
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--neon-blue);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.cta-btn {
  background: var(--neon-blue);
  color: var(--deep-black);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background: #0097c7;
  transform: scale(1.05);
}

/* Footer */
footer {
  background: var(--deep-black);
  padding: 2rem 0;
  box-shadow: 0 -4px 10px var(--shadow-dark);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo a {
  color: var(--gold-accent);
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links li a {
  color: var(--silver-glow);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--gold-accent);
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 1rem;
}

.legal-link {
  color: var(--neon-blue);
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.legal-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.legal-link:hover {
  color: #0097c7;
}

.legal-link:hover::after {
  width: 100%;
}

.disclaimer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes spin {
  0% {
    background-position-y: 0;
  }
  100% {
    background-position-y: -480px;
  }
}

.spinning .reel {
  animation: spin 0.3s linear infinite;
  background: linear-gradient(to bottom, #fff 50%, #f0f0f0 50%) center / 100%
    200%;
}

@keyframes flashWin {
  0%,
  100% {
    border-color: var(--gold-accent);
    box-shadow: 0 0 15px var(--gold-accent);
  }
  50% {
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px var(--neon-blue);
  }
}

@keyframes confetti {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 767px) {
  .burger-menu {
    display: block;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    padding: 4rem 2rem;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-accent) var(--deep-black);
  }

  .nav-menu::-webkit-scrollbar {
    width: 8px;
  }

  .nav-menu::-webkit-scrollbar-track {
    background: var(--deep-black);
  }

  .nav-menu::-webkit-scrollbar-thumb {
    background: var(--gold-accent);
    border-radius: 4px;
  }

  .nav-menu.active {
    display: flex;
    transform: translateX(0);
    animation: slideIn 0.4s ease forwards;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.8rem;
  }

  .nav-menu ul li {
    margin: 0;
  }

  .nav-link {
    font-size: 1.3rem;
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-cta {
    display: block;
    margin-top: 2.5rem;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1.2rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-button {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .section-intro {
    font-size: 0.9rem;
  }

  .steps,
  .features-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .text-image,
  .text-image.reverse {
    flex-direction: column;
    gap: 1rem;
  }

  .section-image {
    max-width: 100%;
  }

  .slot-machine {
    padding: 1.5rem;
  }

  .reels {
    gap: 8px;
  }

  .reel {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }

  .controls {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .balance,
  .bet-selector select,
  #spin-button,
  #auto-spin-button {
    width: 100%;
    text-align: center;
  }

  .form {
    max-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

@media (min-width: 768px) {
  .burger-menu {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    transform: none !important;
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    overflow-y: visible;
  }

  .nav-menu ul {
    flex-direction: row;
  }

  .nav-link {
    border-bottom: none;
  }
}
