body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #F2EEE7;
}

* {
  box-sizing: border-box;
}

header {
  margin: 0;
  padding: 0;
}

h2 {
  text-align: center;
}

body {
  font-family: 'Inter', sans-serif;
}

/* HEADINGS */
h1, h2, h3 {
  font-family: 'Londrina Solid', sans-serif;
  text-transform: uppercase;
}

h1 {
  font-family: 'Londrina Solid', sans-serif;
  font-weight: 900;
}

h2 {
  font-family: 'Londrina Solid', sans-serif;
  font-weight: 400;
}

h3 {
  font-family: 'Londrina Solid', sans-serif;
  font-weight: 300;
}

details summary {
  font-family: 'Londrina Solid', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 300;
}

/* LOGO */
.logo {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 3;
}

.logo img {
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo:hover img {
  transform: scale(1.1);
}

/* NAVIGATION */
nav {
  margin: 0;
  padding: 0;
  border-bottom: none;
}

nav a {
  font-family: 'Londrina Solid', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  margin-left: 18px;
  color: #333;
  font-weight: 400;
}

nav a:hover {
  color: #A900B2;
  letter-spacing: 2px;
  transition: 0.2s ease;
}

.paper-nav-bar {
  position: relative;
  z-index: 2;
}

.paper-nav-bar nav {
  position: absolute;
  top: 40px;
  right: 30px;
}

.nav-bg {
  width: 100%;
  height: auto;
  display: block;
}

/* GLOBAL SECTION SYSTEM */
.container,
.section {
  width: min(90%, 900px);
  margin-left: auto;
  margin-right: auto;
}

.section {
  width: 100%;
  padding: 40px 40px 40px;
  text-align: center;
   box-shadow: 0 2px 6px rgba(58, 57, 57, 0.464);
   margin: 0;
}

.section h2 {
  margin-top: 0;       
  margin-bottom: 20px;
  font-size: 42px;
  color: black;
}



.section-inner {
  width: min(90%, 900px);
  margin: 0 auto;
  text-align: center;
}

.section p {
  margin-top: 0;
  margin-bottom: 16px;
}

.section-cream {
  background: #fffaf0;
}

.section-teal {
  background: #7CC6B6;
}

.section-yellow {
  background: #F5C400;
}

.section-purple {
  background: #D8B4E2;
}

.section-pink {
  background: #ff9cb8;
}

.section-sound {
  background: #D8B4E2;
}

/* WAVE DIVIDER */

.wave-divider {
  position: relative;
  top: -1px;
  margin: 0;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: -2px;
  margin-top: -40px;
}

.wave-divider svg path {
  filter: drop-shadow(0px -3px 2px rgba(0, 0, 0, 0.388));
}

.sound-grid {
  max-width: 900px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sound-card {
  background: #fffaf0;
  padding: 24px;

  border: 3px solid #4B006E; /* dark purple */
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.414);

  text-align: center;
}

.sound-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 700px) {
  .sound-grid {
    grid-template-columns: 1fr;
  }
}

.sound-card:nth-child(1) {
  transform: rotate(-1deg);
}

.sound-card:nth-child(2) {
  transform: rotate(1deg);
}

.sound-card:nth-child(3) {
  transform: rotate(-0.5deg);
}

.sound-cta {
  margin-top: 40px;
  text-align: center;
}

.sound-cta a {
  display: inline-block;
  padding: 14px 28px;

  background: #4B006E; /* dark purple */
  color: white;
  text-decoration: none;

  font-family: 'Londrina Solid', cursive;
  text-transform: uppercase;
  letter-spacing: 1px;

  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  transform: rotate(-1deg);
}

.sound-cta a:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 10px 16px rgba(0,0,0,0.2);
}

/* AUDIO PLAYER */

.audio-player {
  max-width: 760px;
  margin: 40px auto 0;
  box-shadow: 0 10px 18px rgba(0,0,0,0.22);
  border-radius: 14px;
  overflow: hidden;
}


/* TEXT WIDTH CONTROL */

.section p {
  max-width: 700px;
  margin: 0 auto 20px auto;
}

/* GRID + CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #d9d9d9;
  padding: 28px;
  text-align: center;
}

/* HOME PAGE */
.top-stack {
  width: 100%;
}

.home-content {
  position: relative;
  z-index: 3;
  padding-top: 0;
}

.home-content .section:first-of-type {
  position: relative;
  z-index: 3;
}

.L1 {
  margin-top: -3vw;
  z-index: 3;
}

.L2 {
  background: #7CC6B6;
  margin-top: -2vw;
  z-index: 2;
}

.L3 {
  background: #F5C400;
  margin-top: -2vw;
  z-index: 1;
}

.L1, .L2, .L3 {
  position: relative;
}

.hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: -5vw;
  overflow: hidden;
}

