
.home-intro {
  min-height: 100vh;          /* always at least full screen */
  width: 100%;
  background-size: cover;     /* scale to cover viewport */
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional: makes bg stay put on scroll */
  color: white;
  position:relative;
}


.home-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8); /* 50% black overlay */
  z-index: 0; /* sits behind your content */
}


.home-intro > * {
  position: relative;
  z-index: 1;
}


body, html {
  height: 100%;
  margin: 0;
  font-family: 'Nimbus Sans', sans-serif;
}

.window-img {
  width: 300px;
  height: auto;
  display:block;
  margin:0 auto;
}

.middle {
  width: 100%; /* Adjust width for smaller screens */
  max-width: 500px; /* Maximum width for larger screens */
  text-align: center;
  position: relative;
  padding: 10px; /* Add padding for better spacing on small screens */
  margin:0 auto;
}

.middle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  z-index: -1;
}



.bottom {
  width: 100%; /* Adjust width for smaller screens */
  max-width: 500px; /* Maximum width for larger screens */
  text-align: center;
  position: relative;
  padding: 10px 0 150px 0; /* Add padding for better spacing on small screens */
  margin:0 auto 20px auto;
}





.words {
  position: relative;
  z-index: 1;
  color: white;
  line-height: 1.5; /* Adjust line height as needed */
  margin: 30px 0 0 0;
    position: relative;
  z-index: 1; /* keep content above overlay */
}

.word {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 4px 5px 0px 5px;
  margin: 2px -3px;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
    line-height:1.25;
}

h2, h3 {
    margin-block-start: 0;
    margin-block-end: 0;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  margin:20px;
}

.container_foto {
  flex-direction: column;
  display: flex;
  width: 100%;
  padding-top: 30px;
  justify-content: center;
  align-items: center;
}

.foto_img {
  max-width: 300px;
  margin:0 0 40px 0;
}

.nombre {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 2rem;
  color: #ff7c60;
  text-align: center;
  font-weight:600;
}

.container_enlaces {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  gap: 0;
  max-width: 500px;   /* central column constraint */
  margin: 0 auto;     /* center the column */
}

.product-grid .container_enlaces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}


.links {
  min-width: 60%;
  padding: 15px;
  text-decoration: none;
  color: white;
  transition-duration: 0.7s;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, button right */
  border-radius: 0px;
  backdrop-filter: blur(5px);
}

.links:hover {
  background-color: #000000;
  color: #222831;
  transition-duration: 0.7s;
}

/* Product cards: don't inherit the link-row padding/indent */
.product .links {
  padding: 0;          /* kills the 15px indent */
  margin: 0;
  display: block;
}

/* Make the button span the full card width */
.product .button {
  width: 100%;
  box-sizing: border-box;
}







.footer {
  padding-top: 20px;
  color: #fcda05;
  font-family: "Fira Code", monospace;
  font-size: 0.6rem;
  text-align: center;
}

.logo {
  max-width:110px;
  max-height:80px;
}

.button {
    background-color: #ffffff;
    padding: 4px 10px;
    color: #000000;
    border-radius: 4px;
    white-space: nowrap;
    padding: 8px 10px 4px 10px;

}



button#accept-cookies {
      margin-right: 10px;
    font-size: 14px;
    padding: 8px;
    border-radius:4px;
    white-space: nowrap;
    background-color: #ffffff;
    border:0;
    margin-bottom: 4px;

}

button#decline-cookies {
      margin-right: 10px;
    font-size: 14px;
    padding: 8px;
    border-radius:4px;
    white-space: nowrap;
    background-color: #ffffff;
    border:0;
    margin-bottom: 4px;
}


#cookie-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping if needed */
}






/* Media query for mobile devices */
@media (max-width: 600px) {
  .middle {
    width: 75%; /* Adjust width for mobile */
    max-width: none; /* Remove max-width to allow full width */
    padding: 5px; /* Adjust padding for mobile */
  }

  #cookie-banner {
    flex-direction: column;     /* stack items */

  }

  #cookie-banner span {
    margin-bottom: 15px;        /* space below text */
    display: block;
  }

  #cookie-banner div {
    display: flex;


    width: 100%;
  }

  button#accept-cookies,
  button#decline-cookies {
    width: 100px; /* your mobile width */
  }



}

/* --- Additions for social + share + responsive video --- */
.topbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  box-sizing: border-box;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.12);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}

.share-btn:hover {
  background: rgba(255,255,255,0.18);
}

.share-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.video {
  width: 95%;
  max-width: 500px;
    margin: 0 auto 20px auto;
  background: rgb(0 0 0 / 83%);
  padding: 10px;
  overflow: hidden;
}

.video-inner {
  position: relative;
  width: 100%;
}

.video-inner::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.product{
  background: rgb(0 0 0 / 20%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.product img{
  width: 100%;
  height: auto;
  display: block;
}

/* Ensure packshot images never distort (Safari-safe) */
.product-grid .product img {
  width: 100%;
  height: auto !important;     /* override any inherited/flex height */
  object-fit: contain;         /* if a height ever gets applied, keep ratio */
  display: block;
}


/* Allow wrapping on specific buttons only */
.links.text-only.wrap .button {
  white-space: normal;         /* allow wrap */
  text-align: center;
  line-height: 1.15;
}



/* ensure button fills the card width */
.product .links{
  width: 100%;
  margin: 0;
}

.product .button{
  width: 100%;
  margin-top:15px;
}






.link-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

@media (max-width: 600px) {
  .topbar {
    padding: 12px 12px;
  }
  .share-btn span {
    display: none; /* icon-only on small screens */
  }
}


/* --- Tweaks: floating share, subtle socials at bottom, text-only buttons --- */
.share-btn--floating {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 20;
}

.social--bottom {
  justify-content: center;
  margin: 28px auto 0 auto;
  opacity: 0.75;
}

.social--bottom a {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
}

.social--bottom a:hover {
  background: rgba(255,255,255,0.10);
}

.social--bottom svg {
  width: 16px;
  height: 16px;
}

/* Full-width text-only button row under streaming links */
.links.text-only {
  grid-template-columns: 1fr !important;
}

.links.text-only .button {
  width: 100%;
  text-align: center;
  background: rgba(255,255,255,1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 14px 12px 14px;
}






.links.text-only .button:hover {
  background: rgba(255,255,255,0.8);
}

