@font-face {
  font-family: 'Western';
  src: url('/assets/gomarice_nandaka_western.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: #2c1810;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #d4a574;
}

main {
  flex: 1;
  width: 100%;
}

h1, h2, h3 {
  color: #4a2c17;
  margin-bottom: 1rem;
}

a {
  color: #8b4513;
}

a:hover {
  color: #5c2d0e;
}

/* Full-screen hero section */
.hero {
  min-height: 100vh;
  background-color: #c4966a;
  background-image: url('/assets/bigIronDemoLogo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
  padding-right: 12%;
  position: relative;
}

/* Dark overlay for better text readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, transparent 40%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

/* Pre-tagline above logo */
.pre-tagline {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Western', serif;
  font-size: 2.5rem;
  color: #4a2c17;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* Subtitle below logo */
.subtitle {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Western', serif;
  font-size: 1.4rem;
  color: #5c3d2e;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
  max-width: 80%;
}

/* Right side content panel */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 320px;
}

/* Screenshot carousel */
.carousel {
  position: relative;
  width: 200px;
  height: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.carousel-track {
  display: flex;
  flex-direction: column;
  animation: carousel-scroll 6s ease-in-out infinite;
}

.carousel-track img {
  width: 200px;
  height: 400px;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes carousel-scroll {
  0%, 40% {
    transform: translateY(0);
  }
  50%, 90% {
    transform: translateY(-400px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Store buttons */
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.store-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 54px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-buttons a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.store-buttons a img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Beta label */
.beta-label {
  font-family: 'Western', serif;
  font-size: 1.2rem;
  color: #4a2c17;
  text-align: center;
  margin: 0;
}

/* Footer - transparent overlay */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: #4a2c17;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
  z-index: 10;
}

footer a {
  color: #4a2c17;
}

footer a:hover {
  color: #2c1810;
}

footer p {
  margin: 0;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

footer span {
  margin: 0 0.5rem;
}

/* Privacy page */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #d4a574;
  min-height: calc(100vh - 100px);
}

.privacy-content h1 {
  margin-bottom: 1.5rem;
}

.privacy-content h2 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    padding-right: 2rem;
    background-position: center top;
  }

  .hero::before {
    background: rgba(0,0,0,0.2);
  }

  .hero-content {
    max-width: 280px;
  }

  .carousel {
    width: 160px;
    height: 320px;
  }

  .carousel-track img {
    width: 160px;
    height: 320px;
  }

  @keyframes carousel-scroll {
    0%, 40% {
      transform: translateY(0);
    }
    50%, 90% {
      transform: translateY(-320px);
    }
    100% {
      transform: translateY(0);
    }
  }

  .pre-tagline {
    font-size: 1.5rem;
    top: 2%;
  }

  .subtitle {
    font-size: 1rem;
    bottom: 6%;
    max-width: 90%;
  }

  .store-buttons a {
    width: 160px;
    height: 48px;
  }
}
