/* GoodZone Canada - Custom Styles */
/* Dark purple/orange futuristic theme */

:root {
  /* Base colors */
  --bg-primary: #07060a;
  --bg-secondary: #0c0b12;
  --purple-aura: #5b1b6e;
  --purple-deep: #2b0d3a;
  --lines-pattern: rgba(255, 255, 255, 0.16);

  /* Text colors */
  --text-white: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.68);
  --text-muted: rgba(255, 255, 255, 0.48);

  /* Orange accents */
  --orange-primary: #ff5a1f;
  --orange-deep: #e53a12;
  --orange-glow: rgba(255, 90, 31, 0.35);
  --yellow-edge: #ffc247;
}

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

/* Adding more decorative elements and animations */

/* Animated gradient background */
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--purple-deep) 50%, var(--bg-primary) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: var(--text-white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Enhanced decorative elements */
body::before {
  content: "";
  position: fixed;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple-aura) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: float 20s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  bottom: -300px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--purple-aura) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Glowing particles */
@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--orange-primary);
  border-radius: 50%;
  animation: particle-float linear infinite;
  box-shadow: 0 0 10px var(--orange-glow);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Enhanced button animations */
.btn {
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-deep) 100%);
  color: var(--text-white);
  box-shadow: 0 0 30px var(--orange-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--orange-glow), 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

/* Enhanced techno decorative elements with animations */
.techno-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
}

.techno-circle {
  border: 2px solid var(--lines-pattern);
  border-radius: 50%;
  animation: rotate 30s linear infinite, pulse 4s ease-in-out infinite;
}

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

.techno-dot {
  width: 8px;
  height: 8px;
  background: var(--text-white);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--text-white);
  animation: blink 3s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Modal/Popup base styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 6, 10, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--lines-pattern);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 50px rgba(91, 27, 110, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-white);
}

.floating-nav {
  position: fixed;
  right: 2rem;
  top: 40%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 60;
}

.floating-nav-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 8, 16, 0.7);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.floating-nav-button:hover {
  border-color: #ff5a1f;
  color: #ff5a1f;
}

.floating-panel {
  display: none;
  position: fixed;
  top: 20%;
  right: 1.5rem;
  z-index: 70;
  width: min(320px, 90vw);
  background: rgba(8, 6, 13, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.floating-panel.active {
  display: block;
}

.floating-panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.floating-panel-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
}

.floating-panel-label {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.floating-panel-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.floating-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.footer-partner-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.partner-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 90, 31, 0.15), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.partner-card:hover {
  border-color: rgba(255, 90, 31, 0.5);
  transform: translateY(-2px);
}

.partner-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.game-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
}

.floating-bottom-links {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 60;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.floating-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.floating-bottom-links a:hover {
  border-color: #ff5a1f;
  color: #ff5a1f;
  background: rgba(255, 255, 255, 0.05);
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--lines-pattern);
  border-radius: 0.5rem;
  color: var(--text-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

/* Number selection grid */
.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.number-btn {
  aspect-ratio: 1;
  background: var(--bg-primary);
  border: 2px solid var(--lines-pattern);
  border-radius: 0.5rem;
  color: var(--text-white);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.number-btn:hover {
  border-color: var(--orange-primary);
  background: rgba(255, 90, 31, 0.1);
}

.number-btn.selected {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-deep) 100%);
  border-color: var(--orange-primary);
  box-shadow: 0 0 20px var(--orange-glow);
}

.number-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Cart styles */
.cart-item {
  background: var(--bg-primary);
  border: 1px solid var(--lines-pattern);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.cart-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .number-grid {
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--orange-primary);
  color: var(--text-white);
}

/* Grid pattern overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--lines-pattern) 1px, transparent 1px),
    linear-gradient(90deg, var(--lines-pattern) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}

/* Scan line effect */
@keyframes scan {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

.scan-line {
  position: fixed;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
  opacity: 0.1;
  animation: scan 8s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
  position: relative;
}

.card-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orange-primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card-hover:hover::after {
  opacity: 0.1;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.age-banner {
  width: 100%;
  background: #1a0826; /* dark purple */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
}

.age-badge {
  background: rgb(255, 90, 31);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.age-text {
  opacity: 0.95;
}

/* mobile */
@media (max-width: 480px) {
  .age-banner {
    font-size: 13px;
    padding: 8px 12px;
    text-align: center;
    flex-wrap: wrap;
  }
}
