/* ============================================ */
/* BASE & RESET */
/* ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #131313;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

html {
  overflow-x: hidden;
}

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

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

/* ============================================ */
/* CONTAINER */
/* ============================================ */
.container-main {
  max-width: 1140px;
  width: calc(100% - 2.3em);
  margin: 0 auto;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero-section {
  background-image: url('../images/img-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(26, 0, 34, 0.69) 0%,
    rgba(53, 0, 122, 0.74) 50%,
    #5e1769 100%
  );
  z-index: 1;
}

/* Shape Dividers */
.shape-divider-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  overflow: hidden;
}

.shape-divider-bottom svg {
  width: 110%;
  height: 90px;
  display: block;
  margin-left: -5%;
}

.shape-divider-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  overflow: hidden;
  transform: scaleX(-1);
}

.shape-divider-top svg {
  width: 110%;
  height: 90px;
  display: block;
  margin-left: -5%;
}

.shape-divider-top-triangle {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  transform: scaleX(-1);
}

.shape-divider-top-triangle svg {
  width: 85px;
  height: 42px;
  display: block;
}

/* ============================================ */
/* EMPHASIS STYLES (matching Bricks Builder) */
/* ============================================ */
.em-highlight {
  color: #02d438 !important;
  background-color: #00290b !important;
  padding: 2px 6px 4px !important;
  display: inline-block !important;
  margin-top: 8px !important;
  line-height: 1.2 !important;
}

.em-custom {
  color: #fff;
  background-color: #02d438;
  padding: 2px 6px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.6;
}

/* ============================================ */
/* DIVIDERS */
/* ============================================ */
.divider {
  width: 50%;
  height: 2px;
  border-top: 2px solid rgba(255, 255, 255, 0.14);
  margin: 0.6em auto 1em;
}

.divider-wide {
  width: 100%;
  height: 0;
  border: none;
}

