/* Daily Jackpots - Norwegian Casino Theme */
/* Purple-Gold Nordic Design - Completely Unique from CasinoMax */

/* === CSS Variables === */
:root {
  --royal-purple: #7B2CBF;
  --deep-purple: #5A189A;
  --light-purple: #9D4EDD;
  --gold: #FFD700;
  --dark-gold: #F4A900;
  --bronze: #CD7F32;

  --bg-dark: #0A0A1A;
  --bg-medium: #1A1A2E;
  --bg-light: #2A2A3E;

  --text-primary: #FFFFFF;
  --text-secondary: #E0E0E0;
  --text-muted: #A0A0B0;

  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

/* === Global Resets === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Aurora Background Effect === */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(90, 24, 154, 0.1) 0%, transparent 60%);
  animation: aurora-drift 20s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(5%, 5%) rotate(5deg);
  }
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

p {
  line-height: 1.7;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-gold);
}

/* === Container === */
.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(123, 44, 191, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--deep-purple) 0%, var(--royal-purple) 100%);
  box-shadow: 0 6px 24px rgba(123, 44, 191, 0.5);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
  border-color: var(--gold);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
  color: var(--bg-dark);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--dark-gold) 0%, var(--gold) 100%);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
  color: var(--bg-dark);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--royal-purple) 100%);
  color: white;
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.4);
  font-size: 18px;
  padding: 18px 40px;
  font-weight: 700;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--royal-purple) 0%, var(--gold) 100%);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.6);
  transform: translateY(-3px) scale(1.05);
  color: white;
}

/* === Header Navigation === */
.region-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 44, 191, 0.2);
}

.main-navigation {
  padding: var(--spacing-sm) 0;
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo-icon {
  font-size: 32px;
}

.site-name {
  color: var(--text-primary);
}

.site-name strong {
  background: linear-gradient(135deg, var(--gold) 0%, var(--royal-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  justify-content: center;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

.nav-actions {
  display: flex;
  gap: var(--spacing-sm);
}

/* === Hero Section === */
.block-hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(123, 44, 191, 0.2) 0%, rgba(255, 215, 0, 0.2) 100%),
    radial-gradient(circle at 30% 50%, rgba(90, 24, 154, 0.3) 0%, transparent 70%);
  z-index: 0;
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,215,0,0.3)"/></svg>');
  opacity: 0.3;
  animation: stars-twinkle 5s ease-in-out infinite;
}

@keyframes stars-twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headline {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--gold) 0%, var(--royal-purple) 50%, var(--light-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.hero-headline.animated {
  animation: fadeInUp 1s ease-out, shimmer 3s ease-in-out infinite 1s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtext {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.feature-badge {
  background: rgba(123, 44, 191, 0.15);
  border: 1px solid var(--royal-purple);
  padding: 12px 24px;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(5px);
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* === Games Section === */
.block-games {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 50%, var(--bg-dark) 100%);
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 42px;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.section-description {
  font-size: 18px;
  color: var(--text-muted);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.game-card {
  background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-light) 100%);
  border: 1px solid rgba(123, 44, 191, 0.3);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.3);
}

.game-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.game-info {
  padding: var(--spacing-md);
}

.game-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.game-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
}

.game-jackpot {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
  color: var(--bg-dark);
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: var(--spacing-sm);
}

.game-actions {
  display: grid;
  gap: var(--spacing-xs);
}

/* === About Section === */
.block-about {
  padding: var(--spacing-xl) 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-heading {
  font-size: 38px;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.about-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.about-features {
  list-style: none;
  display: grid;
  gap: var(--spacing-sm);
}

.about-features li {
  font-size: 16px;
  color: var(--text-secondary);
  padding: var(--spacing-sm);
  background: rgba(123, 44, 191, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: var(--border-radius-sm);
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.2) 0%, rgba(255, 215, 0, 0.2) 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  min-height: 400px;
}

.visual-placeholder {
  font-size: 120px;
  opacity: 0.6;
}

/* === Responsible Gaming Section === */
.block-responsible {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.responsible-wrapper {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.responsible-icon {
  font-size: 64px;
  margin-bottom: var(--spacing-md);
}

.responsible-heading {
  font-size: 36px;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.responsible-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.responsible-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

/* === Footer === */
.region-footer {
  padding: var(--spacing-xl) 0 var(--spacing-md);
  background: var(--bg-medium);
  border-top: 1px solid rgba(123, 44, 191, 0.2);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-col {
  display: grid;
  gap: var(--spacing-sm);
}

.footer-heading {
  font-size: 22px;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, var(--gold) 0%, var(--royal-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  display: grid;
  gap: var(--spacing-md);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(123, 44, 191, 0.2);
}

.footer-notice {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  text-align: center;
}

.footer-notice p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.footer-notice strong {
  color: var(--gold);
}

.footer-copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .nav-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .nav-menu {
    justify-content: center;
  }

  .nav-actions {
    justify-content: center;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
}

@media (max-width: 480px) {
  .container-fluid {
    padding: 0 var(--spacing-sm);
  }

  .block-hero {
    padding: 60px 0 80px;
  }

  .hero-headline {
    font-size: 32px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-large {
    width: 100%;
  }

  .about-visual {
    min-height: 250px;
  }

  .visual-placeholder {
    font-size: 80px;
  }
}
