/* ================================================
   SCREENSHOTS SECTION - PREMIUM STYLING
   ================================================ */

.screenshots-section {
  width: 100%;
  background: #000000;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.screenshots-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* ===== SECTION HEADING ===== */
.screenshots-header {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
    position: relative;
    z-index: 3;
}
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 3;
}

.screenshots-heading-wrapper {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.12), rgba(102, 255, 12, 0.06));
    border: 1.5px solid rgba(102, 255, 12, 0.3);
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    box-shadow: 
        0 0 20px rgba(102, 255, 12, 0.12),
        inset 0 0 15px rgba(102, 255, 12, 0.06);
    backdrop-filter: blur(12px);
    animation: premium-glow 3.5s ease-in-out infinite;
    position: relative;
}

.screenshots-icon {
    font-size: 1.5rem;
    margin-right: 0.7rem;
    display: inline-block;
    animation: subtle-float 3s ease-in-out infinite;
}

.screenshots-heading {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.3px;
}

@keyframes premium-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 255, 12, 0.12), inset 0 0 15px rgba(102, 255, 12, 0.06);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 255, 12, 0.18), inset 0 0 20px rgba(102, 255, 12, 0.08);
    }
}

@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ===== SWIPER CONTAINER ===== */
.screenshots-swiper {
    position: relative;
    padding: 2rem 80px 3rem;
    overflow: visible;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.swiper-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: auto;
    transition: transform 0.5s ease, opacity 0.5s ease;
    flex-shrink: 0;
    width: auto;
    min-width: 240px;
}

.swiper-slide .screenshot-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* Center slide emphasis */
.swiper-slide-active {
    z-index: 10;
}

.swiper-slide-next,
.swiper-slide-prev {
    opacity: 0.7;
    transform: scale(0.95);
}

/* ===== SCREENSHOT CARD ===== */
.screenshot-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    filter: brightness(1);
}

.screenshot-card:active {
    cursor: grabbing;
}

.swiper-slide-active .screenshot-card {
    transform: translateY(-8px);
    filter: brightness(1.05);
}

.swiper-slide-active .screenshot-card:hover {
    transform: translateY(-12px);
}

