/* ================================
   MONSTER MAW — styles
   Main palette: #FF1F1F (red), #0a0a0a (black), #FFFFFF (white)
   Oceanbound palette (section-only): seafoam / navy / sand
   ================================ */

:root {
  --red: #ff1f1f;
  --red-soft: #ff4848;
  --red-glow: rgba(255, 31, 31, 0.3);
  --dark: #0a0a0a;
  --dark-2: #151515;
  --dark-3: #050505;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --muted-2: rgba(255, 255, 255, 0.4);
  --muted-3: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --max-width: 1200px;

  /* Oceanbound palette — taken from the game art */
  --ob-navy:   #37364E;
  --ob-deep:   #355D69;
  --ob-foam:   #6AAE9D;
  --ob-mint:   #B9D4B4;
  --ob-sand:   #F4E9D4;
  --ob-beige:  #D0BAA9;
  --ob-mauve:  #9E8E91;
  --ob-plum:   #5B4A68;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

strong { color: var(--white); font-weight: 600; }

/* ================================
   NAV
   ================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 31, 31, 0.15);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 31, 31, 0.3));
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   HERO
   ================================ */
.hero {
  padding: 80px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 31, 31, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-mascot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mascot img {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(255, 31, 31, 0.25));
  animation: float 6s ease-in-out infinite;
}

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

.hero-text {
  text-align: left;
}

.hero-label,
.section-label {
  font-size: 11px;
  color: var(--red);
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.accent {
  color: var(--red);
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--red-glow);
  background: var(--red-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 2px;
  margin-top: 8px;
}

/* ================================
   SECTIONS (generic)
   ================================ */
.section {
  padding: 80px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-top: 4px;
  letter-spacing: -0.5px;
}

/* ================================
   ABOUT US
   ================================ */
.about-us {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 31, 31, 0.05), transparent 70%),
    var(--dark);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.about-us-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.about-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.about-us-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.about-us-roles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.role-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--muted-3);
  border-radius: 10px;
  transition: all 0.25s;
}

.role-item:hover {
  border-color: rgba(255, 31, 31, 0.4);
  background: rgba(255, 31, 31, 0.04);
  transform: translateY(-2px);
}

.role-count {
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.role-name {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ================================
   OCEANBOUND — featured section
   ================================ */
.oceanbound {
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.oceanbound-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/oceanbound-screenshot.png');
  background-size: cover;
  background-position: center;
  filter: blur(4px) saturate(1.15) brightness(0.85);
  transform: scale(1.08); /* prevents blur edge bleeding in */
  z-index: -2;
}

.oceanbound-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(55, 54, 78, 0.45) 50%, rgba(10, 10, 10, 0.65) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 50%, rgba(10, 10, 10, 0.55) 100%);
  z-index: -1;
}

.oceanbound-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.ob-label {
  color: var(--ob-foam) !important;
}

.oceanbound-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--ob-sand) 0%, var(--ob-foam) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(106, 174, 157, 0.2);
}

.oceanbound-tagline {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(244, 233, 212, 0.85);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.ob-accent {
  color: var(--ob-foam);
  font-weight: 600;
}

.oceanbound-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.ob-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: rgba(55, 54, 78, 0.45);
  border: 1px solid rgba(106, 174, 157, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.ob-feature:hover {
  border-color: rgba(106, 174, 157, 0.5);
  background: rgba(55, 54, 78, 0.6);
  transform: translateY(-2px);
}

.ob-feature-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.ob-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ob-sand);
  margin-bottom: 4px;
}

.ob-feature-desc {
  font-size: 13px;
  color: rgba(244, 233, 212, 0.6);
  line-height: 1.5;
}

/* Steam button — disabled placeholder */
.oceanbound-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  border: 1px solid rgba(106, 174, 157, 0.35);
  border-radius: 10px;
  color: var(--ob-sand);
  font-family: inherit;
  cursor: not-allowed;
  opacity: 0.85;
  position: relative;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.steam-btn:hover {
  opacity: 1;
  border-color: var(--ob-foam);
}

.steam-btn-icon {
  width: 32px;
  height: 32px;
  color: var(--ob-foam);
  flex-shrink: 0;
}

.steam-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1;
}

.steam-btn-small {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(244, 233, 212, 0.6);
  margin-bottom: 4px;
}

.steam-btn-large {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.steam-btn-soon {
  position: absolute;
  top: -9px;
  right: -9px;
  background: var(--red);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(255, 31, 31, 0.4);
}

.oceanbound-note {
  font-size: 12px;
  color: rgba(244, 233, 212, 0.45);
  letter-spacing: 0.5px;
  font-style: italic;
}

/* ================================
   GAME JAMS
   ================================ */
.jams {
  border-top: 1px solid var(--border);
}

.jams-head {
  margin-bottom: 40px;
}

.jams-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
}

