/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #141414;
    color: #fff;
}

/* Üst Menü */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #e50914;
}

.header .nav a {
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header .nav a:hover {
    color: #e50914;
}

.login-btn button {
    background: linear-gradient(45deg, #de0776, #7f3fbf, #3e2c75, #b84fc0);
    background-size: 300% 300%;
    border: none;
    padding: 8px 25px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    animation: gradientShiftLogin 5s ease infinite;
}

.login-btn button:hover {
    background: #3e2c75; /* hover rengi sabit */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(222, 7, 118, 0.4);
    animation: none; /* hover sırasında animasyonu durdur */
}

@keyframes gradientShiftLogin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* Kahraman Banner */
.hero {
    min-height: 100vh; /* tüm ekran yüksekliği */
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), /* siyah filtre */
        url('/images/backround/film-kolaji.png') center/cover no-repeat;
    display: flex;
    justify-content: center; /* yatay ortala */
    align-items: center;     /* dikey ortala */
    text-align: center;
    padding-top: 70px; /* header yüksekliği kadar boşluk */
    box-sizing: border-box;
    color: #fff;
}

.hero-content {
    max-width: 750px;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #f0f0f0;
}
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #f0f0f0;
}

.hero-trial {
    margin-top: 15px;
    font-size: 16px;
    color: #e50914;
    font-weight: bold;
}

.btn-watch {
    background: linear-gradient(45deg, #de0776, #3e2c75, #ff5f6d, #ffc371);
    background-size: 300% 300%;
    border: none;
    padding: 12px 28px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.5s ease;
    animation: gradientShift 5s ease infinite;
}

/* Hover efekti */
.btn-watch:hover {
    background: #3e2c75; /* hover rengi sabit */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(222, 7, 118, 0.4);
    animation: none; /* hover sırasında animasyonu durdur */
}

/* Gradient animasyonu */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* 🎬 KATEGORİ BÖLÜMLERİ */
.category {
    margin: 60px 50px;
}

.category h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* 🎞️ Film satırı */
.movies-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    align-items: flex-start; /* kartlar hizalı */
}

/* Scroll bar gizle */
.movies-row::-webkit-scrollbar {
    display: none;
}

/* 🎥 Tek film kartı */
.movie-card {
    min-width: 200px;
    height: 300px;           /* sabit yükseklik ekledik */
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
    position: relative;
}

.movie-card img {
    width: 100%;
    height: 100%;            /* kartın yüksekliğine uyumlu */
    border-radius: 6px;
    object-fit: cover;       /* resmi kırpar ama taşmaz */
}

/* Hover efekti – küçük, zarif büyüme */
.movie-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 5;
}

/* 📺 Responsive (mobil uyumlu) */
@media (max-width: 768px) {
    .category {
        margin: 30px 20px;
    }

    .movie-card {
        min-width: 150px;
        height: 200px;       /* mobilde daha küçük kart */
    }

    .category h2 {
        font-size: 20px;
    }
}


.movies-container {
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s;
}

.scroll-btn:hover {
    background-color: rgba(0,0,0,0.8);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

/* Movies row zaten flex ve overflow-x:auto ile tanımlı */
.movies-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.header .logo img {
    height: 40px;   /* üst menüye uygun yükseklik */
    width: auto;    /* oranı korur */
}









  

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(45deg, #de0776, #7f3fbf, #3e2c75, #b84fc0);
    background-size: 300% 300%;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: none; /* başta gizli */
    transition: all 0.3s ease;
    animation: gradientShiftScroll 5s ease infinite;
}

#scrollTopBtn:hover {
    background: #3e2c75; /* hover sırasında sabit renk */
    transform: scale(1.1);
    animation: none; /* hover sırasında animasyonu durdur */
}

@keyframes gradientShiftScroll {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}






/* 💎 Tek Plan Bölümü (dağınık renkli spotlightlar + hareketli) */
.plan-section {
    position: relative;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    overflow: hidden;
}

/* Hareketli spotlight layer */
.plan-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(222,7,118,0.3), transparent 60%),
                radial-gradient(circle at 80% 30%, rgba(62,44,117,0.3), transparent 60%),
                radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 85%);
    background-size: 200% 200%;
    z-index: 1;
    pointer-events: none;
    filter: blur(40px); /* ışıkları yumuşatır */
    animation: moveSpots 15s linear infinite;
}

