:root {
  --primary:     #ef3b5f;
  --primary-light: #ff6b8f;
  --secondary:   #ff6b00;
  --secondary-light: #ff8f00;
  --substar-color:#00b47e;
  --substar-color-light: #40e0d0;
  --dark-bg:     #000;
  --light-text:  #ffffff;
  --dark-text:   #111;
  --medium-text: #777;
  --link-blue:   #67c1ff;
  --accent-blue: #67c1ff;
  --crop-top:    230px;
  --crop-bottom: 0px;
  --fade-height: 420px;
  --game-offset: 4.5rem;
  --font-main: 'DynaPuff', cursive;
  --font-alt: 'Inter', sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-main);
  line-height: 1.6;
  background: var(--accent-blue);
  color: var(--light-text);
  overflow-x: hidden;
}
body.no-scroll {
  overflow-y: hidden;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.text-center {
  text-align: center;
}
.text-sm {
  font-size: 0.9rem;
}
.age-gate {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}
.age-box {
  width: 100%;
  max-width: 600px;
  padding: 2rem 1.5rem;
  background: #1a1a1a;
  border: 1px solid #333;
  text-align: center;
  color: var(--light-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}
.gate-logo {
  max-width: 200px;
  margin: 0 auto 1.5rem;
}
.age-title {
  font-family: var(--font-main);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.age-text {
  font-family: var(--font-main);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.age-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.age-btn {
  flex: 1 1 200px;
  padding: 0.9rem 1rem;
  border: none;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.age-btn:hover {
   transform: translateY(-2px);
   box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.age-btn.yes {
  background: linear-gradient(to bottom right, var(--primary-light), var(--primary));
  color: var(--light-text);
}
.age-btn.no {
  background: #444;
  color: #ccc;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
.navbar {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-weight: 600;
  font-family: var(--font-alt);
  font-size: 1.1rem;
}
.nav-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}
.banner-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  line-height: 0;
}
.banner-img {
  width: 100%;
}
.banner-section::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to bottom, transparent 0%, var(--accent-blue) 100%);
  pointer-events: none;
}
.play-section {
  margin-top: calc(-1 * var(--crop-top));
  padding-top: calc(var(--crop-top) + var(--game-offset));
  position: relative;
  overflow: hidden;
  text-align: center;
  background: url('ImageAssets/BIgBIg.png') top center / cover no-repeat;
  clip-path: inset(var(--crop-top) 0 var(--crop-bottom) 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fade-out {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--fade-height);
  background: linear-gradient(to bottom, transparent 0%, #fff 100%);
  pointer-events: none;
  z-index: 2;
}
.play-title {
  font-family: var(--font-main);
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  z-index: 3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
#gameWrapper {
  width: clamp(240px, 55vw, 396px);
  aspect-ratio: 396 / 704;
  background: #111;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  margin-bottom: 4rem;
  z-index: 3;
}
#gameWrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.btn {
  background: var(--primary);
  color: var(--light-text);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.fullscreen-btn {
   display: block;
   margin-left: auto;
   margin-right: auto;
}
.section {
  padding: 4rem 0;
}
.white-bg {
  background: #fff;
  color: var(--dark-text);
  margin-top: calc(-1 * var(--fade-height));
  padding-top: var(--fade-height);
  padding-bottom: 4rem;
}
.dark-section-bg {
  background: var(--dark-bg);
  color: var(--light-text);
}
#about .container {
  max-width: 75%;
}
#about {
  font-size: 1.15rem;
  line-height: 1.6;
}
#about .version-info {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  font-weight: bold;
  color: #444;
}
#about .col-header-img {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}
#about .col-header-img img {
   max-width: 400px;
}
#about .three-col {
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
#about .three-col > div {
  flex: 1 1 280px;
  text-align: left;
}
#about .about-col    { order: 0; }
#about .download-col { order: 1; }
#about .roadmap-col  { order: 2; }
#about .about-col p {
  margin-bottom: 1rem;
}
#about .roadmap-list {
  list-style: none;
  padding-left: 2rem;
  max-width: 380px;
  margin: 1.5rem auto;
  text-align: left;
}
#about .roadmap-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
}
#about .roadmap-list li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.25em;
}
#about .download-col .dl-btn {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 1rem auto;
  padding: 1rem 1.25rem;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-alt);
  font-size: 1rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.35;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
#about .download-col .dl-btn.itch {
  background: linear-gradient(to bottom right, var(--primary-light), var(--primary));
}
#about .download-col .dl-btn.paid {
  background: linear-gradient(to bottom right, var(--secondary-light), var(--secondary));
}
#about .download-col .dl-btn.substar {
  background: linear-gradient(to bottom right, var(--substar-color-light), var(--substar-color));
}
#about .download-col .dl-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
  text-decoration: none;
}
#about .download-col .dl-btn small {
  font-size: 0.85em;
  opacity: 0.9;
}
#about .download-col .text-sm {
  text-align: center;
  margin-top: 0.5rem;
  color: #555;
}
#about .support-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem auto 1rem auto;
  flex-wrap: wrap;
}
#about .support-row a {
   display: block;
   transition: transform 0.2s ease;
}
#about .support-row a:hover {
   transform: scale(1.05);
}
#about .support-row img {
  max-width: 420px;
  height: auto;
  display: block;
}
footer {
  background: var(--dark-bg);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--medium-text);
  font-family: var(--font-alt);
  font-size: 0.875rem;
  margin-top: 0;
}
footer a {
  color: var(--primary);
  font-weight: 600;
}
footer a:hover {
  color: var(--light-text);
}
@media (max-width: 900px) {
  #about .container { max-width: 85%; }
  .play-title { font-size: 2rem; }
  #about .three-col { gap: 2rem; }
  #about .support-row { gap: 1rem; }
  #about .support-row img { max-width: 260px; }
}
@media (max-width: 800px) {
   #about .container { max-width: 90%; }
  #about .three-col { flex-direction: column; align-items: center; gap: 2.5rem; }
  #about .about-col,
  #about .roadmap-col,
  #about .download-col { text-align: center; width: 100%; max-width: 500px; order: initial; }
  #about .roadmap-list li { padding-left: 0; text-align: center; }
  #about .roadmap-list li::before { display: none; }
  #about .support-row { flex-direction: column; gap: 1rem; }
  #about .support-row img { max-width: 320px; }
}
@media (max-width: 600px) {
   #about .container { max-width: 95%; }
   .nav-links { flex-direction: column; gap: 1rem; align-items: center; }
   .play-title { font-size: 1.8rem; }
   #gameWrapper { margin-bottom: 2rem; }
   .age-box { padding: 1.5rem 1rem; }
   .age-title { font-size: 1.5rem; }
   .age-text { font-size: 1rem; }
   #about { font-size: 1.05rem; }
   #about .version-info { font-size: 1.4rem; }
   #about .col-header-img img { max-width: 260px; }
   #about .support-row img { max-width: 280px; }
}
