/**
 * DiziFragman.tr - Optimized CSS Bundle
 * Generated: 2026-01-24
 * Contains: custom.css (minified)
 * 
 * External CDN dependencies (loaded separately):
 * - Bootstrap 5.3.2: https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css
 * - Font Awesome 6.5.1: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css
 */

:root {
    --bg-body: #f9f9f9;
    --text-main: #212529;
    --text-muted: #6c757d;
    --color-primary: #0d6efd;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-success: #198754;
    --border-color: #e0e0e0;
    --card-bg: #fff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .08);
    --radius-md: 12px
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding-bottom: 20px
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .2s
}

a:hover {
    color: var(--color-primary)
}

.section-pill {
    display: inline-block;
    padding: .42rem .95rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.1;
    box-shadow: 0 6px 12px rgba(13, 110, 253, .15);
    white-space: nowrap;
    letter-spacing: .1px
}

.section-pill.bg-dark {
    background: #212529;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2)
}

.section-divider {
    border-top: 1px solid #eee;
    margin: 2rem 0;
    opacity: 1
}

.live-tv-bar-wrapper,
.ratings-bar-wrapper {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem
}

.live-tv-bar,
.ratings-bar {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    gap: 1rem
}

.live-tv-header,
.ratings-header {
    display: flex;
    align-items: center;
    padding-right: .75rem;
    margin-right: .75rem;
    border-right: 1px solid #e9ecef;
    white-space: nowrap
}

.live-tv-header i {
    color: var(--color-danger);
    animation: pulse-red 1.5s infinite ease-in-out
}

.ratings-header i {
    color: var(--color-warning)
}

.live-title,
.ratings-title {
    font-weight: 600;
    font-size: .85rem;
    margin-left: .5rem;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: .5px
}

.live-tv-scroller,
.ratings-scroller {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent)
}

.live-tv-list,
.ratings-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    animation: scroll-left 45s linear infinite
}

.live-tv-bar:hover .live-tv-list,
.ratings-bar:hover .ratings-list {
    animation-play-state: paused
}

@keyframes scroll-left {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@keyframes pulse-red {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.15);
        opacity: .8
    }
}

.live-tv-item,
.rating-item-scroll {
    display: flex;
    align-items: center;
    font-size: .9rem;
    white-space: nowrap;
    padding: 0 1rem
}

.live-tv-item .channel-name {
    font-weight: 700;
    color: var(--color-primary);
    margin-right: 5px
}

.live-tv-item .program-name {
    color: #343a40
}

.rating-item-scroll .rank {
    font-weight: 700;
    color: var(--color-primary);
    margin-right: .5rem
}

.rating-item-scroll .program {
    color: #343a40
}

.rating-item-scroll .value {
    font-weight: 700;
    color: var(--color-success);
    margin-left: .75rem;
    font-size: .85rem
}

.live-tv-link,
.ratings-link {
    font-size: .85rem;
    font-weight: 500;
    color: var(--color-primary);
    white-space: nowrap;
    padding: .4rem .8rem;
    background: #f8f9fa;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    transition: all .2s ease
}

.live-tv-link:hover,
.ratings-link:hover {
    background-color: #e9ecef;
    border-color: #ced4da
}

.video-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: var(--shadow-sm);
    height: 100%
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md)
}

.thumbnail-container {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md)
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .95;
    transition: opacity .3s, transform .4s
}

.video-card:hover .thumbnail-img {
    opacity: .8;
    transform: scale(1.05)
}

.play-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, .5);
    border: 2px solid rgba(255, 255, 255, .8);
    backdrop-filter: blur(2px);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all .3s;
    font-size: 1.2rem;
    z-index: 2
}

.play-icon-wrapper i {
    margin-left: 3px
}

.video-card:hover .play-icon-wrapper {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1)
}

.video-info {
    padding: .8rem 1rem
}

.video-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: .25rem;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em
}

.video-channel {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 0
}

.custom-control {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: .8
}

.custom-control:hover {
    background: var(--color-primary);
    opacity: 1
}

.carousel-control-prev.custom-control {
    left: -50px
}

.carousel-control-next.custom-control {
    right: -50px
}

.video-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: var(--shadow-sm);
    display: block;
    height: 100%
}

