/* Design tokens */

:root {

  --bg: transparent;

  --surface: transparent;

  --overlay: rgba(255, 255, 255, 0.04); /* fundal subtil */

  --text: #f5a300;

  --muted: #a3adc2;

  --border: rgba(255, 255, 255, 0.06);



  --primary: #bdb2bf;

  --primary-600: #0284c7;

  --primary-700: #0369a1;



  --radius: 5px;

  --shadow: 0 2px 2px rgba(0, 0, 0, 0.15); /* variantă discretă */

}



/* Container */

.pve-wrapper {

  position: relative;

  display: grid;

  place-items: center;

  gap: 0.1rem;

  text-align: center;

  width: 100%;                 /* Lățime completă */

  height: auto;                /* Înălțime automată */

  max-height: 400px;           /* Limită maximă */

  margin: 0.1rem 0;

  padding: clamp(1rem, 2vw + 1rem, 2rem);

  color: var(--text);

  background: transparent;

}

/* Responsive pentru ecrane mici */

@media (max-width: 480px) {

  .pve-wrapper {

    max-height: 330px;         /* Mai mic pe mobil */

    padding: 1rem;

  }

}

@media only screen and (max-width: 480px) {
  .iframe-wrapper iframe {
    border: none;
    width: 100%;
    height: 320px;
    display: block;
    margin: 1px 0;
  }
}


/* Translucent inner surface */

.pve-wrapper {

  position: relative;

  display: grid;

  place-items: center;

  gap: 0.1rem;

  text-align: center;

  width: 100%;                 /* LÄƒÈ›ime completÄƒ */

  height: auto;                /* ÃŽnÄƒlÈ›ime automatÄƒ */

  max-height: 400px;           /* LimitÄƒ maximÄƒ */

  margin: 0.1rem 0;

  padding: clamp(1rem, 2vw + 1rem, 2rem);

  color: var(--text);

  background: transparent;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition: max-height 0.3s ease-in-out; /* Efect fluid */

}


/* Spacing between children */

.pve-overlay > * + * {

  margin-top: 0.5rem;

}



/* Icon + text */

.pve-lock-icon {

  font-size: 2rem;

  line-height: 1;

  color: var(--primary);

  margin-bottom: 0.25rem;

}



.pve-message {

  font-size: clamp(1rem, 0.5vw + 1rem, 1.125rem);

  color:#18abf2;

  font-weight: 600;

  margin: 0;

}



.pve-subtext {

  font-size: 0.875rem;

  color: var(--muted);

  margin-top: 0.25rem;

}



/* Button */

.playButton {

  appearance: none;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 0.5rem;



  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);

  color: #fa0505;

  border: 0;

  padding: 0.75rem 1.25rem;

  font-size: 1rem;

  font-weight: 600;

  letter-spacing: 0.01em;

  border-radius: 10px;

  cursor: pointer;



  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2); /* umbră mai discretă */

  transition: transform 160ms ease, box-shadow 200ms ease, filter 200ms ease, background-color 200ms ease;

}



.playButton:hover {

  transform: translateY(-1px);

  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.25);

}



.playButton:active {

  transform: translateY(0);

  filter: brightness(0.98);

}



.playButton:focus-visible {

  outline: none;

  box-shadow:

    0 0 0 3px rgba(14, 165, 233, 0.3),

    0 4px 12px rgba(14, 165, 233, 0.2);

}



.playButton:disabled {

  cursor: not-allowed;

  opacity: 0.6;

}



/* Loader */

.pve-loader {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  font-size: 0.9375rem;

  color: #f53636;

  margin-top: 1rem;

  opacity: 0.9;

}



.pve-loader::before {

  content: "";

  width: 1em;

  height: 1em;

}



@keyframes pve-spin {

  to { transform: rotate(360deg); }

}



/* Motion accessibility */

@media (prefers-reduced-motion: reduce) {

  * {

    animation: none !important;

    transition: none !important;

  }

}