@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Work+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --primary-dark: #0a0e27;
  --primary-navy: #1a1f3a;
  --accent-purple: #6c5ce7;
  --accent-cyan: #00d4ff;
  --accent-pink: #ff006e;
  --text-light: #e8eaf6;
  --text-muted: #9fa8da;
  --border-glow: rgba(108, 92, 231, 0.3);
  --card-bg: rgba(26, 31, 58, 0.8);
  --success-green: #00ff88;
}

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

body {
  font-family: "Work Sans", sans-serif;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    #0f1533 50%,
    var(--primary-navy) 100%
  );
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(108, 92, 231, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: backgroundPulse 15s ease-in-out infinite;
  z-index: -1;
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.top-bar {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glow);
  padding: 12px 0;
  font-size: 14px;
}

.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.top-bar-item i {
  color: var(--accent-cyan);
  font-size: 16px;
}

.top-bar-item strong {
  color: var(--text-light);
  font-weight: 600;
}

.navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 6px 30px rgba(108, 92, 231, 0.2);
}

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

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo::before {
  content: "◆";
  font-size: 20px;
  animation: logoPulse 2s ease-in-out infinite;
}

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

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

.nav-menu a {
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: width 0.3s ease;
}

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

.nav-menu a:hover {
  color: var(--accent-purple);
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn-login,
.btn-signup {
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-login {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-login:hover {
  background: var(--primary-navy);
  color: white;
}

.btn-signup {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(108, 92, 231, 0.5);
}

.hero {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url("../images/1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(108, 92, 231, 0.15) 0%,
    transparent 70%
  );
  animation: heroRotate 20s linear infinite;
}

@keyframes heroRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero .container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--text-light), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.hero p {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Orbitron", sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(108, 92, 231, 0.6);
}

.games-section {
  padding: 80px 20px;
  background: rgba(10, 14, 39, 0.5);
}

.games-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 42px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.game-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 35px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(108, 92, 231, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover::before {
  opacity: 1;
  animation: cardGlow 2s ease-in-out infinite;
}

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

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 50px rgba(108, 92, 231, 0.4);
}

.game-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  animation: iconFloat 3s ease-in-out infinite;
}

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

.game-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 26px;
  margin-bottom: 15px;
  color: var(--accent-cyan);
  font-weight: 700;
}

.game-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.game-details {
  margin: 20px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border-left: 3px solid var(--accent-purple);
}

.game-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.game-detail-item:last-child {
  margin-bottom: 0;
}

.game-detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.game-detail-value {
  color: var(--text-light);
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
}

.jackpot-status {
  display: inline-block;
  padding: 6px 15px;
  background: linear-gradient(135deg, var(--success-green), #00cc77);
  color: var(--primary-dark);
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  font-family: "Orbitron", sans-serif;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background: var(--accent-cyan);
  color: var(--primary-dark);
  transform: translateX(5px);
}

.how-it-works {
  padding: 80px 20px;
}

.how-it-works .container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.step-card {
  text-align: center;
  padding: 30px;
  position: relative;
}

.step-number {
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: white;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 800;
  font-family: "Orbitron", sans-serif;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
  animation: stepPulse 2s ease-in-out infinite;
  animation-delay: calc(var(--step-index) * 0.2s);
}

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

.step-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.step-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-section {
  padding: 80px 20px;
  background: rgba(10, 14, 39, 0.5);
}

.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 50px;
}

.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-light);
  font-size: 18px;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-muted);
  padding: 0 30px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px 30px;
}

.cta-section {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.1),
    rgba(0, 212, 255, 0.1)
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(108,92,231,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.cta-section .container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: 800;
}

.cta-section p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.site-footer {
  background: rgba(10, 14, 39, 0.95);
  padding: 60px 20px 30px;
  border-top: 1px solid var(--border-glow);
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .site-footer .row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .site-footer .row {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-heading {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  font-weight: 700;
}

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

.footer-heading-green {
  color: var(--success-green);
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

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

.site-footer .fas {
  color: var(--accent-cyan);
}

.footer-img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: brightness(0.9) contrast(1.1);
}

.footer-img:hover {
  opacity: 1;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(108, 92, 231, 0.2);
  color: var(--text-muted);
  font-size: 14px;
}

.g-5 {
  gap: 40px;
}

.mt-5 {
  margin-top: 50px;
}

.me-2 {
  margin-right: 8px;
}

.d-flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 15px;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-lg-start {
  justify-content: flex-start;
}

@media (max-width: 992px) {
  .justify-content-lg-start {
    justify-content: center;
  }
}

.col-lg-4,
.col-lg-3,
.col-lg-2 {
  flex: 1;
}

.text-center {
  text-align: center;
}

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

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

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

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

  .cta-section h2 {
    font-size: 32px;
  }
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-navy);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html {
  scroll-behavior: smooth;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-dark));
  border-top: 2px solid var(--accent-purple);
  padding: 20px;
  z-index: 10000;
  display: block;
  box-shadow: 0 -5px 30px rgba(108, 92, 231, 0.3);
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  color: var(--text-light);
  margin: 0;
  font-size: 14px;
  flex: 1;
}

.cookie-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.btn-accept-cookies {
  padding: 10px 30px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Orbitron", sans-serif;
}

.btn-accept-cookies:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(108, 92, 231, 0.5);
}

.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(10px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.age-modal-content {
  background: var(--card-bg);
  border: 2px solid var(--accent-purple);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.5);
  animation: modalFadeIn 0.5s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.age-modal-header {
  margin-bottom: 25px;
}

.age-modal-header i {
  font-size: 60px;
  color: var(--accent-pink);
  margin-bottom: 15px;
  animation: warningPulse 2s ease-in-out infinite;
}

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

.age-modal-header h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  color: var(--text-light);
  margin: 0;
}

.age-modal-content p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

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

.btn-confirm-age,
.btn-deny-age {
  padding: 15px 40px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-confirm-age {
  background: linear-gradient(135deg, var(--success-green), #00cc77);
  color: var(--primary-dark);
}

.btn-confirm-age:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-deny-age {
  background: transparent;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
}

.btn-deny-age:hover {
  background: var(--accent-pink);
  color: white;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .age-modal-content {
    padding: 30px 25px;
  }

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

  .btn-confirm-age,
  .btn-deny-age {
    width: 100%;
  }
}
