:root {
  --primary: #ffcb05;
  --secondary: #224578;
  --dark: #0e063d;
  --light: #f5f5f5;
  --link: #ffd700;
  --navbar-bg: #0f224a;
  --navbar-subnav-bg: #ffffff;
  --nav-subnav-drop-shadow: 0px 14px 24px 0px #00000040;
  --text-color: #ffffff;
  --text-font-size: 0.75rem;
  --text-font-weight: 500;
  --text-transform: uppercase;
  --text-padding: 0.5rem 1.25rem;
  --text-line-height: 1rem;
  --link-color: #ffffff;
  --active-bg: #0f224a;
  --default-border: 2px solid transparent;
  --hover-border: 2px solid #ffffff;
  --active-border: 2px solid #24cbaa;
  --button-bg: #e2e8f0;
  --border-radius: 999px;
  --border-color: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff176;
}

header {
  background: var(--active-bg);
  padding: 1rem 2rem;
  text-align: center;
}

header img {
  max-width: 200px;
  height: auto;
}

header h1 {
  font-family: "Press Start 2P", cursive;
  color: var(--primary);
  font-size: 1.4rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-group {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: left;
  text-align: left;
}

.nav-group h1 {
  font-family: "Press Start 2P", cursive;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.nav-group nav {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.3rem;
}

.nav-group .logo {
  display: flex;
  align-items: center; /* vertical alignment */
  justify-content: center;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
}

nav a,
.lang-switch a {
  text-decoration: none;
  color: inherit;
  padding: var(--text-padding, 0.5rem 1rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-font-size, 1rem);
  font-weight: var(--text-font-weight, 500);
  text-transform: var(--text-transform, none);
  border-radius: var(--border-radius, 0.25rem);
  border: var(--default-border, none);
  transition: all 0.3s ease;
  cursor: pointer;
  width: max-content;
  letter-spacing: 1.2px;
  line-height: var(--text-line-height, 1rem);
  box-sizing: border-box;
}

nav a:hover,
.lang-switch a:hover {
  background: var(--active-bg, rgba(0, 0, 0, 0.1));
  border: var(--hover-border, none);
  color: inherit;
}

.hero {
  background: url(https://pokemonbr.com/assets/images/bg-splash.webp) no-repeat
    right center;
  padding: 4rem 2rem;
  text-align: left;
  background-color: #5b8cce;
}

.hero h2 {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 10px 2rem;
  text-align: left;
  font-size: 1.2rem;
}

.cta-buttons a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s ease;
}

.cta-buttons a:hover {
  background: #ffe566;
}

.section {
  padding: 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.section ul,
.section ol {
  margin-left: 1.5rem;
}

footer {
  background: var(--secondary);
  color: #ccc;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: #000;
  border: none;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.scroll-to-top.show {
  display: block;
  opacity: 1;
}

@media (max-width: 600px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .cta-buttons a {
    width: 90%;
  }

  .lang-switch {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .hero {
    background: none;
  }

  .nav-group {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-group nav {
    justify-content: center;
  }

  .lang-switch {
    justify-content: center;
  }
}

ul.features {
  margin-top: 1rem;
  list-style-type: disc;
  padding-left: 1.5rem;
}
