/* ==================================================
   SEYİRATLASI
================================================== */

:root {
    --background: #0b1026;
    --background-dark: #070b1b;
    --background-light: #111936;

    --card-background: rgba(19, 28, 66, 0.65);
    --card-background-hover: rgba(25, 36, 82, 0.78);

    --primary: #8fafff;
    --primary-light: #c7d2fe;
    --primary-soft: rgba(143, 175, 255, 0.15);

    --silver: #e5e7eb;
    --text: #f3f4f6;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;

    --border: rgba(143, 175, 255, 0.15);
    --border-strong: rgba(143, 175, 255, 0.35);

    --error: #fca5a5;

    --shadow-small:
        0 8px 24px rgba(0, 0, 0, 0.22);

    --shadow-medium:
        0 15px 35px rgba(0, 0, 0, 0.32);

    --transition: 0.3s ease;

    --border-radius-medium: 16px;
    --border-radius-large: 22px;

    --content-width: 1400px;
}

[data-theme="light"] {
    --background: #e6f6ff;
    --background-dark: #cfeeff;
    --background-light: #f7fcff;

    --card-background: #ffffff;
    --card-background-hover: #ffffff;

    --primary: #b79a3b;
    --primary-light: #8a7223;
    --primary-soft: rgba(49, 143, 194, 0.12);

    --silver: #102a43;
    --text: #102a43;
    --text-soft: #294861;
    --text-muted: #526f84;

    --border: rgba(34, 112, 154, 0.18);
    --border-strong: rgba(34, 112, 154, 0.34);

    --shadow-small:
        0 8px 24px rgba(39, 55, 92, 0.12);

    --shadow-medium:
        0 15px 35px rgba(39, 55, 92, 0.16);
}

[data-theme="light"] body {
    background: var(--background);
}


/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    color: var(--text);

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(55, 74, 145, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(63, 81, 181, 0.12),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            var(--background) 0%,
            var(--background-dark) 100%
        );

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
}

button,
input,
select {
    font: inherit;
}

button {
    border: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    color: #ffffff;
    background: rgba(143, 175, 255, 0.4);
}


/* ==================================================
   ERİŞİLEBİLİRLİK
================================================== */

.visually-hidden {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}


/* ==================================================
   ARKA PLAN YILDIZLARI
================================================== */

.stars,
.twinkling-stars,
.cursor-stars {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}

.cursor-stars {
    z-index: -1;
    display: block;
    opacity: 0.92;
    mix-blend-mode: screen;
}

[data-theme="light"] .cursor-stars {
    opacity: 0.65;
    mix-blend-mode: multiply;
}

.stars {
    z-index: -3;

    opacity: 0.95;

    background-image:
        radial-gradient(
            2px 2px at 20px 30px,
            #ffffff,
            transparent
        ),
        radial-gradient(
            2px 2px at 100px 70px,
            rgba(255, 255, 255, 0.95),
            transparent
        ),
        radial-gradient(
            2.5px 2.5px at 180px 140px,
            #8fafff,
            transparent
        ),
        radial-gradient(
            2px 2px at 260px 40px,
            #ffffff,
            transparent
        ),
        radial-gradient(
            2px 2px at 340px 160px,
            #c7d2fe,
            transparent
        ),
        radial-gradient(
            2.5px 2.5px at 520px 240px,
            #ffffff,
            transparent
        );

    background-size: 390px 190px;

    animation: starsMove 90s linear infinite;
}

.twinkling-stars {
    z-index: -2;

    opacity: 0.85;

    background-image:
        radial-gradient(
            circle at 15% 20%,
            rgba(143, 175, 255, 0.95) 0,
            rgba(143, 175, 255, 0.28) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 75% 16%,
            rgba(255, 255, 255, 0.95) 0,
            rgba(255, 255, 255, 0.2) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 42% 65%,
            rgba(199, 210, 254, 0.85) 0,
            rgba(199, 210, 254, 0.22) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 88% 72%,
            rgba(143, 175, 255, 0.9) 0,
            rgba(143, 175, 255, 0.2) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 28% 82%,
            rgba(199, 210, 254, 0.82) 0,
            rgba(199, 210, 254, 0.18) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 61% 44%,
            rgba(143, 175, 255, 0.86) 0,
            rgba(143, 175, 255, 0.18) 3px,
            transparent 6px
        );

    animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes starsMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 600px 300px;
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.25;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.35;
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-stars {
        display: none;
    }
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 11, 27, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="light"] .navbar {
    background: rgba(220, 231, 244, 0.82);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: var(--content-width);
    min-height: 72px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.4px;
    text-shadow:
        0 0 8px rgba(199, 210, 254, 0.58),
        0 0 20px rgba(143, 175, 255, 0.34);
}

.logo-text {
    text-shadow:
        0 0 9px rgba(199, 210, 254, 0.72),
        0 0 24px rgba(143, 175, 255, 0.46),
        0 10px 34px rgba(72, 101, 177, 0.24);
}

.navbar-actions,
.nav-links {
    display: flex;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navbar-actions {
    justify-content: space-between;
    gap: 22px;
    width: 100%;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navbar-right .recommend-trigger {
    min-height: 39px;
    gap: 6px;
    margin-top: 0;
    padding: 0 10px 0 7px;
    border-radius: 11px;
    font-size: 0.8rem;
}

.navbar-right .recommend-trigger img {
    width: 20px;
    height: 20px;
    transform: translateX(1px);
}

.menu-toggle {
    display: grid;
    align-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 0 11px;
    color: var(--text);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--card-background);
    transition:
        border-color var(--transition),
        background var(--transition);
}

.menu-toggle:hover {
    border-color: var(--border-strong);
    background: var(--card-background-hover);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

body.side-menu-open {
    overflow: hidden;
}

.side-menu {
    position: fixed;
    inset: 0;
    z-index: 50;
    visibility: hidden;
    pointer-events: none;
}

.side-menu.is-open {
    visibility: visible;
    pointer-events: auto;
}

.side-menu-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: default;
    background: rgba(3, 6, 18, 0);
    transition: background var(--transition);
}

.side-menu.is-open .side-menu-backdrop {
    background: rgba(3, 6, 18, 0.62);
}

.side-menu-panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(88vw, 370px);
    padding: 28px 24px;
    border-right: 1px solid var(--border);
    background:
        radial-gradient(circle at 10% 0%, rgba(143, 175, 255, 0.16), transparent 34%),
        rgba(8, 13, 35, 0.97);
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.38);
    transform: translateX(-102%);
    transition: transform 0.36s ease;
}

.side-menu.is-open .side-menu-panel {
    transform: translateX(0);
}

[data-theme="light"] .side-menu-panel {
    background:
        radial-gradient(circle at 10% 0%, rgba(64, 95, 181, 0.14), transparent 34%),
        rgba(241, 246, 253, 0.98);
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-menu-brand {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.4px;
}

.side-menu-brand img {
    width: 34px;
    height: 34px;
    margin-right: -3px;
    transform: translateY(-4px);
}

.side-menu-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--text-muted);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-background);
    font-size: 1.45rem;
}

.side-menu-label {
    margin: 30px 0 12px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.side-account-status {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 11px;
    margin-top: 34px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--primary-soft);
}

.side-account-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #ffffff;
    border-radius: 12px;
    background: var(--avatar-color);
    font-size: 0.8rem;
    font-weight: 850;
}

.side-account-avatar.is-guest {
    color: var(--text-muted);
    border: 1px dashed var(--border-strong);
    background: transparent;
}

.side-account-avatar.has-image {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: #111936;
    background-position: center;
    background-size: cover;
}

.side-account-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.side-account-copy strong {
    overflow: hidden;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-account-copy small {
    color: var(--text-muted);
    font-size: 0.67rem;
}

.side-account-login {
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.toast-container {
    position: fixed;
    top: 92px;
    right: 22px;
    z-index: 100;
    display: grid;
    gap: 10px;
    width: min(calc(100vw - 32px), 360px);
    pointer-events: none;
}

.app-toast {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    background: rgba(11, 16, 38, 0.94);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    backdrop-filter: blur(18px);
}

[data-theme="light"] .app-toast {
    background: rgba(248, 251, 255, 0.96);
}

.app-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.app-toast > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    border-radius: 50%;
    background: #22c55e;
    font-size: 0.75rem;
    font-weight: 900;
}

.app-toast.is-error > span {
    background: #ef4444;
}

.app-toast p {
    font-size: 0.8rem;
    font-weight: 700;
}

.side-menu-links {
    display: grid;
    gap: 9px;
}

.side-menu-links a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.side-menu-links a:hover,
.side-menu-links a.is-active {
    border-color: var(--border);
    background: var(--primary-soft);
    transform: translateX(3px);
}

.side-menu-links > a > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--primary-light);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--primary-soft);
    font-size: 1.2rem;
}

.side-menu-links > a > span svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.side-menu-links div {
    display: grid;
    gap: 3px;
}

.side-menu-links strong {
    font-size: 0.92rem;
}

.side-menu-links small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.side-menu-links b {
    color: var(--text-muted);
    font-size: 1.3rem;
}

.nav-links {
    gap: 28px;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a.is-active {
    color: var(--primary-light);
}

.nav-links a.is-active::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 4px;
    border-radius: 99px;
    background: var(--primary);
}

.nav-label-compact {
    display: none;
}

@media (max-width: 1100px) {
    .nav-label-desktop,
    .nav-optional-word {
        display: none;
    }

    .nav-label-compact {
        display: inline;
    }
}

/* ==================================================
   HEADER / HERO
================================================== */

.header {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--content-width);

    margin: 0 auto;
    padding: 76px 40px 52px;

    text-align: center;
}

.header::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 50%;

    width: calc(100% - 80px);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(143, 175, 255, 0.25),
            transparent
        );
}

.theme-toggle {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    color: var(--text);
    cursor: pointer;

    border: 1px solid var(--border-strong);
    border-radius: 50%;

    background: var(--card-background);
    box-shadow: var(--shadow-small);

    font-size: 1.25rem;
    line-height: 0;

    transition:
        transform var(--transition),
        background var(--transition);
}

#hero,
#trendingSection,
#discoverSection,
#myList,
#about,
#seriesHero,
#seriesTrending,
#seriesArchive {
    scroll-margin-top: 70px;
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(8deg);
    background: var(--card-background-hover);
}

.theme-toggle:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.theme-toggle svg {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    shape-rendering: geometricPrecision;
    vector-effect: non-scaling-stroke;
}

[data-theme="light"] .logo-text {
    color: #19336f;
    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.95),
        0 0 14px rgba(64, 95, 181, 0.62),
        0 0 32px rgba(64, 95, 181, 0.48),
        0 0 58px rgba(92, 126, 211, 0.34);
}

[data-theme="light"] .search-container {
    border-color: rgba(143, 175, 255, 0.34);
    background: rgba(23, 33, 59, 0.96);
    box-shadow:
        0 12px 34px rgba(23, 33, 59, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .search-input,
[data-theme="light"] .filters select {
    color: #ffffff;
    border-color: rgba(199, 210, 254, 0.24);
    background-color: #111a35;
}

[data-theme="light"] .search-input {
    color: #ffffff;
    caret-color: #ffffff;
    border-color: rgba(199, 210, 254, 0.24);
    background-color: #111a35;
}

[data-theme="light"] .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .search-input:hover,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .filters select:hover,
[data-theme="light"] .filters select:focus {
    border-color: #8fafff;
    background-color: #1e2b4c;
}

[data-theme="light"] .filters select {
    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            #c7d2fe 50%
        ),
        linear-gradient(
            135deg,
            #c7d2fe 50%,
            transparent 50%
        );
}

[data-theme="light"] .filters select option {
    color: #ffffff;
    background: #17213b;
}

[data-theme="light"] .clear-btn {
    color: #dbe5ff;
    border-color: rgba(199, 210, 254, 0.32);
    background: rgba(143, 175, 255, 0.12);
}

[data-theme="light"] .clear-btn:hover {
    color: #ffffff;
    border-color: #8fafff;
    background: rgba(143, 175, 255, 0.24);
}

[data-theme="light"] .stars {
    opacity: 0.64;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000'%3E%3Cg fill='none' stroke='%23405fb5' stroke-width='1.15' stroke-linecap='round' opacity='.28'%3E%3Cpath d='M105 178 218 112 318 196 424 151 503 245'/%3E%3Cpath d='M968 106 1072 172 1198 119 1305 218 1432 176'/%3E%3Cpath d='M1138 590 1244 514 1372 573 1478 492 1534 624'/%3E%3Cpath d='M226 716 347 648 448 734 552 670'/%3E%3Cpath d='M688 378 782 321 856 414 944 359'/%3E%3C/g%3E%3Cg fill='%23405fb5'%3E%3Ccircle cx='105' cy='178' r='3.2'/%3E%3Ccircle cx='218' cy='112' r='2.2'/%3E%3Ccircle cx='318' cy='196' r='3.6'/%3E%3Ccircle cx='424' cy='151' r='2'/%3E%3Ccircle cx='503' cy='245' r='2.8'/%3E%3Ccircle cx='968' cy='106' r='2.4'/%3E%3Ccircle cx='1072' cy='172' r='3.5'/%3E%3Ccircle cx='1198' cy='119' r='2'/%3E%3Ccircle cx='1305' cy='218' r='3'/%3E%3Ccircle cx='1432' cy='176' r='2.3'/%3E%3Ccircle cx='1138' cy='590' r='2.1'/%3E%3Ccircle cx='1244' cy='514' r='3.4'/%3E%3Ccircle cx='1372' cy='573' r='2.5'/%3E%3Ccircle cx='1478' cy='492' r='3.1'/%3E%3Ccircle cx='1534' cy='624' r='2'/%3E%3Ccircle cx='226' cy='716' r='2.7'/%3E%3Ccircle cx='347' cy='648' r='3.3'/%3E%3Ccircle cx='448' cy='734' r='2.1'/%3E%3Ccircle cx='552' cy='670' r='2.9'/%3E%3Ccircle cx='688' cy='378' r='2.2'/%3E%3Ccircle cx='782' cy='321' r='3'/%3E%3Ccircle cx='856' cy='414' r='2.5'/%3E%3Ccircle cx='944' cy='359' r='3.2'/%3E%3C/g%3E%3Cg fill='%23405fb5' opacity='.55'%3E%3Ccircle cx='68' cy='430' r='1.5'/%3E%3Ccircle cx='154' cy='317' r='2.2'/%3E%3Ccircle cx='285' cy='428' r='1.3'/%3E%3Ccircle cx='389' cy='73' r='1.6'/%3E%3Ccircle cx='541' cy='102' r='2.1'/%3E%3Ccircle cx='613' cy='287' r='1.4'/%3E%3Ccircle cx='724' cy='87' r='2.5'/%3E%3Ccircle cx='838' cy='211' r='1.3'/%3E%3Ccircle cx='907' cy='271' r='1.8'/%3E%3Ccircle cx='1018' cy='321' r='1.4'/%3E%3Ccircle cx='1127' cy='285' r='2.3'/%3E%3Ccircle cx='1251' cy='353' r='1.5'/%3E%3Ccircle cx='1394' cy='82' r='1.7'/%3E%3Ccircle cx='1518' cy='314' r='2.4'/%3E%3Ccircle cx='96' cy='585' r='2'/%3E%3Ccircle cx='312' cy='552' r='1.4'/%3E%3Ccircle cx='475' cy='468' r='2.3'/%3E%3Ccircle cx='584' cy='562' r='1.2'/%3E%3Ccircle cx='731' cy='536' r='1.9'/%3E%3Ccircle cx='887' cy='612' r='2.5'/%3E%3Ccircle cx='1026' cy='489' r='1.3'/%3E%3Ccircle cx='1328' cy='438' r='1.7'/%3E%3Ccircle cx='1570' cy='742' r='2.2'/%3E%3Ccircle cx='74' cy='875' r='1.4'/%3E%3Ccircle cx='183' cy='928' r='2.4'/%3E%3Ccircle cx='379' cy='861' r='1.6'/%3E%3Ccircle cx='517' cy='942' r='2'/%3E%3Ccircle cx='661' cy='792' r='1.3'/%3E%3Ccircle cx='798' cy='886' r='2.6'/%3E%3Ccircle cx='934' cy='766' r='1.5'/%3E%3Ccircle cx='1067' cy='903' r='2.1'/%3E%3Ccircle cx='1195' cy='806' r='1.2'/%3E%3Ccircle cx='1352' cy='914' r='2.5'/%3E%3Ccircle cx='1486' cy='837' r='1.6'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: none;
}

[data-theme="light"] .twinkling-stars {
    opacity: 0.5;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' viewBox='0 0 1600 1000'%3E%3Cg fill='none' stroke='%235979c8' stroke-width='1.05' stroke-linecap='round' stroke-linejoin='round' opacity='.3'%3E%3Cpath d='M604 128 682 58 758 172 604 128 682 58 699 226'/%3E%3Cpath d='M76 502 142 432 214 501 151 572 76 502'/%3E%3Cpath d='M1014 690 1090 606 1177 688 1090 606 1098 518'/%3E%3Cpath d='M1268 326 1341 273 1418 325 1387 408 1303 405 1268 326'/%3E%3Cpath d='M583 768 647 711 726 729 786 684 848 706 910 658'/%3E%3Cpath d='M879 190 934 244 1002 221 1057 276 1120 248 1177 306'/%3E%3Cpath d='M243 866 301 806 362 866 301 930 243 866 362 866'/%3E%3C/g%3E%3Cg fill='%235979c8'%3E%3Ccircle cx='604' cy='128' r='2.4'/%3E%3Ccircle cx='682' cy='58' r='3.2'/%3E%3Ccircle cx='758' cy='172' r='2.7'/%3E%3Ccircle cx='699' cy='226' r='2'/%3E%3Ccircle cx='76' cy='502' r='2.3'/%3E%3Ccircle cx='142' cy='432' r='3.3'/%3E%3Ccircle cx='214' cy='501' r='2.1'/%3E%3Ccircle cx='151' cy='572' r='2.8'/%3E%3Ccircle cx='1014' cy='690' r='2.2'/%3E%3Ccircle cx='1090' cy='606' r='3.4'/%3E%3Ccircle cx='1177' cy='688' r='2.6'/%3E%3Ccircle cx='1098' cy='518' r='2'/%3E%3Ccircle cx='1268' cy='326' r='2.5'/%3E%3Ccircle cx='1341' cy='273' r='3.1'/%3E%3Ccircle cx='1418' cy='325' r='2.2'/%3E%3Ccircle cx='1387' cy='408' r='2.8'/%3E%3Ccircle cx='1303' cy='405' r='2'/%3E%3Ccircle cx='583' cy='768' r='2.5'/%3E%3Ccircle cx='647' cy='711' r='2'/%3E%3Ccircle cx='726' cy='729' r='3'/%3E%3Ccircle cx='786' cy='684' r='2.1'/%3E%3Ccircle cx='848' cy='706' r='2.7'/%3E%3Ccircle cx='910' cy='658' r='2.2'/%3E%3Ccircle cx='879' cy='190' r='2.1'/%3E%3Ccircle cx='934' cy='244' r='2.9'/%3E%3Ccircle cx='1002' cy='221' r='1.9'/%3E%3Ccircle cx='1057' cy='276' r='3.1'/%3E%3Ccircle cx='1120' cy='248' r='2'/%3E%3Ccircle cx='1177' cy='306' r='2.6'/%3E%3Ccircle cx='243' cy='866' r='2.2'/%3E%3Ccircle cx='301' cy='806' r='3.2'/%3E%3Ccircle cx='362' cy='866' r='2.4'/%3E%3Ccircle cx='301' cy='930' r='2.8'/%3E%3C/g%3E%3Cg fill='%235979c8' opacity='.52'%3E%3Ccircle cx='31' cy='91' r='1.4'/%3E%3Ccircle cx='92' cy='276' r='1.9'/%3E%3Ccircle cx='172' cy='48' r='1.2'/%3E%3Ccircle cx='257' cy='296' r='2.1'/%3E%3Ccircle cx='344' cy='238' r='1.3'/%3E%3Ccircle cx='462' cy='326' r='1.8'/%3E%3Ccircle cx='553' cy='42' r='1.2'/%3E%3Ccircle cx='628' cy='336' r='2'/%3E%3Ccircle cx='753' cy='278' r='1.4'/%3E%3Ccircle cx='824' cy='66' r='2.2'/%3E%3Ccircle cx='947' cy='39' r='1.3'/%3E%3Ccircle cx='1064' cy='71' r='1.9'/%3E%3Ccircle cx='1214' cy='46' r='1.4'/%3E%3Ccircle cx='1334' cy='119' r='2.1'/%3E%3Ccircle cx='1498' cy='64' r='1.3'/%3E%3Ccircle cx='1557' cy='255' r='1.8'/%3E%3Ccircle cx='42' cy='696' r='2.1'/%3E%3Ccircle cx='184' cy='655' r='1.3'/%3E%3Ccircle cx='274' cy='612' r='1.8'/%3E%3Ccircle cx='391' cy='514' r='1.2'/%3E%3Ccircle cx='486' cy='606' r='2.2'/%3E%3Ccircle cx='601' cy='497' r='1.4'/%3E%3Ccircle cx='705' cy='582' r='1.9'/%3E%3Ccircle cx='803' cy='492' r='1.2'/%3E%3Ccircle cx='927' cy='541' r='2'/%3E%3Ccircle cx='1209' cy='523' r='1.4'/%3E%3Ccircle cx='1452' cy='601' r='2.1'/%3E%3Ccircle cx='1541' cy='543' r='1.2'/%3E%3Ccircle cx='117' cy='794' r='1.7'/%3E%3Ccircle cx='421' cy='912' r='1.3'/%3E%3Ccircle cx='527' cy='853' r='2'/%3E%3Ccircle cx='695' cy='944' r='1.2'/%3E%3Ccircle cx='832' cy='829' r='1.9'/%3E%3Ccircle cx='961' cy='921' r='1.4'/%3E%3Ccircle cx='1068' cy='806' r='2.1'/%3E%3Ccircle cx='1219' cy='918' r='1.3'/%3E%3Ccircle cx='1328' cy='789' r='1.8'/%3E%3Ccircle cx='1439' cy='949' r='1.2'/%3E%3Ccircle cx='1554' cy='872' r='2'/%3E%3C/g%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: none;
}

[data-theme="light"] .stars {
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0.48;

    background-image:
        radial-gradient(
            2px 2px at 20px 30px,
            #17213b,
            transparent
        ),
        radial-gradient(
            2px 2px at 100px 70px,
            rgba(23, 33, 59, 0.9),
            transparent
        ),
        radial-gradient(
            2.5px 2.5px at 180px 140px,
            #17213b,
            transparent
        ),
        radial-gradient(
            2px 2px at 260px 40px,
            #17213b,
            transparent
        ),
        radial-gradient(
            2px 2px at 340px 160px,
            #17213b,
            transparent
        ),
        radial-gradient(
            2.5px 2.5px at 520px 240px,
            #17213b,
            transparent
        );

    background-repeat: repeat;
    background-size: 390px 190px;

    animation:
        starsMove
        90s
        linear
        infinite;
}

[data-theme="light"] .twinkling-stars {
    display: block;

    opacity: 0.42;

    background-image:
        radial-gradient(
            circle at 15% 20%,
            rgba(23, 33, 59, 0.9) 0,
            rgba(23, 33, 59, 0.2) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 75% 16%,
            rgba(23, 33, 59, 0.88) 0,
            rgba(23, 33, 59, 0.18) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 42% 65%,
            rgba(23, 33, 59, 0.82) 0,
            rgba(23, 33, 59, 0.18) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 88% 72%,
            rgba(23, 33, 59, 0.86) 0,
            rgba(23, 33, 59, 0.18) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 28% 82%,
            rgba(23, 33, 59, 0.82) 0,
            rgba(23, 33, 59, 0.17) 3px,
            transparent 6px
        ),
        radial-gradient(
            circle at 61% 44%,
            rgba(23, 33, 59, 0.86) 0,
            rgba(23, 33, 59, 0.18) 3px,
            transparent 6px
        );

    animation:
        twinkle
        6s
        ease-in-out
        infinite
        alternate;
}


/* ==================================================
   LOGO
================================================== */

.logo-text {
    display: block;

    margin-bottom: -4px;

    color: #ffffff;

    font-size: clamp(2.5rem, 6vw, 4.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;

    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;

    text-shadow:
        0 0 20px rgba(143, 175, 255, 0.5),
        0 0 40px rgba(143, 175, 255, 0.35),
        0 0 60px rgba(199, 210, 254, 0.25),
        0 0 2px #ffffff;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;
    margin-left: -36px;
}

.logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.logo:focus-visible {
    border-radius: 6px;

    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.logo-image {
    width: auto;
    height: 56px;
}

html:not([data-theme="light"]) .logo-image,
html:not([data-theme="light"]) .side-menu-brand img,
html:not([data-theme="light"]) .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%)
        drop-shadow(0 0 5px rgba(199, 210, 254, 0.8))
        drop-shadow(0 0 13px rgba(143, 175, 255, 0.55))
        drop-shadow(0 0 24px rgba(143, 175, 255, 0.3));
}


/* ==================================================
   SLOGAN
================================================== */

.tagline {
    max-width: 760px;

    margin: 0 auto 34px;
    color: var(--text-soft);

    font-size: clamp(0.95rem, 2vw, 1.08rem);
    font-weight: 500;
    letter-spacing: 0.3px;
}


/* ==================================================
   ARAMA VE FİLTRELER
================================================== */

.search-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;

    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: var(--border-radius-large);

    background: rgba(13, 20, 50, 0.64);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.search-box {
    position: relative;

    flex: 1 1 320px;

    min-width: 240px;
}

.search-input,
.filters select {
    height: 50px;

    color: var(--text);

    border: 1px solid var(--border);
    outline: none;

    background-color: rgba(11, 16, 38, 0.76);

    transition:
        border-color var(--transition),
        background-color var(--transition),
        box-shadow var(--transition);
}

.search-input {
    width: 100%;

    padding: 0 18px;

    border-radius: 14px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input::-webkit-search-cancel-button {
    cursor: pointer;

    filter: invert(1);

    opacity: 0.55;
}

.search-input:hover,
.filters select:hover {
    border-color: rgba(143, 175, 255, 0.35);

    background-color: rgba(17, 25, 54, 0.88);
}

.search-input:focus,
.filters select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(143, 175, 255, 0.12),
        0 0 18px rgba(143, 175, 255, 0.12);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filters select {
    width: 158px;

    padding: 0 40px 0 14px;

    cursor: pointer;

    border-radius: 14px;

    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--primary-light) 50%
        ),
        linear-gradient(
            135deg,
            var(--primary-light) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}

.filters select option {
    color: var(--text);

    background: var(--background-light);
}

.clear-btn {
    display: none;

    min-height: 50px;

    padding: 0 20px;

    color: var(--primary-light);

    cursor: pointer;

    border: 1px solid rgba(143, 175, 255, 0.32);
    border-radius: 14px;

    background: rgba(143, 175, 255, 0.08);

    font-weight: 650;

    transition:
        transform var(--transition),
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.clear-btn.show {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.clear-btn:hover {
    color: #ffffff;

    border-color: var(--primary);

    background: rgba(143, 175, 255, 0.18);

    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(143, 175, 255, 0.17);
}

.clear-btn:active {
    transform: translateY(0);
}

.recommend-trigger {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 18px;
    padding: 0 20px;
    color: #17213b;
    cursor: pointer;
    border: 1px solid #e8b950;
    border-radius: 13px;
    background: linear-gradient(135deg, #f8dda0, #e9b84d);
    box-shadow:
        0 10px 26px rgba(197, 145, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.46);
    font-weight: 750;
    letter-spacing: 0.01em;
    transition:
        color var(--transition),
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.recommend-trigger::after {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    width: 58px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #fff5d3, transparent);
    opacity: 0.9;
}

.recommend-trigger img {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    object-fit: contain;
    filter: none;
}

.recommend-trigger:hover {
    color: #10182d;
    border-color: #f2ca70;
    background: linear-gradient(135deg, #ffe9b6, #f0c25c);
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.24);
}

.recommend-trigger:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

[data-theme="light"] .recommend-trigger {
    color: #102a43;
    border-color: #ae9a48;
    background: linear-gradient(135deg, #eee2a5, #c9b458);
}

[data-theme="light"] .recommend-trigger:hover {
    color: #102a43;
    border-color: #9f8a38;
    background: linear-gradient(135deg, #f3e9b8, #d3c16a);
}

[data-theme="light"] .about-content {
    color: #ffffff;
    border-color: rgba(110, 145, 225, 0.42);
    background:
        radial-gradient(circle at 50% 0%, rgba(143, 175, 255, 0.3), transparent 52%),
        linear-gradient(145deg, #294a91, #1b3470);
    box-shadow:
        0 18px 42px rgba(39, 69, 143, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .about-content .about-kicker {
    color: #dbe5ff;
}

[data-theme="light"] .about-content h2 {
    color: #ffffff;
}

[data-theme="light"] .about-content p {
    color: rgba(239, 244, 255, 0.84);
}

[data-theme="light"] .about-content .about-link {
    color: #dbe5ff;
}


/* ==================================================
   ANA İÇERİK
================================================== */

.main-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: var(--content-width);

    margin: 0 auto;
    padding: 40px 40px 90px;
}

.movies-section {
    width: 100%;
}

.movies-section + .movies-section {
    margin-top: 70px;
}

.section-title {
    position: relative;

    margin-bottom: 26px;
    padding-bottom: 13px;

    color: var(--silver);

    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 650;
    letter-spacing: -0.4px;
}

.section-title::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(143, 175, 255, 0.36),
            rgba(143, 175, 255, 0.08),
            transparent
        );
}

.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 36px;
    margin: -12px 0 22px;
}

.results-toolbar p {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 650;
}

.active-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-chips button {
    padding: 7px 10px;
    color: var(--primary-light);
    cursor: pointer;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--primary-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.active-filter-chips button:hover {
    border-color: var(--primary);
}


/* ==================================================
   CAROUSEL
================================================== */

.carousel-container {
    position: relative;

    width: 100%;
}

.carousel {
    display: flex;
    gap: 20px;

    width: 100%;

    padding: 10px 4px 24px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(143, 175, 255, 0.35)
        transparent;
}

.carousel::-webkit-scrollbar {
    height: 7px;
}

.carousel::-webkit-scrollbar-track {
    background: transparent;
}

.carousel::-webkit-scrollbar-thumb {
    border-radius: 99px;

    background: rgba(143, 175, 255, 0.28);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    z-index: 5;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 50px;
    height: 50px;

    color: var(--silver);

    cursor: pointer;

    border: 1px solid rgba(143, 175, 255, 0.3);
    border-radius: 50%;

    background: rgba(11, 16, 38, 0.82);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.38);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transform: translateY(-50%);

    font-size: 1.35rem;
    line-height: 1;

    transition:
        transform var(--transition),
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.carousel-btn:hover {
    color: #ffffff;

    border-color: var(--primary);

    background: rgba(28, 42, 91, 0.94);

    box-shadow:
        0 0 24px rgba(143, 175, 255, 0.3);

    transform:
        translateY(-50%)
        scale(1.08);
}

[data-theme="light"] .carousel-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(64, 95, 181, 0.68);
    box-shadow:
        0 8px 22px rgba(39, 69, 143, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 5px rgba(23, 33, 59, 0.35);
}

[data-theme="light"] .carousel-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(64, 95, 181, 0.86);
    box-shadow:
        0 10px 26px rgba(39, 69, 143, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.prev {
    left: -22px;
}

.next {
    right: -22px;
}


/* ==================================================
   TREND KARTLARI
================================================== */

.trending-card {
    position: relative;

    flex: 0 0 250px;

    height: 370px;

    overflow: hidden;

    cursor: pointer;

    border: 1px solid rgba(143, 175, 255, 0.15);
    border-radius: var(--border-radius-medium);

    background: var(--card-background);

    box-shadow: var(--shadow-small);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    scroll-snap-align: start;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.trending-card:hover,
.trending-card:focus-visible {
    border-color: rgba(143, 175, 255, 0.4);

    transform: translateY(-4px);

    box-shadow:
        0 0 25px rgba(143, 175, 255, 0.25),
        0 20px 35px rgba(0, 0, 0, 0.3);

    outline: none;
}

.trending-card .movie-poster {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.trending-card:hover .movie-poster {
    transform: scale(1.055);

    filter: brightness(0.82);
}

.trending-overlay {
    position: absolute;
    inset: auto 0 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 54%;

    padding: 72px 18px 18px;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(7, 11, 27, 0.25) 15%,
            rgba(7, 11, 27, 0.92) 66%,
            rgba(7, 11, 27, 0.98) 100%
        );
}

.trending-rank {
    position: absolute;
    top: 14px;
    left: 14px;

    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 46px;
    min-height: 38px;

    padding: 4px 9px;

    color: var(--silver);

    border: 2px solid var(--primary);
    border-radius: 10px;

    background: rgba(11, 16, 38, 0.75);

    box-shadow:
        0 0 18px rgba(143, 175, 255, 0.24);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 1rem;
    font-weight: 800;
}

[data-theme="light"] .trending-rank {
    color: #ffffff;

    border-color: #7798eb;
    background: rgba(20, 42, 94, 0.9);

    box-shadow:
        0 0 18px rgba(64, 95, 181, 0.42);

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.45);
}

.trending-title {
    display: -webkit-box;

    margin-bottom: 8px;

    overflow: hidden;

    color: #ffffff;

    font-size: 1.15rem;
    font-weight: 750;
    line-height: 1.22;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.trending-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;

    color: var(--text-soft);

    font-size: 0.84rem;
}

.trending-rating,
.movie-rating {
    padding: 4px 8px;

    color: var(--primary-light);

    border: 1px solid rgba(143, 175, 255, 0.22);
    border-radius: 8px;

    background: rgba(143, 175, 255, 0.12);

    font-size: 0.76rem;
    font-weight: 750;
}

.trending-genres {
    overflow: hidden;

    color: var(--text-muted);

    font-size: 0.78rem;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==================================================
   FİLM GRID VE KARTLAR
================================================== */

.movies-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(220px, 1fr)
        );
    gap: 26px;

    width: 100%;
}

.skeleton-card {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-medium);
    background: var(--card-background);
}

.skeleton-card.is-trending {
    flex: 0 0 250px;
    min-height: 375px;
}

.skeleton-poster,
.skeleton-copy i {
    position: relative;
    overflow: hidden;
    background: rgba(143, 175, 255, 0.1);
}

.skeleton-poster {
    height: 315px;
}

.skeleton-card.is-trending .skeleton-poster {
    height: 100%;
}

.skeleton-copy {
    display: grid;
    gap: 10px;
    padding: 17px;
}

.skeleton-copy i {
    display: block;
    height: 11px;
    border-radius: 99px;
}

.skeleton-copy i:nth-child(2) {
    width: 68%;
}

.skeleton-copy i:nth-child(3) {
    width: 45%;
}

.skeleton-poster::after,
.skeleton-copy i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 80%
    );
    transform: translateX(-100%);
    animation: skeletonShimmer 1.45s infinite;
}

@keyframes skeletonShimmer {
    to {
        transform: translateX(100%);
    }
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.load-more-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 28px;
    color: var(--text);
    cursor: pointer;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(143, 175, 255, 0.2), rgba(143, 175, 255, 0.08));
    box-shadow: var(--shadow-small);
    font-weight: 700;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    background: rgba(143, 175, 255, 0.2);
}

.load-more-btn:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.user-library-section {
    margin-top: 90px;
}

.inner-page {
    min-height: calc(100vh - 192px);
    padding-top: 70px;
}

.inner-page .user-library-section {
    margin-top: 60px;
}

.page-header {
    max-width: 760px;
}

.library-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: none;
}

.library-page-header > div {
    max-width: 760px;
}

.library-share-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(143, 175, 255, 0.32);
    border-radius: 12px;
    background: linear-gradient(135deg, #405fb5, #6f8ee8);
    box-shadow: 0 10px 24px rgba(64, 95, 181, 0.24);
    font-size: 0.78rem;
    font-weight: 800;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.library-share-button[hidden] {
    display: none;
}

.library-share-button:hover {
    box-shadow: 0 14px 30px rgba(64, 95, 181, 0.32);
    transform: translateY(-2px);
}

.library-share-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shared-library-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 13px 15px;
    color: var(--text-soft);
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--primary-soft);
    font-size: 0.78rem;
}

.shared-library-note[hidden] {
    display: none;
}

.shared-library-note > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--primary-light);
    border-radius: 9px;
    background: rgba(143, 175, 255, 0.14);
}

