/* MyFunFjord.guru - Main CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  /* Main theme colors - light yellow and white */
  --primary-yellow: #FFF4B8;
  --secondary-yellow: #FFEAA1;
  --accent-yellow: #FFD23F;
  --light-yellow: #FFFBEB;
  --white: #FFFFFF;
  --dark-text: #333333;
  --light-text: #666666;
  --border-color: #E5E0CB;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--light-yellow);
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--dark-text);
  text-align: center;
}

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

a:hover {
  color: var(--accent-yellow);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: 0.5px;
}

.logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  padding: 8px 15px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: var(--primary-yellow);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
}

/* Hero section */
.hero {
  padding: 140px 0 70px;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-yellow) 100%);
  text-align: center;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px; /* Add proper gap between text and image */
}

.hero-text {
  flex: 1;
  margin-right: 20px;
  text-align: left; /* Align text to the left */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.hero-image {
  flex: 1;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 20px var(--shadow-color);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    margin-bottom: 20px;
  }
  
  .hero-image img {
    width: 80%;
    margin: 0 auto;
  }
}

/* Disclaimer Section */
.disclaimer-section {
  padding: 60px 0;
  background-color: var(--white);
}

.disclaimer-box {
  background-color: var(--primary-yellow);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.disclaimer-box h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.disclaimer-box p {
  font-size: 1.1rem;
}

/* Popup Disclaimer */
.disclaimer-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.disclaimer-popup.show {
  display: flex;
}

.disclaimer-popup-content {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: popIn 0.3s ease-out forwards;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.disclaimer-popup h3 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--dark-text);
}

.disclaimer-popup p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--light-text);
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* Game Section */
.game-section {
  padding: 70px 0;
  background-color: var(--light-yellow);
}

.game-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.game-header {
  background-color: var(--primary-yellow);
  padding: 20px 30px;
  text-align: center;
}

.game-header h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.game-header p {
  color: var(--light-text);
  font-size: 1.1rem;
}

.game-content {
  padding: 20px;
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: var(--border-radius-md);
  background-color: var(--light-yellow);
}

.game-action {
  text-align: center;
  margin-top: 20px;
}

.game-description {
  padding: 20px;
  background-color: var(--light-yellow);
  border-radius: var(--border-radius-md);
  margin-top: 20px;
}

.game-description h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.game-description p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--light-text);
}

.coming-soon-section {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.coming-soon-section h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.coming-soon-section p {
  color: var(--light-text);
  font-size: 1.1rem;
}

/* About Page Styles */
.about-page-section {
  padding: 70px 0;
  background-color: var(--white);
}

.about-page-container {
  background-color: var(--light-yellow);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.about-page-content {
  padding: 40px;
}

.about-page-content h2 {
  font-size: 2rem;
  margin: 30px 0 15px;
  color: var(--dark-text);
  position: relative;
}

.about-page-content h2:first-child {
  margin-top: 0;
}

.about-page-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.about-page-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--light-text);
}

.about-list {
  margin-left: 20px;
  margin-bottom: 30px;
}

.about-list li {
  margin-bottom: 10px;
  color: var(--light-text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.value-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 25px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 10px var(--shadow-color);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--accent-yellow);
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--light-text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Contact Page Additional Styles */
.contact-disclaimer {
  background-color: var(--primary-yellow);
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-top: 30px;
}

.contact-disclaimer h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.contact-disclaimer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* About Section */
.about-section {
  padding: 70px 0;
  background-color: var(--white);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-container.centered {
    justify-content: center;
    text-align: center;
}

.about-text {
  flex: 1;
}

.about-text.centered {
    max-width: 700px;
    margin: 0 auto;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--light-text);
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 20px var(--shadow-color);
}

/* Features Section */
.features-section {
  padding: 70px 0;
  background-color: var(--light-yellow);
}

.features-header {
  text-align: center;
  margin-bottom: 50px;
}

.features-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.features-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.features-header p {
  font-size: 1.1rem;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-yellow);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--light-text);
  font-size: 1rem;
}

/* Contact Form */
.contact-section {
  padding: 70px 0;
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  padding: 30px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--light-text);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--accent-yellow);
}

.contact-form {
  background-color: var(--light-yellow);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.3);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border: none;
  border-radius: var(--border-radius-md);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--dark-text);
}

.btn-primary:hover {
  background-color: #FFB400;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 210, 63, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark-text);
  border: 2px solid var(--accent-yellow);
}

.btn-secondary:hover {
  background-color: var(--primary-yellow);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px var(--shadow-color);
}

.btn-full {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--white);
  padding-top: 60px;
  box-shadow: 0 -2px 10px var(--shadow-color);
  text-align: center;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-column {
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-yellow);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: var(--light-text);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-link a:hover {
  color: var(--accent-yellow);
  padding-left: 5px;
}

.footer-disclaimer {
  background-color: var(--primary-yellow);
  padding: 20px;
  margin: 20px 0;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom {
  background-color: var(--light-yellow);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-text);
}

/* Legal Pages */
.legal-section {
  padding: 140px 0 70px;
  background-color: var(--white);
}

.legal-container {
  background-color: var(--light-yellow);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: var(--dark-text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-yellow);
}

.legal-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .game-iframe {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 10px var(--shadow-color);
    padding: 10px 0;
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  
  .nav-link:hover {
    background-color: var(--primary-yellow);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .game-iframe {
    height: 400px;
  }
  
  .popup-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .disclaimer-box {
    padding: 20px;
  }
  
  .game-iframe {
    height: 300px;
  }
  
  .legal-container {
    padding: 20px;
  }
}