html.dy-age-gate--locked,
html.dy-age-gate--locked body {
  overflow: hidden !important;
}

#dy-age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0,0,0,0.92);
  display: grid;
  place-items: center;
  padding: 18px;
}

#dy-age-gate .dy-age-gate__box {
  width: min(980px, 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(0,0,0,0.75);
  padding: 22px;
}

/* Desktop: icon LEFT 40% / content RIGHT 60% */
#dy-age-gate .dy-age-gate__row--grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 18px;
  align-items: center;
}

/* ICON block (centered) */
#dy-age-gate .dy-age-gate__icon--wide {
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}

#dy-age-gate .dy-age-gate__icon--wide img {
  width: 100%;
  max-width: 380px; /* safety cap */
  height: auto;
  display: block;
}

/* Content: all centered */
#dy-age-gate .dy-age-gate__content--center {
  text-align: center;
}

#dy-age-gate .dy-age-gate__title {
  color: #ff0000;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
  margin-bottom: 10px;
}

#dy-age-gate .dy-age-gate__line {
  color: #ff0000;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(22px, 3.2vw, 40px);
  line-height: 1.08;
}

/* Small text: white + 18px */
#dy-age-gate .dy-age-gate__sub {
  margin-top: 14px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.6;
}

/* Buttons centered */
#dy-age-gate .dy-age-gate__actions--center {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#dy-age-gate .dy-age-gate__btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#dy-age-gate .dy-age-gate__btn--yes {
  border-color: rgba(255,0,0,0.45);
}

#dy-age-gate .dy-age-gate__btn--yes:hover {
  background: rgba(255,0,0,0.10);
}

#dy-age-gate .dy-age-gate__btn--no:hover {
  background: rgba(255,255,255,0.06);
}

/* Mobile: icon TOP 100% */
@media (max-width: 640px) {
  #dy-age-gate .dy-age-gate__box {
    padding: 18px;
  }

  #dy-age-gate .dy-age-gate__row--grid {
    grid-template-columns: 1fr;
  }

  #dy-age-gate .dy-age-gate__icon--wide img {
    max-width: 100%;
  }

  #dy-age-gate .dy-age-gate__sub {
    font-size: 18px;
  }
}


/* Mobile sizing: max 90% of viewport + safer typography */
@media (max-width: 640px) {
  #dy-age-gate .dy-age-gate__box {
    width: 90vw;
    max-height: 90vh;
    overflow: auto;
    padding: 16px;
  }

  #dy-age-gate .dy-age-gate__title {
    font-size: 22px;
  }

  #dy-age-gate .dy-age-gate__line {
    font-size: 26px;
  }

  #dy-age-gate .dy-age-gate__sub {
    font-size: 16px; /* από 18 -> 16 στο κινητό για να χωράει */
    line-height: 1.55;
  }

  #dy-age-gate .dy-age-gate__btn {
    width: 100%;
    padding: 12px 14px;
  }

  #dy-age-gate .dy-age-gate__actions--center {
    gap: 8px;
  }
}


/* YES button: white background + red text */
#dy-age-gate .dy-age-gate__btn--yes {
  background: #ffffff;
  color: #d10003;
  border-color: #ffffff;
}

#dy-age-gate .dy-age-gate__btn--yes:hover {
  background: rgba(255,255,255,0.92);
  color: #d10003;
}