.shared-library-note a {
    margin-left: auto;
    color: var(--primary-light);
    font-weight: 800;
    text-decoration: none;
}

.shared-library-note button {
    min-height: 34px;
    padding: 0 12px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 9px;
    background: #405fb5;
    font-size: 0.7rem;
    font-weight: 800;
}

.shared-library-note button[hidden] {
    display: none;
}

.page-header h1 {
    margin: 8px 0 12px;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
    letter-spacing: -2.5px;
}

.page-header p {
    color: var(--text-soft);
    font-size: 1.05rem;
}

.library-group + .library-group {
    margin-top: 48px;
}

.library-group[hidden],
.watch-lists-section[hidden] {
    display: none;
}

.library-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.library-group-heading .section-title {
    margin-bottom: 0;
}

.library-group-heading button,
.custom-list-actions button {
    min-height: 36px;
    padding: 0 13px;
    color: var(--primary-light);
    cursor: pointer;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: var(--primary-soft);
    font-size: 0.7rem;
    font-weight: 800;
}

.watch-lists-section {
    margin-top: 48px;
}

.watch-lists-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}

.watch-lists-heading .section-title {
    margin-bottom: 3px;
}

.watch-lists-heading p {
    max-width: 650px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.watch-lists-heading > button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 17px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 11px;
    background: linear-gradient(135deg, #405fb5, #6f8ee8);
    font-size: 0.75rem;
    font-weight: 800;
}

.custom-list-form {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr auto;
    align-items: end;
    gap: 13px;
    margin-top: 26px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--primary-soft);
}

.custom-list-form[hidden] {
    display: none;
}

.custom-list-form label {
    display: grid;
    gap: 7px;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 750;
}

.custom-list-form label small {
    color: var(--text-muted);
    font-weight: 500;
}

.custom-list-form input,
.custom-list-form textarea {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: rgba(11, 16, 38, 0.58);
}

.custom-list-form textarea {
    padding-top: 11px;
    resize: none;
}

.custom-list-form > div {
    display: flex;
    gap: 7px;
}

.custom-list-form button {
    min-height: 44px;
    padding: 0 13px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

.custom-list-form button:first-child {
    color: #ffffff;
    background: #405fb5;
}

.custom-list-form button:last-child {
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: transparent;
}

.custom-lists-container {
    display: grid;
    gap: 44px;
    margin-top: 44px;
}

.custom-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}

.default-watch-list {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(143, 175, 255, 0.035);
}

.default-watch-list .library-empty {
    background: transparent;
}

.custom-list-header > div:first-child > span {
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.custom-list-header h3 {
    margin: 3px 0;
    font-size: 1.3rem;
}

.custom-list-header p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.custom-list-actions {
    display: flex;
    gap: 7px;
}

.custom-list-actions button:last-child {
    color: var(--text-muted);
    border-color: var(--border);
    background: transparent;
}

[data-theme="light"] .custom-list-form input,
[data-theme="light"] .custom-list-form textarea {
    background: rgba(255, 255, 255, 0.8);
}

.library-group h3 {
    margin-bottom: 20px;
    color: var(--text-soft);
    font-size: 1.05rem;
    font-weight: 700;
}

.library-empty {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--text-muted);
    text-align: center;
    border: 1px dashed var(--border-strong);
    border-radius: var(--border-radius-medium);
    background: rgba(143, 175, 255, 0.05);
}

.library-auth-warning {
    max-width: 620px;
    margin: 70px auto 20px;
    padding: 48px 32px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-large);
    background:
        radial-gradient(circle at 50% 0%, rgba(143, 175, 255, 0.16), transparent 55%),
        var(--card-background);
    box-shadow: var(--shadow-medium);
}

.library-auth-warning[hidden] {
    display: none;
}

.library-auth-warning > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    color: var(--primary-light);
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    background: var(--primary-soft);
    font-size: 1.65rem;
}

.library-auth-warning h2 {
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.library-auth-warning p {
    max-width: 470px;
    margin: 0 auto;
    color: var(--text-soft);
    line-height: 1.7;
}

.library-auth-warning a {
    display: inline-flex;
    margin-top: 24px;
    padding: 12px 20px;
    color: #ffffff;
    border-radius: 11px;
    background: linear-gradient(135deg, #405fb5, #6f8ee8);
    font-weight: 800;
    text-decoration: none;
}

.movie-action-feedback a {
    color: var(--primary-light);
    text-underline-offset: 3px;
}

.movie-personal-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 6px 10px 7px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(7, 11, 27, 0.82);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.15;
}

.movie-personal-rating .personal-rating-star {
    color: #facc15;
    font-size: 0.9rem;
}

.library-quick-remove {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #ffffff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(7, 11, 27, 0.78);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
    font-size: 1.15rem;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition:
        background var(--transition),
        transform var(--transition);
}

.library-quick-remove:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: scale(1.08);
}

/* ==================================================
   HESAP VE PROFİL
================================================== */

.profile-page {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 72px);
    padding: 70px 20px;
}

.profile-body {
    background:
        radial-gradient(circle at 12% 18%, rgba(193, 93, 143, 0.12), transparent 28%),
        radial-gradient(circle at 88% 26%, rgba(62, 184, 175, 0.1), transparent 30%),
        radial-gradient(circle at 52% 90%, rgba(221, 151, 78, 0.07), transparent 34%),
        var(--background);
}

.profile-page::before,
.profile-page::after {
    position: fixed;
    z-index: -1;
    content: "";
    pointer-events: none;
    filter: blur(4px);
}

.profile-page::before {
    top: 15%;
    left: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(216, 125, 166, 0.12);
    border-radius: 48% 52% 62% 38%;
    box-shadow:
        0 0 90px rgba(177, 79, 132, 0.09),
        inset 0 0 80px rgba(202, 106, 152, 0.045);
    transform: rotate(24deg);
}

.profile-page::after {
    right: -110px;
    bottom: 7%;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(92, 203, 193, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 100px rgba(49, 163, 156, 0.08),
        inset 0 0 70px rgba(91, 206, 193, 0.04);
}

.profile-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
    width: min(100%, 1040px);
    min-height: 650px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--card-background);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(22px);
}

.profile-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 46px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(143, 175, 255, 0.32), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(79, 70, 229, 0.2), transparent 38%),
        linear-gradient(145deg, #101a43, #080d23);
}

.profile-showcase::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -105px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(199, 210, 254, 0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(143, 175, 255, 0.04),
        0 0 0 76px rgba(143, 175, 255, 0.025);
}

.profile-showcase-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    align-self: flex-start;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 850;
    text-decoration: none;
}

.profile-showcase-brand img {
    width: 40px;
    height: 40px;
}

.profile-showcase-copy {
    position: relative;
    z-index: 1;
}

.profile-showcase-copy h1 {
    margin: 12px 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -2px;
}

.profile-showcase-copy p {
    max-width: 390px;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.75;
}

.profile-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 11px;
}

.profile-benefits span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.83rem;
    font-weight: 600;
}

.profile-benefits b {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: #c7d2fe;
    border: 1px solid rgba(199, 210, 254, 0.35);
    border-radius: 50%;
    font-size: 0.68rem;
}

.account-card {
    width: min(100%, 580px);
    padding: clamp(28px, 6vw, 52px);
    border: 1px solid var(--border);
    border-radius: var(--border-radius-large);
    background:
        radial-gradient(circle at 50% 0%, rgba(143, 175, 255, 0.16), transparent 42%),
        var(--card-background);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
}

.account-card[hidden] {
    display: none;
}

.account-intro {
    text-align: center;
}

.account-eyebrow {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-intro h1,
.profile-card h1 {
    margin: 8px 0 12px;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
    letter-spacing: -1.3px;
}

.account-intro p,
.profile-email {
    color: var(--text-soft);
}

[data-theme="light"] .profile-shell {
    box-shadow: 0 30px 70px rgba(39, 55, 92, 0.18);
}

[data-theme="light"] .account-card {
    background:
        radial-gradient(circle at 50% 0%, rgba(64, 95, 181, 0.12), transparent 42%),
        var(--card-background);
}

.account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin: 30px 0 24px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(11, 16, 38, 0.35);
}

.account-tab {
    min-height: 43px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 10px;
    background: transparent;
    font-weight: 700;
}

.account-tab.is-active {
    color: #ffffff;
    background: rgba(64, 95, 181, 0.85);
}

.account-form {
    display: grid;
    gap: 17px;
}

.account-form[hidden] {
    display: none;
}

.account-form label {
    display: grid;
    gap: 7px;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.password-rules {
    margin-top: -8px;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.5;
}

.password-security {
    margin-top: -6px;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(143, 175, 255, 0.045);
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.strength-track {
    flex: 1;
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.18);
}

.strength-track i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--error);
    transition:
        width var(--transition),
        background var(--transition);
}

.strength-track i[data-level="2"] {
    background: #f59e0b;
}

.strength-track i[data-level="3"] {
    background: #8fafff;
}

.strength-track i[data-level="4"] {
    background: #22c55e;
}

.password-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 12px;
    list-style: none;
}

.password-checklist li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.7rem;
    transition: color var(--transition);
}

.password-checklist li span {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    color: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    font-size: 0.58rem;
}

.password-checklist li.is-complete {
    color: var(--text-soft);
}

.password-checklist li.is-complete span {
    color: #ffffff;
    border-color: #22c55e;
    background: #22c55e;
}

.account-form .remember-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    cursor: pointer;
    user-select: none;
}

.account-form .remember-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    background: rgba(11, 16, 38, 0.44);
    transition:
        border-color var(--transition),
        background var(--transition);
}

.custom-checkbox svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: transparent;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.remember-option input:checked + .custom-checkbox {
    border-color: #6f8ee8;
    background: #405fb5;
}

.remember-option input:checked + .custom-checkbox svg {
    stroke: #ffffff;
}

.remember-option input:focus-visible + .custom-checkbox {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.account-form input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: rgba(11, 16, 38, 0.7);
}

.password-input-wrap {
    position: relative;
    display: block;
}

.password-input-wrap input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 9px;
    background: transparent;
    transform: translateY(-50%);
    transition:
        color var(--transition),
        background var(--transition);
}

.password-toggle:hover,
.password-toggle.is-visible {
    color: var(--primary-light);
    background: var(--primary-soft);
}

.password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-theme="light"] .account-form input,
[data-theme="light"] .account-tabs {
    background: rgba(255, 255, 255, 0.72);
}

.account-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.account-submit,
.profile-logout {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 22px;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
}

