:root {
  --aurora-primary: #1a0f2e;
  --aurora-secondary: #2d1b4e;
  --aurora-accent: #6b46c1;
  --aurora-purple: #9333ea;
  --aurora-pink: #ec4899;
  --aurora-blue: #3b82f6;
  --aurora-cyan: #06b6d4;
  --aurora-gold: #fbbf24;
  --text-light: #e5e7eb;
  --text-muted: #9ca3af;
}

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

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--aurora-primary);
  color: var(--text-light);
  overflow-x: hidden;
}

.aurora-nav {
  background: linear-gradient(
    135deg,
    rgba(26, 15, 46, 0.95) 0%,
    rgba(45, 27, 78, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
  transition: all 0.3s ease;
}

.aurora-nav.scrolled {
  background: linear-gradient(
    135deg,
    rgba(26, 15, 46, 0.98) 0%,
    rgba(45, 27, 78, 0.98) 100%
  );
  padding: 0.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--aurora-gold);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 5px var(--aurora-gold));
  }
  50% {
    filter: drop-shadow(0 0 15px var(--aurora-gold));
  }
}

.brand-text {
  background: linear-gradient(135deg, #fff 0%, var(--aurora-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--aurora-gold) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-cyan));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.btn-gradient {
  background: linear-gradient(
    135deg,
    var(--aurora-purple) 0%,
    var(--aurora-pink) 100%
  );
  color: white !important;
  border-radius: 50px;
  padding: 0.5rem 1.5rem !important;
  border: none;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: linear-gradient(
    135deg,
    var(--aurora-primary) 0%,
    var(--aurora-secondary) 50%,
    #1e1b4b 100%
  );
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.aurora-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at 20% 30%,
      rgba(147, 51, 234, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 60%,
      rgba(59, 130, 246, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 40% 80%,
      rgba(236, 72, 153, 0.2) 0%,
      transparent 50%
    );
  animation: aurora-move 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes aurora-move {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 50px) scale(0.95);
  }
}

.hero-content {
  z-index: 2;
}

.fade-in {
  animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

.hero-buttons .btn {
  margin: 0.5rem 0;
}

.jackpot-display {
  z-index: 2;
  position: relative;
}

.jackpot-card {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.3) 0%,
    rgba(59, 130, 246, 0.2) 100%
  );
  border: 2px solid rgba(147, 51, 234, 0.5);
  border-radius: 30px;
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.3);
  transition: all 0.3s ease;
}

.jackpot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(147, 51, 234, 0.5);
}

.jackpot-icon {
  font-size: 4rem;
  color: var(--aurora-gold);
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.jackpot-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--aurora-gold);
  text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
  margin: 1rem 0;
}

.currency {
  font-size: 2rem;
  margin-right: 0.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.countdown-item {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.4);
  border-radius: 15px;
  padding: 1rem;
  min-width: 80px;
}

.countdown-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--aurora-gold);
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.bg-dark {
  background: linear-gradient(
    180deg,
    var(--aurora-primary) 0%,
    #0f0a1e 100%
  ) !important;
}

.bg-gradient-dark {
  background: linear-gradient(
    180deg,
    #0f0a1e 0%,
    var(--aurora-primary) 100%
  ) !important;
}

.step-card {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.2) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.1) 0%,
    transparent 70%
  );
  transition: all 0.5s ease;
  transform: scale(0);
}

.step-card:hover::before {
  transform: scale(1);
}

.step-card:hover {
  transform: translateY(-10px);
  border-color: var(--aurora-purple);
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
}

.step-number {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
}

.step-icon {
  font-size: 3rem;
  color: var(--aurora-gold);
  margin-bottom: 1rem;
}

.step-card h4 {
  color: white;
  margin: 1rem 0;
}

.jackpot-item {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.3) 0%,
    rgba(59, 130, 246, 0.2) 100%
  );
  border: 2px solid rgba(147, 51, 234, 0.4);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jackpot-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.jackpot-item:hover::before {
  left: 100%;
}

.jackpot-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--aurora-gold);
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.3);
}

.jackpot-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--aurora-pink), var(--aurora-purple));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.jackpot-prize {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--aurora-gold);
  margin: 1rem 0;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.jackpot-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(147, 51, 234, 0.3);
}

.jackpot-stats span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.jackpot-stats i {
  margin-right: 0.5rem;
  color: var(--aurora-cyan);
}

.feature-box {
  text-align: center;
  padding: 2rem;
  background: rgba(107, 70, 193, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: rgba(107, 70, 193, 0.2);
  border-color: var(--aurora-purple);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--aurora-cyan);
  margin-bottom: 1rem;
}

.feature-box h5 {
  color: white;
  margin: 1rem 0;
  font-weight: 600;
}

