/* VARIABLES */
:root {
  --negro: #000000;
  --dorado: #FFD700;
  --rojo-vino: #8B0000;
  --blanco: #FFFFFF;
}

/* RESET Y BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, var(--negro), #333333);
  color: var(--blanco);
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: var(--rojo-vino);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}
.logo img {
  width: 150px;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
nav ul li a {
  color: var(--dorado);
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
}

/* HERO SECTION */
.hero {
  padding: 40px 20px;
  background-color: var(--negro);
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.hero-image img {
  opacity: 1; /* Imagen a todo color */
  max-width: 100%;
}

/* ELIGE TU PÁGINA */
.choose-page {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--negro);
}
.choose-page h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: var(--dorado);
}
.casino-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.casino-card {
  background-color: #222;
  border-radius: 10px;
  overflow: hidden;
  width: 250px;
  text-align: center;
}
.card-image {
  position: relative;
}
.card-image img {
  width: 100%;
  display: block;
}
.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  color: var(--dorado);
  padding: 10px;
  font-size: 1em;
  text-transform: uppercase;
}
.casino-card .btn {
  display: block;
  background-color: var(--rojo-vino);
  color: var(--dorado);
  padding: 10px;
  font-weight: bold;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}

/* REDES SOCIALES */
.social-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.social-box a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 20px 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.social-box.whatsapp a {
  background-color: #25D366;
}
.social-box.facebook a {
  background-color: #3b5998;
}
.social-box.instagram a {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, 
              #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* GALERÍA */
.gallery {
  padding: 40px 20px;
  background-color: var(--negro);
  text-align: center;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.gallery-item {
  width: 250px;
  overflow: hidden;
  border-radius: 10px;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}

/* FOOTER */
footer {
  background-color: var(--rojo-vino);
  text-align: center;
  padding: 20px;
}
footer p {
  margin: 0;
  font-weight: bold;
  color: var(--dorado);
}

/* ABOUT */
.about-page {
  padding: 40px 20px;
  background-color: #111;
  text-align: center;
}
.about-page h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--dorado);
}
.about-page p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1em;
  color: var(--blanco);
}

/* === ESTILOS GENERALES === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #111;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* === SLIDER === */
.slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  display: block;
}

/* Botones */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  font-size: 2rem;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* === PLANTILLAS === */
.choose-page {
  text-align: center;
  padding: 40px 20px;
}

.choose-page h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: gold;
}

.casino-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.casino-card {
  background: #1a1a1a;
  color: #fff;
  border-radius: 10px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 0 10px #000;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-overlay {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  padding: 10px;
}

/* Botón */
.btn {
  display: inline-block;
  margin: 15px;
  padding: 10px 20px;
  background: gold;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* === REDES SOCIALES === */
.social-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background-color: #111;
}

.social-box a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* === FOOTER === */
footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .slider {
    height: 300px;
  }

  .slide {
    height: 300px;
  }

  .casino-grid {
    flex-direction: column;
    align-items: center;
  }

  .casino-card {
    width: 90%;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .logo img {
    height: 50px;
  }
}