.account-submit {
    color: #ffffff;
    background: linear-gradient(135deg, #405fb5, #6f8ee8);
    box-shadow: 0 8px 24px rgba(64, 95, 181, 0.25);
}

.account-feedback {
    min-height: 22px;
    margin-top: 15px;
    color: var(--primary-light);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
}

.account-feedback.is-error {
    color: var(--error);
}

.local-account-note {
    margin-top: 12px;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.55;
}

.account-link-button {
    align-self: center;
    border: 0;
    padding: 4px 8px;
    color: var(--accent, #8ea5ff);
    background: transparent;
    font: inherit;
    font-size: .88rem;
    cursor: pointer;
}

.account-link-button:hover { text-decoration: underline; }
.account-link-button[hidden] { display: none; }
.account-form-heading h2 { margin: 0 0 6px; font-size: 1.25rem; }
.account-form-heading p { margin: 0 0 14px; color: var(--text-muted, #aab2cf); font-size: .9rem; line-height: 1.5; }

.profile-security { margin-top: 46px; padding: 0; border: 0; background: transparent; }
.profile-account-setting { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 18px 20px; border: 1px solid rgba(142, 165, 255, .2); border-radius: 16px; background: rgba(142, 165, 255, .07); }
.profile-account-setting strong { display: block; margin-bottom: 4px; }
.profile-account-setting p { margin: 0; color: var(--text-muted, #aab2cf); font-size: .86rem; }
.profile-period-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 14px; }
.profile-period-stats > div { display:flex; align-items:center; gap:13px; min-width:0; min-height:76px; padding:18px; border:1px solid var(--border); border-radius:16px; background:var(--card-background); }
.profile-period-copy { display:grid; min-width:0; }
.profile-period-stats strong { color:var(--text); font-size:1.55rem; line-height:1; }
.profile-period-copy > span { margin-top:5px; overflow:hidden; color:var(--text-muted); font-size:.7rem; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.profile-period-icon { display:grid; width:39px; height:39px; flex:0 0 39px; place-items:center; border-radius:12px; font-size:1.05rem; }
.profile-period-icon.is-month { color:#f9a8d4; background:rgba(219,39,119,.13); }
.profile-period-icon.is-year { color:#93c5fd; background:rgba(59,130,246,.14); }
.profile-period-icon.is-collection { color:#5eead4; background:rgba(20,184,166,.13); }
.profile-period-icon.is-average { color:#fde68a; background:rgba(245,158,11,.13); }
.profile-taste-fields { margin-top:22px; }
.profile-genre-options { display:flex; flex-wrap:wrap; gap:9px; }
.profile-genre-options label { cursor:pointer; }
.profile-genre-options input { position:absolute; opacity:0; }
.profile-genre-options span,.profile-genre-chips span { display:inline-flex; align-items:center; min-height:34px; padding:6px 12px; border:1px solid var(--border-strong); border-radius:99px; color:var(--text-muted); background:rgba(255,255,255,.035); font-size:.8rem; }
.profile-genre-options input:checked + span,.profile-genre-chips span { color:var(--text); border-color:rgba(142,165,255,.55); background:var(--primary-soft); }
.profile-favorite-fields { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
.profile-favorite-fields label { display:grid; gap:7px; }
.profile-favorite-fields input { min-height:44px; padding:10px 12px; border:1px solid var(--border); border-radius:10px; color:var(--text); background:rgba(255,255,255,.05); }
.profile-taste-summary,.public-profile-taste { margin-top:46px; }
.profile-genre-chips { display:flex; flex-wrap:wrap; gap:9px; }
.profile-favorite-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:16px; }
.profile-favorite-summary > div {
    position:relative;
    overflow:hidden;
    padding:16px;
    border:1px solid rgba(206,224,228,.14);
    border-radius:14px;
    background:
        radial-gradient(circle at 13% 38%, rgba(242,152,171,.3), transparent 29%),
        radial-gradient(circle at 82% 24%, rgba(78,203,190,.22), transparent 31%),
        radial-gradient(circle at 70% 110%, rgba(230,157,82,.16), transparent 35%),
        linear-gradient(128deg, #321c3d 0%, #172c3c 55%, #15172e 100%);
    box-shadow:
        inset 0 -1px 0 rgba(255,255,255,.06),
        inset 0 1px 0 rgba(255,222,221,.06);
}
.profile-favorite-summary > div::before { position:absolute; inset:0; content:""; pointer-events:none; background:linear-gradient(105deg,rgba(255,255,255,.045),transparent 26%),repeating-linear-gradient(118deg,transparent 0,transparent 72px,rgba(255,255,255,.018) 73px,transparent 74px); }
.profile-favorite-summary > div > * { position:relative; z-index:1; }
.profile-favorite-summary small,.profile-favorite-summary strong { display:block; }
.profile-favorite-summary small { color:rgba(226,232,240,.72); font-size:.72rem; }
.profile-favorite-summary strong { margin-top:6px; color:#fff; font-size:.95rem; }
.profile-privacy-setting,.profile-export-setting { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:16px; padding:18px 20px; border:1px solid var(--border); border-radius:16px; }
.profile-privacy-setting p,.profile-export-setting p { max-width:680px; margin:4px 0 0; color:var(--text-muted); font-size:.84rem; line-height:1.5; }
.profile-privacy-setting a { display:inline-block; margin-top:8px; color:var(--primary-light); font-size:.82rem; font-weight:750; text-decoration:none; }
.profile-visibility-switch { display:flex; align-items:center; gap:9px; cursor:pointer; }
.profile-visibility-switch input { position:absolute; opacity:0; }
.profile-visibility-switch span { position:relative; width:44px; height:24px; border-radius:99px; background:rgba(255,255,255,.15); transition:background var(--transition); }
.profile-visibility-switch span::after { position:absolute; top:3px; left:3px; width:18px; height:18px; content:""; border-radius:50%; background:#fff; transition:transform var(--transition); }
.profile-visibility-switch input:checked + span { background:#5574d1; }
.profile-visibility-switch input:checked + span::after { transform:translateX(20px); }
.profile-export-setting button { border:1px solid var(--border-strong); border-radius:10px; padding:10px 14px; color:var(--text); background:var(--primary-soft); font:inherit; font-weight:750; cursor:pointer; }
.security-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.security-form label { display: grid; gap: 7px; font-size: .88rem; }
.security-form input { min-height: 44px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; color: inherit; background: rgba(255,255,255,.06); }
.security-form button, .profile-security-toggle { min-height: 44px; border: 1px solid rgba(142,165,255,.35); border-radius: 10px; padding: 9px 15px; color: inherit; background: rgba(142,165,255,.12); cursor: pointer; }
.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,100,110,.2); }
.danger-zone p { margin: 4px 0 0; color: var(--text-muted, #aab2cf); font-size: .86rem; }
.danger-zone button { border: 1px solid rgba(255,100,110,.5); border-radius: 10px; padding: 10px 14px; color: #ff8f98; background: rgba(255,100,110,.08); cursor: pointer; }
@media (max-width: 760px) { .security-form { grid-template-columns: 1fr; } .danger-zone, .profile-account-setting,.profile-privacy-setting,.profile-export-setting { align-items: flex-start; flex-direction: column; } .profile-period-stats { grid-template-columns:repeat(2,1fr); } .profile-favorite-fields,.profile-favorite-summary { grid-template-columns:1fr; } }

.shared-list-page { min-height: 70vh; }
.shared-list-navbar .navbar-inner { position:relative; justify-content: space-between; width: 100%; max-width: none; padding-right: calc(18px + env(safe-area-inset-right, 0px)); padding-left: calc(18px + env(safe-area-inset-left, 0px)); }
.shared-list-navbar .navbar-actions { position:absolute; right:calc(18px + env(safe-area-inset-right, 0px)); width:auto; margin-left: auto; }
.shared-list-loading { padding: 80px 20px; color: var(--text-muted); text-align: center; }
.shared-list-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.shared-list-hero small { display: block; margin-top: 12px; color: var(--primary-light); font-weight: 800; }
.shared-list-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shared-list-actions button, .shared-home-link { border: 1px solid var(--border-strong); border-radius: 11px; padding: 11px 15px; color: var(--text); background: var(--primary-soft); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.shared-list-card,
.shared-list-card:visited { color: var(--text); text-decoration: none; }
.shared-list-card .movie-info h3 { color: var(--text); }
#sharedItems { margin-top: clamp(30px, 5vw, 52px); }
.profile-shares { margin-top: 46px; }
.profile-share-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.profile-share-row strong, .profile-share-row small { display: block; }
.profile-share-row small { margin-top: 4px; color: var(--text-muted); }
.profile-share-row > div:last-child { display: flex; gap: 9px; }
.profile-share-row a, .profile-share-row button { border: 1px solid var(--border-strong); border-radius: 9px; padding: 8px 11px; color: var(--text); background: transparent; font: inherit; text-decoration: none; cursor: pointer; }
@media (max-width: 700px) { .shared-list-hero { align-items: flex-start; flex-direction: column; } .shared-list-navbar .navbar-inner { padding-right: calc(14px + env(safe-area-inset-right, 0px)); padding-left: calc(14px + env(safe-area-inset-left, 0px)); } .shared-list-navbar .navbar-actions { right:calc(14px + env(safe-area-inset-right, 0px)); } .shared-list-navbar .side-menu-brand span { display: none; } }
@media (max-width: 620px) { .profile-share-row { align-items: flex-start; flex-direction: column; } }
.public-profile-page { min-height:70vh; }
.public-profile-hero { display:flex; align-items:center; justify-content:flex-start; gap:18px; max-width:760px; padding:clamp(30px,5vw,54px) 0 26px; }
.public-profile-hero .profile-avatar { width:72px; height:72px; flex:0 0 72px; margin:0; border-radius:19px; background-color:#111936; background-position:center; background-size:cover; }
.public-profile-hero h1 { margin:5px 0; font-size:clamp(2rem,5vw,3.6rem); }
.public-profile-hero p { margin:0; color:var(--text-muted); }
.public-profile-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:0; }
.public-profile-stats > div { display:flex; min-height:76px; flex-direction:column; justify-content:center; padding:16px 18px; border:1px solid var(--border); border-radius:14px; background:rgba(255,255,255,.035); }
.public-profile-stats strong,.public-profile-stats small { display:block; }
.public-profile-stats strong { font-size:1.45rem; }.public-profile-stats small{margin-top:5px;color:var(--text-muted)}
.public-profile-lists { margin-top:46px; }
.public-list-row { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:18px 0; color:var(--text); border-bottom:1px solid var(--border); text-decoration:none; }
.public-list-row p { margin:5px 0 0; color:var(--text-muted); font-size:.84rem; }
.public-list-row > span { color:var(--primary-light); font-size:.82rem; font-weight:800; }
@media(max-width:600px){.public-profile-hero{align-items:center;flex-direction:row}.public-list-row{align-items:flex-start;flex-direction:column}.public-profile-stats{grid-template-columns:repeat(2,1fr)}}
.custom-avatar-upload { display:flex; align-items:center; gap:14px; margin-bottom:18px; padding:14px; border:1px solid var(--border); border-radius:14px; background:rgba(255,255,255,.03); }
.custom-avatar-preview { display:grid; place-items:center; width:64px; height:64px; flex:0 0 64px; overflow:hidden; border:1px dashed var(--border-strong); border-radius:16px; color:var(--primary-light); background:var(--primary-soft); }
.custom-avatar-preview span { font-size:1.65rem; font-weight:400; line-height:1; }
.custom-avatar-preview img { width:100%; height:100%; object-fit:cover; }
.custom-avatar-preview img[hidden],.custom-avatar-preview.has-image span { display:none; }
.custom-avatar-upload strong,.custom-avatar-upload small { display:block; }
.custom-avatar-upload strong { margin-bottom:9px; }
.custom-avatar-upload small { margin:4px 0 9px; color:var(--text-muted); font-size:.72rem; }
.custom-avatar-upload label { display:inline-flex; padding:8px 11px; border:1px solid var(--border-strong); border-radius:9px; color:var(--primary-light); font-size:.78rem; font-weight:750; cursor:pointer; }

.profile-card {
    text-align: center;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 22px;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: linear-gradient(135deg, #405fb5, #8fafff);
    box-shadow: 0 0 30px rgba(143, 175, 255, 0.25);
    font-size: 1.45rem;
    font-weight: 850;
}

.profile-dashboard .profile-avatar {
    background-color: #111936;
    background-position: center;
    background-size: cover;
}

.profile-edit-toggle {
    margin-top: 14px;
    padding: 8px 12px;
    color: var(--primary-light);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--primary-soft);
    font-size: 0.75rem;
    font-weight: 750;
}

.profile-edit-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    padding: 20px;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(143, 175, 255, 0.045);
}

.profile-edit-form[hidden] {
    display: none;
}

.profile-edit-form > label {
    display: grid;
    gap: 7px;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-edit-form input[type="text"] {
    height: 45px;
    padding: 0 13px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: rgba(11, 16, 38, 0.55);
}

[data-theme="light"] .profile-edit-form input[type="text"] {
    background: rgba(255, 255, 255, 0.78);
}

.profile-edit-form fieldset {
    border: 0;
}

.profile-edit-form legend {
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
}

.avatar-colors {
    display: flex;
    gap: 10px;
}

.avatar-colors label {
    cursor: pointer;
}

.avatar-colors input {
    position: absolute;
    opacity: 0;
}

.avatar-colors span {
    display: block;
    width: 29px;
    height: 29px;
    border: 3px solid transparent;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px var(--border-strong);
}

.avatar-colors input:checked + span {
    border-color: #ffffff;
    box-shadow:
        0 0 0 2px var(--primary),
        0 0 14px var(--primary-soft);
}

.avatar-group-label {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.avatar-group-label small {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.avatar-primary-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.avatar-primary-options label,
.avatar-theme-options label {
    min-width: 0;
    cursor: pointer;
}

.avatar-primary-options input,
.avatar-theme-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.avatar-primary-options label > span {
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 11px;
    min-height: 70px;
    padding: 8px;
    color: var(--text);
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--primary-soft);
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.avatar-primary-options img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
}

.avatar-primary-options b {
    font-size: 0.76rem;
}

.avatar-primary-options label:hover > span,
.avatar-primary-options input:checked + span {
    border-color: var(--primary);
    background: rgba(143, 175, 255, 0.14);
    transform: translateY(-2px);
}

.avatar-primary-options input:focus-visible + span,
.avatar-theme-options input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.avatar-themes {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.avatar-theme-options {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 7px;
    padding: 0;
}

.avatar-theme-row {
    display: contents;
}

.avatar-theme-options label > span {
    display: block;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 10px;
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.avatar-theme-options img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    object-fit: cover;
}

.avatar-theme-options label:hover > span,
.avatar-theme-options input:checked + span {
    border-color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.profile-edit-actions {
    display: flex;
    gap: 8px;
}

.profile-edit-actions button {
    min-height: 39px;
    padding: 0 13px;
    cursor: pointer;
    border-radius: 9px;
    font-size: 0.74rem;
    font-weight: 800;
}

.profile-edit-actions button:first-child {
    color: #ffffff;
    background: #405fb5;
}

.profile-edit-actions button:last-child {
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: transparent;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 32px 0;
}

.profile-stats div {
    display: grid;
    gap: 3px;
    padding: 17px 8px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--primary-soft);
}

.profile-stats strong {
    font-size: 1.35rem;
}

.profile-stats span {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.profile-logout {
    color: var(--text-soft);
    border: 1px solid var(--border-strong);
    background: transparent;
}

.profile-dashboard {
    width: min(100%, 1120px);
    overflow: hidden;
    border: 1px solid rgba(174, 142, 192, 0.24);
    border-radius: 28px;
    background:
        linear-gradient(155deg, rgba(117, 70, 119, 0.045), transparent 34%),
        var(--card-background);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.38),
        0 0 55px rgba(118, 62, 115, 0.08);
    backdrop-filter: blur(22px);
}

.profile-dashboard[hidden] {
    display: none;
}

.profile-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 240px;
    padding: clamp(32px, 6vw, 64px);
    overflow: hidden;
    background:
        radial-gradient(circle at 13% 38%, rgba(242, 152, 171, 0.3), transparent 29%),
        radial-gradient(circle at 82% 24%, rgba(78, 203, 190, 0.22), transparent 31%),
        radial-gradient(circle at 70% 110%, rgba(230, 157, 82, 0.16), transparent 35%),
        linear-gradient(128deg, #321c3d 0%, #172c3c 55%, #15172e 100%);
    box-shadow:
        inset 0 -1px 0 rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 222, 221, 0.06);
}

.profile-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.045), transparent 26%),
        repeating-linear-gradient(
            118deg,
            transparent 0,
            transparent 72px,
            rgba(255, 255, 255, 0.018) 73px,
            transparent 74px
        );
}

.profile-identity {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 26px;
}

.profile-identity .profile-avatar {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    margin: 0;
    border: 4px solid rgba(255, 223, 215, 0.32);
    box-shadow:
        0 0 0 8px rgba(227, 139, 165, 0.09),
        0 18px 42px rgba(0, 0, 0, 0.3),
        0 0 34px rgba(84, 199, 187, 0.09);
    font-size: 1.8rem;
}

.profile-identity-copy {
    min-width: 0;
}

.profile-kicker,
.profile-section-kicker {
    color: #eab6c8;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-identity h1 {
    margin: 7px 0 5px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.profile-identity .profile-email {
    color: rgba(226, 232, 240, 0.7);
}

.profile-hero .profile-edit-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    margin: 0;
    padding: 0 16px;
    color: #ffffff;
    border-color: rgba(160, 224, 214, 0.28);
    background: rgba(88, 159, 153, 0.12);
    backdrop-filter: blur(10px);
}

.profile-hero .profile-edit-toggle:hover {
    border-color: rgba(180, 236, 227, 0.48);
    background: rgba(100, 188, 178, 0.2);
}

.profile-edit-toggle svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.profile-orbit {
    display: none;
}

.profile-dashboard > .profile-edit-form {
    margin: 24px clamp(24px, 5vw, 56px) 0;
}

.profile-content {
    padding: clamp(28px, 5vw, 54px);
    background:
        radial-gradient(circle at 100% 0%, rgba(65, 174, 165, 0.045), transparent 28%),
        radial-gradient(circle at 0% 38%, rgba(193, 93, 143, 0.035), transparent 25%);
}

[data-theme="light"] .profile-body {
    background:
        radial-gradient(circle at 12% 18%, rgba(193, 93, 143, 0.1), transparent 28%),
        radial-gradient(circle at 88% 26%, rgba(62, 184, 175, 0.09), transparent 30%),
        radial-gradient(circle at 52% 90%, rgba(221, 151, 78, 0.07), transparent 34%),
        var(--background);
}

[data-theme="light"] .profile-dashboard {
    border-color: rgba(127, 88, 139, 0.2);
}

[data-theme="light"] .profile-section-kicker {
    color: #b15f82;
}

.profile-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-section-heading h2 {
    margin-top: 4px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.7px;
}

.profile-section-heading > a {
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.profile-stats {
    gap: 12px;
    margin: 0;
}

.profile-stats > a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 18px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--primary-soft);
    text-align: left;
    text-decoration: none;
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.profile-stats > a:hover {
    border-color: var(--border-strong);
    background: var(--card-background-hover);
    transform: translateY(-3px);
}

.profile-stats > a > span:last-child {
    display: grid;
}

.profile-stats strong {
    font-size: 1.55rem;
    line-height: 1;
}

.profile-stats small {
    margin-top: 5px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-stat-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    font-size: 1.1rem;
}

.profile-stat-icon.is-favorite {
    color: #fda4af;
    background: rgba(244, 63, 94, 0.13);
}

.profile-stat-icon.is-watchlist {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.14);
}

.profile-stat-icon.is-watched {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.13);
}

.profile-stat-icon.is-rating {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.13);
}

.profile-recent {
    margin-top: 46px;
}

.profile-recent-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.profile-recent-grid[hidden] {
    display: none;
}

.profile-recent-card {
    display: grid;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
}

.profile-recent-poster {
    display: grid;
    aspect-ratio: 2 / 3;
    place-items: center;
    overflow: hidden;
    margin-bottom: 11px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--primary-soft);
    box-shadow: var(--shadow-small);
    transition:
        border-color var(--transition),
        transform var(--transition);
}

.profile-recent-card:hover .profile-recent-poster {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.profile-recent-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-recent-poster.is-placeholder {
    font-size: 2rem;
}

.profile-recent-card strong {
    overflow: hidden;
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-recent-card > span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.profile-empty {
    padding: 42px 22px;
    border: 1px dashed var(--border-strong);
    border-radius: 18px;
    background: var(--primary-soft);
    text-align: center;
}

.profile-empty[hidden] {
    display: none;
}

.profile-empty > span {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.7rem;
}

.profile-empty h3 {
    font-size: 1.15rem;
}

.profile-empty p {
    margin: 7px auto 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    color: #ffffff;
    border-radius: 10px;
    background: #405fb5;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.profile-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.profile-footer-actions p {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.profile-footer-actions .profile-logout {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.75rem;
}

[data-theme="light"] .profile-dashboard {
    box-shadow: 0 30px 70px rgba(39, 55, 92, 0.18);
}

@media (max-width: 880px) {
    .profile-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .profile-showcase {
        min-height: 290px;
        padding: 32px;
    }

    .profile-showcase-copy h1 {
        font-size: 2.15rem;
    }

    .profile-benefits {
        display: none;
    }

    .profile-recent-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .profile-recent-card:nth-child(5) {
        display: none;
    }
}

@media (max-width: 520px) {
    .profile-page {
        padding: 22px 14px 42px;
    }

    .profile-shell {
        min-height: auto;
        border-radius: 20px;
    }

    .profile-showcase {
        min-height: 220px;
        padding: 25px;
    }

    .profile-showcase-copy h1 {
        margin-bottom: 10px;
        font-size: 1.7rem;
    }

    .profile-showcase-copy p {
        font-size: 0.86rem;
    }

    .account-card {
        padding: 32px 24px 36px;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .profile-actions {
        grid-template-columns: 1fr;
    }

    .profile-dashboard {
        border-radius: 20px;
    }

    .profile-hero {
        display: grid;
        min-height: 0;
        padding: 30px 24px;
    }

    .profile-identity {
        align-items: flex-start;
        gap: 16px;
    }

    .profile-identity .profile-avatar {
        width: 72px;
        height: 72px;
        font-size: 1.25rem;
    }

    .profile-identity h1 {
        font-size: 1.65rem;
        letter-spacing: -0.8px;
    }

    .profile-identity .profile-email {
        overflow: hidden;
        font-size: 0.75rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-hero .profile-edit-toggle {
        width: fit-content;
        min-height: 38px;
        margin: 22px 0 0 88px;
    }

    .profile-content {
        padding: 28px 20px;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .profile-stats > a {
        padding: 14px 12px;
    }

    .profile-recent {
        margin-top: 38px;
    }

    .profile-recent-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .profile-recent-card:nth-child(n + 4) {
        display: none;
    }

    .profile-footer-actions {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 36px;
    }

    .avatar-primary-options {
        grid-template-columns: 1fr;
    }

    .avatar-theme-options {
        grid-template-columns: repeat(6, 1fr);
    }

}

/* ==================================================
   HAKKIMIZDA VE FOOTER
================================================== */

.about-section {
    position: relative;
    z-index: 1;
    padding: 30px 40px 100px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 58px clamp(28px, 6vw, 76px);
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-large);
    background:
        radial-gradient(circle at 50% 0%, rgba(143, 175, 255, 0.18), transparent 52%),
        var(--card-background);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(16px);
}

.about-kicker {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.about-content h2 {
    margin: 10px 0 18px;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    letter-spacing: -1.5px;
}

.about-content p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 1.8;
}

.about-link {
    display: inline-flex;
    gap: 8px;
    margin-top: 26px;
    color: var(--primary-light);
    font-weight: 750;
    text-decoration: none;
}

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: rgba(7, 11, 27, 0.58);
}

[data-theme="light"] .footer {
    background: rgba(248, 251, 255, 0.55);
}

.footer-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    max-width: var(--content-width);
    min-height: 120px;
    margin: 0 auto;
    padding: 28px 40px;
}

.footer-inner > .footer-identity {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
}

.footer-identity {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
}

.footer-identity .footer-tagline {
    margin: 0 0 0 12px;
    font-size: 0.82rem;
}

.footer-inner > .footer-contact {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.footer-inner > .footer-copy {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
}

.footer-inner > .footer-legal {
    grid-column: 1 / -1;
    grid-row: 2;
}

.footer-inner > .footer-data-sources {
    position: static;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin: 0;
    text-align: center;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    margin-right: -3px;
    transform: translateY(-4px);
}

.footer-inner > p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: currentColor;
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-copy {
    white-space: nowrap;
}

.footer-data-sources {
    position: absolute;
    right: 40px;
    bottom: 9px;
    left: auto;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem !important;
    line-height: 1.2;
    text-align: right;
    opacity: 0.86;
}

.footer-legal { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 0; }
.footer-legal a { color:var(--text-muted); font-size:.78rem; text-decoration:none; }
.footer-legal a + a::before { content:"·"; display:inline-block; margin:0 .35em; color:var(--text-muted); }
.footer-legal a:hover { color:var(--text); text-decoration:underline; }
.register-disclosure { margin:2px 0 0; color:var(--text-muted); font-size:.8rem; line-height:1.55; }
.register-disclosure a,.terms-option a { color:var(--primary); font-weight:700; text-underline-offset:3px; }
.terms-option { display:flex!important; flex-direction:row!important; align-items:center!important; gap:10px!important; color:var(--text-muted); font-size:.8rem; line-height:1.45; }
.terms-option input { flex:0 0 17px; width:17px!important; height:17px; margin:0; align-self:center; accent-color:var(--primary); }

.legal-page { min-height:100vh; background:var(--background); color:var(--text); }
.legal-header { position:sticky; z-index:20; top:0; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:16px max(20px,calc((100vw - 980px)/2)); border-bottom:1px solid var(--border); background:color-mix(in srgb,var(--background) 90%,transparent); backdrop-filter:blur(18px); }
.legal-header>a:last-child { color:var(--text-muted); font-size:.86rem; text-decoration:none; }
.legal-main { width:min(900px,calc(100% - 32px)); margin:42px auto 72px; }
.legal-document { padding:clamp(24px,5vw,56px); border:1px solid var(--border); border-radius:24px; background:var(--card-background); box-shadow:var(--shadow-medium); }
.legal-document h1 { margin:0 0 24px; font-size:clamp(2rem,5vw,3.4rem); line-height:1.05; }
.legal-document h2 { margin:34px 0 10px; font-size:1.2rem; }
.legal-document p,.legal-document li { color:var(--text-muted); font-size:.96rem; line-height:1.8; }
.legal-document a { color:var(--primary); text-underline-offset:3px; }
.legal-document ul { padding-left:22px; }
.legal-eyebrow { margin:0 0 12px!important; color:var(--primary)!important; font-size:.75rem!important; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
@media(max-width:600px){.legal-header{padding:13px 16px}.legal-main{margin-top:20px}.legal-document{border-radius:18px}.footer-legal{flex-direction:column;align-items:center}}
.terms-renewal { position:fixed; z-index:10000; inset:0; display:grid; place-items:center; padding:20px; background:rgba(4,7,18,.82); backdrop-filter:blur(12px); }
.terms-renewal-card { width:min(560px,100%); padding:clamp(24px,5vw,42px); border:1px solid var(--border-strong); border-radius:24px; background:var(--background-light); box-shadow:var(--shadow-medium); }
.terms-renewal-card h2 { margin:8px 0 14px; font-size:clamp(1.6rem,5vw,2.3rem); }
.terms-renewal-card>p { color:var(--text-muted); line-height:1.7; }
.terms-renewal-card a { color:var(--primary); text-underline-offset:3px; }
.terms-renewal-card label { display:flex; align-items:center; gap:10px; margin:22px 0; color:var(--text-soft); font-size:.88rem; line-height:1.5; }
.terms-renewal-card label input { width:18px; height:18px; flex:0 0 18px; margin:0; align-self:center; accent-color:var(--primary); }
.terms-renewal-card>div { display:flex; flex-wrap:wrap; gap:10px; }
.terms-renewal-card button { border:1px solid var(--border-strong); border-radius:11px; padding:12px 16px; color:var(--text); background:var(--primary-soft); font:inherit; font-weight:750; cursor:pointer; }
.terms-renewal-card button[data-accept-terms] { border-color:transparent; color:#fff; background:#607ddd; }
.terms-renewal-card button:disabled { cursor:not-allowed; opacity:.48; }
.terms-renewal-error { display:block; min-height:1.4em; margin-top:12px; color:var(--error); }

.movie-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    cursor: pointer;

    border: 1px solid rgba(143, 175, 255, 0.15);
    border-radius: var(--border-radius-medium);

    background: var(--card-background);

    box-shadow: var(--shadow-small);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.movie-card:hover,
.movie-card:focus-visible {
    border-color: rgba(143, 175, 255, 0.4);

    background: var(--card-background-hover);

    transform: translateY(-4px);

    box-shadow:
        0 0 25px rgba(143, 175, 255, 0.25),
        0 20px 36px rgba(0, 0, 0, 0.3);

    outline: none;
}

.card-quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity var(--transition), transform var(--transition);
}

.movie-card:hover .card-quick-actions,
.movie-card:focus-within .card-quick-actions,
.trending-card:hover .card-quick-actions,
.trending-card:focus-within .card-quick-actions {
    opacity: 1;
    transform: none;
}

.card-quick-action {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(7, 11, 27, 0.78);
    backdrop-filter: blur(12px);
    transition: transform var(--transition), background var(--transition);
}

.card-quick-action:hover {
    transform: scale(1.08);
}

.card-quick-action.is-active {
    color: #fff;
    border-color: #8fafff;
    background: #405fb5;
}

.trending-card .card-quick-actions {
    right: 13px;
}

.movie-card .movie-poster {
    width: 100%;

    aspect-ratio: 2 / 3;
    object-fit: cover;

    background:
        linear-gradient(
            145deg,
            var(--background-light),
            var(--background-dark)
        );

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.movie-card:hover .movie-poster {
    transform: scale(1.035);

    filter: brightness(0.9);
}

.movie-info {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 17px;
}

.movie-title {
    display: -webkit-box;

    margin-bottom: 10px;

    overflow: hidden;

    color: var(--text);

    font-size: 1.03rem;
    font-weight: 750;
    line-height: 1.3;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.movie-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: var(--text-soft);

    font-size: 0.82rem;
}

.movie-genres {
    margin-bottom: 11px;

    overflow: hidden;

    color: var(--primary-light);

    font-size: 0.78rem;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-description {
    display: -webkit-box;

    overflow: hidden;

    color: var(--text-muted);

    font-size: 0.82rem;
    line-height: 1.55;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}


/* ==================================================
   YÜKLENİYOR, HATA, SONUÇ YOK
================================================== */

.loading {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 180px;

    padding: 32px;

    color: var(--text-soft);

    text-align: center;
}

.loading::before,
.modal-loading::before {
    content: "";

    width: 23px;
    height: 23px;

    flex-shrink: 0;

    border: 2px solid rgba(143, 175, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;

    animation: loadingSpin 0.9s linear infinite;
}

@keyframes loadingSpin {
    to {
        transform: rotate(360deg);
    }
}

.error,
.no-results {
    grid-column: 1 / -1;

    width: 100%;

    padding: 48px 28px;

    border: 1px solid var(--border);
    border-radius: var(--border-radius-medium);

    background: rgba(19, 28, 66, 0.42);

    text-align: center;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.error {
    color: var(--error);

    border-color: rgba(252, 165, 165, 0.18);
}

.no-results {
    color: var(--text-soft);
}

.no-results h2 {
    margin-bottom: 9px;

    color: var(--silver);

    font-size: 1.3rem;
}

.no-results p {
    max-width: 520px;

    margin: 0 auto;

    color: var(--text-muted);

    font-size: 0.92rem;
    line-height: 1.6;
}


/* ==================================================
   MODAL
================================================== */

body.modal-open {
    overflow: hidden;
}

.movie-modal[hidden] {
    display: none;
}

.movie-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 28px;
}

.movie-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(3, 6, 18, 0.84);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.movie-modal-dialog {
    position: relative;
    z-index: 1;

    width: min(1080px, 100%);
    max-height: calc(100vh - 56px);

    overflow-x: hidden;
    overflow-y: auto;

    border: 1px solid var(--border-strong);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(19, 28, 66, 0.98),
            rgba(7, 11, 27, 0.98)
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.62),
        0 0 35px rgba(143, 175, 255, 0.16);

    animation: modalOpen 0.28s ease;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.movie-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 44px;
    height: 44px;

    color: #ffffff;

    cursor: pointer;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    background: rgba(7, 11, 27, 0.8);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.32);

    font-size: 0;
    line-height: 0;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
    
    transform: translateY(-6px);
}

.movie-modal-close::before,
.movie-modal-close::after {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 20px;
    height: 2px;

    content: "";

    border-radius: 999px;

    background: currentColor;
}

.movie-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.movie-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.movie-modal-close:hover {
    border-color: var(--primary);

    background: rgba(36, 59, 107, 0.95);
}

.movie-modal-body {
    min-height: 420px;
}

.modal-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;

    min-height: 420px;

    padding: 40px;

    color: var(--text-soft);

    text-align: center;
}

.movie-modal-hero {
    position: relative;

    min-height: 390px;

    overflow: visible;
}

.movie-modal-backdrop-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.42;

    filter: saturate(0.85);
}

.movie-modal-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 11, 27, 0.98) 0%,
            rgba(7, 11, 27, 0.83) 40%,
            rgba(7, 11, 27, 0.3) 76%,
            rgba(7, 11, 27, 0.72) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 11, 27, 0.05) 40%,
            rgba(7, 11, 27, 1) 100%
        );
}

.movie-modal-hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: end;
    gap: 30px;

    min-height: 390px;

    padding: 55px 58px 34px;
}

.movie-modal-poster {
    width: 100%;

    aspect-ratio: 2 / 3;
    object-fit: cover;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;

    background: var(--background-light);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.48),
        0 0 22px rgba(143, 175, 255, 0.12);
}

.movie-modal-heading {
    min-width: 0;
}

.movie-modal-title {
    margin: 0 55px 10px 0;

    color: #ffffff;

    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -1.5px;

    text-shadow:
        0 4px 24px rgba(0, 0, 0, 0.6);
}

.movie-modal-original-title {
    margin-bottom: 16px;

    color: var(--text-muted);

    font-size: 0.95rem;
    font-style: italic;
}

.movie-modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;

    margin-bottom: 16px;
}

.movie-modal-meta span {
    padding: 6px 10px;

    color: var(--text-soft);

    border: 1px solid rgba(143, 175, 255, 0.2);
    border-radius: 9px;

    background: rgba(11, 16, 38, 0.58);

    font-size: 0.82rem;
    font-weight: 650;

    backdrop-filter: blur(8px);
}

.movie-modal-meta .modal-rating {
    color: var(--primary-light);

    border-color: rgba(143, 175, 255, 0.4);

    background: rgba(143, 175, 255, 0.15);
}

.movie-modal-genres {
    color: var(--primary-light);

    font-size: 0.9rem;
    font-weight: 600;
}

.movie-user-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;

    margin-top: 18px;
}

.movie-user-action,
.movie-user-rating,
.movie-custom-list-select {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 40px;
    padding: 8px 12px;

    color: var(--text-soft);

    border: 1px solid rgba(143, 175, 255, 0.28);
    border-radius: 11px;

    background: rgba(11, 16, 38, 0.72);

    font-size: 0.82rem;
    font-weight: 700;
}

.movie-user-action {
    cursor: pointer;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.movie-user-action:hover {
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.movie-user-action.is-active {
    color: #ffffff;
    border-color: var(--primary);
    background: rgba(64, 95, 181, 0.82);
    box-shadow: 0 0 18px rgba(143, 175, 255, 0.2);
}

.movie-watchlist-picker {
    position: relative;
}

.movie-watchlist-picker > .movie-user-action {
    width: auto;
}

.movie-watchlist-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    left: 0;
    display: grid;
    width: max-content;
    min-width: 230px;
    max-width: min(310px, 80vw);
    max-height: 230px;
    gap: 4px;
    padding: 7px;
    overflow-y: auto;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: rgba(9, 14, 37, 0.98);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

.movie-watchlist-menu[hidden] {
    display: none;
}

.movie-watchlist-menu button {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 10px;
    overflow: hidden;
    color: var(--text-soft);
    cursor: pointer;
    border-radius: 8px;
    background: transparent;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.73rem;
    font-weight: 700;
}

.movie-watchlist-menu button:hover,
.movie-watchlist-menu button.is-active {
    color: var(--text);
    background: var(--primary-soft);
}

.movie-watchlist-menu .movie-watchlist-new {
    margin-top: 3px;
    color: var(--primary-light);
    border-top: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
}

.movie-watchlist-menu .movie-watchlist-new[hidden] {
    display: none;
}

.movie-watchlist-new-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    padding: 5px;
}

.movie-watchlist-new-form[hidden] {
    display: none;
}

.movie-watchlist-new-form input {
    min-width: 0;
    height: 37px;
    padding: 0 10px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: var(--background-light);
}

.movie-watchlist-new-form button {
    min-height: 37px;
    padding: 0 11px;
    color: #ffffff;
    border-radius: 8px;
    background: #405fb5;
}

.movie-watchlist-menu button span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    border-radius: 6px;
    background: rgba(143, 175, 255, 0.12);
}

[data-theme="light"] .movie-watchlist-menu {
    background: rgba(248, 251, 255, 0.99);
    box-shadow: 0 18px 38px rgba(39, 55, 92, 0.2);
}

.movie-user-action:focus-visible,
.movie-user-rating select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.movie-custom-list-select select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.movie-user-rating {
    padding: 5px 6px 5px 12px;
}

.movie-user-rating select,
.movie-custom-list-select select {
    min-height: 28px;
    padding: 3px 7px;

    color: var(--text);
    cursor: pointer;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: var(--background-light);
}

.movie-custom-list-select {
    flex: 1 1 100%;
    justify-content: space-between;
}

.movie-custom-list-select select {
    max-width: 240px;
}

.movie-action-feedback {
    flex-basis: 100%;
    min-height: 18px;

    color: var(--primary-light);

    font-size: 0.78rem;
    font-weight: 650;
}

[data-theme="light"] .movie-modal-backdrop {
    background: rgba(32, 45, 77, 0.56);
}

[data-theme="light"] .movie-modal-dialog {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(231, 238, 252, 0.99)
        );
}

[data-theme="light"] .movie-modal-hero::after {
    background:
        linear-gradient(
            90deg,
            rgba(238, 243, 255, 0.98) 0%,
            rgba(238, 243, 255, 0.84) 42%,
            rgba(238, 243, 255, 0.28) 76%,
            rgba(238, 243, 255, 0.7) 100%
        ),
        linear-gradient(
            180deg,
            rgba(238, 243, 255, 0.04) 40%,
            rgba(238, 243, 255, 1) 100%
        );
}

[data-theme="light"] .movie-modal-title {
    color: #17213b;
    text-shadow: none;
}

[data-theme="light"] .movie-modal-meta span,
[data-theme="light"] .movie-user-action,
[data-theme="light"] .movie-user-rating,
[data-theme="light"] .movie-custom-list-select {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .movie-user-action:hover,
[data-theme="light"] .movie-user-action.is-active {
    color: #ffffff;
    background: #405fb5;
}

.movie-modal-content {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(260px, 0.55fr);
    gap: 34px;

    padding: 14px 58px 55px;
}

.movie-modal-section + .movie-modal-section {
    margin-top: 30px;
}

.movie-modal-section-title {
    margin-bottom: 14px;

    color: var(--silver);

    font-size: 1.22rem;
    font-weight: 750;
}

.movie-modal-overview {
    color: var(--text-soft);

    font-size: 0.96rem;
    line-height: 1.75;
}

.movie-modal-facts {
    display: grid;
    gap: 14px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: rgba(19, 28, 66, 0.36);
}

.movie-modal-fact {
    display: grid;
    gap: 4px;
}

.movie-modal-fact-label {
    color: var(--text-muted);

    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.movie-modal-fact-value {
    color: var(--text);

    font-size: 0.91rem;
    line-height: 1.45;
}

.movie-modal-fact-highlight {
    margin-right: -12px;
    margin-left: -12px;

    padding: 8px 12px;

    border: 2px solid #ffd700;
    border-radius: 10px;

    background: rgba(255, 215, 0, 0.12);
}

.movie-modal-fact-highlight .movie-modal-fact-label {
    color: #ffd700;
    font-weight: 600;
}

.movie-modal-fact-highlight .movie-modal-fact-value {
    color: #ffeaa7;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.movie-cast-list {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(90px, 1fr)
        );
    gap: 12px;
}

.movie-cast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    min-width: 0;

    padding: 10px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: rgba(19, 28, 66, 0.38);

    text-align: center;

    transition: all var(--transition);
}

.movie-cast-item:hover {
    background: var(--card-background-hover);
    border-color: var(--border-strong);
}

.movie-cast-image {
    width: 80px;
    height: 80px;

    border-radius: 8px;

    object-fit: cover;

    background: var(--background-light);
}

.movie-cast-name {
    margin-bottom: 2px;

    color: var(--text);

    font-size: 0.75rem;
    font-weight: 700;

    line-height: 1.2;

    word-break: break-word;
}

.movie-cast-character {
    color: var(--text-muted);

    font-size: 0.65rem;
    line-height: 1.2;

    word-break: break-word;
}

/* ==================================================
   BENZERİ FİLMLER
================================================== */

.similar-movies-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(120px, 1fr)
        );
    gap: 12px;
}

.similar-movie-card {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: transparent;

    cursor: pointer;

    transition: all var(--transition);

    overflow: hidden;
}

.similar-movie-card:hover,
.similar-movie-card:focus-visible {
    border-color: var(--border-strong);
    outline: none;

    transform: translateY(-4px);
}

.similar-movie-poster {
    width: 100%;
    height: 160px;

    object-fit: cover;

    border-radius: 9px;

    background: var(--background-light);
}

.similar-movie-info {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: 8px;

    min-height: 50px;
}

.similar-movie-title {
    color: var(--text);

    font-size: 0.7rem;
    font-weight: 600;

    line-height: 1.2;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    word-break: break-word;
}

.similar-movie-rating {
    color: var(--primary);

    font-size: 0.65rem;
    font-weight: 500;
}

/* ==================================================
   İZLEME PLATFORMLARI
================================================== */

.watch-providers {
    display: grid;
    gap: 20px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(19, 28, 66, 0.48),
            rgba(11, 16, 38, 0.38)
        );
}

.watch-provider-groups {
    display: grid;
    gap: 22px;
}

.watch-provider-group {
    display: grid;
    gap: 11px;
}

.watch-provider-group-title {
    color: var(--primary-light);

    font-size: 0.83rem;
    font-weight: 750;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.watch-provider-list {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(112px, 1fr)
        );
    gap: 11px;
}

.watch-provider-item {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 0;

    padding: 9px;

    border: 1px solid rgba(143, 175, 255, 0.14);
    border-radius: 13px;

    background: rgba(7, 11, 27, 0.46);
    color: inherit;
    text-decoration: none;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.watch-provider-item:hover {
    border-color: rgba(143, 175, 255, 0.34);

    background: rgba(19, 28, 66, 0.72);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);

    transform: translateY(-2px);
}

.watch-provider-logo {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    object-fit: cover;

    border-radius: 10px;

    background: var(--background-light);
}

.watch-provider-name {
    min-width: 0;

    overflow: hidden;

    color: var(--text-soft);

    font-size: 0.76rem;
    font-weight: 650;
    line-height: 1.25;

    text-overflow: ellipsis;
}

.watch-provider-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    padding-top: 16px;

    border-top: 1px solid var(--border);
}