.winner-card {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.2) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.winner-card:hover {
  transform: translateY(-10px);
  border-color: var(--aurora-gold);
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
}

.winner-avatar {
  font-size: 5rem;
  color: var(--aurora-purple);
  margin-bottom: 1rem;
}

.winner-card h5 {
  color: white;
  font-weight: 600;
}

.cta-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--aurora-primary) 0%,
    #1e1b4b 50%,
    var(--aurora-secondary) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(147, 51, 234, 0.2) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.site-footer {
  background: linear-gradient(180deg, var(--aurora-primary) 0%, #0a0616 100%);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(147, 51, 234, 0.3);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--aurora-gold) 0%,
    var(--aurora-cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-heading {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-heading-blue {
  color: var(--aurora-cyan);
}

.footer-heading-green {
  color: #10b981;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--aurora-gold);
  padding-left: 5px;
}

.footer-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

.footer-img-invert {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(147, 51, 234, 0.3);
  color: var(--text-muted);
}

.btn-warning {
  background: linear-gradient(135deg, var(--aurora-gold) 0%, #f59e0b 100%);
  border: none;
  color: var(--aurora-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
  background: linear-gradient(135deg, #f59e0b 0%, var(--aurora-gold) 100%);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--aurora-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  background: linear-gradient(
    135deg,
    var(--aurora-primary) 0%,
    var(--aurora-secondary) 50%,
    #1e1b4b 100%
  );
  position: relative;
  overflow: hidden;
}

.auth-card {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.3) 0%,
    rgba(59, 130, 246, 0.2) 100%
  );
  border: 2px solid rgba(147, 51, 234, 0.5);
  border-radius: 30px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(147, 51, 234, 0.3);
}

.auth-icon {
  font-size: 4rem;
  color: var(--aurora-gold);
  margin-bottom: 1rem;
}

.auth-title {
  color: white;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: white;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.auth-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--aurora-purple);
  color: white;
  box-shadow: 0 0 0 0.25rem rgba(147, 51, 234, 0.25);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-floating label {
  color: rgba(255, 255, 255, 0.7);
}

.auth-link {
  color: var(--aurora-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: var(--aurora-gold);
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 51, 234, 0.3);
}

.form-check-input:checked {
  background-color: var(--aurora-purple);
  border-color: var(--aurora-purple);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(147, 51, 234, 0.3);
}

.auth-divider span {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.3) 0%,
    rgba(59, 130, 246, 0.2) 100%
  );
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-social {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  color: white;
  padding: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--aurora-purple);
  color: white;
  transform: translateY(-2px);
}

.btn-social-google:hover {
  border-color: #ea4335;
}

.btn-social-facebook:hover {
  border-color: #1877f2;
}

.terms-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.terms-text a {
  color: var(--aurora-cyan);
  text-decoration: none;
}

.terms-text a:hover {
  color: var(--aurora-gold);
}

.legal-section {
  min-height: 100vh;
  padding: 120px 0 50px;
  background: linear-gradient(180deg, var(--aurora-primary) 0%, #0f0a1e 100%);
}

.legal-container {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.2) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 20px;
  padding: 3rem;
}

.legal-title {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-subtitle {
  color: var(--aurora-cyan);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-container p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-container ul {
  color: var(--text-light);
  line-height: 1.8;
  margin-left: 1.5rem;
}

.legal-container li {
  margin-bottom: 0.5rem;
}

.legal-container a {
  color: var(--aurora-cyan);
  text-decoration: none;
}

.legal-container a:hover {
  color: var(--aurora-gold);
}

.last-updated {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
}

.age-modal .modal-content {
  background: linear-gradient(
    135deg,
    rgba(107, 70, 193, 0.95) 0%,
    rgba(59, 130, 246, 0.95) 100%
  );
  border: 2px solid rgba(147, 51, 234, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.age-icon {
  font-size: 5rem;
  color: var(--aurora-gold);
}

.age-modal .btn {
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 15px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 15, 46, 0.98) 0%,
    rgba(45, 27, 78, 0.98) 100%
  );
  border-top: 2px solid rgba(147, 51, 234, 0.5);
  padding: 1.5rem 0;
  z-index: 1050;
  backdrop-filter: blur(10px);
  box-shadow: 0 -5px 25px rgba(147, 51, 234, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

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

.cookie-banner h5 {
  font-size: 1.2rem;
  font-weight: 600;
}

.cookie-banner p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-banner .btn {
  font-weight: 600;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--aurora-gold) !important;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 100px;
  }

  .jackpot-amount {
    font-size: 2rem;
  }

  .countdown-item {
    min-width: 60px;
    padding: 0.75rem;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .jackpot-prize {
    font-size: 1.8rem;
  }

  .nav-link {
    margin: 0.5rem 0;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .legal-container {
    padding: 2rem 1.5rem;
  }
}
