/* Viking Box Styling - 3D boxes without radius */
.viking-box {
  border: 4px solid rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3), inset 0 0 20px rgba(34, 211, 238, 0.1), 0 8px 16px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.viking-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5), inset 0 0 30px rgba(34, 211, 238, 0.2), 0 12px 24px rgba(0, 0, 0, 0.5);
}

.viking-box-sm {
  border: 2px solid rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.2), inset 0 0 10px rgba(34, 211, 238, 0.05), 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Header & Sidebar Shadows */
.header-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 238, 0.3);
}

.sidebar-shadow {
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 238, 0.2);
}

.island-shadow {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 211, 238, 0.3);
}

/* Navigation Links - Modern Ice Theme */
.nav-link {
  display: block;
  padding: 12px 16px;
  margin: 8px 12px;
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(135deg, 
    rgba(148, 163, 184, 0.1) 0%, 
    rgba(203, 213, 225, 0.05) 25%, 
    rgba(241, 245, 249, 0.08) 50%, 
    rgba(148, 163, 184, 0.1) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 16px rgba(15, 23, 42, 0.4),
    inset 0 1px 0 rgba(241, 245, 249, 0.1),
    inset 0 -1px 0 rgba(15, 23, 42, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(148, 163, 184, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.nav-link:hover {
  color: #22d3ee;
  background: linear-gradient(135deg, 
    rgba(34, 211, 238, 0.15) 0%, 
    rgba(67, 232, 249, 0.1) 25%, 
    rgba(241, 245, 249, 0.12) 50%, 
    rgba(34, 211, 238, 0.15) 100%);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 
    0 8px 25px rgba(15, 23, 42, 0.5),
    0 0 20px rgba(34, 211, 238, 0.2),
    inset 0 1px 0 rgba(241, 245, 249, 0.2),
    inset 0 -1px 0 rgba(15, 23, 42, 0.1);
  transform: translateY(-2px) scale(1.02);
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:active {
  transform: translateY(0) scale(1);
  box-shadow: 
    0 2px 8px rgba(15, 23, 42, 0.6),
    inset 0 1px 0 rgba(241, 245, 249, 0.1),
    inset 0 -1px 0 rgba(15, 23, 42, 0.2);
}

/* Parallax Animation */
.parallax {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Marquee Animation */
.marquee-container {
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

.payment-method {
  flex-shrink: 0;
  text-align: center;
  min-width: 120px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Snowflakes Background Effect */
.snowflakes {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent), radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent), radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 80%, white, transparent), radial-gradient(1px 1px at 15% 90%, white, transparent);
  background-size: 200% 200%;
  animation: snowfall 20s linear infinite;
}

@keyframes snowfall {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
  }
  100% {
    background-position: 0% 200%, 0% 200%, 0% 200%, 0% 200%, 0% 200%, 0% 200%, 0% 200%;
  }
}

/* Game Card Hover Effect */
.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.game-card img {
  transition: transform 0.3s ease;
}

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

/* Prose Styling for Readability */
.prose {
  color: #cbd5e1;
}

.prose p {
  margin-bottom: 1.5em;
  line-height: 1.75;
}

.prose h2 {
  color: #22d3ee;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
}

.prose h3 {
  color: #67e8f9;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose a {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #67e8f9;
}

.prose ul {
  list-style-type: none;
  padding-left: 0;
}

.prose li {
  margin-bottom: 0.75em;
}

.prose strong {
  color: #f1f5f9;
  font-weight: 700;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #22d3ee, #3b82f6);
  border: 2px solid #0f172a;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #67e8f9, #60a5fa);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .prose {
    font-size: 16px;
  }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

/* Loading Animation */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.6);
  }
}

.animate-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}