/* ============================================ */
/* CTA BUTTON */
/* ============================================ */
.cta-button {
  background: linear-gradient(180deg, #02d438 0%, #017520 100%);
  border-bottom: 4px solid #005619;
  border-radius: 6px;
  padding: 15px 30px 18px 30px;
  display: inline-block;
  transition: all 0.5s ease;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.cta-button:hover {
  transform: scale(1.2);
}

/* ============================================ */
/* SECTION OVERLAYS */
/* ============================================ */
.overlay-purple-blue {
  background: linear-gradient(180deg, #5701a2, rgba(1, 61, 213, 0.74));
  z-index: 0;
}

.overlay-cost {
  background: linear-gradient(180deg, #004561, rgba(0, 20, 12, 0.84), rgba(19, 19, 19, 0.92));
  z-index: 0;
}

.overlay-pricing {
  background: linear-gradient(-30deg, rgba(0, 5, 25, 0.74), rgba(80, 0, 240, 0.71));
  z-index: 0;
}

.overlay-premium-1 {
  background: linear-gradient(180deg, #004561, rgba(0, 20, 12, 0.71), #25306f);
  z-index: 0;
}

/* ============================================ */
/* GLASS CARDS */
/* ============================================ */
.glass-card-pricing {
  background-color: rgba(19, 19, 19, 0.84);
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  box-shadow: 0 8px 25px rgba(19, 19, 19, 0.18);
}

.glass-card-benefits {
  background-color: rgba(19, 19, 19, 0.5);
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  box-shadow: 0 5px 22px rgba(19, 19, 19, 0.18);
}

/* ============================================ */
/* PRICE BLOCK */
/* ============================================ */
.loop-price-block {
  background-color: rgba(0, 59, 255, 0.27);
  border-radius: 15px;
  padding: 16px 40px 13px;
}

/* Currency selectors removed - EUR only */

/* ============================================ */
/* BADGES CASTELLANO (Hero) */
/* ============================================ */
.badge-castellano {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(2, 212, 56, 0.15) !important;
  border: 1px solid rgba(2, 212, 56, 0.5) !important;
  color: #02d438 !important;
  font-family: 'Palanquin Dark', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  backdrop-filter: blur(4px) !important;
  white-space: nowrap !important;
}

.badge-dobla {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: 50px !important;
  backdrop-filter: blur(4px) !important;
  white-space: nowrap !important;
}

/* ============================================ */
/* PLAY BUTTON */
/* ============================================ */
.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 85px;
  height: 85px;
  border: 2px solid #ffffff;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.43);
  backdrop-filter: blur(4.5px);
  box-shadow: 0 0 21px 25px rgba(0, 0, 0, 0.58);
  color: #ffffff;
  font-size: 35px;
  cursor: pointer;
  transition: all 0.5s;
  padding-left: 6px;
}

.play-button:hover {
  color: #02d438;
}

.play-icon {
  font-style: normal;
}

@media (max-width: 478px) {
  .play-button {
    width: 70px;
    height: 70px;
    font-size: 28px;
    padding-left: 4px;
  }
}

/* ============================================ */
/* SLOTS CONTAINER */
/* ============================================ */
.slots-container {
  border-top-right-radius: 1px;
}

/* ============================================ */
/* PROGRESS BAR */
/* ============================================ */
.progress-bar {
  animation: progressPulse 2s ease-in-out infinite alternate;
}

@keyframes progressPulse {
  0% { box-shadow: 0 0 5px rgba(2, 212, 56, 0.3); }
  100% { box-shadow: 0 0 15px rgba(2, 212, 56, 0.6); }
}

/* ============================================ */
/* ACCORDION (FAQ) */
/* ============================================ */
.accordion-item {
  background-color: #292929;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 22px rgba(33, 33, 33, 0.05);
  transition: all 0.5s;
}

.accordion-item:hover {
  border-color: #02d438;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.5em 1.8em 0.5em 2em;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  gap: 10px;
  min-height: 60px;
}

.accordion-title {
  font-family: 'Palanquin Dark', sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  padding-top: 10px;
}

.accordion-icon-wrap {
  flex-shrink: 0;
  margin-top: 6px;
  margin-right: -10px;
}

.accordion-icon {
  color: #02d438;
  font-size: 22px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0 2em;
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  padding: 0 2em 1em;
}

.accordion-content p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  letter-spacing: 0.1px;
  line-height: 1.6em;
}

@media (max-width: 478px) {
  .accordion-title {
    font-size: 19px;
  }
}

/* ============================================ */
/* CAROUSEL (Splide Overrides) */
/* ============================================ */
.slide-img-wrap img {
  border-radius: 9px;
}

.splide__arrow {
  background: transparent !important;
  opacity: 1 !important;
  color: #ffffff;
  font-size: 35px;
}

.splide__arrow svg {
  fill: #ffffff !important;
  width: 35px;
  height: 35px;
}

.splide__pagination {
  bottom: -50px !important;
}

.splide__pagination__page {
  background: rgba(255, 255, 255, 0.16) !important;
  width: 20px !important;
  height: 20px !important;
}

.splide__pagination__page.is-active {
  background: #02d438 !important;
  width: 25px !important;
  height: 25px !important;
}

@media (max-width: 478px) {
  .splide__arrow svg {
    width: 0;
    height: 0;
  }
  .splide__pagination__page {
    width: 12px !important;
    height: 12px !important;
  }
  .splide__pagination__page.is-active {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ============================================ */
/* TELEGRAM FLOATING BUTTON */
/* ============================================ */
.telegram-float {
  position: fixed;
  bottom: 45px;
  right: 28px;
  width: 64px;
  height: 64px;
  background-color: #229ED9;
  color: #ffffff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.45);
  animation: floatBounce 2.5s ease-in-out infinite;
}

.telegram-float:hover {
  background-color: #1a8fc2;
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(34, 158, 217, 0.6);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 991px) {
  .telegram-float {
    bottom: 24px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* ============================================ */
/* SCROLL ANIMATIONS */
/* ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 4.5em;
  }
}

@media (max-width: 478px) {
  .hero-section {
    padding-top: 4em;
  }

  .cta-button {
    font-size: 22px !important;
  }
}

/* ============================================ */
/* SELECTION & SCROLLBAR */
/* ============================================ */
::selection {
  background: rgba(2, 212, 56, 0.3);
  color: #ffffff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #131313; }
::-webkit-scrollbar-thumb { background: #292929; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #424242; }