.jam-card {
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border: 1px solid rgba(255, 31, 31, 0.15);
  border-radius: 14px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  color: inherit;
  display: block;
}

.jam-card-featured {
  background: transparent;
  isolation: isolate;
}

.jam-card-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.6;
  z-index: 2;
}

.jam-card-featured:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 31, 31, 0.1);
}

.jam-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/loot-of-the-dead.png');
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.3) brightness(1.15);
  transform: scale(1.12);
  z-index: -2;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.jam-card-featured:hover .jam-bg {
  transform: scale(1.18);
  filter: blur(6px) saturate(1.4) brightness(1.25);
}

.jam-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.65) 100%),
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(255, 31, 31, 0.1), transparent 70%);
  z-index: -1;
}

.jam-body {
  position: relative;
  display: flex;
  flex-direction: column;
}

.jam-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.jam-placement {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 12px var(--red-glow);
}

.jam-date {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.jam-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.jam-event {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.jam-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.jam-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--muted-3);
}

.jam-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jam-tag {
  font-size: 10px;
  background: var(--muted-3);
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.jam-cta {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
}

.jam-card-ghost {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.jam-card-inner {
  text-align: center;
  padding: 20px;
}

.jam-ghost-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--muted-2);
  font-weight: 300;
}

.jam-ghost-text {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.jam-ghost-sub {
  font-size: 12px;
  color: var(--muted-2);
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ================================
   PRIVACY POLICY
   ================================ */
.privacy-section {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.privacy-toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  color: var(--white);
  transition: background 0.2s;
  gap: 16px;
}

.privacy-toggle:hover {
  background: var(--muted-3);
}

.privacy-toggle-left {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.privacy-toggle-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.privacy-arrow {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s;
}

.privacy-toggle.open .privacy-arrow {
  transform: rotate(180deg);
  color: var(--red);
}

.privacy-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.privacy-body.open {
  max-height: 9999px;
}

.privacy-content {
  padding: 0 40px 48px;
  border-top: 1px solid var(--border);
}

.privacy-intro {
  margin-top: 32px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-content h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-top: 28px;
  margin-bottom: 10px;
}

.privacy-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 8px;
}

.privacy-content ul li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.privacy-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-updated {
  margin-top: 32px !important;
  font-size: 11px !important;
  color: var(--muted-2) !important;
  letter-spacing: 0.5px;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--dark-3);
  padding: 40px;
  border-top: 1px solid rgba(255, 31, 31, 0.15);
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 12px;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-email {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--red);
}

.footer-email-copied {
  display: none;
  color: var(--red);
}

.footer-email.copied .footer-email-text {
  display: none;
}

.footer-email.copied .footer-email-copied {
  display: inline;
}

/* ================================
   RESPONSIVE — TABLET
   ================================ */
@media (max-width: 900px) {
  .nav {
    padding: 16px 24px;
  }

  .hero {
    padding: 50px 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

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

  .hero-mascot img {
    max-width: 240px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .section {
    padding: 60px 24px;
  }

  .about-us-inner {
    padding: 0 24px;
  }

  .about-us-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-us-roles {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .oceanbound {
    padding: 72px 24px;
  }

  .oceanbound-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .footer {
    padding: 32px 24px;
  }

  .privacy-toggle {
    padding: 24px;
  }

  .privacy-content {
    padding: 0 24px 40px;
  }

  .stats {
    gap: 40px;
  }
}

/* ================================
   RESPONSIVE — MOBILE
   ================================ */
@media (max-width: 640px) {
  .nav {
    padding: 14px 20px;
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 40px 20px 50px;
  }

  .hero-mascot img {
    max-width: 190px;
  }

  .hero-sub {
    font-size: 15px;
  }

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

  .btn {
    width: 100%;
    text-align: center;
  }

  .stats {
    gap: 28px;
    margin-top: 48px;
    padding-top: 36px;
  }

  .stat-num {
    font-size: 28px;
  }

  .section,
  .about-us-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .oceanbound {
    padding: 60px 20px;
  }

  .oceanbound-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .jam-card {
    padding: 24px;
  }

  .jam-title {
    font-size: 24px;
  }

  .about-us-badges {
    gap: 16px;
  }

  .about-us-roles {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
  }

  .role-item {
    padding: 14px 16px;
  }

  .role-count {
    font-size: 24px;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }

  .privacy-toggle {
    padding: 20px;
  }

  .privacy-toggle-title {
    font-size: 17px;
  }

  .privacy-content {
    padding: 0 20px 36px;
  }
}
