/* flix.dad-look.com - Dadflix, a streaming service with one title. Parody, own colours and logo. */
body { margin: 0; background: #141414; color: #ffffff; font-family: Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.df-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
body.df-locked { overflow: hidden; }

/* Logo: lowercase, rounded, coral */
.df-logo { font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif; font-weight: 900; font-size: 32px; letter-spacing: -0.03em; color: #ec6e6a; text-decoration: none; }
.df-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: #ec6e6a; color: #ffffff; font-weight: 900; font-size: 15px; line-height: 1; }

/* Who's watching? Only shown with JavaScript, so the page works without it */
.df-gate { display: none; }
.js .df-gate { position: fixed; inset: 0; z-index: 50; background: #141414; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 24px; text-align: center; }
.js .df-gate[hidden], .df-chosen .df-gate { display: none; }
.df-gate .df-logo { position: absolute; top: 22px; left: 32px; }
.df-gate h1 { margin: 0; font-size: clamp(32px, 6vw, 56px); font-weight: 500; }
.df-profiles { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.df-profile { display: flex; flex-direction: column; align-items: center; gap: 12px; border: 0; background: none; color: #9a9a9a; font: inherit; font-size: 18px; cursor: pointer; }
.df-profile:hover, .df-profile:focus-visible { color: #ffffff; }
.df-profile .df-avatar { width: clamp(84px, 14vw, 130px); height: clamp(84px, 14vw, 130px); font-size: clamp(36px, 6vw, 56px); border-radius: 10px; border: 3px solid transparent; transition: border-color 0.2s ease, transform 0.2s ease; }
.df-profile:hover .df-avatar, .df-profile:focus-visible .df-avatar { border-color: #ffffff; }
.df-profile.is-locked .df-avatar { filter: grayscale(1); }
.df-gate-note { margin: 0; min-height: 1.4em; font-size: 20px; font-weight: 700; color: #ec6e6a; }
.df-avatar { display: inline-flex; align-items: center; justify-content: center; color: #ffffff; font-weight: 900; }
.df-avatar-small { width: 32px; height: 32px; border-radius: 6px; font-size: 16px; background: #ec6e6a; }

/* Header */
.df-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 36px; padding: 14px 4%; background: linear-gradient(#141414, rgba(20, 20, 20, 0.92) 70%, rgba(20, 20, 20, 0)); }
.df-header nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 20px; }
.df-header nav a { font-size: 14px; color: #e5e5e5; text-decoration: none; }
.df-header nav a:hover, .df-header nav a[aria-current] { color: #ffffff; font-weight: 700; }
.df-header-profile { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }

/* Hero */
.df-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: 0 4% 60px; overflow: hidden; }
.df-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.df-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, 0.95) 0%, rgba(20, 20, 20, 0.6) 45%, rgba(20, 20, 20, 0) 75%), linear-gradient(0deg, #141414 0%, rgba(20, 20, 20, 0) 35%); }
.df-hero-text { position: relative; z-index: 1; max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.df-original { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #d6d6d6; }
.df-hero h2 { margin: 0; font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -0.02em; color: #e5b53a; text-transform: uppercase; }
.df-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: #d6d6d6; }
.df-match { color: #46d369; font-weight: 800; }
.df-rating, .df-hd { border: 1px solid #a3a3a3; padding: 0 6px; font-size: 12px; border-radius: 3px; }
.df-top-line { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.df-top10 { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #ec6e6a; color: #ffffff; font-size: 9px; font-weight: 900; line-height: 1; text-align: center; border-radius: 3px; }
.df-synopsis { margin: 0; font-size: 18px; line-height: 1.45; color: #e5e5e5; }
.df-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.df-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 26px; border: 0; border-radius: 6px; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; text-decoration: none; }
.df-button svg { width: 26px; height: 26px; }
.df-button-play { background: #ffffff; color: #141414; }
.df-button-play:hover { background: #d9d9d9; }
.df-button-info { background: rgba(109, 109, 110, 0.7); color: #ffffff; }
.df-button-info:hover { background: rgba(109, 109, 110, 0.5); }

/* Rows */
.df-row { padding: 0 0 34px; position: relative; z-index: 1; }
.df-row, .df-plans { scroll-margin-top: 80px; }
.df-row h2 { margin: 0 4% 10px; font-size: 21px; font-weight: 800; color: #e5e5e5; }
.df-row-wrap { position: relative; }
.df-track { margin: 0; padding: 6px 4%; list-style: none; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 4%; scrollbar-width: none; }
.df-track::-webkit-scrollbar { display: none; }
.df-item { flex: 0 0 auto; display: flex; align-items: flex-end; scroll-snap-align: start; }
.df-poster { position: relative; display: block; width: 168px; aspect-ratio: 2 / 3; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #000000; cursor: pointer; color: #ffffff; text-align: left; font: inherit; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.df-poster:hover, .df-poster:focus-visible { transform: scale(1.06); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6); z-index: 2; }
.df-poster-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.df-poster .df-badge { position: absolute; top: 8px; left: 8px; width: 18px; height: 18px; font-size: 12px; border-radius: 4px; }
.df-poster-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 10px 12px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)); font-size: 16px; font-weight: 900; line-height: 1.1; text-transform: uppercase; color: #e5b53a; }
.df-progress { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; background: #5a5a5a; }
.df-progress span { display: block; width: 0; height: 100%; background: #ec6e6a; }
.df-rank { font-size: 170px; font-weight: 900; line-height: 0.8; letter-spacing: -0.08em; color: #141414; -webkit-text-stroke: 4px #6b6b6b; margin-right: -18px; }
.df-row-top .df-poster { width: 140px; }
.df-scroll { position: absolute; top: 0; bottom: 0; z-index: 3; width: 4%; min-width: 34px; border: 0; background: rgba(20, 20, 20, 0.6); color: #ffffff; font-size: 44px; cursor: pointer; }
.df-scroll:hover { background: rgba(20, 20, 20, 0.85); }
.df-scroll-left { left: 0; }
.df-scroll-right { right: 0; }

/* Share the Top 10 */
.df-share { margin: 10px 4% 40px; padding: 28px; border-radius: 12px; background: #1f1f1f; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.df-share h2 { margin: 0 0 6px; font-size: 24px; }
.df-share p { margin: 0; color: #b3b3b3; }
.df-top10-big { width: 64px; height: 64px; font-size: 18px; border-radius: 6px; }
.df-button-share { background: #ec6e6a; color: #ffffff; }
.df-button-share:hover { background: #f38884; }
.df-status { grid-column: 1 / -1; min-height: 1.2em; font-weight: 700; color: #46d369 !important; }
.df-status:empty { display: none; }

/* Plans */
.df-plans { margin: 0 4% 50px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.df-plans h2 { margin: 0; font-size: 30px; text-align: center; }
.df-plans > ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 960px; }
.df-plans > ul > li { position: relative; padding: 22px; border: 1px solid #3a3a3a; border-radius: 12px; background: #1b1b1b; }
.df-plans li.is-popular { border-color: #ec6e6a; }
.df-popular { position: absolute; top: -12px; left: 22px; margin: 0; padding: 2px 10px; border-radius: 999px; background: #ec6e6a; font-size: 12px; font-weight: 800; }
.df-plans h3 { margin: 0 0 6px; font-size: 20px; }
.df-price { margin: 0 0 12px; font-size: 26px; font-weight: 900; color: #e5b53a; }
.df-plans li ul { margin: 0; padding-left: 18px; color: #d0d0d0; line-height: 1.7; font-size: 15px; }

/* Modals */
.df-modal { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.75); display: flex; align-items: center; justify-content: center; padding: 20px; }
.df-modal-box { position: relative; width: 100%; max-width: 780px; max-height: 90vh; overflow: auto; border-radius: 10px; background: #181818; display: grid; grid-template-columns: 240px 1fr; }
.df-modal-art { position: relative; }
.df-modal-art img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.df-modal-art .df-badge { position: absolute; top: 12px; left: 12px; }
.df-modal-text { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.df-modal-text h2 { margin: 0; padding-right: 30px; font-size: 30px; line-height: 1.1; color: #e5b53a; text-transform: uppercase; }
.df-modal-text p { margin: 0; line-height: 1.5; color: #d6d6d6; }
.df-cast { font-size: 14px; }
.df-cast span { color: #8c8c8c; }
.df-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #181818; color: #ffffff; font-size: 28px; line-height: 1; cursor: pointer; }
.df-still { display: flex; flex-direction: column; gap: 16px; max-width: 520px; padding: 34px; text-align: center; align-items: center; }
.df-still h2 { margin: 0; font-size: 30px; }
.df-still p { margin: 0; color: #d6d6d6; }

/* Trailer */
.df-player { position: fixed; inset: 0; z-index: 45; background: #000000; overflow: hidden; }
.df-player-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.df-player.is-playing .df-player-img { animation: df-pan 34s linear both; }
.df-subtitle { position: absolute; left: 6%; right: 6%; bottom: 16%; margin: 0; text-align: center; font-size: clamp(22px, 4vw, 44px); font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.df-subtitle.is-title { color: #e5b53a; font-size: clamp(30px, 6vw, 72px); font-weight: 900; }
.df-player-close { background: rgba(0, 0, 0, 0.6); }
.df-skip { position: absolute; right: 4%; bottom: 8%; padding: 12px 24px; border: 2px solid #ffffff; border-radius: 4px; background: rgba(0, 0, 0, 0.5); font-size: 18px; font-weight: 800; text-decoration: none; }
.df-skip:hover { background: #ffffff; color: #141414; }
.df-player-bar { position: absolute; left: 4%; right: 4%; bottom: 4%; height: 4px; background: rgba(255, 255, 255, 0.3); }
.df-player-bar span { display: block; width: 0; height: 100%; background: #ec6e6a; }
.df-player-end { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 20px; text-align: center; }
.df-player-end p { margin: 0; font-size: clamp(26px, 4vw, 42px); font-weight: 900; }

/* Bottom */
.df-bottom { max-width: 1100px; margin: 0 auto; padding: 0 24px 48px; display: flex; flex-direction: column; gap: 28px; }
.df-cta { background: #ec6e6a; border-radius: 24px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.df-cta h2 { margin: 0; font-size: 32px; font-weight: 900; }
.df-cta p { margin: 0; font-size: 17px; color: #fff3f2; }
.df-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #141414; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.df-cta-button:hover { background: #000000; }
.df-cta-arrow { display: inline-block; }
.df-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8c8c8c; border-top: 1px solid #2a2a2a; padding-top: 14px; }

@media (max-width: 800px) {
	.df-header { gap: 16px; padding: 12px 16px; }
	.df-header nav { display: none; }
	.df-logo { font-size: 26px; }
	.df-hero { min-height: 70vh; padding: 0 16px 36px; }
	.df-hero-img { object-position: 72% 50%; }
	.df-hero::after { background: linear-gradient(0deg, #141414 0%, rgba(20, 20, 20, 0.85) 45%, rgba(20, 20, 20, 0.1) 80%); }
	.df-synopsis { font-size: 16px; }
	.df-row h2 { margin: 0 16px 8px; font-size: 18px; }
	.df-track { padding: 6px 16px; scroll-padding: 0 16px; }
	.df-poster { width: 120px; }
	.df-row-top .df-poster { width: 104px; }
	.df-poster-title { font-size: 13px; padding: 30px 8px 10px; }
	.df-rank { font-size: 120px; -webkit-text-stroke-width: 3px; margin-right: -12px; }
	.df-scroll { display: none; }
	.df-share { margin: 10px 16px 32px; grid-template-columns: 1fr; padding: 22px; }
	.df-plans { margin: 0 16px 40px; }
	.df-plans > ul { grid-template-columns: 1fr; }
	.df-plans h2 { font-size: 24px; }
	.df-modal-box { grid-template-columns: 1fr; }
	.df-modal-art img { min-height: 0; height: 200px; }
	.df-modal-text { padding: 20px; }
	.df-modal-text h2 { font-size: 24px; }
	.df-gate .df-logo { left: 16px; }
	.df-bottom { padding: 0 16px 40px; }
	.df-cta h2 { font-size: 25px; }
	.df-cta-button { font-size: 18px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.js .df-gate h1, .js .df-profiles li { animation: df-rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .df-profiles li:nth-child(2) { animation-delay: 0.07s; }
	.js .df-profiles li:nth-child(3) { animation-delay: 0.14s; }
	.js .df-profiles li:nth-child(4) { animation-delay: 0.21s; }
	.df-profile.is-shaking .df-avatar { animation: df-shake 0.45s ease both; }
	.df-hero-img { animation: df-zoom 20s ease-out both; }
	.js .df-hero-text > * { animation: df-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
	.js .df-hero-text > *:nth-child(2) { animation-delay: 0.08s; }
	.js .df-hero-text > *:nth-child(3) { animation-delay: 0.16s; }
	.js .df-hero-text > *:nth-child(4) { animation-delay: 0.24s; }
	.js .df-hero-text > *:nth-child(5) { animation-delay: 0.32s; }
	.js .df-hero-text > *:nth-child(6) { animation-delay: 0.4s; }
	.js .reveal { opacity: 0; transform: translateX(30px); transition: opacity 0.45s ease, transform 0.45s ease; transition-delay: calc(var(--d, 0) * 50ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.df-modal:not([hidden]) .df-modal-box { animation: df-pop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1.2) both; }
	.df-subtitle.is-new { animation: df-fade 0.6s ease both; }
	.df-top10 { animation: df-pulse 2.4s ease-in-out infinite; }
	.df-cta-button { animation: df-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.df-cta-button:hover { transform: scale(1.02); }
	.df-cta-arrow { animation: df-nudge 1.1s ease-in-out infinite; }
}

@keyframes df-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes df-zoom { from { transform: scale(1.12); } to { transform: none; } }
@keyframes df-pan { from { transform: scale(1.05) translateX(2%); } to { transform: scale(1.35) translateX(-4%); } }
@keyframes df-pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes df-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes df-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
@keyframes df-pulse { 0%, 100% { transform: none; } 50% { transform: scale(1.08); } }
@keyframes df-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(20, 20, 20, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(20, 20, 20, 0); } }
@keyframes df-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