/* Gradient/spot hareketi */
@keyframes moveSpots {
    0% { background-position: 0% 0%, 100% 0%, 50% 0%; }
    50% { background-position: 100% 50%, 0% 50%, 50% 50%; }
    100% { background-position: 0% 0%, 100% 0%, 50% 0%; }
}


/* İçerik */
.plan-content {
    position: relative;
    z-index: 2;
}

.plan-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.plan-subtitle {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 50px;
}

/* Plan kart */
.plan-card {
    background: rgba(31, 31, 31, 0.9);
    border-radius: 14px;
    padding: 50px 60px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(222, 7, 118, 0.4);
}

.plan-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #de0776;
}

.plan-price {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 25px;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: 0 auto 30px;
    color: #ddd;
    line-height: 1.8;
    max-width: 280px;
}

.plan-features li::before {
    content: "✔";
    color: #de0776;
    margin-right: 10px;
}

.plan-btn {
    background: linear-gradient(45deg, #de0776, #7f3fbf, #3e2c75, #b84fc0);
    background-size: 300% 300%;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gradientShiftPlan 5s ease infinite;
}

.plan-btn:hover {
    background: #3e2c75; /* hover sırasında sabit renk */
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(222, 7, 118, 0.4);
    animation: none; /* hover sırasında animasyonu durdur */
}

@keyframes gradientShiftPlan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.plan-note {
    font-size: 14px;
    color: #aaa;
    margin-top: 15px;
}


.plan-section {
    position: relative;
    background-color: #000;
    padding: 120px 0; /* yan paddingi kaldırdık */
    text-align: center;
    overflow: hidden;
}

.plan-content-wrapper {
    position: relative;
    display: inline-block; /* ortalamak için */
}

.plan-content {
    position: relative;
    z-index: 2;
    display: inline-block;
    text-align: center;
}

.plan-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 50px 60px;
    background: rgba(31,31,31,0.9);
    border-radius: 14px;
}

.plan-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 280px; /* resim boyutu */
    height: auto;
    z-index: 1;
    
}

.plan-image.left {
    left: -300px; /* plana yakın ama dışarıda */
    margin-top: 50px; /* üstten boşluk, isteğe göre ayarlayabilirsin */
}

.plan-image.right {
    right: -300px; /* plana yakın ama dışarıda */
    margin-top: 50px; /* üstten boşluk, isteğe göre ayarlayabilirsin */
}

.plan-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .plan-image.left,
    .plan-image.right {
        display: none; /* mobilde gizle */
    }
}

.plan-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* siyah filtre, %40 opacity */
    border-radius: 10px;
    pointer-events: none; /* overlay tıklamayı engellemez */
}


/* Dil seçici CSS */
.language-selector {
    position: relative;
    display: inline-block;
    text-align: center; /* ikon ve dropdown ortalı */
}

/* Dil ikonu */
.language-icon {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    display: block;
    margin: 0 auto;
    padding: 5px;
    border-radius: 6px;
    transition: background 0.2s;
    position: relative; /* tooltip için gerekli */
}

.language-icon:hover {
    background-color: #3e2c75;
}
.language-icon::after {
    font-family: 'Arial', 'Roboto', sans-serif; /* Türkçe karakter destekli font */
}

/* Tooltip metni altta gösterilecek */
.language-icon::after {
    content: "Dil Seçimi";
    position: absolute;
    top: 125%; /* ikonun altına çıkar */
    left: 50%;
    transform: translateX(-50%);
    background-color: #3e2c75;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 20;
}

/* Hover olunca tooltip görünür */
.language-icon:hover::after {
    opacity: 1;
}

/* Dropdown başlangıçta gizli */
.language-options {
    display: none;
    position: absolute;
    top: 130%;
    left: 50%; /* ikonun altına ortala */
    transform: translateX(-50%); /* tam ortalama */
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    min-width: 120px;   /* en küçük genişlik */
    max-width: 300px;   /* çok uzun olursa sınır */
    padding: 5px 0;     /* yazıya göre biraz boşluk */
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 10;
    text-align: center; /* liste öğeleri ortalı */
    white-space: nowrap; /* tek satırda kal */
}

