/* Couch Games Website Styles */

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

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

:root {
  /* Logo-inspired color palette */
  --cyan: #4DBECD;
  --yellow: #FFD700;
  --orange: #FF8C42;
  --black: #000000;
  --white: #FFFFFF;
  --light-cyan: #7DD4E0;
  --dark-cyan: #2A9BAA;
}

body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background: var(--cyan);
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
  min-height: 100vh;
}

/* Header Styles */
.site-header {
  background: var(--cyan);
  color: var(--white);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(255, 140, 66, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 50% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
  z-index: 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.logo-container {
  flex-shrink: 0;
  border-radius: 30px;
  border: 6px solid var(--black);
  box-shadow:
    0 10px 0 var(--black),
    0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-container::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  border-radius: 32px;
  z-index: -1;
}

.logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}

.header-text {
  flex: 1;
  text-align: left;
}

h1, .brand-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow:
    4px 4px 0 var(--black),
    -1px -1px 0 var(--black),
    1px -1px 0 var(--black),
    -1px 1px 0 var(--black),
    1px 1px 0 var(--black);
  color: var(--white);
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.2rem 2rem;
  background: var(--white);
  color: var(--black);
  border-radius: 20px;
  border: 4px solid var(--black);
  box-shadow: 0 6px 0 var(--black);
  display: inline-block;
  line-height: 1.6;
}

/* Navigation */
nav {
  background-color: var(--yellow);
  padding: 0;
  border-bottom: 5px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 0 var(--orange);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

nav li {
  border-right: 4px solid var(--black);
}

nav li:first-child {
  border-left: none;
}

nav li:last-child {
  border-right: none;
}

nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.2rem 2.5rem;
  display: block;
  transition: all 0.2s;
  font-family: 'Fredoka', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav a:hover {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.05);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.content-section {
  background: var(--white);
  padding: 3rem;
  margin-bottom: 2.5rem;
  border-radius: 30px;
  border: 6px solid var(--black);
  box-shadow:
    0 10px 0 var(--black),
    0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(-5px);
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-section:hover {
  transform: translateY(-8px);
  box-shadow:
    0 13px 0 var(--black),
    0 13px 35px rgba(0, 0, 0, 0.35);
}

.content-section::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  border-radius: 30px;
  z-index: -1;
}

h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  width: 100%;
}

h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 6px;
  background: var(--orange);
  margin: 0.5rem auto 0;
  border-radius: 3px;
  border: 2px solid var(--black);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.social-link {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Fredoka', sans-serif;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 5px solid var(--black);
  box-shadow: 0 6px 0 var(--black);
  position: relative;
  top: 0;
}

.social-link:hover {
  top: 3px;
  box-shadow: 0 3px 0 var(--black);
}

.social-link:active {
  top: 6px;
  box-shadow: 0 0px 0 var(--black);
}

.social-link.steam {
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
}

.social-link.instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-link.tiktok {
  background: linear-gradient(135deg, #000000 0%, #ee1d52 100%);
}

/* Game Feature */
.game-feature {
  text-align: center;
  padding: 2rem 0;
}

.game-feature h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  color: var(--orange);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    3px 3px 0 var(--black),
    -1px -1px 0 var(--black),
    1px -1px 0 var(--black),
    -1px 1px 0 var(--black),
    1px 1px 0 var(--black);
  animation: pulse 2s ease-in-out infinite;
}

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

.video-container {
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid var(--black);
  box-shadow:
    0 8px 0 var(--black),
    0 8px 30px rgba(0, 0, 0, 0.4);
  background: var(--black);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.game-description {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--black);
  font-weight: 600;
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 66, 0.2));
  border-radius: 20px;
  border: 4px solid var(--black);
}

.game-link {
  display: inline-block;
  padding: 1.5rem 4rem;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: 'Fredoka', sans-serif;
  text-transform: uppercase;
  margin-top: 1.5rem;
  transition: all 0.2s;
  border: 5px solid var(--black);
  box-shadow: 0 8px 0 var(--black);
  position: relative;
  top: 0;
}

.game-link:hover {
  top: 4px;
  box-shadow: 0 4px 0 var(--black);
  background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
}

.game-link:active {
  top: 8px;
  box-shadow: 0 0px 0 var(--black);
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--white);
  border-radius: 30px;
  border: 6px solid var(--black);
  box-shadow:
    0 10px 0 var(--black),
    0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-content h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  color: var(--black);
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--orange);
}

.legal-content h2::after {
  width: 60px;
  height: 4px;
  margin: 0.5rem 0 0 0;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1rem 2rem;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--cyan);
}

.legal-content a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.effective-date {
  font-style: italic;
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 4rem;
  border-top: 6px solid var(--yellow);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--orange);
}

footer p {
  margin-bottom: 0.8rem;
  font-weight: 600;
}

footer a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.2s;
}

footer a:hover {
  border-bottom-color: var(--yellow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header {
    padding: 2rem 1rem;
  }

  .header-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .logo-container {
    border-width: 5px;
    box-shadow:
      0 8px 0 var(--black),
      0 8px 25px rgba(0, 0, 0, 0.3);
  }

  .logo-container::before {
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
  }

  .logo {
    max-width: 200px;
  }

  .header-text {
    text-align: center;
  }

  h1, .brand-title {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  nav a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .content-section {
    padding: 2rem 1.5rem;
    border-width: 5px;
    box-shadow:
      0 8px 0 var(--black),
      0 8px 25px rgba(0, 0, 0, 0.3);
  }

  .content-section:hover {
    transform: translateY(-5px);
    box-shadow:
      0 10px 0 var(--black),
      0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .social-link {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .game-feature h3 {
    font-size: 2.5rem;
  }

  .game-description {
    font-size: 1.1rem;
    padding: 1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
  }

  .video-container {
    border-width: 4px;
    box-shadow:
      0 6px 0 var(--black),
      0 6px 20px rgba(0, 0, 0, 0.4);
  }
}