.watch-provider-attribution {
    color: var(--text-muted);

    font-size: 0.75rem;
    line-height: 1.5;
}

.watch-provider-attribution strong {
    color: var(--text-soft);
}

.watch-provider-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;

    min-height: 40px;

    padding: 9px 14px;

    color: var(--primary-light);

    border: 1px solid rgba(143, 175, 255, 0.3);
    border-radius: 11px;

    background: rgba(143, 175, 255, 0.09);

    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.watch-provider-link:hover {
    color: #ffffff;

    border-color: var(--primary);

    background: rgba(143, 175, 255, 0.17);

    box-shadow:
        0 0 18px rgba(143, 175, 255, 0.14);

    transform: translateY(-2px);
}

.watch-providers-empty {
    display: grid;
    gap: 5px;

    padding: 22px;

    color: var(--text-soft);

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(19, 28, 66, 0.3);
}

.watch-providers-empty p {
    font-size: 0.88rem;
    line-height: 1.5;
}

.watch-providers-empty span {
    color: var(--text-muted);

    font-size: 0.75rem;
}


.movie-trailer-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;

    aspect-ratio: 16 / 9;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #000000;

    box-shadow: var(--shadow-medium);
}

.movie-trailer-wrapper iframe {
    width: 100%;
    height: 100%;

    border: 0;
}

.movie-trailer-unavailable {
    padding: 24px;

    color: var(--text-muted);

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(19, 28, 66, 0.3);
}

.movie-trailer-unavailable p {
    margin: 0 0 12px;
}

.movie-trailer-unavailable a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.movie-trailer-unavailable a:hover {
    text-decoration: underline;
}

.movie-modal-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;

    min-height: 420px;

    padding: 45px;

    color: var(--error);

    text-align: center;
}

.movie-modal-error p {
    max-width: 500px;

    color: var(--text-muted);

    line-height: 1.6;
}


/* ==================================================
   FOCUS
================================================== */

button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (min-width: 1500px) {
    .movies-grid {
        grid-template-columns:
            repeat(
                5,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 1100px) {
    .header {
        padding:
            54px
            28px
            30px;
    }

    .main-content {
        padding:
            36px
            28px
            80px;
    }

    .header::after {
        width: calc(100% - 56px);
    }

    .search-box {
        flex-basis: 100%;
    }

    .filters {
        flex: 1;
    }

    .filters select {
        flex: 1 1 145px;
    }

    .movies-grid {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(200px, 1fr)
            );
        gap: 22px;
    }

    .trending-card {
        flex-basis: 230px;

        height: 345px;
    }

    .prev {
        left: -10px;
    }

    .next {
        right: -10px;
    }
}

@media (max-width: 850px) {
    .movie-modal {
        padding: 18px;
    }

    .movie-modal-dialog {
        max-height: calc(100vh - 36px);
    }

    .movie-modal-hero-content {
        grid-template-columns:
            155px
            minmax(0, 1fr);
        gap: 22px;

        padding:
            60px
            30px
            30px;
    }

    .movie-modal-content {
        grid-template-columns: 1fr;

        padding:
            10px
            30px
            40px;
    }

    .movie-cast-list {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}

@media (max-width: 768px) {
    .navbar-inner {
        min-height: 64px;
        padding: 0 18px;
    }

    .navbar-actions {
        gap: 13px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.78rem;
    }

    .nav-links a:nth-child(2) {
        display: none;
    }

    .nav-links a:nth-child(6) {
        display: none;
    }

    .header {
        padding:
            44px
            18px
            26px;
    }

    .header::after {
        width: calc(100% - 36px);
    }

    .logo-text {
        margin-bottom: 14px;

        letter-spacing: -1.3px;
    }

    .brand {
        margin-left: 0;
        margin-bottom: 18px;
    }

    .logo-image {
        height: 46px;
    }

    .tagline {
        margin-bottom: 26px;

        padding: 0 6px;

        font-size: 0.94rem;
    }

    .search-container {
        align-items: stretch;
        gap: 11px;

        padding: 14px;

        border-radius: 18px;
    }

    .search-box,
    .filters,
    .clear-btn {
        width: 100%;
    }

    .filters {
        display: grid;
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 10px;
    }

    .filters select {
        width: 100%;
    }

    .filters select:last-child {
        grid-column: 1 / -1;
    }

    .clear-btn.show {
        width: 100%;
    }

    .main-content {
        padding:
            32px
            18px
            65px;
    }

    .movies-section + .movies-section {
        margin-top: 52px;
    }

    .carousel {
        gap: 14px;

        margin-right: -18px;
        padding-right: 18px;
    }

    .carousel-btn {
        display: none;
    }

    .trending-card {
        flex-basis: 205px;

        height: 310px;
    }

    .movies-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 15px;
    }

    .about-section {
        padding: 10px 18px 70px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        justify-items: center;
        gap: 15px;
        padding: 34px 18px;
        text-align: center;
    }

    .footer-inner > .footer-identity,
    .footer-inner > .footer-contact,
    .footer-inner > .footer-copy,
    .footer-inner > .footer-legal,
    .footer-inner > .footer-data-sources {
        grid-column: 1;
        grid-row: auto;
        align-self: center;
        justify-self: center;
    }

    .footer-identity {
        gap: 4px;
    }

    .footer-inner > .footer-copy {
        margin-left: 0;
    }

    .movie-info {
        padding: 13px;
    }

    .movie-details {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .movie-description {
        font-size: 0.76rem;

        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .movie-cast-list {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(80px, 1fr)
            );
        gap: 10px;
    }

    .movie-cast-image {
        width: 70px;
        height: 70px;
    }

    .similar-movies-grid {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(100px, 1fr)
            );
        gap: 10px;
    }

    .similar-movie-poster {
        height: 140px;
    }
}

@media (max-width: 580px) {
    .movie-modal {
        align-items: flex-end;

        padding: 0;
    }

    .movie-modal-dialog {
        width: 100%;
        max-height: 94vh;

        border-right: none;
        border-bottom: none;
        border-left: none;

        border-radius:
            22px
            22px
            0
            0;
    }

    .movie-modal-close {
        top: 13px;
        right: 13px;

        width: 40px;
        height: 40px;
    }

    .movie-modal-hero {
        min-height: auto;
    }

    .movie-modal-hero-content {
        grid-template-columns:
            100px
            minmax(0, 1fr);
        gap: 15px;

        min-height: 310px;

        padding:
            70px
            18px
            24px;
    }

    .movie-modal-title {
        margin-right: 34px;

        font-size: 1.65rem;
        letter-spacing: -0.7px;
    }

    .movie-modal-original-title {
        display: none;
    }

    .movie-modal-meta {
        gap: 6px;
    }

    .movie-modal-meta span {
        padding: 5px 7px;

        font-size: 0.7rem;
    }

    .movie-modal-content {
        gap: 27px;

        padding:
            8px
            18px
            34px;
    }

    .movie-cast-list {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(70px, 1fr)
            );
        gap: 8px;
    }

    .movie-cast-image {
        width: 60px;
        height: 60px;
    }

    .movie-cast-name {
        font-size: 0.7rem;
    }

    .movie-cast-character {
        font-size: 0.6rem;
    }

    .similar-movies-grid {
        grid-template-columns:
            repeat(
                auto-fill,
                minmax(90px, 1fr)
            );
        gap: 8px;
    }

    .similar-movie-poster {
        height: 130px;
    }

    .similar-movie-title {
        font-size: 0.65rem;
    }

    .similar-movie-rating {
        font-size: 0.6rem;
    }
}

@media (max-width: 580px) {
    .watch-providers {
        padding: 15px;
    }

    .watch-provider-list {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .watch-provider-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .watch-provider-link {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-links a:nth-child(3) {
        display: none;
    }

    .header {
        padding-top: 36px;
    }

    .logo-text {
        font-size: 2.55rem;
    }

    .tagline {
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .search-container {
        padding: 12px;
    }

    .search-input,
    .filters select,
    .clear-btn {
        min-height: 47px;
        height: 47px;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .filters select:last-child {
        grid-column: auto;
    }

    .main-content {
        padding:
            28px
            14px
            55px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .carousel {
        margin-right: -14px;
        padding-right: 14px;
    }

    .trending-card {
        flex-basis: 180px;

        height: 275px;
    }

    .movie-info {
        padding: 11px;
    }

    .movie-title {
        font-size: 0.86rem;
    }

    .movie-description {
        display: none;
    }
}

@media (max-width: 580px) {
    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .movie-user-actions {
        align-items: stretch;
    }

    .movie-user-action,
    .movie-user-rating,
    .movie-custom-list-select {
        justify-content: center;
        flex: 1 1 calc(50% - 9px);
    }

    .movie-watchlist-picker {
        flex: 1 1 calc(50% - 9px);
    }

    .movie-watchlist-picker > .movie-user-action {
        width: 100%;
    }

    .movie-watchlist-menu {
        right: 0;
        left: auto;
    }

    .movie-share-action {
        flex-basis: 100%;
    }
}


.mobile-bottom-nav {
    display: none;
}

/* Footer kaynak bilgisi her ekran genişliğinde ortada kalır. */
.footer-data-sources {
    right: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

@media (max-width: 580px) {
    /* Mobil arşivler: her yüklemede gelen 5 kart tek sırada kaydırılır. */
    #discoverSection .movies-grid,
    #seriesArchive .movies-grid {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: repeat(5, min(42vw, 165px));
        grid-template-rows: repeat(3, auto);
        gap: 12px;
        width: calc(100% + 14px);
        margin-right: -14px;
        padding: 3px 14px 16px 1px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 1px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    #discoverSection .movie-card,
    #seriesArchive .movie-card,
    #discoverSection .skeleton-card,
    #seriesArchive .skeleton-card {
        width: 100%;
        min-height: 0;
        scroll-snap-align: start;
    }

    #discoverSection .movie-poster,
    #seriesArchive .movie-poster {
        aspect-ratio: 2 / 3;
        height: auto;
    }

    #discoverSection .movie-info,
    #seriesArchive .movie-info {
        padding: 9px;
    }

    #discoverSection .movie-title,
    #seriesArchive .movie-title {
        margin-bottom: 6px;
        font-size: 0.79rem;
    }

    #discoverSection .movie-genres,
    #seriesArchive .movie-genres {
        margin-bottom: 7px;
        font-size: 0.68rem;
    }

    #discoverSection .movie-description,
    #seriesArchive .movie-description {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.68rem;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #discoverSection .movie-details,
    #seriesArchive .movie-details {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        margin-bottom: 7px;
        font-size: 0.68rem;
    }

    /* Mobil marka aralıkları masaüstündeki oranları korur. */
    .header .logo-text {
        margin-bottom: -4px;
        letter-spacing: -1.5px;
    }

    .header .brand {
        margin-bottom: 8px;
        margin-left: -25px;
    }

    .header .logo-image {
        height: 45px;
    }

    .header .tagline {
        margin-bottom: 24px;
        padding: 0;
        font-size: 0.94rem;
        line-height: 1.5;
    }

    /* Mobil Pusula, ekranı tamamen kaplayan bir alt çekmece olmaz. */
    .recommend-modal {
        align-items: center;
        padding: 12px;
    }

    .recommend-dialog {
        width: calc(100% - 8px);
        max-height: 92vh;
        max-height: 92dvh;
        padding: 18px 14px 16px;
        border-radius: 18px;
    }

    .recommend-dialog .recommend-close {
        top: 11px;
        right: 11px;
        width: 34px;
        height: 34px;
    }

    .recommend-dialog .pusula-heading {
        padding-right: 34px;
    }

    .recommend-dialog .pusula-heading h2 {
        font-size: 1.35rem;
    }

    .recommend-dialog .pusula-heading p {
        margin-top: 10px;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .recommend-dialog .pusula-questions {
        gap: 8px;
        margin-top: 14px;
    }

    .recommend-dialog .pusula-question {
        padding: 9px;
    }

    .recommend-dialog .pusula-choice-row button {
        min-height: 36px;
        padding: 6px 8px;
        font-size: 0.7rem;
    }

    .recommend-dialog .pusula-chat {
        min-height: 110px;
        max-height: 27dvh;
        margin-top: 10px;
        padding: 10px;
    }

    .recommend-dialog .pusula-composer textarea {
        min-height: 42px;
        padding: 10px;
    }

    /* Film ve dizi detayları mobilde kompakt, ortalanmış bir paneldir. */
    .movie-modal {
        align-items: center;
        padding: 12px;
    }

    .movie-modal-dialog {
        width: calc(100% - 8px);
        max-height: 86vh;
        max-height: 86dvh;
        border: 1px solid var(--border-strong);
        border-radius: 18px;
    }

    .movie-modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        transform: none;
    }

    .movie-modal-close::before,
    .movie-modal-close::after {
        width: 16px;
    }

    .movie-modal-hero-content {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 52px 14px 18px;
    }

    .movie-modal-poster {
        border-radius: 10px;
    }

    .movie-modal-title {
        margin-right: 20px;
        margin-bottom: 7px;
        font-size: 1.3rem;
        letter-spacing: -0.35px;
    }

    .movie-modal-meta span {
        padding: 4px 6px;
        font-size: 0.64rem;
    }

    .movie-modal-content {
        gap: 18px;
        padding: 6px 14px 22px;
    }

    .movie-modal-section + .movie-modal-section {
        margin-top: 18px;
    }

    .movie-modal-section-title {
        margin-bottom: 9px;
        font-size: 1rem;
    }

    .movie-modal-overview {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .movie-modal-facts,
    .watch-providers {
        gap: 9px;
        padding: 12px;
    }
}

.recommend-modal[hidden] {
    display: none;
}

.recommend-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.recommend-backdrop {
    position: absolute;
    inset: 0;
    cursor: default;
    background: rgba(3, 6, 18, 0.78);
    backdrop-filter: blur(12px);
}

.recommend-dialog {
    position: relative;
    z-index: 1;
    width: min(940px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px;
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    background: var(--background-light);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.pusula-heading {
    padding-right: 42px;
}

.pusula-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 4px;
}

.recommend-dialog .pusula-heading h2 {
    margin: 0;
}

.pusula-ai-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 5px;
    margin: 7px 0 8px;
    padding: 4px 9px;
    border: 1px solid var(--pusula-gold-border, var(--border-strong));
    border-radius: 999px;
    color: var(--text-soft);
    background: var(--pusula-gold-soft, var(--primary-soft));
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.pusula-ai-badge span {
    color: var(--pusula-gold-light, #f6d98c);
    font-size: 0.72rem;
}

[data-theme="light"] .pusula-ai-badge span {
    color: var(--day-gold, #9a7d20);
}

.pusula-heading p {
    margin: 0;
    color: var(--text-soft);
}

.pusula-heading .about-kicker {
    display: block;
    margin: 0;
    font-size: 0.67rem;
    letter-spacing: 0.11em;
}

.pusula-mark {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--border-strong);
    border-radius: 11px;
    background: linear-gradient(145deg, var(--primary-soft), var(--card-background));
    box-shadow: 0 8px 20px rgba(75, 87, 255, 0.13);
}

.pusula-mark img {
    width: 20px;
    height: 20px;
}

.pusula-questions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.pusula-question {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: color-mix(in srgb, var(--card-background) 74%, transparent);
}

.pusula-question-wide {
    grid-column: 1 / -1;
}

.pusula-question[data-pusula-group="company"] {
    grid-column: 1 / -1;
}

.pusula-question legend {
    padding: 0 4px;
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 800;
}

.pusula-question legend small {
    margin-left: 4px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 650;
}

.pusula-choice-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.pusula-question[data-pusula-group="company"] .pusula-choice-row,
.pusula-question[data-pusula-group="need"] .pusula-choice-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pusula-choice-row button {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    color: var(--text-soft);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--background-light);
    font-size: 0.75rem;
    font-weight: 700;
    transition: 160ms ease;
}

.pusula-choice-row button:hover {
    color: var(--text);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.pusula-choice-row button.is-selected {
    color: var(--primary-light);
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
}

.pusula-chat {
    display: flex;
    min-height: 145px;
    max-height: min(38vh, 390px);
    margin-top: 14px;
    padding: 18px;
    overflow-y: auto;
    flex-direction: column;
    gap: 15px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--card-background) 72%, transparent);
    scroll-behavior: smooth;
}

.pusula-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 78%;
}

