/*
  northmateshub.online - Premium Stylesheet
  Theme: Modern Dark with Vibrant Accents
  Font: Poppins (Google Fonts)
  Year: 2025
*/

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #ec4899;
  --accent-color: #fbbf24;
  --background-color: #0f172a;
  --card-bg: #1e293b;
  --card-hover: #334155;
  --text-color: #f1f5f9;
  --text-muted: #cbd5e1;
  --nav-bg: rgba(15, 23, 42, 0.95);
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  top: 50%;
  right: -150px;
  animation-delay: 5s;
}

.shape-3 {
  width: 350px;
  height: 350px;
  background: var(--accent-color);
  bottom: -100px;
  left: 30%;
  animation-delay: 10s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  background: var(--primary-color);
  top: 30%;
  left: 50%;
  animation-delay: 15s;
}

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

/* Header & Navigation */
.header {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.logo-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: 80%;
}

.nav-icon {
  font-size: 1.2rem;
}

/* Hero Section */

.hero {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-1);
}

/* Hero with bgpic.jpg background */
.hero-bgpic {
  background: url('bgpic.jpg') center center/cover no-repeat;
}

.hero-bgpic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75); /* Duller overlay */
  z-index: 0;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24, #ec4899, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

.hero-desc {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.6s both;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

/* Disclaimer Popup */
.disclaimer-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.disclaimer-popup.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.disclaimer-box {
  background: var(--card-bg);
  border: 2px solid var(--primary-color);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 500px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.5s ease;
}

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

.disclaimer-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s ease infinite;
}

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

.disclaimer-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.disclaimer-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.disclaimer-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

/* Disclaimer Banner */
.disclaimer-banner {
  background: linear-gradient(135deg, var(--warning-color), #dc2626);
  padding: 1.5rem 2rem;
  margin: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.disclaimer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.disclaimer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.disclaimer-icon-small {
  font-size: 2rem;
}

.disclaimer-left h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.disclaimer-left p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-outline-light:hover {
  background: white;
  color: var(--warning-color);
}

/* Sections */
section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-icon {
  font-size: 2.5rem;
  margin-right: 0.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.accent-line {
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Game Section */
.game-section {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
}

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

.game-wrapper {
  position: relative;

  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

.game-frame {
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 900px;
  border: none;
  display: block;
  background: #000;
}



.control-btn {
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: inherit;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.game-info {
  margin-top: 1.5rem;
  text-align: center;
}

.game-path {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.game-path code {
  background: rgba(99, 102, 241, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  color: var(--primary-color);
  font-family: 'Courier New', monospace;
}

/* About Section */
.about-section {
  background: var(--gradient-2);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
}

.about-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.about-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.about-feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gradient-1);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.3);
}

.feature-icon-lg {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 4rem 2rem;
  box-shadow: var(--shadow-lg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

.review-stars {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
}

.author-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Variants */
.hero-compact {
  padding: 3rem 2rem;
}

.hero-title-medium {
  font-size: 3rem;
}

/* Contact Section Enhancements */
.contact-section {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 4rem 2rem;
  margin: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.info-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Policy Content Enhancements */
.policy-content {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 2rem auto;
}

.policy-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.policy-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.policy-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.policy-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.policy-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.policy-content a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.policy-content .highlight-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.policy-content .highlight-box h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.policy-content .highlight-box p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.main-content {
  min-height: 60vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-3);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 4rem 2rem;
  padding: 5rem 2rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--gradient-1);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.scroll-to-top span {
  display: block;
  animation: bounce 2s infinite;
}

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

/* Footer */
.footer {
  background: var(--card-bg);
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  fill: var(--background-color);
}

.footer-content {
  padding: 4rem 2rem 2rem;
}

.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-disclaimer {
  background: linear-gradient(135deg, var(--warning-color), #dc2626);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.footer-disclaimer p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  background: var(--background-color);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}

.footer-powered {
  color: var(--primary-color);
}

.footer-powered strong {
  color: var(--accent-color);
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu a {
    display: flex;
    padding: 1rem 2rem;
    justify-content: flex-start;
  }

  .nav-menu a::before {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-desc {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

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

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

  .game-frame{
    height: auto;
  }

  .disclaimer-content {
    flex-direction: column;
    text-align: center;
  }

  .disclaimer-left {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .scroll-to-top {
    width: 48px;
    height: 48px;
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .disclaimer-box {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .disclaimer-icon {
    font-size: 3rem;
  }

  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .game-frame{
    height: auto;
  }
}

/* Print Styles */
@media print {
  .header,
  .hamburger,
  .scroll-to-top,
  .disclaimer-popup,
  .disclaimer-banner,
  .game-section,
  .cta-section {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .footer {
    page-break-before: always;
  }
}
