.dltube-player {

    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 40px auto;

    border-radius: 24px;
    overflow: hidden;

    background: #000;

    box-shadow:
        0 20px 60px rgba(0,0,0,.35);

    transform: translateZ(0);
}

/* =========================
   THUMBNAIL
========================= */

.dltube-thumbnail-wrapper {

    position: relative;
    cursor: pointer;
    z-index: 2;
}

.dltube-thumbnail-wrapper img {

    width: 100%;
    display: block;

    transition: transform .5s ease;

    transform: translateZ(0);
}

.dltube-thumbnail-wrapper:hover img {

    transform: scale(1.02);
}

/* =========================
   OVERLAY
========================= */

.dltube-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.25),
            rgba(0,0,0,.05)
        );

    z-index: 2;
}

/* =========================
   PLAY BUTTON
========================= */

.dltube-play {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 52px;
    height: 52px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(0,0,0,.45);

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    z-index: 5;

    transition: .2s ease;
}

/* =========================
   IFRAME PLAYER
========================= */

.dltube-iframe {

    position: relative;
    width: 100%;
    padding-top: 56.25%;

    background: #000;

    z-index: 1;

    transform: translateZ(0);

    overflow: hidden;

    border-radius: 24px;
}

/* =========================
   NORMAL + VSL
========================= */

.dltube-iframe iframe {

    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    display: block;

    transform: translateZ(0);

    will-change: transform;
}

/* =========================
   VSL EXTREME
========================= */

.dltube-player[data-mode="vsl_extreme"] .dltube-iframe iframe {

    top: -58px;
    left: 0;

    width: 100%;
    height: calc(100% + 116px);
}

/* =========================
   CTA BUTTON - PREMIUM VERDE
========================= */

.dltube-cta {

    position: absolute;
    left: 50%;
    bottom: 22px;

    transform: translateX(-50%) translateY(10px) scale(.98);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 300px;
    max-width: calc(100% - 48px);

    background:
        linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 38%),
        linear-gradient(135deg, #22c55e 0%, #16a34a 42%, #0b6b34 100%);
    color: #fff !important;

    padding: 16px 34px;

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.24);
    outline: 1px solid rgba(34,197,94,.45);
    outline-offset: -4px;

    text-decoration: none !important;

    font-weight: 900;

    font-size: 18px;
    letter-spacing: .3px;
    text-align: center;
    text-transform: uppercase;

    line-height: 1.15;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease,
        transform .35s ease,
        box-shadow .25s ease,
        filter .25s ease,
        background .25s ease;

    z-index: 2147483647;

    box-shadow:
        0 0 0 1px rgba(255,255,255,.10) inset,
        0 4px 0 rgba(3,74,35,.75),
        0 16px 34px rgba(22,163,74,.38),
        0 9px 22px rgba(0,0,0,.42);

    -webkit-tap-highlight-color: transparent;
}

.dltube-cta::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0) 45%);
    pointer-events: none;
}

.dltube-cta::after {
    content: '➜';
    font-size: 18px;
    line-height: 1;
    position: relative;
}

.dltube-cta.active {

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dltube-cta:hover {
    filter: brightness(1.08) saturate(1.08);
    transform: translateX(-50%) translateY(-2px) scale(1.01);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.14) inset,
        0 5px 0 rgba(3,74,35,.80),
        0 20px 44px rgba(22,163,74,.48),
        0 12px 26px rgba(0,0,0,.48);
}

.dltube-cta:active {
    transform: translateX(-50%) translateY(2px) scale(.995);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.10) inset,
        0 2px 0 rgba(3,74,35,.75),
        0 12px 26px rgba(22,163,74,.34),
        0 7px 18px rgba(0,0,0,.40);
}

@media (max-width: 480px) {
    .dltube-cta {
        bottom: 16px;
        min-width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        padding: 15px 20px;
        font-size: 16px;
        white-space: normal;
        border-radius: 14px;
    }

    .dltube-cta::before {
        border-radius: 12px;
    }
}

/* =========================
   VSL MODE
========================= */

.dltube-player[data-mode="vsl"] .dltube-play {

    width: 68px;
    height: 68px;

    background: rgba(0,0,0,.22);

    border: 1px solid rgba(255,255,255,.12);
}

.dltube-player[data-mode="vsl"] .dltube-overlay {

    background:
        radial-gradient(
            circle,
            rgba(0,0,0,.15),
            rgba(0,0,0,.55)
        );
}

/* =========================
   VSL EXTREME STYLE
========================= */

.dltube-player[data-mode="vsl_extreme"] .dltube-play {

    width: 68px;
    height: 68px;

    background: rgba(0,0,0,.18);

    border: 1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(4px);
}

.dltube-player[data-mode="vsl_extreme"] .dltube-overlay {

    background:
        radial-gradient(
            circle,
            rgba(0,0,0,.10),
            rgba(0,0,0,.70)
        );
}

/* =========================
   ESCONDER PLAY
========================= */

.dltube-player.hide-play .dltube-play {

    display: none;
}