/* ==========================================================
   dimosTV Frontend Homepage
========================================================== */

/* Sections */
.dtv-front-section {
    margin: 56px 0;
}

.dtv-front-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.dtv-front-section-header h2 {
    margin: 0;
    font-family: Oswald, sans-serif;
    color: #1A2E4A;
    font-size: 28px;
    font-weight: 800;
}

.dtv-front-section-header a {
    color: #0066CC;
    font-weight: 800;
    text-decoration: none;
}

/* Cards */
.dtv-front-scroll-row {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.dtv-front-card {
    min-width: 260px;
    max-width: 260px;
    text-decoration: none;
    color: #1A2E4A;
    scroll-snap-align: start;
}

.dtv-front-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #E8EEF7;
    aspect-ratio: 16 / 9;
}

.dtv-front-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dtv-front-card strong {
    display: block;
    margin-top: 10px;
    font-family: Oswald, sans-serif;
    font-size: 18px;
    line-height: 1.2;
}

.dtv-front-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 6px;
}

/* ==========================================================
   Hero Slider
========================================================== */

.dtv-front-hero-slider {
    position: relative;
    margin: 0 0 64px;
}

.dtv-front-slider-track {
    position: relative;
    isolation: isolate;
    height: 680px;
    border-radius: 28px;
    overflow: hidden;
    background: #0F172A;
}

.dtv-front-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}

.dtv-front-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.dtv-front-hero-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.dtv-front-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.dtv-front-slide.is-active .dtv-front-hero-card img {
    transform: scale(1.08);
}

.dtv-front-hero-card::after {
    display: none;
}

.dtv-front-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8,12,22,.35) 0%,
            rgba(8,12,22,.12) 24%,
            rgba(8,12,22,0) 48%,
            rgba(8,12,22,0) 56%,
            rgba(8,12,22,.14) 78%,
            rgba(8,12,22,.36) 100%
        ),
        linear-gradient(
            to top,
            rgba(8,12,22,.82) 0%,
            rgba(8,12,22,.52) 34%,
            rgba(8,12,22,.14) 62%,
            rgba(8,12,22,0) 100%
        );
}

/* Hero Content */
.dtv-front-hero-content {
    position: absolute;
    left: 96px;
    right: 88px;
    bottom: 118px;
    z-index: 2;
    max-width: 760px;
}

.dtv-front-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0066CC;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
}

.dtv-front-badge-live,
.dtv-front-badge-breaking,
.dtv-front-badge-νεο {
    background: #CC0000;
}

.dtv-front-badge-exclusive {
    background: #5B3FD6;
}

.dtv-front-hero-content h1 {
    margin: 18px 0 0;
    font-family: Oswald, sans-serif;
    font-size: clamp(58px, 5vw, 84px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -2px;
    color: #fff !important;
    text-shadow: 0 6px 28px rgba(0,0,0,.30);
}

.dtv-front-hero-content p {
    margin: 22px 0 0;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,.92);
}

.dtv-front-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dtv-front-hero-cta::after {
    content: "";
    width: 78px;
    height: 2px;
    background: #CC0000;
}

/* Side Arrows */
.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
    position: absolute !important;
    top: 50%;
    z-index: 20;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(15,23,42,.38);
    background-image: none;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: none;
    text-shadow: none;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.dtv-front-hero-slider button.dtv-home-hero__side-arrow--prev {
    left: 28px;
}

.dtv-front-hero-slider button.dtv-home-hero__side-arrow--next {
    right: 28px;
}

.dtv-front-hero-slider button.dtv-home-hero__side-arrow:hover {
    background: #CC0000;
    border-color: #CC0000;
    box-shadow: 0 12px 28px rgba(204,0,0,.35);
    transform: translateY(-50%) scale(1.06);
}

/* Bottom Controls */
.dtv-front-slider-controls {
    position: absolute;
    left: 96px;
    right: 96px;
    bottom: 62px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dtv-front-slider-dots {
    display: flex;
    gap: 14px;
    flex: 1;
    max-width: 410px;
}

.dtv-front-hero-slider button.dtv-front-slider-dot {
    position: relative;
    flex: 1;
    min-width: 170px;
    height: 5px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.34) !important;
    background-image: none !important;
    box-shadow: none;
    cursor: pointer;
}

.dtv-front-slider-dot::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: #CC0000;
}

.dtv-front-slider-dot.is-active::after {
    animation: dtvHeroProgress 6s linear forwards;
}

.dtv-front-slider-dot:not(.is-active)::after {
    animation: none;
    width: 0;
}

@keyframes dtvHeroProgress {
    from { width: 0; }
    to { width: 100%; }
}

.dtv-front-slider-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -10px;
}

.dtv-front-hero-slider button.dtv-front-slider-pause,
.dtv-front-hero-slider button.dtv-front-slider-play {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(15,23,42,.38);
    background-image: none;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all .25s ease;
}

.dtv-front-hero-slider button.dtv-front-slider-pause:hover,
.dtv-front-hero-slider button.dtv-front-slider-play:hover {
    background: #CC0000;
    border-color: #CC0000;
    box-shadow: 0 12px 28px rgba(204,0,0,.35);
    transform: scale(1.06);
}

/* ==========================================================
   Responsive
========================================================== */

@media (max-width: 1024px) {
    .dtv-front-slider-track {
        height: 560px;
        border-radius: 24px;
    }

    .dtv-front-hero-content {
        left: 88px;
        right: 56px;
        bottom: 118px;
    }

    .dtv-front-slider-controls {
        left: 88px;
        right: 56px;
    }

    .dtv-front-hero-slider button.dtv-front-slider-dot {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .dtv-front-slider-track {
        height: 520px;
        border-radius: 20px;
    }

    .dtv-front-hero-content {
        left: 24px;
        right: 24px;
        bottom: 112px;
    }

    .dtv-front-hero-content h1 {
        font-size: clamp(34px, 10vw, 48px);
        letter-spacing: -.6px;
    }

    .dtv-front-hero-content p {
        font-size: 17px;
        line-height: 1.45;
    }

    .dtv-front-slider-controls {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }

    .dtv-front-slider-dots {
        max-width: none;
        gap: 7px;
    }

    .dtv-front-hero-slider button.dtv-front-slider-dot {
        min-width: 32px;
        height: 4px;
    }

    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 26px;
    }

    .dtv-front-hero-slider button.dtv-home-hero__side-arrow--prev {
        left: 14px;
    }

    .dtv-front-hero-slider button.dtv-home-hero__side-arrow--next {
        right: 14px;
    }

    .dtv-front-hero-slider button.dtv-front-slider-pause,
    .dtv-front-hero-slider button.dtv-front-slider-play {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .dtv-front-card {
        min-width: 220px;
        max-width: 220px;
    }
}