:root {
  --primary-gold: #D4AF37;
  --primary-black: #000000;
  --accent-blue: #1F8EF1;
  --soft-gray: #808080;
  --dark-gray: #333333;
  --light-gray: #F5F5F5;
  --gradient-start: #000000;
  --gradient-end: #D4AF37;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--primary-black);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-gold);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-gold);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background: linear-gradient(135deg, #000000 0%, #D4AF37 100%); }
  50% { background: linear-gradient(135deg, #1a1a1a 0%, #FFD700 100%); }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particles::before,
.particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-gold);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.particles::before {
  top: 20%;
  left: 20%;
  animation-delay: -2s;
}

.particles::after {
  top: 60%;
  right: 30%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.5; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gold);
  color: var(--primary-black);
}

.btn-primary:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: var(--primary-gold);
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
  transform: translateY(-2px);
}

.btn-game {
  background: var(--primary-gold);
  color: var(--primary-black);
  padding: 12px 25px;
  font-size: 0.9rem;
}

.btn-game:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(212, 175, 55, 0.4);
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--light-gray);
}

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

.about-text h2 {
  font-size: 3rem;
  color: var(--primary-black);
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 20px;
}

/* Vault Animation */
.vault-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background: radial-gradient(circle, var(--primary-gold), #B8860B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.vault-door {
  width: 200px;
  height: 200px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: transform 0.5s ease;
  border: 5px solid var(--primary-gold);
}

.vault-door:hover {
  transform: rotateY(180deg);
}

.vault-handle {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 15px;
  height: 15px;
  background: var(--primary-gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.vault-content {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
  color: var(--primary-black);
  font-weight: bold;
  text-align: center;
}

.vault-door:hover + .vault-content {
  opacity: 1;
}

/* Games Section */
.games {
  padding: 100px 0;
  background: white;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  color: var(--primary-black);
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--soft-gray);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.game-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.game-card:hover::before {
  opacity: 0.1;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.game-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-info {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.game-info h3 {
  font-size: 1.5rem;
  color: var(--primary-black);
  margin-bottom: 15px;
}

.game-info p {
  color: var(--soft-gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--dark-gray), var(--primary-black));
  color: white;
}

.disclaimer-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border: 2px solid var(--primary-gold);
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.1);
}

.disclaimer-content h3 {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.disclaimer-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--primary-black);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-gold);
}

.footer-logo img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-text {
  font-size: 0.9rem;
  color: var(--soft-gray);
}

/* Game Page Styles */
.game-hero {
  padding: 100px 0 50px;
  background: linear-gradient(135deg, var(--primary-black), var(--dark-gray));
  color: white;
  text-align: center;
}

.game-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.back-btn {
  display: inline-block;
  margin-bottom: 30px;
  padding: 10px 20px;
  background: transparent;
  color: var(--primary-gold);
  text-decoration: none;
  border: 2px solid var(--primary-gold);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--primary-gold);
  color: var(--primary-black);
}

.game-container {
  padding: 50px 0;
  background: var(--light-gray);
}

.game-embed {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.game-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 15px;
}

.game-description {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.game-description h2 {
  color: var(--primary-black);
  margin-bottom: 20px;
  font-size: 2rem;
}

.game-description p {
  color: var(--soft-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page */
.contact-hero {
  padding: 100px 0 50px;
  background: linear-gradient(135deg, var(--primary-black), var(--dark-gray));
  color: white;
  text-align: center;
}

.contact-content {
  padding: 80px 0;
  background: var(--light-gray);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary-gold);
  color: var(--primary-black);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Legal Pages */
.legal-hero {
  padding: 100px 0 50px;
  background: linear-gradient(135deg, var(--primary-black), var(--dark-gray));
  color: white;
  text-align: center;
}

.legal-content {
  padding: 80px 0;
  background: white;
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-text h2 {
  color: var(--primary-black);
  margin-bottom: 30px;
  margin-top: 40px;
}

.legal-text h2:first-child {
  margin-top: 0;
}

.legal-text p {
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-text ul {
  margin: 20px 0;
  padding-left: 30px;
}

.legal-text li {
  color: var(--dark-gray);
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary-black);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 30px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text h2 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .game-embed iframe {
    height: 400px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .game-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .game-embed iframe {
    height: 300px;
  }

  .vault-container {
    width: 250px;
    height: 250px;
  }

  .vault-door {
    width: 160px;
    height: 160px;
  }
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Success message */
.success-message {
  background: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  display: none;
}

.success-message.show {
  display: block;
}