.language-options li {
    padding: 8px 12px;
    cursor: pointer;
    list-style: none;
    color: #fff;
    transition: background 0.2s;
    width: auto; /* genişlik yazıya göre */
}

.language-options li:hover {
    background: #3e2c75;
    color: #fff;
}



/* === Notice Bar (adblock-dostu isimler) === */
.notice-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: block;
    transform: translateY(8px);
    opacity: 0;
    pointer-events: none;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 16px 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .notice-bar.is-visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.nb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
}

.nb-title {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2px;
}

.nb-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #eaeaea;
}

.nb-link {
    color: #de0776;
    text-decoration: underline;
    text-underline-offset: 3px;
}

    .nb-link:hover {
        opacity: .9;
    }

.nb-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nb-btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nb-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nb-actions {
        justify-content: stretch;
    }

    .nb-btn {
        width: 100%;
    }
}


.language-options li.active {
    background: #3e2c75;
    font-weight: 700;
}

.lang-label {
    margin-left: 8px;
    font-weight: 700;
    font-size: 14px;
}

.rtl .lang-label {
    margin-left: 0;
    margin-right: 8px;
}


/*  Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 70px 40px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 0; /* <-- eklendi: stacking context */
}

    /* ebruli spotlight arka plan (animasyonlu) */
    .footer::before {
        content: "";
        position: absolute;
        inset: -20% -10%;
        background: radial-gradient(circle at 20% 20%, rgba(222, 7, 118, 0.20), transparent 54%), radial-gradient(circle at 80% 30%, rgba(62, 44, 117, 0.42), transparent 54%), radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.015), transparent 85%), linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35)); /* hafif karartma */
        background-size: 200% 200%;
        filter: blur(40px);
        pointer-events: none;
        animation: moveFooterSpots 15s linear infinite;
        z-index: -1; /* <-- değişti: arka plana gönder */
    }

/* animasyon */
@keyframes moveFooterSpots {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 0%;
    }

    50% {
        background-position: 100% 50%, 0% 50%, 50% 50%;
    }

    100% {
        background-position: 0% 0%, 100% 0%, 50% 0%;
    }
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 10px;
    column-gap: 40px;
}



/* Sadece metin kadar tıklanabilir olsun, hücreyi kaplamasın */
.footer-links-grid a {
    display: inline-block; /* block → inline-block */
    width: max-content; /* genişlik: metin kadar */
    place-self: start; /* grid'in stretch davranışını kapat */
    color: #fff;
    text-decoration: none;
    transition: color .3s;
    margin-bottom: 15px; /* dikey boşluk */
    padding: 2px 0; /* küçük dokunma alanı */
}

    .footer-links-grid a:hover {
        color: #de0776;
    }


/* Footer panelinden BAĞIMSIZ */
.footer-bottom {
    /* Tema değişkenleri (isteğe göre override edebilirsin) */
    --fb-bg: #0f0f14; /* arka plan */
    --fb-fg: #d5d7dc; /* metin */
    --fb-link: #e4e6eb; /* link */
    --fb-link-hover: #de0776; /* link hover */
    /* Dış boşluklar (üst/alt) */
    --fb-mt: 12px; /* ÜST margin */
    --fb-mb: 12px; /* ALT margin */
    /* İç boşluklar (üst/alt) */
    --fb-pt: 15px; /* ÜST padding */
    --fb-pb: 12px; /* ALT padding */

    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    /* boşluklar */
    margin: var(--fb-mt) 0 var(--fb-mb);
    padding: var(--fb-pt) 16px var(--fb-pb);
}

    /* İçerik hizası */
    .footer-bottom p {
        margin: 0;
    }

    /* Linkler */
    .footer-bottom a {
        color: #de0776; /* link rengi */
        text-decoration: none;
        transition: color .2s ease;
    }

        .footer-bottom a:hover,
        .footer-bottom a:focus {
            color: #3e2c75; /* hover rengi (istenirse) */
            text-decoration: underline;
        }



/* Mobil uyumlu */
@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 8px;
    }
}