.news-thumb {
    aspect-ratio: 16/9;
    overflow: hidden
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.news-card:hover .news-thumb img {
    transform: scale(1.05)
}

.news-content {
    padding: .8rem
}

.news-title {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: #333
}

.dizi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px
}

.dizi-card {
    display: block;
    text-align: center;
    transition: transform .2s
}

.dizi-card:hover {
    transform: translateY(-3px);
    color: var(--color-primary)
}

.dizi-card .poster-img {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    object-fit: cover
}

.dizi-card .dizi-adi {
    font-size: .85rem;
    font-weight: 600;
    color: inherit;
    margin-top: 8px
}

.oyuncular-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px
}

.oyuncu-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px
}

.hizli-erisim-scroller {
    background: transparent;
    padding: .5rem 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.hizli-erisim-scroller::-webkit-scrollbar {
    display: none
}

.hizli-erisim-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding: .5rem 1rem
}

.quick-access-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    color: #495057;
    cursor: pointer;
    transition: transform .2s
}

.quick-access-item:active {
    transform: scale(.95)
}

.quick-access-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 110, 253, .3);
    margin-bottom: 8px;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .1)
}

.quick-access-label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #333
}

.mobile-section-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #212529;
    letter-spacing: -.5px
}

.btn-see-all {
    font-size: .85rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 4px
}

.scroller-wrapper {
    position: relative
}

.scroller-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg-body));
    pointer-events: none;
    z-index: 2
}

.horizontal-scroller {
    overflow-x: auto;
    padding-bottom: 10px;
    display: flex;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.horizontal-scroller::-webkit-scrollbar {
    display: none
}

.snap-scroller {
    scroll-snap-type: x mandatory;
    padding-left: 1rem;
    padding-right: 1rem
}

.scroller-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px
}

.snap-item {
    scroll-snap-align: start
}

.live-tv-card-mobile {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    border-radius: 14px;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    min-height: 85px
}

.live-tv-card-mobile .channel-title-mobile {
    font-size: .8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .9
}

.live-tv-card-mobile .program-title-mobile {
    font-size: .9rem;
    font-weight: 600;
    color: #212529;
    margin-top: 4px;
    line-height: 1.3
}

.rating-card-mobile {
    flex: 0 0 160px;
    position: relative;
    padding: 14px;
    border-radius: 14px;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 85px
}

.rating-card-mobile.is-first {
    border-left: 4px solid #ffc107;
    background: linear-gradient(to right, #fff, #fffcf5)
}

.rating-card-mobile .rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .75rem
}

.rating-card-mobile.is-first .rank-badge {
    background-color: #ffc107;
    color: #000
}

.rating-card-mobile .rating-program-name {
    font-weight: 600;
    font-size: .95rem;
    color: #212529;
    margin-bottom: 4px;
    padding-right: 20px
}

.rating-card-mobile .rating-value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-success)
}

@media (min-width:992px) and (max-width:1199px) {
    .video-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .dizi-grid {
        grid-template-columns: repeat(5, 1fr)
    }
}

@media (min-width:768px) and (max-width:991px) {
    .video-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .dizi-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none
    }
}

@media (max-width:991.98px) {
    .section-pill {
        font-size: .9rem;
        padding: .35rem .85rem
    }

    .video-grid-3 {
        grid-template-columns: 1fr;
        gap: 1.25rem
    }

    #oneCikanCarouselDesktop .video-grid-3 {
        grid-template-columns: repeat(3, 1fr)
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .dizi-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
    }

    .oyuncular-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .oyuncular-grid .oyuncu-card-item:nth-child(n+4) {
        display: none
    }
}

@media (max-width:576px) {
    .hizli-erisim-list {
        gap: 12px
    }

    .quick-access-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 14px
    }

    .dizi-grid {
        gap: 8px
    }
}

@media (max-width:991px) {

    body {
        padding-top: 0 !important
    }

    .breadcrumb {
        margin-bottom: 5px !important;
        background: transparent !important;
        padding-left: 0 !important
    }

    h1.h3 {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        font-size: 1.2rem !important;
        line-height: 1.3 !important
    }

    main.col-lg-8 {
        margin-top: 0 !important;
        padding-top: 0 !important
    }
}
