/* ==========================================================================
   Bingo Golden Palace - Necochea
   Estilos principales (sin dependencias de Mobirise)
   ========================================================================== */

:root {
  --gp-magenta: #9b4878;
  --gp-magenta-dark: #6f2d55;
  --gp-purple: #4b384c;
  --gp-dark: #0c141d;
  --gp-charcoal: #1c1922;
  --gp-gold: #ffe161;
  --gp-gold-rich: #d4af37;
  --gp-light: #f8f7fa;
  --gp-white: #ffffff;
  --gp-text: #2b2530;
  --gp-muted: #6c6374;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 32px rgba(12, 20, 29, 0.14);
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gp-text);
  background-color: var(--gp-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-top: 0;
  line-height: 1.15;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: var(--gp-white);
  color: var(--gp-white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--gp-white);
  color: var(--gp-purple);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gp-gold), var(--gp-gold-rich));
  color: var(--gp-dark);
  border-color: transparent;
}

.btn-gold:hover {
  filter: brightness(1.06);
}

.btn-magenta {
  background: linear-gradient(135deg, var(--gp-magenta), var(--gp-purple));
  color: var(--gp-white);
}

/* Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(28, 17, 34, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand img {
  height: 76px;
  width: auto;
  transition: height var(--transition);
}

.site-header.scrolled .nav-brand img {
  height: 58px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--gp-white);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gp-gold);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gp-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hero Video */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--gp-dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 20, 29, 0.35) 0%, rgba(75, 56, 76, 0.55) 60%, rgba(12, 20, 29, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--gp-white);
  padding: 0 20px 88px;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.95;
}

/* Section base */
.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  color: var(--gp-purple);
  margin-bottom: 10px;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--gp-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Quiénes somos */
.about-section {
  position: relative;
  background: linear-gradient(rgba(155, 72, 120, 0.5), rgba(155, 72, 120, 0.5)), url('../images/fss1993.jpg') center/cover no-repeat;
  color: var(--gp-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  align-items: stretch;
  box-shadow: var(--shadow-soft);
}

.about-side-img {
  overflow: hidden;
}

.about-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-main {
  display: flex;
  flex-direction: column;
}

.about-photo {
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-card {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.about-card-body {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
  text-align: center;
}

.about-card-body h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gp-white);
  text-shadow: 4px 4px 8px #000000;
}

.about-card-body p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--gp-white);
  text-shadow: 2px 2px 8px #000000;
}

/* Entretenimiento */
.entertainment-header {
  padding: 48px 0;
  background: var(--gp-magenta);
}

.entertainment-header .section-heading {
  margin-bottom: 0;
}

.entertainment-header .section-heading h2 {
  color: var(--gp-white);
  margin-bottom: 0;
}

.entertainment-block {
  background: linear-gradient(rgba(155, 72, 120, 0.9), rgba(155, 72, 120, 0.9)), url('../images/fss3335.jpg') center/cover no-repeat;
  color: var(--gp-white);
  padding: 64px 0;
}

.entertainment-block.alt {
  background: var(--gp-magenta);
}

.entertainment-layout {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 36px;
  align-items: center;
}

.entertainment-layout.reversed {
  grid-template-columns: 1.9fr 1fr;
}

.entertainment-text h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--gp-white);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
}

.entertainment-text p {
  font-size: 1.05rem;
  margin: 0;
  color: var(--gp-white);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.photo-grid img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform var(--transition);
}

.photo-grid img:hover {
  transform: scale(1.02);
}

/* Novedades */
.news-section {
  padding: 72px 0 48px;
  background: var(--gp-light);
}

/* Juego Responsable */
.responsible-section {
  background-color: #1732a4;
  color: var(--gp-white);
}

.responsible-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.responsible-grid h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-bottom: 16px;
  color: var(--gp-white);
}

.responsible-grid a.inline-link {
  color: var(--gp-white);
  text-decoration: underline;
  font-weight: 700;
}

.responsible-logo {
  display: flex;
  justify-content: center;
}

.responsible-logo img {
  max-width: 280px;
}

/* Boxie */
.boxie-section {
  background: linear-gradient(180deg, var(--gp-purple) 0%, #2a1830 100%);
  color: var(--gp-white);
}

.boxie-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.boxie-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gp-gold);
  margin-bottom: 14px;
}

.boxie-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.boxie-phone {
  display: flex;
  justify-content: center;
}

.boxie-phone img {
  max-height: 460px;
  width: auto;
  border-radius: var(--radius-lg);
}

.boxie-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.boxie-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.boxie-step h3 {
  font-size: 1.35rem;
  color: var(--gp-gold);
  margin-bottom: 6px;
}

.boxie-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.boxie-cta {
  text-align: center;
  margin-top: 40px;
}

/* Map */
.map-section {
  background: var(--gp-white);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--gp-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 240px;
  margin-bottom: 18px;
}

.footer-legal {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
}

.footer-loteria {
  max-width: 260px;
  margin-top: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--gp-gold);
  font-weight: 500;
}

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

.social-links {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.social-btn:hover {
  background: var(--gp-magenta);
  transform: translateY(-2px);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gp-magenta);
  color: var(--gp-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .about-grid,
  .about-card,
  .entertainment-layout,
  .entertainment-layout.reversed,
  .responsible-grid,
  .boxie-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .entertainment-layout.reversed .entertainment-text {
    order: -1;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28, 17, 34, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 20px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .nav-brand img {
    height: 60px;
  }
}
