@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&display=swap');

:root {
  --primary-color: #ffd700;
  --secondary-color: #2ecc71;
  --accent-color: #e74c3c;
  --text-color: #333;
  --white: #ffffff;
  --bg-dark: rgba(0, 0, 0, 0.5);
  --border-color: #333;
  --border-width: 3px;
  --shadow: 0 4px 0 var(--border-color);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background: url('assets/backgrounds/background.png') no-repeat center center fixed;
  background-size: cover;
  color: var(--white);
  min-height: 100vh;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.3);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100px;
}

.logo-hero {
  width: 300px;
}

.lang-switcher button {
  background: var(--primary-color);
  border: var(--border-width) solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.1s;
  margin-left: 0.5rem;
}

.lang-switcher button:active {
  transform: translateY(2px);
  box-shadow: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--border-color);
}

.hero p {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--bg-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  border: 2px solid var(--white);
}

.lottie-container {
  width: 300px;
  height: 300px;
}

.download-container {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.download-btn {
  background: var(--bg-dark);
  border: var(--border-width) solid var(--white);
  border-radius: 12px;
  padding: 0.5rem 1.2rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s;
  min-width: 180px;
}

.download-btn:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.7);
}

.download-btn:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1.8rem;
}

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

.btn-subtext {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
}

.btn-maintext {
  font-size: 1.1rem;
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.feature-card {
  background: var(--bg-dark);
  border: var(--border-width) solid var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.4;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 1rem;
  background: var(--bg-dark);
  border-top: var(--border-width) solid var(--white);
}

footer a {
  color: white;
  text-decoration: none;
}
.logo-footer {
  width: 50px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .lottie-container {
    width: 200px;
    height: 200px;
  }
}

/* PalGo Gallery */
.palgo-gallery {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}

.palgo-gallery h2 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--border-color);
  margin-bottom: 1rem;
}

.palgo-gallery p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  background: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  display: inline-block;
}

.stage-toggle {
  margin-bottom: 2.5rem;
}

.stage-btn {
  background: var(--bg-dark);
  border: var(--border-width) solid var(--white);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 15px;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: all 0.2s;
}

.stage-btn.active {
  background: var(--primary-color);
  color: var(--text-color);
  border-color: var(--border-color);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.palgo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  width: 100%;
}

.palgo-card {
  background: var(--bg-dark);
  border: var(--border-width) solid var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s;
  cursor: default;
}

.palgo-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.palgo-visual-container {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.palgo-visual-container img {
  max-width: 130%; /* Make them slightly larger as requested */
  max-height: 130%;
  object-fit: contain;
}

.palgo-color-label {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary-color);
}
