* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #39424e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
}

.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.profile {
  text-align: center;
  margin-bottom: 24px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-bottom: 12px;
}

h1 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* LANGUAGE SWITCH */
.lang-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.lang-switch button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid #777;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.lang-switch button.active {
  background: #7a2cff;
  border-color: #7a2cff;
}

/* SECTION */
.section h2 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 18px;
}

/* INTRO TEXT */
.intro-text {
  text-align: center;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.95;
}

/* ====== SHOW MORE / CONTINUE BUTTON ====== */
.hidden {
  display: none;
}

.show-more-btn {
  width: 100%;
  margin: 18px 0 14px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #8b3dff, #6a1bff);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 0.4px;
  box-shadow:
    0 14px 30px rgba(0,0,0,.45),
    inset 0 -2px 0 rgba(0,0,0,.25);
  animation: buttonPulse 2.2s infinite;
}

.show-more-btn:hover {
  /* transform: translateY(-1px); */
  transform: translate(-50%, -1px);
  box-shadow:
    0 18px 40px rgba(0,0,0,.55),
    inset 0 -2px 0 rgba(0,0,0,.3);
}

.show-more-btn:active {
  /* transform: translateY(1px); */
  transform: translate(-50%, 1px);
  box-shadow:
    0 10px 22px rgba(0,0,0,.4),
    inset 0 2px 0 rgba(0,0,0,.35);
}

@keyframes buttonPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(122,44,255,.55),
      0 14px 30px rgba(0,0,0,.45);
  }
  70% {
    box-shadow:
      0 0 0 18px rgba(122,44,255,0),
      0 14px 30px rgba(0,0,0,.45);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(122,44,255,0),
      0 14px 30px rgba(0,0,0,.45);
  }
}

/* TAP HINT TEXT */
.tap-hint-text {
  text-align: center;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* CARD */
.card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  color: #000;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.card img {
  width: 100%;
  display: block;
  transition: filter 0.3s ease;
}

.card span {
  display: block;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  color: #7a2cff;
}

/* CLICK HINT OVERLAY */
.click-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.click-hint span {
  background: rgba(122, 44, 255, 0.9);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* AGE GATE */
.age-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.age-card.active img {
  filter: blur(8px);
}

.age-card.active .age-overlay {
  opacity: 1;
  pointer-events: all;
}

.age-card.active .click-hint {
  display: none;
}

.age-box {
  background: rgba(20,20,20,0.9);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  color: #fff;
  max-width: 90%;
}

.age-box h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.age-box p {
  font-size: 14px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.age-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
  0% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255,255,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
  }
}

/* CONTINUE HINT */
.continue-hint {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* PULSE ANIMATION (ONLY FIRST CARD) */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 44, 255, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(122, 44, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(122, 44, 255, 0);
  }
}

.card:first-of-type {
  animation: pulse 3s infinite;
}

/* ===== TEASER GALLERY ===== */
.teaser-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 20px;
}

.teaser-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  filter: brightness(0.95);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  pointer-events: none; /* teaser only */
}

.teaser-gallery {
  position: relative;
}

.preview-locked-badge {
  position: absolute;
  top: 100px;           
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

/* VIDEO CENTERED */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 20px auto 30px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
}

.video-wrapper video {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* UNLOCK BUTTON OVER VIDEO (AT LEGS / BOTTOM) */
.video-unlock {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: calc(100% - 36px);
  z-index: 10;
  margin: 0;

  /* CENTRIRANJE – BEZ BEŽANJA */
  transform: translate(-50%, 0);
}


.video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 50%);
  pointer-events: none;
}

/* HIDDEN STATE (DEFAULT) */
.video-unlock {
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* SHOWN STATE */
.video-unlock.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