.hero-text {
  position: absolute;
  top: 25%;
  left: 6%;
  max-width: 360px;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.hero-text p {
  line-height: 1.5;
}

/* DROPDOWNS */
details {
  margin: 16px 0;
  padding: 14px;
  background: #fffaf0;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.454);
  text-align: left;
}

summary {
  font-weight: bold;
  cursor: pointer;
}

details p {
  margin-bottom: 0;
}

.dropdown-section details {
  max-width: 700px;
  margin: 16px auto;

  background: #fffaf0;
  padding: 18px 20px;

  border: 3px solid #E1327F;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);

  text-align: left;
}

.dropdown-section details p {
  margin-top: 12px;
  line-height: 1.6;
  text-align: center;

}

.dropdown-section summary {
  font-family: 'Londrina Solid', cursive;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
}

.gameplay-gif {
  width: 100%;
  margin-top: 12px;
  border-radius: 4px;
  display: block;
}

/* CHARACTER CARDS */
.grid-3{
  max-width: 900px;
  margin: 40px auto 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.character-card {
  transition: transform 0.25s ease;
  cursor: pointer;
  background: #E1327F;
  padding: 24px;
  text-align: center;
}

.character-card:nth-child(1):hover {
  transform: scale(1.05) rotate(-1.5deg);
}

.character-card:nth-child(2):hover {
  transform: scale(1.05) rotate(1.5deg);
}

.character-card:nth-child(3):hover {
  transform: scale(1.05) rotate(-1deg);
}

.character-card h3 {
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 10px;
  color: #fffaf0;
}

.character-card p {
  font-weight: bold;
  margin-bottom: 28px;
  color: #fffaf0;
}

.section-characters {
  padding-top: 40px;
}

@media (max-width: 800px) {
  .character-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

.gif-box {
  background: white;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
}

/* DEVELOPMENT PAGE */
.dev-grid {
  max-width: 900px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dev-card {
  background: #fffaf0;
  padding: 20px;

  border: 3px solid #588c81;
  box-shadow: 0 6px 10px rgba(0,0,0,0.12);

  text-align: center;
  font-family: 'Londrina Solid';
  font-weight: 300;
}

/* responsive */
@media (max-width: 800px) {
  .dev-grid {
    grid-template-columns: 1fr;
  }
}

/* AUDIO PAGE */
.audio-hero h1 {
  font-size: 52px;
  margin-bottom: 10px;
}

.audio-hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.5;
}

.audio-player {
  background: #fffaf0;
  padding: 40px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.audio-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.audio-split h2 {
  font-size: 36px;
  color: #A900B2;
}

.audio-split p {
  line-height: 1.6;
}

/* FOOTER */
.paper-footer {
  position: relative;
  text-align: center;
  z-index: 2;
  margin-top: -20px;
}


.footer-bg {
  width: 100%;
  display: block;
}

.footer-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-style: italic;
  font-size: small;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .grid-3,
  .audio-split {
    grid-template-columns: 1fr;
  }

  .paper-nav-bar nav {
    position: static;
    padding: 15px;
    text-align: center;
  }

  .logo {
    position: static;
    display: block;
    text-align: center;
    padding-top: 15px;
  }

  .hero-text {
  position: absolute;
  top: 25%;

  width: min(90%, 900px);   /* ← match your sections */
  left: 50%;
  transform: translateX(-50%);
}

  .hero {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
}

main {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 72px; /* was ~48 */
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.5;
}

.button-link {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #4B006E;
  color: white;
  text-decoration: none;
  font-family: 'Londrina Solid', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

.button-link:hover,
.play-card:hover {
  transform: rotate(-1deg) scale(1.03);
}

.play-card {
  border: 3px solid #4B006E;
  text-decoration: none;
  color: #333;
  font-family: 'Londrina Solid', sans-serif;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}

/* random fixes */

* {
  box-sizing: border-box;
}

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

main {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

/* hero */
.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: -5vw;
  overflow: hidden;
}

.hero img {
  width: 102%;
  max-width: none;
  margin-left: -1%;
  display: block;
}

.hero-text {
  position: absolute;
  top: 25%;
  left: 6%;
  max-width: 420px;
  transform: none;
}

.hero-text h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin-bottom: 12px;
}

.hero-text p {
  font-size: clamp(16px, 2vw, 20px);
} 

.home-content {
  padding: 0;
  margin: 0;
}

@media (max-width: 800px) {
  .hero {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .hero-text {
    position: static;
    max-width: 90%;
    margin: 25px auto;
    text-align: center;
  }
}

/* grids */
.grid-3,
.dev-grid,
.sound-grid,
.character-grid {
  width: min(90%, 900px);
  margin-left: auto;
  margin-right: auto;
}

/* mobile */
@media (max-width: 800px) {
  .paper-nav-bar nav {
    position: static;
    padding: 15px;
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 6px 10px;
  }

  .logo {
    position: static;
    display: block;
    text-align: center;
    padding-top: 15px;
  }

  .logo img {
    height: 36px;
  }

  .section {
    padding: 30px 20px;
  }

  .section h2 {
    font-size: 34px;
  }

  .grid-3,
  .dev-grid,
  .sound-grid,
  .character-grid,
  .audio-split {
    grid-template-columns: 1fr;
  }

  .sound-card,
  .character-card,
  .dev-card {
    transform: none;
  }

  .wave-divider svg {
    height: 60px;
    margin-top: -20px;
  }

  .footer-text {
    position: static;
    transform: none;
    padding: 15px;
    font-size: 12px;
  }
}

.hero {
  position: relative;
  z-index: 1;
}

.home-content {
  position: relative;
  z-index: 2;
}

.home-content .wave-divider:first-of-type {
  position: relative;
  z-index: 4;
}

.section + .wave-divider {
  position: relative;
  z-index: 5;
  margin-top: -50px;
}