.pusula-message > div {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 6px 16px 16px;
    background: var(--background-light);
}

.pusula-message strong {
    display: block;
    margin-bottom: 3px;
    color: var(--primary-light);
    font-size: 0.75rem;
}

.pusula-message p {
    margin: 0;
    line-height: 1.55;
}

.pusula-message-user {
    align-self: flex-end;
}

.pusula-message-user > div {
    color: #fff;
    border-color: transparent;
    border-radius: 16px 6px 16px 16px;
    background: linear-gradient(135deg, var(--primary), #7558e8);
}

.pusula-avatar {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--primary-soft);
}

.pusula-message.is-loading p::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 5px;
    margin-left: 8px;
    border-radius: 5px;
    background: var(--primary-light);
    animation: pusula-pulse 1s ease-in-out infinite;
}

@keyframes pusula-pulse {
    50% { opacity: 0.3; transform: scaleX(0.55); }
}

.pusula-suggestions {
    display: flex;
    gap: 8px;
    margin-top: 13px;
    overflow-x: auto;
}

.pusula-suggestions button {
    flex: 0 0 auto;
    padding: 8px 11px;
    color: var(--text-soft);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    font-size: 0.76rem;
}

.pusula-suggestions button:hover {
    color: var(--primary-light);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.pusula-composer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 13px;
}

.pusula-composer textarea {
    min-height: 50px;
    max-height: 120px;
    padding: 14px 15px;
    resize: vertical;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    outline: none;
    background: var(--card-background);
    font: inherit;
}

.pusula-composer textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.pusula-composer button {
    display: flex;
    min-width: 102px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: #fff;
    cursor: pointer;
    border: 1px solid color-mix(in srgb, var(--primary-light) 45%, transparent);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent),
        linear-gradient(135deg, #4f5fe7, #6d52c8);
    box-shadow: 0 10px 24px rgba(67, 76, 209, 0.24);
    font-size: 0.78rem;
    font-weight: 750;
    transition: 160ms ease;
}

.pusula-composer button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(67, 76, 209, 0.32);
}

.pusula-composer button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.pusula-note {
    margin: 9px 2px 0;
    color: var(--text-muted);
    font-size: 0.7rem;
}

.pusula-results {
    width: 100%;
    max-width: none;
    padding-top: 4px;
}

.pusula-result {
    min-width: 0;
}

.pusula-result > p {
    margin: 8px 3px 0;
    color: var(--text-soft);
    font-size: 0.76rem;
    line-height: 1.45;
}

.pusula-result .movie-description {
    display: none;
}

.pusula-series-card small {
    display: block;
    margin-top: 8px;
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 750;
}

.pusula-result-actions {
    display: grid;
    gap: 10px;
    padding-top: 3px;
}

.pusula-route-again {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--background-light);
}

.pusula-route-again span {
    color: var(--text-soft);
    font-size: 0.78rem;
}

.pusula-route-again button {
    padding: 7px 10px;
    color: var(--primary-light);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--primary-soft);
    font-size: 0.72rem;
    font-weight: 750;
}

.pusula-route-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pusula-route-buttons [data-pusula-new-route] {
    color: var(--text-soft);
    background: transparent;
    border-style: dashed;
}

.pusula-route-again button:hover {
    color: var(--text);
    border-color: var(--primary);
}

.recommend-dialog h2 {
    margin: 7px 42px 6px 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.recommend-dialog > p,
.recommend-empty {
    color: var(--text-soft);
}

.recommend-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    color: var(--text);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--card-background);
    font-size: 1.5rem;
}

.recommend-form {
    display: grid;
    grid-template-columns: 1fr 250px auto;
    align-items: end;
    gap: 18px;
    margin-top: 26px;
}

.recommend-form fieldset {
    border: 0;
}

.recommend-form legend,
.recommend-select > span {
    display: block;
    margin-bottom: 9px;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 750;
}

.recommend-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recommend-options input {
    position: absolute;
    opacity: 0;
}

.recommend-options span {
    display: block;
    padding: 10px 13px;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--card-background);
    font-size: 0.84rem;
    font-weight: 700;
}

.recommend-options input:checked + span {
    color: var(--primary-light);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.recommend-select select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--card-background);
}

.recommend-form .account-submit {
    min-height: 44px;
    white-space: nowrap;
}

.recommend-results {
    margin-top: 28px;
}

.recommend-results-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.recommend-results-heading button {
    color: var(--primary-light);
    cursor: pointer;
    background: transparent;
    font-weight: 700;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.recommend-grid .movie-description {
    display: none;
}

.recommend-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 0 4px;
    color: var(--text-soft);
}

/* Pusula: sıcak altın rota teması */
.recommend-dialog {
    --pusula-gold: #e5b957;
    --pusula-gold-light: #f6d98c;
    --pusula-gold-soft: rgba(229, 185, 87, 0.13);
    --pusula-gold-border: rgba(229, 185, 87, 0.36);
    border-color: var(--pusula-gold-border);
    background:
        radial-gradient(circle at 8% 0%, rgba(229, 185, 87, 0.16), transparent 28%),
        radial-gradient(circle at 94% 92%, rgba(178, 122, 38, 0.1), transparent 30%),
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--background-light) 93%, #9b6b1d),
            var(--background-light) 48%,
            color-mix(in srgb, var(--background-light) 96%, #0b071e)
        );
    box-shadow:
        0 32px 100px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(229, 185, 87, 0.08),
        inset 0 1px 0 rgba(255, 231, 169, 0.1);
}

.recommend-dialog::before {
    position: absolute;
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--pusula-gold), transparent);
    box-shadow: 0 0 22px rgba(229, 185, 87, 0.5);
}

.recommend-dialog .pusula-heading .about-kicker,
.recommend-dialog .pusula-heading h2,
.recommend-dialog .pusula-message strong {
    color: var(--pusula-gold-light);
}

.recommend-dialog .pusula-mark {
    border-color: var(--pusula-gold-border);
    background: linear-gradient(145deg, rgba(229, 185, 87, 0.22), rgba(103, 71, 20, 0.08));
    box-shadow: 0 8px 24px rgba(196, 137, 38, 0.2);
}

.recommend-dialog .pusula-mark img {
    display: none;
}

.recommend-dialog .pusula-mark::after {
    width: 20px;
    height: 20px;
    content: "";
    background: var(--pusula-gold-light);
    -webkit-mask: url("images/pusula.svg") center / contain no-repeat;
    mask: url("images/pusula.svg") center / contain no-repeat;
}