/* ===== PREMIUM PHONE FRAME ===== */
.phone-frame {
    position: relative;
    width: 200px;
    height: 410px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-radius: 30px;
    padding: 8px;
    border: 1px solid rgba(102, 255, 12, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: floating 6s ease-in-out infinite;
    backdrop-filter: blur(20px);
}

.swiper-slide-active .phone-frame {
    border-color: rgba(102, 255, 12, 0.3);
    box-shadow: 
        0 12px 48px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(102, 255, 12, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.phone-frame:hover {
    border-color: rgba(102, 255, 12, 0.25);
    transform: translateY(-3px);
}

/* Floating animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Phone Notch/Camera Area - Samsung Edge style */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: linear-gradient(135deg, #0a0a0a, #000000);
    border-radius: 0 0 16px 16px;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Camera punch hole */
.phone-notch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #000000;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
}

/* Phone Screen - Edge-to-edge display */
.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    display: block;
    transform: rotate(180deg);
}

/* Phone Speaker - Bottom details */
.phone-speaker {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #0a0a0a 15%, #0a0a0a 85%, transparent);
    border-radius: 2px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== NAVIGATION ARROWS ===== */
.screenshots-button-prev,
.screenshots-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.08), rgba(102, 255, 12, 0.04));
    border: 2px solid rgba(102, 255, 12, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66FF0C;
    font-weight: 900;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.screenshots-button-prev::after,
.screenshots-button-next::after {
    font-size: 1.4rem;
    text-shadow: 0 0 8px rgba(102, 255, 12, 0.5);
}

.screenshots-button-prev::after {
    content: '❮';
}

.screenshots-button-next::after {
    content: '❯';
}

.screenshots-button-prev {
    left: -26px;
}

.screenshots-button-next {
    right: -26px;
}

.screenshots-button-prev:hover,
.screenshots-button-next:hover {
    background: linear-gradient(135deg, rgba(102, 255, 12, 0.15), rgba(102, 255, 12, 0.08));
    border-color: rgba(102, 255, 12, 0.4);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.6),
        0 0 32px rgba(102, 255, 12, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-50%) scale(1.1);
    animation: arrow-glow 2s ease-in-out infinite;
}

@keyframes arrow-glow {
    0%, 100% {
        box-shadow: 
            0 6px 24px rgba(0, 0, 0, 0.6),
            0 0 32px rgba(102, 255, 12, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    50% {
        box-shadow: 
            0 6px 24px rgba(0, 0, 0, 0.6),
            0 0 48px rgba(102, 255, 12, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

.screenshots-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    z-index: 3;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition: all 0.25s ease;
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: #66ff0c;
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop: 5 slides with center scaling */
@media (min-width: 1200px) {
    .screenshots-section {
        padding: 5rem 2rem;
    }

    .phone-frame {
        width: 200px;
        height: 410px;
        padding: 8px;
        border-radius: 30px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .screenshot-img {
        border-radius: 20px;
    }

    .swiper-slide-next,
    .swiper-slide-prev {
        opacity: 0.6;
        transform: scale(0.85);
        filter: blur(0.5px);
    }

    .swiper-slide-next ~ .swiper-slide-next,
    .swiper-slide-prev ~ .swiper-slide-prev {
        opacity: 0.4;
        transform: scale(0.75);
        filter: blur(1px);
    }
}

/* Tablet: 3 slides */
@media (max-width: 1199px) and (min-width: 769px) {
    .screenshots-section {
        padding: 4rem 1.5rem;
    }

    .screenshots-header {
        margin-bottom: 3.5rem;
    }

    .screenshots-heading {
        font-size: 2rem;
    }

    .screenshots-swiper {
        padding: 1rem 60px;
    }

    .phone-frame {
        width: calc(100vw * 0.35);
        height: calc(100vw * 0.7);
        max-width: 150px;
        max-height: 300px;
        padding: 5px;
        border-radius: 20px;
        margin: 0 auto;
    }

    .phone-screen {
        border-radius: 19px;
    }

    .screenshot-img {
        border-radius: 17px;
    }

    .phone-notch {
        width: 100px;
        height: 20px;
        border-radius: 0 0 14px 14px;
    }

    .phone-speaker {
        width: 135px;
        height: 3px;
    }

    .screenshots-button-prev,
    .screenshots-button-next {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .screenshots-button-prev {
        left: -24px;
    }

    .screenshots-button-next {
        right: -24px;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }

    .swiper-pagination-bullet-active {
        width: 11px;
        height: 11px;
    }
}

/* Mobile: 1 slide centered */
@media (max-width: 768px) {
    .screenshots-section {
        padding: 3.5rem 0.5rem 4.5rem;
    }

    .screenshots-header {
        margin-bottom: 3rem;
    }

    .screenshots-heading-wrapper {
        padding: 0.7rem 1.8rem;
    }

    .screenshots-icon {
        font-size: 1.3rem;
        margin-right: 0.5rem;
    }

    .screenshots-heading {
        font-size: 1.7rem;
    }

    .screenshots-swiper {
        padding: 1rem 0 3rem;
        margin: 0 auto;
        overflow: visible;
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .swiper-wrapper {
        justify-content: center;
        text-align: center;
        gap: 8px;
        display: flex;
        align-items: center;
    }

    .swiper-slide {
        min-width: 110px;
        max-width: 110px;
        flex-shrink: 0;
    }

    .swiper-slide .screenshot-card {
        max-width: 100%;
    }

    .phone-frame {
        width: 110px;
        height: 220px;
        max-width: 110px;
        max-height: 220px;
        padding: 6px;
        border-radius: 24px;
        margin: 0 auto;
    }

    .phone-screen {
        border-radius: 18px;
    }

    .screenshot-img {
        border-radius: 16px;
    }

    .phone-notch {
        width: 85px;
        height: 18px;
        border-radius: 0 0 12px 12px;
    }

    .phone-speaker {
        width: 115px;
        height: 3px;
    }

    .screenshots-button-prev,
    .screenshots-button-next {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        top: 50%;
    }

    .screenshots-button-prev {
        left: 10px;
    }

    .screenshots-button-next {
        right: 10px;
    }

    .screenshots-pagination {
        padding: 2.5rem 0 0;
    }

    .swiper-pagination-bullet {
        width: 9px;
        height: 9px;
        margin: 0 4px;
    }

    .swiper-pagination-bullet-active {
        width: 10px;
        height: 10px;
    }

    .swiper-slide-next,
    .swiper-slide-prev {
        opacity: 1;
        display: flex;
    }

    .swiper-slide-active {
        transform: scale(1) !important;
    }
}

/* Small Mobile: 1 slide, optimized */
@media (max-width: 480px) {
    .screenshots-section {
        padding: 3rem 0.8rem 4rem;
    }

    .screenshots-header {
        margin-bottom: 2.5rem;
    }

    .screenshots-heading-wrapper {
        padding: 0.6rem 1.5rem;
    }

    .screenshots-icon {
        font-size: 1.1rem;
        margin-right: 0.4rem;
    }

    .screenshots-heading {
        font-size: 1.5rem;
    }

    .screenshots-swiper {
        padding: 0.8rem 10px 3rem;
        overflow: visible;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-wrapper {
        justify-content: center;
        gap: 6px;
        display: flex;
        align-items: center;
    }

    .swiper-slide {
        min-width: 90px;
        max-width: 90px;
        flex-shrink: 0;
    }

    .swiper-slide .screenshot-card {
        max-width: 100%;
    }

    .phone-frame {
        width: 90px;
        height: 180px;
        max-width: 90px;
        max-height: 180px;
        padding: 5px;
        border-radius: 20px;
    }

    .phone-screen {
        border-radius: 15px;
    }

    .screenshot-img {
        border-radius: 13px;
    }

    .phone-notch {
        width: 70px;
        height: 16px;
        border-radius: 0 0 10px 10px;
    }

    .phone-speaker {
        width: 95px;
        height: 3px;
    }

    .screenshots-button-prev,
    .screenshots-button-next {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .screenshots-button-prev {
        left: 8px;
    }

    .screenshots-button-next {
        right: 8px;
    }

    .screenshots-pagination {
        padding: 2rem 0 0;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .swiper-pagination-bullet-active {
        width: 8px;
        height: 8px;
    }
}

/* Extra Small Mobile: Ultra responsive */
@media (max-width: 360px) {
    .screenshots-section {
        padding: 2.5rem 0.3rem 3.5rem;
    }

    .screenshots-header {
        margin-bottom: 2rem;
    }

    .screenshots-heading-wrapper {
        padding: 0.5rem 1.2rem;
    }

    .screenshots-icon {
        font-size: 1rem;
        margin-right: 0.3rem;
    }

    .screenshots-heading {
        font-size: 1.3rem;
    }

    .screenshots-swiper {
        padding: 0.5rem 8px 2.5rem;
        overflow: visible;
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .swiper-wrapper {
        justify-content: center;
        gap: 5px;
        display: flex;
        align-items: center;
        text-align: center;
    }
    
    .swiper-slide {
        min-width: 75px;
        max-width: 75px;
        flex-shrink: 0;
    }

    .swiper-slide .screenshot-card {
        max-width: 100%;
    }

    .phone-frame {
        width: 75px;
        height: 150px;
        max-width: 75px;
        max-height: 150px;
        padding: 4px;
        border-radius: 18px;
        margin: 0 auto;
    }

    .phone-screen {
        border-radius: 14px;
    }

    .screenshot-img {
        border-radius: 12px;
    }

    .phone-notch {
        width: 60px;
        height: 14px;
        border-radius: 0 0 9px 9px;
    }

    .phone-speaker {
        width: 80px;
        height: 2px;
    }

    .screenshots-button-prev,
    .screenshots-button-next {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .screenshots-button-prev {
        left: 6px;
    }

    .screenshots-button-next {
        right: 6px;
    }

    .screenshots-pagination {
        padding: 1.5rem 0 0;
    }

    .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 2px;
    }

    .swiper-pagination-bullet-active {
        width: 7px;
        height: 7px;
    }

    .swiper-slide-next,
    .swiper-slide-prev {
        opacity: 0;
        display: none;
    }

    .swiper-slide-active {
        transform: scale(1) !important;
    }
}

/* Utility & Fixes */
.swiper-wrapper {
    width: 100%;
}

.swiper-container {
    width: 100%;
    overflow: visible;
}

/* Smart TV Advanced Library Section */
.smarttv-library-section {
    position: relative;
    overflow: hidden;
    background: #020202;
    padding: 5rem 18px 4rem;
    width: calc(100vw - 36px);
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.smarttv-library-wrap {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

.smarttv-library-header {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 65, 0.22);
    background: rgba(0, 0, 0, 0.24);
    box-shadow: 0 0 32px rgba(0, 255, 65, 0.1), inset 0 0 20px rgba(0, 255, 65, 0.04);
    backdrop-filter: blur(20px);
    animation: premium-glow 4s ease-in-out infinite;
    margin-bottom: 2.5rem;
}

.smarttv-library-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 255, 65, 0.32);
    color: #00ff41;
    box-shadow: 0 0 18px rgba(0, 255, 65, 0.18);
}

.smarttv-library-headline {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
}

.smarttv-library-showcase {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.smarttv-library-swiper {
    width: 100%;
    padding: 1rem 0 2.5rem;
    overflow: visible;
}

.smarttv-library-swiper .swiper-wrapper {
    align-items: center;
}

.smarttv-library-swiper .swiper-slide {
    width: min(820px, 84vw);
    max-width: 820px;
    flex-shrink: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.smarttv-tv-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(0, 255, 65, 0.14);
    background: linear-gradient(180deg, #080808 0%, #111111 100%);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6), inset 0 0 1px rgba(255, 255, 255, 0.04);
}

.smarttv-tv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 24%, rgba(0, 255, 65, 0.12), transparent 30%), radial-gradient(circle at 15% 75%, rgba(0, 255, 65, 0.06), transparent 20%);
    pointer-events: none;
}

.smarttv-card-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.smarttv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.smarttv-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.18) 30%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.smarttv-card-meta {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smarttv-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.smarttv-card-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 255, 65, 0.14);
    color: #c8ffc2;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.smarttv-card-title {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 0 22px rgba(0, 0, 0, 0.65);
}

.smarttv-card-cta {
    width: fit-content;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 65, 0.35);
    background: rgba(0, 255, 65, 0.16);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 24px rgba(0, 255, 65, 0.12);
}

.smarttv-card-cta:hover {
    transform: translateY(-2px);
    background: rgba(0, 255, 65, 0.24);
}

.smarttv-library-swiper .swiper-slide-active .smarttv-tv-card {
    transform: scale(1.04);
    border-color: rgba(0, 255, 65, 0.28);
    box-shadow: 0 42px 120px rgba(0, 0, 0, 0.75), 0 0 42px rgba(0, 255, 65, 0.18);
}

.smarttv-library-swiper .swiper-slide-next .smarttv-tv-card,
.smarttv-library-swiper .swiper-slide-prev .smarttv-tv-card {
    opacity: 0.86;
    transform: scale(0.96);
}

.smarttv-library-prev,
.smarttv-library-next {
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.54);
    border: 1px solid rgba(0, 255, 65, 0.28);
    color: #00ff41;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.22), inset 0 0 14px rgba(0, 255, 65, 0.1);
    z-index: 20;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.smarttv-library-prev {
    left: -18px;
}

.smarttv-library-next {
    right: -18px;
}

.smarttv-library-prev:hover,
.smarttv-library-next:hover {
    transform: translateY(-50%) scale(1.08);
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 0 0 38px rgba(0, 255, 65, 0.3), inset 0 0 18px rgba(0, 255, 65, 0.12);
}

.smarttv-library-prev::after {
    content: '‹';
}

.smarttv-library-next::after {
    content: '›';
}

.smarttv-library-pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding-top: 1.75rem;
}

.smarttv-library-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    opacity: 0.9;
    transition: transform 0.3s ease, background 0.3s ease;
}

.smarttv-library-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

@media (max-width: 1199px) {
    .smarttv-library-section {
        padding: 4.5rem 14px 3.5rem;
        width: calc(100vw - 28px);
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .smarttv-library-swiper .swiper-slide {
        width: min(760px, 90vw);
    }

    .smarttv-library-prev {
        left: 8px;
    }

    .smarttv-library-next {
        right: 8px;
    }
}

@media (max-width: 768px) {
    .smarttv-library-section {
        padding: 3.5rem 10px 3rem;
        width: calc(100vw - 20px);
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .smarttv-library-header {
        width: fit-content;
        padding: 12px 20px;
    }

    .smarttv-library-headline {
        font-size: 2rem;
    }

    .smarttv-library-swiper {
        padding: 1.5rem 0 1.8rem;
    }

    .smarttv-library-swiper .swiper-slide {
        width: min(92vw, 520px);
    }

    .smarttv-library-prev {
        left: 10px;
    }

    .smarttv-library-next {
        right: 10px;
    }

    .smarttv-library-swiper .swiper-slide:not(.swiper-slide-active) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .smarttv-library-section {
        padding: 3rem 8px 2.5rem;
        width: calc(100vw - 16px);
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .smarttv-library-header {
        padding: 10px 16px;
    }

    .smarttv-library-headline {
        font-size: 1.75rem;
    }

    .smarttv-library-swiper {
        padding: 1.2rem 0 1.3rem;
    }

    .smarttv-library-swiper .swiper-slide {
        width: min(92vw, 360px);
        max-width: 360px;
    }

    .smarttv-library-prev {
        left: 8px;
    }

    .smarttv-library-next {
        right: 8px;
    }

    .smarttv-library-pagination {
        padding-top: 1.2rem;
    }

    .smarttv-library-swiper .swiper-slide-prev,
    .smarttv-library-swiper .swiper-slide-next {
        display: none;
    }
}


