/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section p {
    font-size: 0.95rem;
  }

  main {
    padding: 0.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  section {
    padding: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  #language-selector {
    margin-left: unset;
  }
}

/* Reset Básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

/* Tipografía títulos para que se vean bien */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
}

/* Estilo para negritas */
strong, b {
  font-weight: 700;
}

/* Layout Principal */
body {
  font-family: 'Quicksand', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;

  background-image: url('/Images/seven_ravens_sister.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-color: #fafafa;
  
  color: #333; 
}

header {
  background: #111;
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
}

main {
  flex: 1;
  padding: 2rem 5%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

main section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

main section:hover {
  transform: scale(1.01);
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.row section {
  flex: 1;
  min-width: 280px;
}

#download, #community {
  text-align: center;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #00aced;
  text-decoration: none;
  margin-left: 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Botones */
.beta-button, .privacy-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
  text-decoration: none;
}

.beta-button {
  background: #FFD700;
  color: black;
}

.beta-button:hover {
  background-color: #ffe55c;
}

.privacy-button {
  background: #5c7861;
  color: white;
}

.privacy-button:hover {
  background-color: #6b8d71;
}

.discord-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 8px;
  border: 1px solid black;
  border-radius: 12px;
  background: white;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.discord-button:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Galería */
.gallery-img {
  max-width: 300px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

#lightbox:hover img {
  transform: scale(1.02);
  cursor: zoom-out;
}

#lightbox-close {
  position: absolute;
  top: 2%;
  right: 2%;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

#lightbox-prev, #lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

#lightbox-prev {
  left: 2%;
}

#lightbox-next {
  right: 2%;
}

/* Selector de idioma */
#language-selector {
  position: relative;
  margin-left: auto;
}

#language-button {
  background: none;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

#language-menu {
  position: absolute;
  top: 2.5rem;
  right: 0;
  background: #333;
  border: 1px solid #555;
  border-radius: 8px;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: none;
  width: 120px;
  text-align: center;
  z-index: 10;
}

#language-selector.active #language-menu {
  display: flex;
  flex-direction: column;
}

#language-menu a {
  padding: 0.5rem;
  color: white;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  display: block;
}

#language-menu a:hover {
  background: #555;
}

#language-banner {
  display: none;
  background: #ffcc00;
  color: #000;
  padding: 1rem;
  text-align: center;
  position: relative;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

#language-buttons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#language-buttons button {
  padding: 0.5rem 1rem;
  background: #000;
  color: #ffcc00;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

/* Hover personalizado */
#accept-language:hover {
  background-color: #5c7861; /* Verde tuyo */
  color: white;
}

#decline-language:hover {
  background-color: #FF5722; /* Rojo tuyo */
  color: white;
}