.recommend-dialog .recommend-close {
    color: var(--pusula-gold-light);
    border-color: var(--pusula-gold-border);
    background: color-mix(in srgb, var(--card-background) 88%, #8d631d);
}

.recommend-dialog .recommend-close:hover {
    border-color: var(--pusula-gold);
    background: var(--pusula-gold-soft);
}

.recommend-dialog .pusula-question {
    border-color: rgba(229, 185, 87, 0.18);
    background:
        linear-gradient(145deg, rgba(229, 185, 87, 0.055), transparent 64%),
        color-mix(in srgb, var(--card-background) 78%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 233, 177, 0.035);
}

.recommend-dialog .pusula-question legend {
    color: color-mix(in srgb, var(--text) 76%, var(--pusula-gold));
}

.recommend-dialog .pusula-choice-row button {
    border-color: color-mix(in srgb, var(--border) 80%, var(--pusula-gold));
    background: color-mix(in srgb, var(--background-light) 94%, #8c6421);
}

.recommend-dialog .pusula-choice-row button:hover {
    color: var(--pusula-gold-light);
    border-color: var(--pusula-gold-border);
    background: var(--pusula-gold-soft);
}

.recommend-dialog .pusula-choice-row button.is-selected {
    color: #2b1c05;
    border-color: var(--pusula-gold-light);
    background: linear-gradient(135deg, var(--pusula-gold-light), #c88e2e);
    box-shadow:
        0 7px 18px rgba(190, 127, 28, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.recommend-dialog .pusula-chat {
    border-color: rgba(229, 185, 87, 0.2);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 185, 87, 0.07), transparent 30%),
        color-mix(in srgb, var(--card-background) 66%, transparent);
}

.recommend-dialog .pusula-avatar {
    color: var(--pusula-gold-light);
    border-color: var(--pusula-gold-border);
    background: var(--pusula-gold-soft);
}

.recommend-dialog .pusula-message > div,
.recommend-dialog .pusula-route-again {
    border-color: rgba(229, 185, 87, 0.18);
    background: color-mix(in srgb, var(--background-light) 94%, #8c6421);
}

.recommend-dialog .pusula-composer textarea {
    border-color: rgba(229, 185, 87, 0.28);
    background: color-mix(in srgb, var(--card-background) 92%, #8c6421);
}

.recommend-dialog .pusula-composer textarea:focus {
    border-color: var(--pusula-gold);
    box-shadow: 0 0 0 3px var(--pusula-gold-soft);
}

.recommend-dialog .pusula-composer button {
    color: #291b05;
    border-color: var(--pusula-gold-light);
    background: linear-gradient(135deg, #f4d47e, #c78a27);
    box-shadow: 0 10px 26px rgba(190, 127, 28, 0.28);
}

.recommend-dialog .pusula-composer button:hover:not(:disabled) {
    box-shadow: 0 14px 30px rgba(190, 127, 28, 0.38);
}

.recommend-dialog .pusula-route-again button,
.recommend-dialog .pusula-series-card small {
    color: var(--pusula-gold-light);
    border-color: var(--pusula-gold-border);
    background: var(--pusula-gold-soft);
}

.recommend-dialog .pusula-route-buttons [data-pusula-new-route] {
    background: transparent;
}

[data-theme="light"] .recommend-dialog .pusula-heading .about-kicker,
[data-theme="light"] .recommend-dialog .pusula-heading h2,
[data-theme="light"] .recommend-dialog .pusula-message strong {
    color: #8a5b08;
}

[data-theme="light"] .recommend-dialog .pusula-avatar,
[data-theme="light"] .recommend-dialog .pusula-route-again button,
[data-theme="light"] .recommend-dialog .pusula-series-card small {
    color: #7b5006;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 72px;
    }

    .navbar {
        display: block;
    }

    .navbar-inner {
        min-height: 56px;
        padding: 0 14px;
    }

    .navbar-actions {
        gap: 10px;
    }

    .navbar-left {
        gap: 0;
    }

    .navbar .nav-links {
        display: none;
    }

    .navbar-right {
        gap: 9px;
    }

    .navbar-right .recommend-trigger {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.75rem;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 12px;
        bottom: 10px;
        left: 12px;
        z-index: 60;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 62px;
        padding: 6px;
        border: 1px solid var(--border-strong);
        border-radius: 18px;
        background: rgba(7, 11, 27, 0.92);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(20px);
    }

    [data-theme="light"] .mobile-bottom-nav {
        background: rgba(248, 251, 255, 0.94);
    }

    .mobile-bottom-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 1px;
        color: var(--text-muted);
        border-radius: 13px;
        text-decoration: none;
    }

    .mobile-bottom-nav a.is-active,
    .mobile-bottom-nav a:hover {
        color: var(--primary-light);
        background: var(--primary-soft);
    }

    .mobile-bottom-nav a > span {
        font-size: 1.22rem;
        line-height: 1;
    }

    .mobile-bottom-nav small {
        font-size: 0.68rem;
        font-weight: 750;
    }

    .card-quick-actions {
        opacity: 1;
        transform: none;
    }

    .recommend-form {
        grid-template-columns: 1fr;
    }

    .recommend-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .watch-lists-heading,
    .custom-list-header {
        align-items: stretch;
        flex-direction: column;
    }

    .watch-lists-heading > button {
        width: 100%;
    }

    .custom-list-form {
        grid-template-columns: 1fr;
    }

    .custom-list-form > div,
    .custom-list-form button {
        width: 100%;
    }

    .custom-list-actions {
        width: 100%;
    }

    .custom-list-actions button {
        flex: 1;
    }

    .library-page-header {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .library-share-button {
        justify-content: center;
        width: 100%;
    }

    .shared-library-note {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .shared-library-note p {
        flex: 1;
    }

    .shared-library-note a {
        width: 100%;
        margin: 5px 0 0 42px;
    }

    .recommend-modal {
        align-items: end;
        padding: 0;
    }

    .recommend-dialog {
        max-height: 94vh;
        padding: 27px 18px 24px;
        border-radius: 22px 22px 0 0;
    }

    .pusula-heading {
        padding-right: 32px;
    }

    .pusula-mark {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .pusula-chat {
        min-height: 145px;
        max-height: 34vh;
        padding: 13px;
    }

    .pusula-questions {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .pusula-question-wide {
        grid-column: auto;
    }

    .pusula-question[data-pusula-group="company"] {
        grid-column: auto;
    }

    .pusula-question {
        padding: 10px;
    }

    .pusula-choice-row,
    .pusula-question[data-pusula-group="company"] .pusula-choice-row,
    .pusula-question[data-pusula-group="need"] .pusula-choice-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pusula-message {
        max-width: 92%;
    }

    .pusula-composer {
        grid-template-columns: 1fr auto;
    }

    .pusula-composer button {
        min-width: 96px;
        padding: 0 12px;
    }

    .pusula-route-again {
        align-items: flex-start;
        flex-direction: column;
    }

    .pusula-route-again button {
        width: 100%;
    }

    .pusula-route-buttons {
        width: 100%;
    }

    .pusula-route-buttons button {
        flex: 1;
    }

    .recommend-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .recommend-grid {
        grid-template-columns: 1fr;
    }

    .recommend-grid .movie-card {
        display: grid;
        grid-template-columns: 92px 1fr;
    }

    .recommend-grid .movie-poster {
        height: 138px;
    }

    .results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==================================================
   KOMPAKT ARAYÜZ DENGESİ
================================================== */

@media (min-width: 769px) {
    html {
        font-size: 15px;
    }

    :root {
        --content-width: 1280px;
    }

    .navbar-inner {
        min-height: 60px;
        padding: 0 28px;
    }

    .navbar-left {
        gap: 20px;
    }

    .nav-links {
        gap: 22px;
    }

    .nav-links a {
        font-size: 0.84rem;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        padding: 0 10px;
    }

    .theme-toggle {
        width: 39px;
        height: 39px;
        font-size: 1.05rem;
    }

    .header {
        padding: 52px 32px 38px;
    }

    .header::after {
        width: calc(100% - 64px);
    }

    .logo-text {
        font-size: clamp(2.25rem, 4.6vw, 3.55rem);
        letter-spacing: -1.5px;
    }

    .brand {
        margin-bottom: 8px;
        margin-left: -25px;
    }

    .logo-image {
        height: 45px;
    }

    .tagline {
        max-width: 650px;
        margin-bottom: 24px;
        font-size: 0.94rem;
    }

    .search-container {
        max-width: 920px;
        gap: 10px;
        padding: 13px;
        border-radius: 18px;
    }

    .search-box {
        flex-basis: 280px;
    }

    .search-input,
    .filters select {
        height: 44px;
    }

    .search-input {
        padding: 0 15px;
        border-radius: 11px;
    }

    .filters {
        gap: 8px;
    }

    .filters select {
        width: 140px;
        padding-left: 12px;
        border-radius: 11px;
        background-position:
            calc(100% - 17px) 18px,
            calc(100% - 12px) 18px;
    }

    .clear-btn {
        min-height: 44px;
        padding: 0 15px;
        border-radius: 11px;
        font-size: 0.84rem;
    }

    .recommend-trigger {
        min-height: 42px;
        margin-top: 14px;
        padding: 0 18px;
        font-size: 0.87rem;
    }

    .main-content {
        padding: 30px 32px 70px;
    }

    .movies-section + .movies-section {
        margin-top: 52px;
    }

    .section-title {
        margin-bottom: 20px;
        padding-bottom: 10px;
        font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    }

    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
        gap: 20px;
    }

    .carousel {
        gap: 16px;
    }

    .trending-card {
        flex-basis: 225px;
        height: 338px;
    }

    .movie-info {
        padding: 14px;
    }

    .movie-title {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .movie-description {
        font-size: 0.77rem;
    }

    .load-more-wrapper {
        margin-top: 32px;
    }

    .load-more-btn {
        min-height: 46px;
        padding: 0 22px;
        font-size: 0.88rem;
    }

    .about-section {
        padding: 20px 32px 72px;
    }

    .about-content {
        max-width: 880px;
        padding: 42px 54px;
    }

    .about-content h2 {
        margin: 7px 0 12px;
        font-size: clamp(1.7rem, 3vw, 2.45rem);
    }

    .about-content p {
        max-width: 640px;
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .about-link {
        margin-top: 19px;
    }

    .inner-page {
        padding-top: 48px;
    }

    .page-header h1 {
        font-size: clamp(2.15rem, 4vw, 3.5rem);
        letter-spacing: -1.7px;
    }

    .page-header p {
        font-size: 0.96rem;
    }

    .inner-page .user-library-section {
        margin-top: 42px;
    }

    .profile-page {
        min-height: calc(100vh - 60px);
        padding: 48px 20px;
    }

    .account-card {
        width: min(100%, 520px);
        padding: 36px;
    }

    .account-intro h1,
    .profile-card h1 {
        font-size: clamp(1.65rem, 3.5vw, 2.2rem);
    }

    .account-form input {
        height: 44px;
    }

    .account-submit,
    .profile-logout {
        min-height: 44px;
    }

    .profile-stats {
        margin: 24px 0;
    }

    .movie-modal-dialog {
        width: min(980px, 100%);
        max-height: calc(100vh - 40px);
    }

    .movie-modal-content {
        gap: 27px;
        padding: 10px 42px 42px;
    }

    .movie-modal-section + .movie-modal-section {
        margin-top: 24px;
    }

    .recommend-dialog {
        width: min(860px, 100%);
        padding: 28px;
    }

    .footer-inner {
        padding-top: 28px;
        padding-bottom: 28px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14.5px;
    }

    .header {
        padding-top: 34px;
    }

    .logo-text {
        font-size: clamp(2.15rem, 11vw, 2.8rem);
    }

    .logo-image {
        height: 40px;
    }

    .tagline {
        max-width: 520px;
        margin-bottom: 20px;
    }

    .search-container {
        padding: 11px;
    }

    .main-content {
        padding-top: 25px;
    }

    .movies-section + .movies-section {
        margin-top: 44px;
    }

    .about-content {
        padding: 38px 22px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.6rem;
    }

    .account-card {
        padding: 28px 22px 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================================================
   DİZİ PANELİ
================================================== */

.series-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.series-nav-link span {
    padding: 3px 6px;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(135deg, #405fb5, #7657c8);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.series-page {
    --series-accent: var(--primary-light);
    --series-accent-soft: var(--primary-soft);
}

.series-back-link {
    padding: 9px 14px;
    color: var(--text-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.series-back-link:hover {
    color: var(--text);
    border-color: rgba(167, 139, 250, 0.55);
    background: var(--series-accent-soft);
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.section-heading-row .section-title {
    margin-bottom: 0;
}

.series-count-label {
    padding: 8px 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.72rem;
}

.series-card::before {
    position: absolute;
    z-index: 3;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    background: rgba(11, 16, 38, 0.76);
    backdrop-filter: blur(10px);
    content: "DİZİ";
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.11em;
}

.trending-card.series-card .trending-rank {
    top: 48px;
    left: 12px;
}

.series-archive-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--series-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.series-page .movie-genres,
.series-page .trending-genres {
    color: var(--primary-light);
}

[data-theme="light"] .series-page .movie-genres,
[data-theme="light"] .series-page .trending-genres {
    color: var(--primary);
}

.series-detail-label {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 8px;
    padding: 5px 9px;
    color: var(--primary-light);
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    background: var(--primary-soft);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.series-modal-favorite {
    align-self: flex-start;
    margin-top: 20px;
    padding: 10px 15px;
    color: #f4f0ff;
    cursor: pointer;
    border: 1px solid rgba(196, 181, 253, 0.35);
    border-radius: 10px;
    background: rgba(18, 13, 40, 0.55);
    font-weight: 750;
}

.series-modal-favorite.is-active {
    border-color: #a78bfa;
    background: #654cae;
}

.series-imdb-link {
    display: inline-flex;
    justify-content: center;
    padding: 11px 13px;
    color: #17120a;
    border-radius: 10px;
    background: #f5c518;
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform var(--transition), filter var(--transition);
}

.series-imdb-link:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.series-seasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.series-seasons > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(143, 175, 255, 0.05);
}

.series-seasons strong {
    color: var(--text);
    font-size: 0.86rem;
}

.series-seasons span {
    color: var(--text-muted);
    font-size: 0.74rem;
}

.series-about .about-content {
    border-color: var(--border);
    background:
        radial-gradient(circle at 85% 25%, rgba(64, 95, 181, 0.16), transparent 35%),
        var(--card-background);
}

.side-menu-links .is-current {
    border-color: rgba(167, 139, 250, 0.35);
    background: rgba(167, 139, 250, 0.1);
}

@media (max-width: 900px) {
    .series-back-link {
        display: none;
    }
}

@media (max-width: 600px) {
    .section-heading-row {
        align-items: flex-start;
    }

    .series-count-label {
        display: none;
    }

    .series-seasons {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   AÇIK TEMA · GÜNDÜZ GÖĞÜ
================================================== */

[data-theme="light"] {
    --background: #f3f6fc;
    --background-dark: #e8eef8;
    --background-light: #ffffff;
    --card-background: rgba(255, 255, 255, 0.78);
    --card-background-hover: rgba(255, 255, 255, 0.96);
    --primary: #3f5fae;
    --primary-light: #294887;
    --primary-soft: rgba(63, 95, 174, 0.1);
    --silver: #182746;
    --text: #14213d;
    --text-soft: #40506d;
    --text-muted: #71809b;
    --border: rgba(50, 76, 137, 0.14);
    --border-strong: rgba(50, 76, 137, 0.3);
    --shadow-small: 0 10px 28px rgba(46, 67, 112, 0.11);
    --shadow-medium: 0 20px 48px rgba(46, 67, 112, 0.16);
}

[data-theme="light"] body {
    background:
        radial-gradient(circle at 12% 7%, rgba(145, 177, 239, 0.3), transparent 29%),
        radial-gradient(circle at 88% 16%, rgba(194, 211, 246, 0.42), transparent 31%),
        linear-gradient(180deg, #f9fbff 0%, #eef3fb 44%, #e7edf7 100%);
}

[data-theme="light"] .navbar {
    border-bottom-color: rgba(49, 75, 135, 0.12);
    background: rgba(250, 252, 255, 0.82);
    box-shadow: 0 8px 30px rgba(48, 70, 112, 0.08);
}

[data-theme="light"] .side-menu-panel {
    border-right-color: rgba(49, 75, 135, 0.14);
    background:
        radial-gradient(circle at 8% 0%, rgba(113, 151, 226, 0.2), transparent 32%),
        rgba(248, 251, 255, 0.98);
    box-shadow: 24px 0 60px rgba(48, 70, 112, 0.18);
}

[data-theme="light"] .logo-text {
    color: #213e7d;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 18px rgba(91, 126, 202, 0.24),
        0 10px 35px rgba(64, 95, 181, 0.12);
}

[data-theme="light"] .stars {
    opacity: 0.2;
    filter: saturate(0.75);
}

[data-theme="light"] .twinkling-stars {
    opacity: 0.12;
    filter: saturate(0.7);
}

[data-theme="light"] .search-container {
    border-color: rgba(57, 84, 149, 0.16);
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        0 18px 46px rgba(55, 76, 119, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .search-input,
[data-theme="light"] .filters select {
    color: #182746;
    caret-color: #3f5fae;
    border-color: rgba(52, 78, 139, 0.15);
    background-color: rgba(244, 247, 253, 0.92);
}

[data-theme="light"] .search-input::placeholder {
    color: #8592a9;
}

[data-theme="light"] .search-input:hover,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .filters select:hover,
[data-theme="light"] .filters select:focus {
    border-color: #6784ca;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(82, 112, 183, 0.09);
}

[data-theme="light"] .filters select {
    background-image:
        linear-gradient(45deg, transparent 50%, #526eaf 50%),
        linear-gradient(135deg, #526eaf 50%, transparent 50%);
}

[data-theme="light"] .filters select option {
    color: #182746;
    background: #ffffff;
}

[data-theme="light"] .clear-btn {
    color: #38569d;
    border-color: rgba(63, 95, 174, 0.22);
    background: rgba(63, 95, 174, 0.07);
}

[data-theme="light"] .clear-btn:hover {
    color: #ffffff;
    border-color: #4667b5;
    background: #4667b5;
}

[data-theme="light"] .movie-card,
[data-theme="light"] .skeleton-card,
[data-theme="light"] .custom-list-card,
[data-theme="light"] .default-watch-list {
    border-color: rgba(49, 75, 135, 0.13);
    background: rgba(255, 255, 255, 0.78);
    box-shadow:
        0 12px 30px rgba(48, 69, 111, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

[data-theme="light"] .movie-card:hover,
[data-theme="light"] .movie-card:focus-visible {
    border-color: rgba(63, 95, 174, 0.38);
    background: #ffffff;
    box-shadow:
        0 18px 42px rgba(48, 69, 111, 0.16),
        0 0 0 1px rgba(98, 127, 194, 0.07);
}

[data-theme="light"] .trending-title {
    color: #ffffff;
}

[data-theme="light"] .trending-details {
    color: rgba(232, 239, 255, 0.88);
}

[data-theme="light"] .trending-genres,
[data-theme="light"] .series-page .trending-genres {
    color: #c9d7ff;
}

[data-theme="light"] .section-title::after,
[data-theme="light"] .header::after {
    background: linear-gradient(90deg, rgba(63, 95, 174, 0.4), rgba(63, 95, 174, 0.08), transparent);
}

[data-theme="light"] .carousel-btn,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .menu-toggle {
    color: #294887;
    border-color: rgba(52, 78, 139, 0.18);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 22px rgba(48, 69, 111, 0.11);
}

[data-theme="light"] .carousel-btn:hover,
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .menu-toggle:hover {
    color: #ffffff;
    border-color: #4969b4;
    background: #4969b4;
}

[data-theme="light"] .account-card,
[data-theme="light"] .profile-dashboard {
    border-color: rgba(49, 75, 135, 0.14);
    background:
        radial-gradient(circle at 50% 0%, rgba(111, 149, 224, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 70px rgba(48, 69, 111, 0.15);
}

[data-theme="light"] .series-about .about-content {
    color: #ffffff;
    border-color: rgba(110, 145, 225, 0.42);
    background:
        radial-gradient(circle at 50% 0%, rgba(143, 175, 255, 0.3), transparent 52%),
        linear-gradient(145deg, #294a91, #1b3470);
}

[data-theme="light"] .account-tabs,
[data-theme="light"] .profile-edit-form,
[data-theme="light"] .custom-list-form {
    background: rgba(230, 237, 249, 0.68);
}

[data-theme="light"] .account-form input,
[data-theme="light"] .profile-edit-form input[type="text"],
[data-theme="light"] .custom-list-form input,
[data-theme="light"] .custom-list-form textarea {
    color: #182746;
    border-color: rgba(52, 78, 139, 0.17);
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .movie-modal-backdrop {
    background: rgba(35, 51, 83, 0.42);
    backdrop-filter: blur(8px);
}

[data-theme="light"] .movie-modal-dialog {
    border-color: rgba(49, 75, 135, 0.16);
    background: linear-gradient(145deg, #ffffff, #edf2fa);
    box-shadow: 0 35px 90px rgba(31, 47, 81, 0.24);
}

[data-theme="light"] .movie-modal-facts,
[data-theme="light"] .watch-providers,
[data-theme="light"] .movie-cast-item {
    border-color: rgba(49, 75, 135, 0.14);
    background: rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .footer {
    border-top-color: rgba(49, 75, 135, 0.12);
    background: rgba(244, 248, 253, 0.8);
    box-shadow: 0 -10px 32px rgba(48, 69, 111, 0.05);
}

/* Açık tema: altın gündüz ve ateş böcekleri */
[data-theme="light"] {
    --background: #f6efdf;
    --background-dark: #eee1c3;
    --background-light: #fffaf0;
    --card-background: rgba(255, 252, 244, 0.84);
    --card-background-hover: rgba(255, 253, 247, 0.98);
    --primary: #a8741d;
    --primary-light: #76500f;
    --primary-soft: rgba(210, 158, 55, 0.12);
    --silver: #332b20;
    --text: #302a22;
    --text-soft: #5b5041;
    --text-muted: #857665;
    --border: rgba(177, 126, 31, 0.18);
    --border-strong: rgba(177, 126, 31, 0.38);
    --shadow-small: 0 10px 28px rgba(107, 76, 28, 0.1);
    --shadow-medium: 0 20px 48px rgba(107, 76, 28, 0.15);
}

[data-theme="light"] body {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 207, 91, 0.3), transparent 27%),
        radial-gradient(circle at 88% 15%, rgba(241, 184, 60, 0.2), transparent 29%),
        radial-gradient(circle at 52% 72%, rgba(255, 226, 150, 0.2), transparent 34%),
        linear-gradient(180deg, #fffaf0 0%, #f7efde 46%, #eee1c5 100%);
}

[data-theme="light"] body.profile-body {
    background:
        radial-gradient(circle at 12% 16%, rgba(239, 184, 65, 0.25), transparent 28%),
        radial-gradient(circle at 88% 24%, rgba(255, 215, 112, 0.22), transparent 30%),
        radial-gradient(circle at 52% 86%, rgba(204, 143, 32, 0.12), transparent 34%),
        linear-gradient(180deg, #fffaf0 0%, #f6ecd7 52%, #ecddbd 100%);
}

[data-theme="light"] .stars {
    opacity: 0.7;
    filter: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #d59d2e, transparent),
        radial-gradient(3px 3px at 100px 70px, rgba(238, 180, 62, 0.95), transparent),
        radial-gradient(2px 2px at 180px 140px, #b87a14, transparent),
        radial-gradient(2.5px 2.5px at 260px 40px, #efc35f, transparent),
        radial-gradient(2px 2px at 340px 160px, #c68d25, transparent),
        radial-gradient(3px 3px at 520px 240px, #f2cd75, transparent);
    background-repeat: repeat;
    background-size: 390px 190px;
    animation: starsMove 90s linear infinite;
}

[data-theme="light"] .twinkling-stars {
    display: block;
    opacity: 0.68;
    filter: none;
    mix-blend-mode: multiply;
    background-image:
        radial-gradient(circle at 15% 20%, #d99618 0, rgba(244, 187, 65, 0.48) 2px, transparent 7px),
        radial-gradient(circle at 75% 16%, #f0bd4e 0, rgba(240, 183, 67, 0.42) 3px, transparent 8px),
        radial-gradient(circle at 42% 65%, #c78313 0, rgba(228, 162, 42, 0.38) 2px, transparent 7px),
        radial-gradient(circle at 88% 72%, #e6a52b 0, rgba(245, 197, 87, 0.45) 3px, transparent 8px),
        radial-gradient(circle at 28% 82%, #bd7d15 0, rgba(230, 168, 52, 0.36) 2px, transparent 7px),
        radial-gradient(circle at 61% 44%, #f0be58 0, rgba(239, 181, 61, 0.4) 3px, transparent 8px);
    animation: twinkle 4.5s ease-in-out infinite alternate;
}

[data-theme="light"] .cursor-stars {
    opacity: 0.7;
    filter: sepia(1) saturate(2.3) hue-rotate(350deg);
    mix-blend-mode: multiply;
}

[data-theme="light"] .navbar {
    border-bottom-color: rgba(177, 126, 31, 0.17);
    background: rgba(255, 250, 239, 0.86);
    box-shadow: 0 8px 30px rgba(124, 87, 27, 0.09);
}

[data-theme="light"] .side-menu-panel {
    border-right-color: rgba(177, 126, 31, 0.2);
    background:
        radial-gradient(circle at 8% 0%, rgba(239, 189, 82, 0.2), transparent 32%),
        rgba(255, 250, 239, 0.98);
    box-shadow: 24px 0 60px rgba(110, 77, 25, 0.16);
}

[data-theme="light"] .logo-text {
    color: #76500f;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 20px rgba(224, 169, 57, 0.3),
        0 10px 35px rgba(166, 113, 23, 0.12);
}

[data-theme="light"] .search-container,
[data-theme="light"] .account-card,
[data-theme="light"] .profile-dashboard {
    border-color: rgba(177, 126, 31, 0.18);
    background:
        radial-gradient(circle at 50% 0%, rgba(236, 187, 82, 0.12), transparent 40%),
        rgba(255, 252, 244, 0.86);
    box-shadow:
        0 20px 50px rgba(114, 79, 24, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .search-input,
[data-theme="light"] .filters select,
[data-theme="light"] .account-form input,
[data-theme="light"] .profile-edit-form input[type="text"],
[data-theme="light"] .custom-list-form input,
[data-theme="light"] .custom-list-form textarea {
    color: #3b3125;
    caret-color: #a8741d;
    border-color: rgba(177, 126, 31, 0.18);
    background-color: rgba(255, 250, 239, 0.92);
}

[data-theme="light"] .search-input:hover,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .filters select:hover,
[data-theme="light"] .filters select:focus {
    border-color: #c7902b;
    background-color: #fffdf8;
    box-shadow: 0 0 0 3px rgba(211, 158, 54, 0.11);
}

[data-theme="light"] .filters select {
    background-image:
        linear-gradient(45deg, transparent 50%, #a8741d 50%),
        linear-gradient(135deg, #a8741d 50%, transparent 50%);
}

[data-theme="light"] .clear-btn {
    color: #76500f;
    border-color: rgba(177, 126, 31, 0.24);
    background: rgba(218, 166, 62, 0.1);
}

[data-theme="light"] .movie-card,
[data-theme="light"] .skeleton-card,
[data-theme="light"] .custom-list-card,
[data-theme="light"] .default-watch-list {
    border-color: rgba(177, 126, 31, 0.16);
    background: rgba(255, 252, 244, 0.86);
    box-shadow:
        0 12px 30px rgba(111, 77, 25, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .movie-card:hover,
[data-theme="light"] .movie-card:focus-visible {
    border-color: rgba(190, 133, 29, 0.42);
    box-shadow:
        0 18px 42px rgba(111, 77, 25, 0.16),
        0 0 0 1px rgba(224, 169, 57, 0.08);
}

[data-theme="light"] .section-title::after,
[data-theme="light"] .header::after {
    background: linear-gradient(90deg, rgba(190, 133, 29, 0.55), rgba(224, 169, 57, 0.14), transparent);
}

[data-theme="light"] .carousel-btn,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .menu-toggle {
    color: #76500f;
    border-color: rgba(177, 126, 31, 0.2);
    background: rgba(255, 251, 242, 0.9);
    box-shadow: 0 8px 22px rgba(111, 77, 25, 0.1);
}

[data-theme="light"] .carousel-btn:hover,
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .menu-toggle:hover,
[data-theme="light"] .clear-btn:hover {
    color: #2d2009;
    border-color: #d5a13d;
    background: linear-gradient(135deg, #f5d989, #d8a23b);
}

[data-theme="light"] .theme-toggle:hover {
    color: #76500f;
    border-color: rgba(177, 126, 31, 0.2);
    background: rgba(255, 251, 242, 0.9);
    box-shadow: 0 8px 22px rgba(111, 77, 25, 0.1);
    transform: none;
}

[data-theme="light"] .footer {
    border-top-color: rgba(177, 126, 31, 0.16);
    background: rgba(241, 229, 203, 0.8);
    box-shadow: 0 -10px 32px rgba(111, 77, 25, 0.06);
}

/* Açık temada kalan soğuk mavi yüzeylerin sıcak karşılıkları */
[data-theme="light"] .logo-text {
    color: #73501f;
    background: none;
    -webkit-text-fill-color: #73501f;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.66),
        0 0 10px rgba(232, 181, 74, 0.5),
        0 0 28px rgba(210, 151, 43, 0.32),
        0 10px 30px rgba(115, 80, 31, 0.18);
}

[data-theme="light"] .footer-brand {
    color: #73501f;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.66),
        0 0 9px rgba(232, 181, 74, 0.48),
        0 0 24px rgba(210, 151, 43, 0.3);
}

[data-theme="light"] .logo-image,
[data-theme="light"] .side-menu-brand img,
[data-theme="light"] .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(29%)
        sepia(40%)
        saturate(920%)
        hue-rotate(359deg)
        brightness(82%)
        contrast(90%)
        drop-shadow(0 0 5px rgba(166, 117, 39, 0.38))
        drop-shadow(0 0 14px rgba(115, 80, 31, 0.2));
}

[data-theme="light"] .logo-image {
    filter:
        brightness(0)
        saturate(100%)
        invert(29%)
        sepia(40%)
        saturate(920%)
        hue-rotate(359deg)
        brightness(82%)
        contrast(90%)
        drop-shadow(0 0 7px rgba(183, 132, 49, 0.46))
        drop-shadow(0 0 18px rgba(115, 80, 31, 0.24))
        drop-shadow(0 8px 18px rgba(111, 75, 20, 0.16));
}

[data-theme="light"] .account-submit,
[data-theme="light"] .account-tab.is-active,
[data-theme="light"] .profile-edit-actions button:first-child,
[data-theme="light"] .load-more-btn {
    color: #2d2009;
    border-color: #d8a943;
    background: linear-gradient(135deg, #f2d47d, #c9912c);
    box-shadow: 0 9px 24px rgba(168, 111, 21, 0.2);
}

[data-theme="light"] .account-tabs,
[data-theme="light"] .profile-edit-form,
[data-theme="light"] .custom-list-form {
    border-color: rgba(177, 126, 31, 0.16);
    background: rgba(239, 221, 183, 0.48);
}

[data-theme="light"] .side-menu-links a:hover,
[data-theme="light"] .side-menu-links .is-active,
[data-theme="light"] .side-menu-links .is-current {
    color: #5f410e;
    border-color: rgba(184, 126, 24, 0.3);
    background: rgba(221, 169, 66, 0.13);
}

[data-theme="light"] .side-menu-links a > span,
[data-theme="light"] .movie-watchlist-menu button span {
    color: #8b5d0e;
    background: rgba(218, 164, 57, 0.13);
}

[data-theme="light"] .active-filter-chips button,
[data-theme="light"] .series-count-label,
[data-theme="light"] .series-detail-label {
    color: #76500f;
    border-color: rgba(177, 126, 31, 0.24);
    background: rgba(218, 166, 62, 0.1);
}

[data-theme="light"] .series-nav-link span {
    color: #2d2009;
    background: linear-gradient(135deg, #f0d178, #c78c29);
}

[data-theme="light"] .about-content,
[data-theme="light"] .series-about .about-content {
    color: #fff8e7;
    border-color: rgba(237, 196, 106, 0.38);
    background:
        radial-gradient(circle at 84% 18%, rgba(246, 208, 122, 0.2), transparent 34%),
        linear-gradient(145deg, #73501b, #3f2c16);
    box-shadow: 0 28px 70px rgba(92, 59, 15, 0.2);
}

[data-theme="light"] .about-content .about-kicker,
[data-theme="light"] .about-content h2,
[data-theme="light"] .about-content p,
[data-theme="light"] .about-content .about-link {
    color: #fff5dc;
}

[data-theme="light"] .profile-hero {
    background:
        radial-gradient(circle at 84% 18%, rgba(246, 208, 122, 0.2), transparent 34%),
        linear-gradient(145deg, #73501b, #3f2c16);
}

[data-theme="light"] .profile-kicker {
    color: #f6d98c;
}

[data-theme="light"] .profile-hero .profile-edit-toggle {
    color: #fff7e5;
    border-color: rgba(244, 211, 140, 0.3);
    background: rgba(255, 241, 207, 0.1);
}

[data-theme="light"] .profile-empty a {
    color: #2d2009;
    border: 1px solid #d8a943;
    background: linear-gradient(135deg, #f2d47d, #c9912c);
    box-shadow: 0 9px 22px rgba(168, 111, 21, 0.2);
}

[data-theme="light"] .profile-empty a:hover {
    border-color: #e3b957;
    background: linear-gradient(135deg, #f7df95, #d5a13c);
    transform: translateY(-1px);
}

[data-theme="light"] .watch-lists-heading > button,
[data-theme="light"] .custom-list-form button:first-child {
    color: #2d2009;
    border: 1px solid #d8a943;
    background: linear-gradient(135deg, #f2d47d, #c9912c);
    box-shadow: 0 8px 20px rgba(168, 111, 21, 0.18);
}

[data-theme="light"] .watch-lists-heading > button:hover,
[data-theme="light"] .custom-list-form button:first-child:hover {
    border-color: #e3b957;
    background: linear-gradient(135deg, #f7df95, #d5a13c);
    transform: translateY(-1px);
}

[data-theme="light"] .movie-modal-backdrop {
    background: rgba(78, 57, 24, 0.35);
}

[data-theme="light"] .movie-modal-dialog {
    border-color: rgba(177, 126, 31, 0.2);
    background: linear-gradient(145deg, #fffdf8, #f4e8cc);
    box-shadow: 0 35px 90px rgba(82, 56, 17, 0.22);
}

[data-theme="light"] .movie-modal-facts,
[data-theme="light"] .watch-providers,
[data-theme="light"] .movie-cast-item {
    border-color: rgba(177, 126, 31, 0.16);
    background: rgba(255, 250, 239, 0.7);
}

[data-theme="light"] .movie-modal-fact-highlight {
    border-color: #c58d25;
    background: rgba(224, 169, 57, 0.14);
}

[data-theme="light"] .movie-modal-fact-highlight .movie-modal-fact-label {
    color: #8a5b08;
}

[data-theme="light"] .movie-modal-fact-highlight .movie-modal-fact-value {
    color: #4f3814;
}

[data-theme="light"] .movie-user-action:hover,
[data-theme="light"] .movie-user-action.is-active {
    color: #2d2009;
    border-color: #d6a43d;
    background: linear-gradient(135deg, #efd179, #c88e2c);
}

[data-theme="light"] .profile-stat-icon.is-watchlist {
    color: #8f6517;
    background: rgba(211, 158, 55, 0.14);
}

[data-theme="light"] ::selection {
    color: #2d2009;
    background: rgba(225, 176, 72, 0.45);
}

/* Marka parıltısı · belirgin sürüm */
html:not([data-theme="light"]) .logo-text {
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.95),
        0 0 12px rgba(199, 210, 254, 0.92),
        0 0 28px rgba(143, 175, 255, 0.72),
        0 0 52px rgba(111, 139, 224, 0.46);
}

html:not([data-theme="light"]) .footer-brand {
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(199, 210, 254, 0.86),
        0 0 24px rgba(143, 175, 255, 0.68),
        0 0 42px rgba(111, 139, 224, 0.4);
}

[data-theme="light"] .logo-text {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72),
        0 0 4px rgba(245, 201, 103, 0.82),
        0 0 13px rgba(232, 181, 74, 0.72),
        0 0 30px rgba(210, 151, 43, 0.52),
        0 0 48px rgba(177, 116, 24, 0.24);
}

[data-theme="light"] .footer-brand {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72),
        0 0 4px rgba(245, 201, 103, 0.78),
        0 0 12px rgba(232, 181, 74, 0.68),
        0 0 27px rgba(210, 151, 43, 0.48),
        0 0 42px rgba(177, 116, 24, 0.22);
}

html:not([data-theme="light"]) .logo-image,
html:not([data-theme="light"]) .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%)
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.92))
        drop-shadow(0 0 11px rgba(199, 210, 254, 0.82))
        drop-shadow(0 0 24px rgba(143, 175, 255, 0.6));
}

[data-theme="light"] .logo-image,
[data-theme="light"] .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(29%)
        sepia(40%)
        saturate(920%)
        hue-rotate(359deg)
        brightness(82%)
        contrast(90%)
        drop-shadow(0 0 4px rgba(246, 207, 119, 0.9))
        drop-shadow(0 0 11px rgba(225, 172, 66, 0.72))
        drop-shadow(0 0 23px rgba(177, 116, 24, 0.46));
}

/* Marka parlaklığı · tüm konumlarda eşit */
html:not([data-theme="light"]) .logo-text,
html:not([data-theme="light"]) .footer-brand {
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(199, 210, 254, 0.82),
        0 0 24px rgba(143, 175, 255, 0.64),
        0 0 42px rgba(111, 139, 224, 0.38);
}

html:not([data-theme="light"]) .logo-image,
html:not([data-theme="light"]) .side-menu-brand img,
html:not([data-theme="light"]) .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%)
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.9))
        drop-shadow(0 0 10px rgba(199, 210, 254, 0.82))
        drop-shadow(0 0 24px rgba(143, 175, 255, 0.64));
}

[data-theme="light"] .logo-text,
[data-theme="light"] .footer-brand {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 4px rgba(245, 201, 103, 0.78),
        0 0 12px rgba(232, 181, 74, 0.66),
        0 0 27px rgba(210, 151, 43, 0.46),
        0 0 42px rgba(177, 116, 24, 0.2);
}

[data-theme="light"] .logo-image,
[data-theme="light"] .side-menu-brand img,
[data-theme="light"] .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(29%)
        sepia(40%)
        saturate(920%)
        hue-rotate(359deg)
        brightness(82%)
        contrast(90%)
        drop-shadow(0 0 4px rgba(245, 201, 103, 0.78))
        drop-shadow(0 0 12px rgba(232, 181, 74, 0.66))
        drop-shadow(0 0 27px rgba(210, 151, 43, 0.46));
}

/* Son parlaklık dengesi */
html:not([data-theme="light"]) .logo-text {
    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.76),
        0 0 8px rgba(199, 210, 254, 0.58),
        0 0 19px rgba(143, 175, 255, 0.4),
        0 0 34px rgba(111, 139, 224, 0.22);
}

html:not([data-theme="light"]) .logo-image,
html:not([data-theme="light"]) .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%)
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.72))
        drop-shadow(0 0 8px rgba(199, 210, 254, 0.56))
        drop-shadow(0 0 18px rgba(143, 175, 255, 0.38));
}

.footer-brand {
    text-shadow: none;
}

html:not([data-theme="light"]) .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%);
}

/* Cihazlar arası son görünüm düzeltmeleri. */
.footer-data-sources {
    right: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.side-menu-brand {
    text-shadow: none;
}

html:not([data-theme="light"]) .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%);
}

[data-theme="light"] .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(62%)
        sepia(34%)
        saturate(885%)
        hue-rotate(8deg)
        brightness(91%)
        contrast(82%);
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 580px) {
    #discoverSection .movies-grid,
    #seriesArchive .movies-grid {
        display: grid;
        grid-auto-columns: min(78vw, 290px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 14px;
        width: calc(100% + 14px);
        margin-right: -14px;
        padding: 3px 14px 16px 1px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 1px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    #discoverSection .movie-card,
    #seriesArchive .movie-card,
    #discoverSection .skeleton-card,
    #seriesArchive .skeleton-card {
        width: 100%;
        scroll-snap-align: start;
    }

    #discoverSection .movie-description,
    #seriesArchive .movie-description {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.76rem;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #discoverSection .movie-details,
    #seriesArchive .movie-details {
        align-items: center;
        flex-direction: row;
    }
}

/* Yan menü markası sade kalır; vurgu yalnızca sayfanın ana logosundadır. */
.side-menu-brand {
    text-shadow: none;
}

html:not([data-theme="light"]) .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%);
}

[data-theme="light"] .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(62%)
        sepia(34%)
        saturate(885%)
        hue-rotate(8deg)
        brightness(91%)
        contrast(82%);
}

/* Mobilde gezinme üst menüden yapılır. */
.mobile-bottom-nav {
    display: none;
}

/* Dar header'da beş ana bağlantıyı tek satırda kompakt tut. */
@media (max-width: 768px) {
    .navbar-inner {
        min-height: 56px;
    }

    .navbar-actions {
        min-height: 56px;
        align-items: center;
        gap: 8px;
    }

    .navbar-left {
        flex: 1 1 auto;
        min-width: 0;
        gap: clamp(7px, 1.7vw, 12px);
    }

    .navbar .nav-links {
        display: flex;
        min-width: 0;
        gap: clamp(5px, 1.4vw, 12px);
        overflow: hidden;
    }

    .navbar .nav-links a {
        display: inline-flex;
        flex: 0 0 auto;
        gap: 0.22em;
        font-size: clamp(0.72rem, 1.9vw, 0.82rem);
        white-space: nowrap;
    }

}

@media (max-width: 480px) {
    .navbar-right .recommend-trigger {
        width: 38px;
        min-width: 38px;
        padding: 0;
        justify-content: center;
    }

    .navbar-right .recommend-trigger span {
        display: none;
    }
}

/* Kullanıcının seçtiği Listem ikonu; bulunduğu alanın rengini devralır. */
.list-menu-icon {
    display: block;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("images/list-icon.svg") center / contain no-repeat;
    mask: url("images/list-icon.svg") center / contain no-repeat;
}

.mobile-bottom-nav .list-menu-icon {
    width: 18px;
    height: 18px;
}

.list-empty-icon {
    width: 28px;
    height: 28px;
}

[data-theme="light"] .footer-brand {
    text-shadow: none;
}

[data-theme="light"] .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(29%)
        sepia(40%)
        saturate(920%)
        hue-rotate(359deg)
        brightness(82%)
        contrast(90%);
}

/* ==================================================
   AÇIK TEMA · GÖK MAVİSİ VE PUSULA ALTINI
================================================== */

[data-theme="light"] {
    --background: #d9eefb;
    --background-dark: #bddff3;
    --background-light: #f7fcff;
    --card-background: rgba(248, 253, 255, 0.84);
    --card-background-hover: rgba(255, 255, 255, 0.97);
    --primary: #b47a16;
    --primary-light: #80520a;
    --primary-soft: rgba(218, 164, 57, 0.13);
    --silver: #17334c;
    --text: #17334a;
    --text-soft: #3d5870;
    --text-muted: #6a8195;
    --border: rgba(181, 129, 30, 0.18);
    --border-strong: rgba(181, 129, 30, 0.38);
    --shadow-small: 0 10px 28px rgba(41, 102, 137, 0.11);
    --shadow-medium: 0 20px 48px rgba(41, 102, 137, 0.16);
}

[data-theme="light"] body,
[data-theme="light"] body.profile-body {
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 210, 98, 0.24), transparent 25%),
        radial-gradient(circle at 88% 15%, rgba(255, 224, 137, 0.18), transparent 28%),
        radial-gradient(circle at 52% 68%, rgba(255, 238, 176, 0.12), transparent 34%),
        linear-gradient(180deg, #eaf8ff 0%, #d6eefc 44%, #bddff3 100%);
}

[data-theme="light"] .stars {
    opacity: 0.66;
    filter: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #c7891b, transparent),
        radial-gradient(3px 3px at 100px 70px, #efb946, transparent),
        radial-gradient(2px 2px at 180px 140px, #a96e0e, transparent),
        radial-gradient(2.5px 2.5px at 260px 40px, #f1c45d, transparent),
        radial-gradient(2px 2px at 340px 160px, #bd7e16, transparent),
        radial-gradient(3px 3px at 520px 240px, #f4ce75, transparent);
}

[data-theme="light"] .twinkling-stars {
    opacity: 0.72;
    mix-blend-mode: multiply;
    background-image:
        radial-gradient(circle at 15% 20%, #d79417 0, rgba(242, 185, 61, 0.45) 2px, transparent 7px),
        radial-gradient(circle at 75% 16%, #efb941 0, rgba(240, 185, 67, 0.4) 3px, transparent 8px),
        radial-gradient(circle at 42% 65%, #bd7b10 0, rgba(225, 157, 37, 0.36) 2px, transparent 7px),
        radial-gradient(circle at 88% 72%, #dda027 0, rgba(242, 193, 82, 0.42) 3px, transparent 8px),
        radial-gradient(circle at 28% 82%, #b57410 0, rgba(224, 159, 43, 0.34) 2px, transparent 7px),
        radial-gradient(circle at 61% 44%, #edb94c 0, rgba(236, 176, 54, 0.38) 3px, transparent 8px);
}

[data-theme="light"] .navbar {
    border-bottom-color: rgba(181, 129, 30, 0.18);
    background: rgba(233, 247, 254, 0.87);
    box-shadow:
        0 8px 30px rgba(44, 109, 144, 0.1),
        inset 0 -1px 0 rgba(255, 221, 137, 0.12);
}

[data-theme="light"] .side-menu-panel {
    border-right-color: rgba(181, 129, 30, 0.2);
    background:
        radial-gradient(circle at 8% 0%, rgba(243, 195, 90, 0.18), transparent 30%),
        rgba(231, 246, 254, 0.98);
    box-shadow: 24px 0 60px rgba(37, 96, 129, 0.18);
}

[data-theme="light"] .logo-text {
    color: #9b6710;
    -webkit-text-fill-color: #9b6710;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75),
        0 0 4px rgba(249, 210, 117, 0.72),
        0 0 12px rgba(229, 174, 61, 0.58),
        0 0 27px rgba(193, 129, 24, 0.34);
}

[data-theme="light"] .logo-image,
[data-theme="light"] .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(43%)
        sepia(76%)
        saturate(760%)
        hue-rotate(358deg)
        brightness(91%)
        contrast(88%)
        drop-shadow(0 0 4px rgba(249, 210, 117, 0.72))
        drop-shadow(0 0 12px rgba(229, 174, 61, 0.56))
        drop-shadow(0 0 24px rgba(193, 129, 24, 0.32));
}

[data-theme="light"] .footer-brand {
    color: #9b6710;
    text-shadow: none;
}

[data-theme="light"] .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(43%)
        sepia(76%)
        saturate(760%)
        hue-rotate(358deg)
        brightness(91%)
        contrast(88%);
}

[data-theme="light"] .search-container,
[data-theme="light"] .account-card,
[data-theme="light"] .profile-dashboard {
    border-color: rgba(181, 129, 30, 0.2);
    background:
        radial-gradient(circle at 50% 0%, rgba(243, 197, 94, 0.1), transparent 40%),
        rgba(244, 251, 255, 0.86);
    box-shadow:
        0 20px 50px rgba(39, 102, 137, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .search-input,
[data-theme="light"] .filters select,
[data-theme="light"] .account-form input,
[data-theme="light"] .profile-edit-form input[type="text"],
[data-theme="light"] .custom-list-form input,
[data-theme="light"] .custom-list-form textarea {
    color: #17334a;
    caret-color: #b47a16;
    border-color: rgba(181, 129, 30, 0.2);
    background-color: rgba(239, 249, 255, 0.92);
}

[data-theme="light"] .search-input::placeholder {
    color: #7890a2;
}

[data-theme="light"] .search-input:hover,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .filters select:hover,
[data-theme="light"] .filters select:focus {
    border-color: #c48a22;
    background-color: #fbfeff;
    box-shadow: 0 0 0 3px rgba(218, 164, 57, 0.12);
}

[data-theme="light"] .filters select {
    background-image:
        linear-gradient(45deg, transparent 50%, #a66f12 50%),
        linear-gradient(135deg, #a66f12 50%, transparent 50%);
}

[data-theme="light"] .movie-card,
[data-theme="light"] .skeleton-card,
[data-theme="light"] .custom-list-card,
[data-theme="light"] .default-watch-list {
    border-color: rgba(181, 129, 30, 0.17);
    background: rgba(246, 252, 255, 0.87);
    box-shadow:
        0 12px 30px rgba(38, 100, 135, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

[data-theme="light"] .movie-card:hover,
[data-theme="light"] .movie-card:focus-visible {
    border-color: rgba(190, 133, 29, 0.45);
    background: #fbfeff;
    box-shadow:
        0 18px 42px rgba(38, 100, 135, 0.16),
        0 0 0 1px rgba(225, 172, 67, 0.1);
}

[data-theme="light"] .account-tabs,
[data-theme="light"] .profile-edit-form,
[data-theme="light"] .custom-list-form {
    border-color: rgba(181, 129, 30, 0.17);
    background: rgba(208, 234, 248, 0.56);
}

[data-theme="light"] .side-menu-links a:hover,
[data-theme="light"] .side-menu-links .is-active,
[data-theme="light"] .side-menu-links .is-current,
[data-theme="light"] .active-filter-chips button,
[data-theme="light"] .series-count-label,
[data-theme="light"] .series-detail-label {
    color: #80520a;
    border-color: rgba(181, 129, 30, 0.3);
    background: rgba(229, 178, 72, 0.14);
}

[data-theme="light"] .side-menu-links a > span,
[data-theme="light"] .movie-watchlist-menu button span {
    color: #93600b;
    background: rgba(224, 169, 57, 0.14);
}

[data-theme="light"] .account-submit,
[data-theme="light"] .account-tab.is-active,
[data-theme="light"] .profile-edit-actions button:first-child,
[data-theme="light"] .load-more-btn,
[data-theme="light"] .watch-lists-heading > button,
[data-theme="light"] .custom-list-form button:first-child,
[data-theme="light"] .profile-empty a {
    color: #2d2009;
    border-color: #d7a440;
    background: linear-gradient(135deg, #f3d77f, #c9912c);
    box-shadow: 0 9px 24px rgba(160, 107, 20, 0.2);
}

[data-theme="light"] .clear-btn {
    color: #80520a;
    border-color: rgba(181, 129, 30, 0.25);
    background: rgba(225, 172, 65, 0.11);
}

[data-theme="light"] .carousel-btn,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .menu-toggle {
    color: #80520a;
    border-color: rgba(181, 129, 30, 0.22);
    background: rgba(241, 250, 255, 0.9);
    box-shadow: 0 8px 22px rgba(38, 100, 135, 0.11);
}

[data-theme="light"] .carousel-btn:hover,
[data-theme="light"] .menu-toggle:hover,
[data-theme="light"] .clear-btn:hover {
    color: #2d2009;
    border-color: #d5a13d;
    background: linear-gradient(135deg, #f5d989, #d8a23b);
}

[data-theme="light"] .theme-toggle:hover {
    color: #80520a;
    border-color: rgba(181, 129, 30, 0.22);
    background: rgba(241, 250, 255, 0.9);
    box-shadow: 0 8px 22px rgba(38, 100, 135, 0.11);
    transform: none;
}

[data-theme="light"] .section-title::after,
[data-theme="light"] .header::after {
    background: linear-gradient(90deg, rgba(190, 133, 29, 0.58), rgba(224, 169, 57, 0.15), transparent);
}

[data-theme="light"] .about-content,
[data-theme="light"] .series-about .about-content {
    color: #fff9e9;
    border-color: rgba(239, 199, 110, 0.4);
    background:
        radial-gradient(circle at 84% 18%, rgba(248, 210, 124, 0.2), transparent 34%),
        linear-gradient(145deg, #327ea4, #174f6c);
    box-shadow: 0 28px 70px rgba(31, 88, 119, 0.23);
}

[data-theme="light"] .about-content .about-kicker,
[data-theme="light"] .about-content h2,
[data-theme="light"] .about-content p,
[data-theme="light"] .about-content .about-link {
    color: #fff8e5;
}

[data-theme="light"] .profile-hero {
    background:
        radial-gradient(circle at 13% 38%, rgba(250, 211, 123, 0.26), transparent 29%),
        radial-gradient(circle at 82% 24%, rgba(255, 232, 166, 0.14), transparent 31%),
        linear-gradient(128deg, #438caf 0%, #246a8a 55%, #174c69 100%);
}

[data-theme="light"] .profile-kicker {
    color: #f7dc97;
}

[data-theme="light"] .profile-section-kicker {
    color: #8c5b0b;
}

[data-theme="light"] .profile-hero .profile-edit-toggle {
    color: #fff9e9;
    border-color: rgba(247, 216, 147, 0.34);
    background: rgba(255, 245, 218, 0.1);
}

[data-theme="light"] .profile-page::before {
    border-color: rgba(224, 169, 57, 0.14);
    box-shadow:
        0 0 90px rgba(224, 169, 57, 0.1),
        inset 0 0 80px rgba(255, 220, 137, 0.06);
}

[data-theme="light"] .profile-page::after {
    border-color: rgba(224, 169, 57, 0.12);
    box-shadow:
        0 0 100px rgba(224, 169, 57, 0.09),
        inset 0 0 70px rgba(255, 220, 137, 0.05);
}

[data-theme="light"] .movie-modal-backdrop {
    background: rgba(32, 78, 104, 0.38);
}

[data-theme="light"] .movie-modal-dialog {
    border-color: rgba(181, 129, 30, 0.21);
    background: linear-gradient(145deg, #fbfeff, #dceff9);
    box-shadow: 0 35px 90px rgba(28, 79, 108, 0.24);
}

[data-theme="light"] .movie-modal-facts,
[data-theme="light"] .watch-providers,
[data-theme="light"] .movie-cast-item {
    border-color: rgba(181, 129, 30, 0.17);
    background: rgba(239, 249, 254, 0.76);
}

[data-theme="light"] .movie-modal-fact-highlight {
    border-color: #c58d25;
    background: rgba(237, 193, 99, 0.17);
}

[data-theme="light"] .footer {
    border-top-color: rgba(181, 129, 30, 0.18);
    background: rgba(196, 226, 243, 0.84);
    box-shadow: 0 -10px 32px rgba(36, 97, 131, 0.07);
}

[data-theme="light"] .mobile-bottom-nav {
    border-color: rgba(181, 129, 30, 0.2);
    background: rgba(232, 247, 254, 0.95);
}

[data-theme="light"] ::selection {
    color: #17334a;
    background: rgba(231, 181, 78, 0.48);
}

/* ==================================================
   AÇIK TEMA · SAF MAVİ YÜZEYLER + TEK ALTIN VURGU
================================================== */

[data-theme="light"] {
    --day-gold: #b79a3b;
    --day-gold-light: #ead27b;
    --day-blue-deep: #174d70;
    --day-blue: #3e91bd;
    --day-blue-soft: #d9eefb;
    --background: #d8eefb;
    --background-dark: #b9ddf2;
    --background-light: #f4fbff;
    --card-background: rgba(241, 250, 255, 0.86);
    --card-background-hover: rgba(250, 253, 255, 0.98);
    --primary: var(--day-gold);
    --primary-light: #8a7223;
    --primary-soft: rgba(66, 145, 188, 0.12);
    --silver: #17344d;
    --text: #17344d;
    --text-soft: #3d5c75;
    --text-muted: #6b8599;
    --border: rgba(47, 126, 169, 0.18);
    --border-strong: rgba(47, 126, 169, 0.38);
    --shadow-small: 0 10px 28px rgba(30, 91, 126, 0.12);
    --shadow-medium: 0 20px 48px rgba(30, 91, 126, 0.17);
}

[data-theme="light"] body,
[data-theme="light"] body.profile-body {
    background:
        radial-gradient(circle at 10% 8%, rgba(74, 170, 218, 0.38), transparent 27%),
        radial-gradient(circle at 88% 15%, rgba(58, 148, 199, 0.3), transparent 30%),
        radial-gradient(circle at 52% 70%, rgba(111, 188, 226, 0.26), transparent 35%),
        linear-gradient(180deg, #dceff9 0%, #c3e1f1 45%, #9fcce3 100%);
}

[data-theme="light"] .navbar {
    border-bottom-color: rgba(47, 126, 169, 0.2);
    background: rgba(228, 245, 253, 0.88);
    box-shadow:
        0 8px 30px rgba(30, 91, 126, 0.11),
        inset 0 -1px 0 rgba(255, 255, 255, 0.56);
}

[data-theme="light"] .side-menu-panel {
    border-right-color: rgba(47, 126, 169, 0.22);
    background:
        radial-gradient(circle at 8% 0%, rgba(91, 182, 226, 0.2), transparent 32%),
        rgba(226, 244, 253, 0.98);
    box-shadow: 24px 0 60px rgba(27, 82, 115, 0.2);
}

[data-theme="light"] .logo-text,
[data-theme="light"] .footer-brand,
[data-theme="light"] .side-menu-brand {
    color: var(--day-gold);
    -webkit-text-fill-color: var(--day-gold);
}

[data-theme="light"] .logo-text {
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7),
        0 0 5px rgba(234, 210, 123, 0.58),
        0 0 15px rgba(183, 154, 59, 0.4),
        0 0 30px rgba(78, 145, 183, 0.24);
}

[data-theme="light"] .footer-brand {
    text-shadow: none;
}

[data-theme="light"] .logo-image,
[data-theme="light"] .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(62%)
        sepia(34%)
        saturate(885%)
        hue-rotate(8deg)
        brightness(91%)
        contrast(82%)
        drop-shadow(0 0 5px rgba(234, 210, 123, 0.58))
        drop-shadow(0 0 14px rgba(183, 154, 59, 0.4));
}

[data-theme="light"] .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(62%)
        sepia(34%)
        saturate(885%)
        hue-rotate(8deg)
        brightness(91%)
        contrast(82%);
}

[data-theme="light"] .search-container,
[data-theme="light"] .account-card,
[data-theme="light"] .profile-dashboard {
    border-color: rgba(47, 126, 169, 0.2);
    background:
        radial-gradient(circle at 50% 0%, rgba(104, 190, 230, 0.1), transparent 40%),
        rgba(239, 249, 255, 0.88);
    box-shadow:
        0 20px 50px rgba(29, 89, 124, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .search-input,
[data-theme="light"] .filters select,
[data-theme="light"] .account-form input,
[data-theme="light"] .profile-edit-form input[type="text"],
[data-theme="light"] .custom-list-form input,
[data-theme="light"] .custom-list-form textarea {
    color: #17344d;
    caret-color: var(--day-blue-deep);
    border-color: rgba(47, 126, 169, 0.2);
    background-color: rgba(232, 247, 254, 0.94);
}

[data-theme="light"] .search-input:hover,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .filters select:hover,
[data-theme="light"] .filters select:focus,
[data-theme="light"] .account-form input:focus {
    border-color: #4d9bc3;
    background-color: #f8fcff;
    box-shadow: 0 0 0 3px rgba(62, 145, 189, 0.13);
}

[data-theme="light"] .filters select {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--day-gold) 50%),
        linear-gradient(135deg, var(--day-gold) 50%, transparent 50%);
}

[data-theme="light"] .movie-card,
[data-theme="light"] .skeleton-card,
[data-theme="light"] .custom-list-card,
[data-theme="light"] .default-watch-list,
[data-theme="light"] .profile-stats > a,
[data-theme="light"] .profile-empty {
    border-color: rgba(47, 126, 169, 0.18);
    background: rgba(239, 249, 255, 0.88);
    box-shadow:
        0 12px 30px rgba(28, 86, 120, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .movie-card:hover,
[data-theme="light"] .movie-card:focus-visible,
[data-theme="light"] .profile-stats > a:hover {
    border-color: rgba(66, 149, 193, 0.46);
    background: #f8fcff;
    box-shadow:
        0 18px 42px rgba(28, 86, 120, 0.17),
        0 0 0 1px rgba(104, 188, 228, 0.1);
}

[data-theme="light"] .account-tabs,
[data-theme="light"] .profile-edit-form,
[data-theme="light"] .custom-list-form,
[data-theme="light"] .password-security {
    border-color: rgba(47, 126, 169, 0.18);
    background: rgba(199, 229, 245, 0.52);
}

[data-theme="light"] .side-menu-links a:hover,
[data-theme="light"] .side-menu-links .is-active,
[data-theme="light"] .side-menu-links .is-current,
[data-theme="light"] .active-filter-chips button,
[data-theme="light"] .series-count-label,
[data-theme="light"] .series-detail-label {
    color: var(--day-gold);
    border-color: rgba(47, 126, 169, 0.28);
    background: rgba(77, 158, 201, 0.13);
}

[data-theme="light"] .side-menu-links a > span,
[data-theme="light"] .movie-watchlist-menu button span {
    color: var(--day-gold);
    background: rgba(75, 157, 200, 0.14);
}

[data-theme="light"] .account-submit,
[data-theme="light"] .account-tab.is-active,
[data-theme="light"] .profile-edit-actions button:first-child,
[data-theme="light"] .load-more-btn,
[data-theme="light"] .watch-lists-heading > button,
[data-theme="light"] .custom-list-form button:first-child,
[data-theme="light"] .profile-empty a {
    color: var(--day-gold-light);
    border: 1px solid rgba(234, 210, 123, 0.46);
    background: linear-gradient(135deg, #2f7fa8, #185576);
    box-shadow:
        0 9px 24px rgba(25, 83, 115, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .account-submit:hover,
[data-theme="light"] .load-more-btn:hover,
[data-theme="light"] .watch-lists-heading > button:hover,
[data-theme="light"] .custom-list-form button:first-child:hover,
[data-theme="light"] .profile-empty a:hover {
    color: #f2dc8b;
    border-color: rgba(234, 210, 123, 0.68);
    background: linear-gradient(135deg, #3a8eb7, #1d6387);
}

[data-theme="light"] .clear-btn {
    color: var(--day-gold);
    border-color: rgba(47, 126, 169, 0.25);
    background: rgba(68, 151, 195, 0.12);
}

[data-theme="light"] .carousel-btn,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .menu-toggle {
    color: var(--day-gold);
    border-color: rgba(47, 126, 169, 0.22);
    background: rgba(237, 249, 255, 0.92);
    box-shadow: 0 8px 22px rgba(28, 86, 120, 0.12);
}

[data-theme="light"] .carousel-btn:hover,
[data-theme="light"] .menu-toggle:hover,
[data-theme="light"] .clear-btn:hover {
    color: var(--day-gold-light);
    border-color: rgba(234, 210, 123, 0.45);
    background: #256f95;
}

[data-theme="light"] .theme-toggle:hover {
    color: var(--day-gold);
    border-color: rgba(47, 126, 169, 0.22);
    background: rgba(237, 249, 255, 0.92);
    box-shadow: 0 8px 22px rgba(28, 86, 120, 0.12);
    transform: none;
}

[data-theme="light"] .section-title::after,
[data-theme="light"] .header::after {
    background: linear-gradient(90deg, rgba(58, 143, 187, 0.58), rgba(96, 183, 224, 0.16), transparent);
}

[data-theme="light"] .about-content,
[data-theme="light"] .series-about .about-content {
    color: #eefaff;
    border-color: rgba(116, 196, 233, 0.34);
    background:
        radial-gradient(circle at 16% 24%, rgba(71, 185, 221, 0.32), transparent 34%),
        radial-gradient(circle at 84% 18%, rgba(97, 116, 220, 0.24), transparent 34%),
        linear-gradient(145deg, #287ea5 0%, #275f91 54%, #263f79 100%);
    box-shadow: 0 28px 70px rgba(28, 80, 119, 0.25);
}

[data-theme="light"] .about-content .about-kicker,
[data-theme="light"] .about-content h2,
[data-theme="light"] .about-content .about-link {
    color: var(--day-gold-light);
}

[data-theme="light"] .about-content p {
    color: rgba(237, 249, 255, 0.86);
}

[data-theme="light"] .profile-hero {
    background:
        radial-gradient(circle at 13% 38%, rgba(74, 196, 226, 0.34), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(111, 125, 226, 0.28), transparent 32%),
        radial-gradient(circle at 66% 112%, rgba(46, 172, 205, 0.24), transparent 36%),
        linear-gradient(128deg, #2f91b7 0%, #326ca0 52%, #354681 100%);
}

[data-theme="light"] .profile-kicker,
[data-theme="light"] .profile-section-kicker {
    color: var(--day-gold-light);
}

[data-theme="light"] .profile-hero .profile-edit-toggle {
    color: var(--day-gold-light);
    border-color: rgba(234, 210, 123, 0.36);
    background: rgba(27, 86, 120, 0.22);
}

[data-theme="light"] .profile-page::before,
[data-theme="light"] .profile-page::after {
    border-color: rgba(66, 149, 193, 0.14);
    box-shadow:
        0 0 90px rgba(64, 157, 203, 0.1),
        inset 0 0 80px rgba(116, 202, 238, 0.06);
}

[data-theme="light"] .profile-stat-icon.is-favorite,
[data-theme="light"] .profile-stat-icon.is-watchlist,
[data-theme="light"] .profile-stat-icon.is-watched,
[data-theme="light"] .profile-stat-icon.is-rating {
    color: var(--day-gold);
    background: rgba(69, 151, 194, 0.14);
}

[data-theme="light"] .movie-modal-backdrop {
    background: rgba(24, 72, 101, 0.4);
}

[data-theme="light"] .movie-modal-dialog {
    border-color: rgba(47, 126, 169, 0.22);
    background: linear-gradient(145deg, #f7fcff, #d7edf9);
    box-shadow: 0 35px 90px rgba(24, 72, 101, 0.25);
}

[data-theme="light"] .movie-modal-facts,
[data-theme="light"] .watch-providers,
[data-theme="light"] .movie-cast-item {
    border-color: rgba(47, 126, 169, 0.18);
    background: rgba(229, 245, 253, 0.78);
}

[data-theme="light"] .movie-modal-fact-highlight {
    border-color: rgba(183, 154, 59, 0.48);
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.72), transparent 35%),
        linear-gradient(135deg, #fff8dc 0%, #f4e5ac 56%, #ead27b 100%);
    box-shadow:
        0 10px 24px rgba(128, 92, 20, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .movie-modal-fact-highlight .movie-modal-fact-label {
    color: #806b20;
}

[data-theme="light"] .movie-modal-fact-highlight .movie-modal-fact-value {
    color: #263f59;
}

[data-theme="light"] .recommend-dialog {
    --pusula-gold: var(--day-gold);
    --pusula-gold-light: var(--day-gold-light);
    --pusula-gold-soft: rgba(183, 154, 59, 0.12);
    --pusula-gold-border: rgba(183, 154, 59, 0.34);
    border-color: rgba(70, 155, 199, 0.3);
    background:
        radial-gradient(circle at 9% 3%, rgba(234, 210, 123, 0.24), transparent 27%),
        radial-gradient(circle at 92% 8%, rgba(63, 158, 204, 0.3), transparent 33%),
        radial-gradient(circle at 84% 94%, rgba(234, 210, 123, 0.14), transparent 34%),
        linear-gradient(145deg, #f4fbff 0%, #d9effa 43%, #c8e5f3 72%, #b9d9e9 100%);
    box-shadow:
        0 32px 100px rgba(22, 70, 99, 0.34),
        0 0 0 1px rgba(234, 210, 123, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

[data-theme="light"] .recommend-dialog .pusula-heading .about-kicker,
[data-theme="light"] .recommend-dialog .pusula-heading h2,
[data-theme="light"] .recommend-dialog .pusula-message strong {
    color: var(--day-gold);
}

[data-theme="light"] .recommend-dialog .pusula-mark {
    border-color: rgba(183, 154, 59, 0.42);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.76), transparent 34%),
        linear-gradient(145deg, #fff6ce, #ead27b);
    box-shadow:
        0 8px 22px rgba(164, 122, 30, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

[data-theme="light"] .recommend-dialog .pusula-mark::after {
    background: var(--day-gold);
}

[data-theme="light"] .recommend-dialog .pusula-question,
[data-theme="light"] .recommend-dialog .pusula-route-again {
    border-color: rgba(58, 123, 174, 0.24);
    background:
        radial-gradient(circle at 0% 0%, rgba(234, 210, 123, 0.1), transparent 42%),
        linear-gradient(145deg, rgba(248, 253, 255, 0.92), rgba(213, 235, 247, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 10px 24px rgba(36, 93, 131, 0.07);
}

[data-theme="light"] .recommend-dialog .pusula-chat {
    border-color: rgba(54, 119, 171, 0.25);
    background:
        radial-gradient(circle at 100% 0%, rgba(234, 210, 123, 0.14), transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(74, 170, 215, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(233, 247, 253, 0.9), rgba(203, 226, 243, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -20px 50px rgba(51, 99, 160, 0.05);
}

[data-theme="light"] .recommend-dialog .pusula-message > div {
    border-color: rgba(52, 113, 165, 0.22);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(218, 237, 248, 0.92));
    box-shadow:
        0 8px 20px rgba(35, 88, 126, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .recommend-dialog .pusula-message-user > div {
    color: #fff9e9;
    border-color: rgba(234, 210, 123, 0.34);
    background:
        radial-gradient(circle at 15% 0%, rgba(81, 190, 220, 0.34), transparent 42%),
        radial-gradient(circle at 88% 100%, rgba(234, 210, 123, 0.16), transparent 38%),
        linear-gradient(135deg, #328eb5 0%, #2d6798 54%, #1c5878 100%);
    box-shadow:
        0 10px 24px rgba(35, 76, 128, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .recommend-dialog .pusula-choice-row button {
    color: #3d5c75;
    border-color: rgba(58, 126, 178, 0.22);
    background: linear-gradient(145deg, rgba(247, 252, 255, 0.94), rgba(216, 237, 248, 0.88));
}

[data-theme="light"] .recommend-dialog .pusula-choice-row button:hover {
    color: var(--day-gold);
    border-color: rgba(183, 154, 59, 0.36);
    background:
        linear-gradient(145deg, rgba(234, 210, 123, 0.13), rgba(83, 164, 205, 0.14)),
        rgba(239, 249, 254, 0.92);
}

[data-theme="light"] .recommend-dialog .pusula-choice-row button.is-selected {
    color: #263f59;
    border-color: rgba(183, 154, 59, 0.58);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.58), transparent 38%),
        linear-gradient(135deg, #f6e49c 0%, #ead27b 52%, #d5b958 100%);
    box-shadow:
        0 8px 20px rgba(151, 111, 27, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .recommend-dialog .pusula-composer textarea {
    border-color: rgba(58, 143, 187, 0.26);
    background:
        linear-gradient(145deg, rgba(250, 253, 255, 0.96), rgba(220, 239, 249, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .recommend-dialog .pusula-composer textarea:focus {
    border-color: #4b9bc4;
    box-shadow: 0 0 0 3px rgba(61, 148, 193, 0.13);
}

[data-theme="light"] .recommend-dialog .pusula-composer button {
    color: #263f59;
    border-color: rgba(183, 154, 59, 0.62);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.62), transparent 40%),
        linear-gradient(135deg, #f7e6a0 0%, #ead27b 52%, #d3b34e 100%);
    box-shadow:
        0 10px 26px rgba(146, 105, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .recommend-dialog .recommend-close,
[data-theme="light"] .recommend-dialog .pusula-avatar,
[data-theme="light"] .recommend-dialog .pusula-route-again button {
    color: var(--day-gold);
    border-color: rgba(58, 143, 187, 0.24);
    background:
        radial-gradient(circle at 20% 0%, rgba(234, 210, 123, 0.16), transparent 48%),
        linear-gradient(145deg, rgba(242, 251, 255, 0.94), rgba(205, 230, 244, 0.9));
    box-shadow:
        0 7px 18px rgba(31, 84, 120, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .footer {
    border-top-color: rgba(47, 126, 169, 0.2);
    background: rgba(190, 222, 240, 0.86);
    box-shadow: 0 -10px 32px rgba(28, 86, 120, 0.08);
}

[data-theme="light"] .mobile-bottom-nav {
    border-color: rgba(47, 126, 169, 0.22);
    background: rgba(226, 244, 253, 0.96);
}

[data-theme="light"] ::selection {
    color: #17344d;
    background: rgba(109, 188, 225, 0.42);
}

/* ==================================================
   SON TEMA DENGELERİ
================================================== */

/* Açık film detayında arka plan sahnesini görünür tut. */
[data-theme="light"] .movie-modal-backdrop-image {
    opacity: 0.68;
    filter: saturate(1.06) contrast(1.02);
}

[data-theme="light"] .movie-modal-hero::after {
    background:
        linear-gradient(
            90deg,
            rgba(238, 243, 255, 0.88) 0%,
            rgba(238, 243, 255, 0.64) 40%,
            rgba(238, 243, 255, 0.12) 76%,
            rgba(238, 243, 255, 0.38) 100%
        ),
        linear-gradient(
            180deg,
            rgba(238, 243, 255, 0.02) 38%,
            rgba(238, 243, 255, 0.9) 100%
        );
}

/* Açık temadaki profil başlığını koyu temanın renkleriyle eşleştir. */
[data-theme="light"] .profile-hero {
    background:
        radial-gradient(circle at 13% 38%, rgba(242, 152, 171, 0.3), transparent 29%),
        radial-gradient(circle at 82% 24%, rgba(78, 203, 190, 0.22), transparent 31%),
        radial-gradient(circle at 70% 110%, rgba(230, 157, 82, 0.16), transparent 35%),
        linear-gradient(128deg, #321c3d 0%, #172c3c 55%, #15172e 100%);
    box-shadow:
        inset 0 -1px 0 rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 222, 221, 0.06);
}

[data-theme="light"] .profile-kicker {
    color: #eab6c8;
}

[data-theme="light"] .profile-section-kicker {
    color: #b15f82;
}

[data-theme="light"] .menu-toggle {
    color: var(--text-soft);
}

[data-theme="light"] .profile-hero .profile-edit-toggle {
    color: #ffffff;
    border-color: rgba(160, 224, 214, 0.28);
    background: rgba(88, 159, 153, 0.12);
}

[data-theme="light"] .profile-hero .profile-edit-toggle:hover {
    border-color: rgba(180, 236, 227, 0.48);
    background: rgba(100, 188, 178, 0.2);
}

/* Koyu temadaki renkli profil ikonlarını açık temada da aynen koru. */
[data-theme="light"] .profile-stat-icon.is-favorite {
    color: #a62f56;
    background: rgba(166, 47, 86, 0.16);
}

[data-theme="light"] .profile-stat-icon.is-watchlist {
    color: #414fae;
    background: rgba(65, 79, 174, 0.16);
}

[data-theme="light"] .profile-stat-icon.is-watched {
    color: #0f7257;
    background: rgba(15, 114, 87, 0.16);
}

[data-theme="light"] .profile-stat-icon.is-rating {
    color: #925b05;
    background: rgba(146, 91, 5, 0.17);
}

/* Footer markası koyu temada düz görünür; parıltı yalnızca üst logoda kalır. */
html:not([data-theme="light"]) .footer-brand {
    text-shadow: none;
}

html:not([data-theme="light"]) .footer-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%);
}

/* Mobil arşiv ve marka kuralları tema katmanlarından sonra uygulanır. */

/* Açık temada favori sıralaması lacivert yerine gündüz paletini kullanır. */
[data-theme="light"] .trending-rank {
    color: #60450e;
    border-color: rgba(138, 114, 35, 0.48);
    background: rgba(255, 250, 232, 0.9);
    box-shadow:
        0 6px 18px rgba(99, 73, 19, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    text-shadow: none;
}

/* Pusula yazma alanı, açıklama metniyle aynı sakin ölçekte kalır. */
.recommend-dialog .pusula-composer {
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
}

.recommend-dialog .pusula-composer textarea {
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 12px;
    resize: none;
    border-width: 1px;
    border-radius: 11px;
    box-shadow: none;
    line-height: 42px;
    vertical-align: middle;
}

.recommend-dialog .pusula-composer textarea::placeholder {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 42px;
    opacity: 0.88;
}

.recommend-dialog .pusula-composer button {
    min-width: 88px;
    height: 44px;
    min-height: 44px;
    padding: 8px 11px;
    border-width: 1px;
    border-radius: 11px;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1;
}

.recommend-dialog .pusula-composer button span {
    display: inline-flex;
    align-items: center;
    height: 100%;
    line-height: 1;
}
.footer-data-sources {
    right: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.side-menu-brand {
    text-shadow: none;
}

html:not([data-theme="light"]) .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(86%)
        sepia(16%)
        saturate(1012%)
        hue-rotate(191deg)
        brightness(103%);
}

[data-theme="light"] .side-menu-brand img {
    filter:
        brightness(0)
        saturate(100%)
        invert(62%)
        sepia(34%)
        saturate(885%)
        hue-rotate(8deg)
        brightness(91%)
        contrast(82%);
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 580px) {
    html {
        font-size: 13.5px;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .header {
        padding-top: 29px;
        padding-right: 14px;
        padding-bottom: 22px;
        padding-left: 14px;
    }

    .main-content {
        padding-top: 24px;
        padding-right: 12px;
        padding-bottom: 48px;
        padding-left: 12px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .avatar-theme-options {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
        width: calc(100% + 10px);
        margin-right: -10px;
        overflow: visible;
    }

    .avatar-theme-row {
        display: grid;
        grid-template-columns: repeat(9, 54px);
        gap: 7px;
        width: 100%;
        padding: 3px 10px 7px 2px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .avatar-theme-row label {
        width: 54px;
        scroll-snap-align: start;
    }

    .trending-rank {
        top: 10px;
        left: 10px;
        min-width: 38px;
        min-height: 30px;
        padding: 3px 7px;
        border-width: 1px;
        border-radius: 8px;
        font-size: 0.82rem;
    }

    .trending-card .card-quick-actions,
    .movie-card .card-quick-actions {
        top: 10px;
        right: 10px;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .card-quick-action {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        padding: 0;
        border-radius: 8px;
        font-size: 0.82rem;
    }

    .results-toolbar,
    .active-filter-chips,
    .load-more-btn,
    .about-content,
    .footer-inner,
    .side-menu-panel {
        font-size: 0.92rem;
    }

    #discoverSection .movies-grid,
    #seriesArchive .movies-grid {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        width: calc(100% + 14px);
        margin-right: -14px;
        padding: 3px 0 16px 1px;
        overflow: visible;
    }

    #discoverSection .archive-mobile-row,
    #seriesArchive .archive-mobile-row {
        display: grid;
        grid-template-columns: repeat(5, min(42vw, 165px));
        gap: 12px;
        width: 100%;
        padding-right: 14px;
        padding-bottom: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-left: 1px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    #discoverSection .movie-card,
    #seriesArchive .movie-card,
    #discoverSection .skeleton-card,
    #seriesArchive .skeleton-card {
        width: 100%;
        min-height: 0;
        scroll-snap-align: start;
    }

    #discoverSection .movie-poster,
    #seriesArchive .movie-poster {
        aspect-ratio: 2 / 3;
        height: auto;
    }

    #discoverSection .movie-info,
    #seriesArchive .movie-info {
        padding: 9px;
    }

    #discoverSection .movie-title,
    #seriesArchive .movie-title {
        margin-bottom: 6px;
        font-size: 0.79rem;
    }

    #discoverSection .movie-genres,
    #seriesArchive .movie-genres {
        margin-bottom: 7px;
        font-size: 0.68rem;
    }

    #discoverSection .movie-description,
    #seriesArchive .movie-description {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.68rem;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #discoverSection .movie-details,
    #seriesArchive .movie-details {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        margin-bottom: 7px;
        font-size: 0.68rem;
    }

    .header .logo-text {
        margin-bottom: -4px;
        letter-spacing: -1.5px;
    }

    .header .brand {
        margin-bottom: 8px;
        margin-left: -25px;
    }

    .header .logo-image {
        height: 45px;
    }

    .header .tagline {
        margin-bottom: 24px;
        padding: 0;
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .recommend-modal {
        top: var(--visual-viewport-top, 0);
        right: 0;
        bottom: auto;
        left: 0;
        align-items: center;
        height: var(--visual-viewport-height, 100dvh);
        min-height: 0;
        padding: 12px;
        overflow: hidden;
        overscroll-behavior: none;
    }

    .recommend-backdrop {
        touch-action: none;
    }

    .recommend-dialog {
        width: calc(100% - 8px);
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        padding: 18px 14px 16px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        scroll-padding-bottom: 76px;
        border-radius: 18px;
        -webkit-overflow-scrolling: touch;
    }

    .recommend-dialog .recommend-close {
        top: 11px;
        right: 11px;
        width: 34px;
        height: 34px;
    }

    .recommend-dialog .pusula-heading {
        padding-right: 34px;
    }

    .recommend-dialog .pusula-title-row {
        margin-top: 9px;
        flex-wrap: wrap;
    }

    .recommend-dialog .pusula-heading h2 {
        font-size: 1.35rem;
    }

    .recommend-dialog .pusula-ai-badge {
        padding: 4px 8px;
        font-size: 0.6rem;
    }

    .recommend-dialog .pusula-heading p {
        margin-top: 10px;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .recommend-dialog .pusula-questions {
        gap: 8px;
        margin-top: 14px;
    }

    .recommend-dialog .pusula-question {
        padding: 9px;
    }

    .recommend-dialog .pusula-choice-row button {
        min-height: 36px;
        padding: 6px 8px;
        font-size: 0.7rem;
    }

    .recommend-dialog .pusula-chat {
        min-height: 110px;
        max-height: 27dvh;
        margin-top: 10px;
        padding: 10px;
    }

    .recommend-dialog .pusula-composer textarea {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        padding: 0 10px;
        font-size: 16px;
        line-height: 42px;
    }

    .recommend-dialog .pusula-composer textarea::placeholder {
        font-size: 0.72rem;
        line-height: 42px;
    }

    .recommend-dialog .pusula-composer button {
        min-width: 78px;
        height: 44px;
        min-height: 44px;
        padding: 7px 9px;
        font-size: 0.72rem;
    }

    .recommend-modal:has(.pusula-composer textarea:focus) {
        align-items: flex-start;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .recommend-dialog:has(.pusula-composer textarea:focus) {
        height: calc(var(--visual-viewport-height, 100dvh) - 16px);
        max-height: none;
        scroll-padding-top: 8px;
        scroll-padding-bottom: 64px;
    }

    .search-input,
    .account-form input,
    .profile-edit-form input,
    .custom-list-form input,
    .custom-list-form textarea {
        font-size: 16px;
    }

    .movie-modal {
        align-items: center;
        padding: 12px;
    }

    .movie-modal-dialog {
        width: calc(100% - 8px);
        max-height: 86vh;
        max-height: 86dvh;
        border: 1px solid var(--border-strong);
        border-radius: 18px;
    }

    .movie-modal-close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        transform: none;
    }

    .movie-modal-close::before,
    .movie-modal-close::after {
        width: 16px;
    }

    .movie-modal-hero-content {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 52px 14px 18px;
    }

    .movie-modal-poster {
        border-radius: 10px;
    }

    .movie-modal-title {
        margin-right: 20px;
        margin-bottom: 7px;
        font-size: 1.3rem;
        letter-spacing: -0.35px;
    }

    .movie-modal-meta span {
        padding: 4px 6px;
        font-size: 0.64rem;
    }

    .movie-modal-content {
        gap: 18px;
        padding: 6px 14px 22px;
    }

    .movie-modal-section + .movie-modal-section {
        margin-top: 18px;
    }

    .movie-modal-section-title {
        margin-bottom: 9px;
        font-size: 1rem;
    }

    .movie-modal-overview {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .movie-modal-facts,
    .watch-providers {
        gap: 9px;
        padding: 12px;
    }
}

@media (max-width: 580px) and (max-height: 600px) {
    .recommend-modal {
        align-items: flex-start;
        padding: 8px 12px;
    }

    .recommend-dialog {
        height: calc(var(--visual-viewport-height, 100dvh) - 16px);
        max-height: none;
        padding-top: 12px;
        padding-bottom: 10px;
        scroll-padding-top: 8px;
        scroll-padding-bottom: 64px;
    }

    .recommend-dialog .pusula-heading p,
    .recommend-dialog .pusula-heading .about-kicker {
        display: none;
    }

    .recommend-dialog .pusula-title-row {
        margin-top: 0;
    }

    .recommend-dialog .pusula-questions {
        margin-top: 9px;
    }

    .recommend-dialog .pusula-chat {
        min-height: 80px;
        max-height: 22dvh;
    }
}

/* ==================================================
   CİHAZ BAĞIMSIZ EKRAN UYUMLULUĞU
   Çentik, yuvarlatılmış köşe, dokunmatik giriş ve kısa yatay ekranlar
================================================== */

/* viewport-fit=cover açıkken içeriği cihazın güvenli alanında tut. */
.navbar {
    padding-top: env(safe-area-inset-top, 0px);
}

.navbar-inner {
    padding-right: calc(32px + env(safe-area-inset-right, 0px));
    padding-left: calc(32px + env(safe-area-inset-left, 0px));
}

.side-menu-panel {
    padding-top: calc(28px + env(safe-area-inset-top, 0px));
    padding-right: calc(24px + env(safe-area-inset-right, 0px));
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(24px + env(safe-area-inset-left, 0px));
}

.movie-modal,
.recommend-modal {
    padding-top: calc(24px + env(safe-area-inset-top, 0px));
    padding-right: calc(24px + env(safe-area-inset-right, 0px));
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    padding-left: calc(24px + env(safe-area-inset-left, 0px));
}

/* Parmağın fare imlecinden daha az hassas olduğu cihazlarda temel kontroller. */
@media (any-pointer: coarse) {
    .menu-toggle,
    .theme-toggle,
    .side-menu-close,
    .movie-modal-close,
    .recommend-close,
    .card-quick-action,
    .password-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .navbar-inner {
        padding-right: calc(14px + env(safe-area-inset-right, 0px));
        padding-left: calc(14px + env(safe-area-inset-left, 0px));
    }

    .movie-modal,
    .recommend-modal {
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        padding-right: calc(12px + env(safe-area-inset-right, 0px));
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding-left: calc(12px + env(safe-area-inset-left, 0px));
    }
}

/* Telefon yataydayken asıl sınır genişlik değil yüksekliktir. */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar-inner,
    .navbar-actions {
        min-height: 50px;
    }

    .nav-optional-word {
        display: none;
    }

    .movie-modal,
    .recommend-modal {
        align-items: flex-start;
        overflow: hidden;
    }

    .movie-modal-dialog,
    .recommend-dialog {
        max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* Dar dokunmatik ekranlarda sıralama rozeti ve üç hızlı işlem çakışmasın. */
@media (max-width: 580px) and (any-pointer: coarse) {
    .movie-card .card-quick-action,
    .trending-card .card-quick-action {
        min-width: 32px;
        min-height: 32px;
        width: 32px;
        height: 32px;
    }

    .trending-card .card-quick-actions {
        flex-direction: column;
    }

    [data-quick-action="watched"] > span,
    [data-series-action="watched"] > span {
        width: 8px;
        height: 14px;
        overflow: hidden;
        color: transparent;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translateY(-2px) rotate(45deg);
    }
}

/* Samsung Internet'te yarı saydam profil katmanlarının parçalı çizilmesini önle. */
@media (max-width: 768px) and (any-pointer: coarse) {
    body.profile-body {
        min-height: 100vh;
        min-height: 100dvh;
        background-color: var(--background);
        background-attachment: scroll;
        background-repeat: no-repeat;
    }

    .profile-dashboard {
        background-color: #11162b;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    [data-theme="light"] .profile-dashboard {
        background-color: #eff9ff;
    }
}

/* ==================================================
   AÇIK TEMA · GÖKYÜZÜ PALETİ (NİHAİ)
   Altın yalnızca marka ve Pusula vurgularında korunur.
================================================== */

[data-theme="light"] {
    --day-gold: #b79a3b;
    --day-gold-light: #ead27b;
    --day-blue-deep: #176b96;
    --day-blue: #3194c7;
    --day-blue-soft: #e6f6ff;
    --background: #e6f6ff;
    --background-dark: #cfeeff;
    --background-light: #f7fcff;
    --card-background: #ffffff;
    --card-background-hover: #ffffff;
    --primary: var(--day-gold);
    --primary-light: #8a7223;
    --primary-soft: rgba(49, 148, 199, 0.12);
    --silver: #102a43;
    --text: #102a43;
    --text-soft: #294861;
    --text-muted: #526f84;
    --border: rgba(34, 112, 154, 0.18);
    --border-strong: rgba(34, 112, 154, 0.34);
    --shadow-small: 0 10px 28px rgba(28, 92, 126, 0.1);
    --shadow-medium: 0 20px 48px rgba(28, 92, 126, 0.15);
}

[data-theme="light"] body,
[data-theme="light"] body.profile-body {
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.42), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.42), transparent 30%),
        linear-gradient(180deg, #e3f5ff 0%, #d8f1ff 52%, #ccecff 100%);
}

[data-theme="light"] .navbar,
[data-theme="light"] .side-menu-panel,
[data-theme="light"] .footer,
[data-theme="light"] .mobile-bottom-nav {
    border-color: rgba(34, 112, 154, 0.18);
    background: rgba(245, 251, 255, 0.92);
}

[data-theme="light"] .search-container,
[data-theme="light"] .account-card,
[data-theme="light"] .profile-dashboard,
[data-theme="light"] .movie-card,
[data-theme="light"] .skeleton-card,
[data-theme="light"] .custom-list-card,
[data-theme="light"] .default-watch-list,
[data-theme="light"] .profile-stats > a,
[data-theme="light"] .profile-empty,
[data-theme="light"] .movie-modal-facts,
[data-theme="light"] .watch-providers,
[data-theme="light"] .movie-cast-item {
    border-color: var(--border);
    background: #ffffff;
    box-shadow:
        0 12px 30px rgba(28, 92, 126, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

[data-theme="light"] .search-input,
[data-theme="light"] .filters select,
[data-theme="light"] .account-form input,
[data-theme="light"] .profile-edit-form input[type="text"],
[data-theme="light"] .custom-list-form input,
[data-theme="light"] .custom-list-form textarea {
    color: var(--text);
    caret-color: var(--day-blue-deep);
    border-color: var(--border);
    background-color: #ffffff;
}

[data-theme="light"] .search-input::placeholder,
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="light"] .search-input:hover,
[data-theme="light"] .search-input:focus,
[data-theme="light"] .filters select:hover,
[data-theme="light"] .filters select:focus,
[data-theme="light"] .account-form input:focus,
[data-theme="light"] .profile-edit-form input[type="text"]:focus,
[data-theme="light"] .custom-list-form input:focus,
[data-theme="light"] .custom-list-form textarea:focus {
    border-color: #3194c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(49, 148, 199, 0.14);
}

[data-theme="light"] .movie-card:hover,
[data-theme="light"] .movie-card:focus-visible,
[data-theme="light"] .profile-stats > a:hover {
    border-color: rgba(49, 148, 199, 0.48);
    background: #ffffff;
    box-shadow:
        0 18px 42px rgba(28, 92, 126, 0.16),
        0 0 0 1px rgba(49, 148, 199, 0.08);
}

[data-theme="light"] .account-tabs,
[data-theme="light"] .profile-edit-form,
[data-theme="light"] .custom-list-form,
[data-theme="light"] .password-security {
    border-color: var(--border);
    background: #f7fcff;
}

[data-theme="light"] .movie-modal-dialog {
    color: var(--text);
    border-color: var(--border-strong);
    background: #ffffff;
}

[data-theme="light"] ::selection {
    color: #102a43;
    background: rgba(94, 190, 232, 0.42);
}
