/* ============================================
   fjordstps.site - Nordic Fjord Theme
   Professional Gaming Entertainment Platform
   ============================================ */

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   CSS Variables & Theme Colors
   ============================================ */
:root {
  /* Warm Brown & Earth Tones Palette */
  --fjord-deep: #3e2723;
  --fjord-blue: #5d4037;
  --fjord-teal: #8d6e63;
  --fjord-light: #a1887f;
  --fjord-ice: #d7ccc8;
  --fjord-white: #dbb630;
  --fjord-mist: #dbb630;
  --fjord-gray: #6d4c41;
  --fjord-dark: #4e342e;
  --accent-coral: #d4a574;
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3e2723 0%, #5d4037 50%, #8d6e63 100%);
  --gradient-light: linear-gradient(180deg, #d7ccc8 0%, #dbb630 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(62,39,35,0.85) 0%, rgba(141,110,99,0.65) 100%);
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
    /* Borders & Effects */
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(62, 39, 35, 0.08);
  --shadow-md: 0 4px 16px rgba(62, 39, 35, 0.12);
  --shadow-lg: 0 8px 32px rgba(62, 39, 35, 0.16);
  --shadow-xl: 0 16px 48px rgba(62, 39, 35, 0.2);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--fjord-mist);
  color: var(--fjord-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(219, 182, 48, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(62, 39, 35, 0.1);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fjord-deep);
}

.nav-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
}

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

.nav-link {
  font-weight: 500;
  color: var(--fjord-gray);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--fjord-teal);
  background: var(--fjord-ice);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fjord-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--fjord-mist), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--fjord-white);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(219, 182, 48, 0.25);
  border: 1px solid rgba(219, 182, 48, 0.5);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--fjord-light);
  color: var(--fjord-white);
}

.btn-primary:hover {
  background: var(--fjord-teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--fjord-white);
  color: var(--fjord-deep);
  border: 2px solid var(--fjord-light);
}

.btn-secondary:hover {
  background: var(--fjord-ice);
  border-color: var(--fjord-teal);
}

/* ============================================
   Disclaimer Card
   ============================================ */
.disclaimer-card {
  background: var(--fjord-ice);
  border: 2px solid var(--fjord-light);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  box-shadow: var(--shadow-sm);
}

.disclaimer-card h3 {
  font-family: var(--font-heading);
  color: var(--fjord-deep);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.disclaimer-card p {
  color: var(--fjord-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   Game Section
   ============================================ */
.game-section {
  padding: var(--spacing-xl) 0;
  background: var(--gradient-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--fjord-deep);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--fjord-gray);
}

.games-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 960px;
  margin: 0 auto;
}

.game-card {
  background: var(--fjord-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.game-header {
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: var(--fjord-white);
}

.game-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.game-header p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.game-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  padding: var(--spacing-xl) 0;
  background: var(--fjord-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: var(--fjord-mist);
  border: 1px solid var(--fjord-ice);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--fjord-light);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--fjord-deep);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--fjord-gray);
  line-height: 1.7;
}

/* ============================================
   Reviews Section
   ============================================ */
.reviews-section {
  padding: var(--spacing-xl) 0;
  background: var(--gradient-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.review-card {
  background: var(--fjord-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--fjord-ice);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.author-name {
  font-weight: 600;
  color: var(--fjord-deep);
  margin-bottom: 0.25rem;
}

.author-location {
  font-size: 0.875rem;
  color: var(--fjord-gray);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section {
  padding: var(--spacing-xl) 0;
  background: var(--fjord-white);
}

.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info {
  background: var(--gradient-primary);
  color: var(--fjord-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.info-item p {
  opacity: 0.85;
  line-height: 1.6;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--fjord-deep);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem;
  border: 2px solid var(--fjord-ice);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--fjord-mist);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fjord-light);
  background: var(--fjord-white);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--fjord-deep);
  color: var(--fjord-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section ul {
  opacity: 0.85;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--fjord-white);
  opacity: 0.85;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--fjord-light);
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(219, 182, 48, 0.2);
  opacity: 0.7;
}

.powered-by {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.powered-by a {
  color: var(--fjord-light);
  font-weight: 600;
}

/* ============================================
   Age Verification Modal
   ============================================ */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(62, 39, 35, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.age-modal-content {
  background: var(--fjord-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  max-width: 500px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.4s ease;
}

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

.age-modal-content h2 {
  font-family: var(--font-heading);
  color: var(--fjord-deep);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.age-modal-content p {
  color: var(--fjord-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.age-modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--fjord-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fjord-white);
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

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

.scroll-to-top:hover {
  background: var(--fjord-teal);
  transform: translateY(-4px);
}

.scroll-to-top::before {
  content: '↑';
}

/* ============================================
   Legal Content Pages
   ============================================ */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--spacing-md);
}

.legal-section h2 {
  font-family: var(--font-heading);
  color: var(--fjord-deep);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.legal-section h3 {
  color: var(--fjord-blue);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  font-weight: 600;
}

.legal-section p {
  color: var(--fjord-gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
  color: var(--fjord-gray);
  line-height: 1.8;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--fjord-white);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: 1rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .age-modal-buttons {
    flex-direction: column;
  }
  
  .age-modal-content {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}
