:root { --bc1: rgb(250, 250, 250); /* Soft white background */ --bc2: rgb(230, 230, 230); /* Light gray for borders */ --c1: rgb(10, 10, 10); /* Dark text */ --c2: rgb(70, 70, 70); /* Softer gray for secondary text */ --c3: rgb(120, 120, 120); /* Medium gray for subtle elements */ --tc1: rgb(0, 120, 255); /* Vibrant blue for accents */ --border-button: rgb(200, 200, 200); /* Border for share button in light mode */ } * { box-sizing: border-box; margin: 0; padding: 0; line-height: 1; font-size: 0.9rem; font-family: 'Outfit', sans-serif; background: transparent; color: var(--c1); outline: none; border: none; transition: all 250ms ease-in-out; } html { background-color: var(--bc1); background-image: radial-gradient(rgba(200, 200, 200, 0.1) 2px, transparent 2px); background-size: 1.2rem 1.2rem; width: 100%; height: 100%; font-size: 3.5vw; } body { width: 100%; min-height: 100vh; display: grid; grid-template: auto 1fr auto / 1fr; background: var(--bc1); padding-top: 3.2rem; /* Space for fixed header */ padding-bottom: 2.4rem; /* Space for fixed footer */ } header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--bc1); padding: 0.4rem 1.4rem; display: grid; grid-template: auto / 1fr auto auto; align-items: center; gap: 0.6rem; border-bottom: solid 2px var(--bc2); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); border-radius: 0 !important; /* Ensure no rounded corners */ } header > * { padding: 0 0.4rem; } header > img { height: 2rem; } header > button { background: transparent; display: flex; flex-direction: row; justify-content: center; align-items: center; font-size: 1.5rem; color: var(--c2); } header > button:last-child { font-size: 2rem; } header > button:hover { color: var(--tc1); } header .search-container { position: relative; display: flex; align-items: center; } header .search-container form { background: var(--bc1); border-radius: 2rem; box-shadow: 0 0 1.4rem rgba(0, 120, 255, 0.3); display: grid; grid-template: auto / 1fr auto; width: 200px; position: absolute; top: 100%; right: 0; margin-top: 0.4rem; z-index: 1000; } header .search-container form > input { padding: 1rem 1.4rem; font-size: 0.8rem; color: var(--c1); border: 1px solid var(--bc2); border-radius: 2rem 0 0 2rem; min-width: 0; } header .search-container form > input::placeholder { color: var(--c3); } header .search-container form > button { display: flex; flex-direction: row; justify-content: center; align-items: center; font-size: 1.4rem; color: var(--c2); border-radius: 0 2rem 2rem 0; } header .search-container form > button:hover { color: var(--tc1); } footer { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; padding: 0.6rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.6rem; background: var(--bc1); border-top: solid 2px var(--bc2); box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05); border-radius: 0; /* Ensure no rounded corners */ } footer > p { font-size: 0.6rem; color: var(--c3); } main { width: 100%; height: 100%; overflow: hidden; background: var(--bc1); } main > section:not(.active) { display: none; } main > section { padding: 1rem; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 1rem; overflow: auto; } main > section.scrolled > form { opacity: 0; pointer-events: none; transition: opacity 250ms ease-in-out; } main > section > form { background: var(--bc1); border-radius: 1.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: grid; grid-template: auto / 1fr auto; width: 200px; position: absolute; top: 4rem; right: 1rem; margin-bottom: 0; } main > section > form > input { padding: 0.6rem 1rem; font-size: 0.8rem; color: var(--c1); border: 1px solid var(--bc2); border-radius: 1.5rem 0 0 1.5rem; min-width: 0; } main > section > form > input::placeholder { color: var(--c3); } main > section > form > button { display: flex; flex-direction: row; justify-content: center; align-items: center; font-size: 1.2rem; color: var(--c2); border-radius: 0 1.5rem 1.5rem 0; } main > section > form > button:hover { color: var(--tc1); } main > section > h2 { font-size: 1rem; display: flex; flex-direction: row; align-items: center; gap: 0.4rem; font-style: italic; color: var(--c1); } main > section > h2 > span:first-child { font-size: 1.4rem; } main > section > button { background: var(--tc1); padding: 1rem; border-radius: 2rem; font-size: 1.2rem; color: var(--bc1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0.4rem; } main > section > button:hover { background: var(--c1); box-shadow: 0 6px 16px rgba(0, 120, 255, 0.4); } main > section > .list { width: 100%; columns: 2; gap: 0.6rem; } main > section > .list > div { width: 100%; display: flex; flex-direction: column; gap: 0.4rem; break-inside: avoid; margin-bottom: 1rem; } main > section > .list > div > img { width: 150px; height: 200px; object-fit: cover; border-radius: 0.4rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } main > section > .list > div > p { line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--c2); } @media (min-width: 768px) { main > section > .list { columns: auto; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-start; } main > section > .list > div { flex: 0 0 150px; max-width: 150px; } main > section > .list > div > img { width: 150px; height: 200px; } } main > section > #details { background: var(--bc1); padding: 1rem; margin: -0.6rem; border: 2px solid var(--bc2); border-radius: 0.6rem; display: flex; flex-direction: column; justify-content: start; align-items: center; gap: 0.6rem; margin-top: 6rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } main > section > #details.play { margin-top: 0; } main > section > #details.play > img { display: none; } main > section > #details.play > iframe { display: block; } main > section > #details > img { width: 150px; height: 200px; object-fit: cover; border-radius: 0.4rem; margin-top: -7rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } main > section > #details > h1 { font-size: 1.4rem; text-align: center; color: var(--c1); } main > section > #details > iframe { width: 100%; height: auto; display: none; border: 2px solid var(--bc2); border-radius: 0.2rem; } main > section > #details > sub { color: var(--c2); font-size: 0.8rem; line-height: 1.2; text-align: justify; } main > section > #details > ul { width: 100%; display: flex; flex-direction: column; gap: 0.2rem; } main > section > #details > ul > li { color: var(--c2); font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; display: grid; grid-template: auto / 20% 10% 1fr; } main > section > #details > ul > li > span { line-height: 1.2; } main > section > #details > hr { width: 100%; border-top: 2px solid var(--bc2); } main > section > #details > h2 { width: 100%; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; text-align: left; gap: 0.4rem; color: var(--c1); } main > section > #details > h2 > span:first-child { font-size: 1.6rem; } main > section > #details > h2 > span:last-child { font-style: italic; } main > section > #details > .list { background: var(--bc2); width: 100%; border: 2px solid var(--bc2); border-radius: 0.4rem; display: flex; flex-direction: column; gap: 2px; overflow: hidden; } main > section > #details > .list > button { background: var(--bc1); color: var(--c2); padding: 0.8rem 1rem; text-align: left; font-size: 1rem; line-height: 1.4; } main > section > #details > .list > button:hover, main > section > #details > .list > button.active { background: var(--tc1); color: var(--bc1); } .share-button { background: var(--tc1); color: var(--bc1); padding: 0.5rem 0.8rem; border: 2px solid var(--border-button); border-radius: 0.4rem; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0.4rem; font-size: 0.8rem; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } .share-button:hover { background: var(--c1); border-color: var(--c1); color: var(--bc1); } .share-button .material-symbols-rounded { font-size: 1rem; } .slider-container { width: 100%; margin-top: 3rem; margin-bottom: 1rem; } .slider-title { font-size: 1rem; display: flex; flex-direction: row; align-items: center; gap: 0.4rem; font-style: italic; color: var(--c1); margin-bottom: 0.6rem; } .slider-title > span:first-child { font-size: 1.4rem; } .slider-wrapper { position: relative; display: flex; align-items: center; } .slider { display: flex; flex-direction: row; gap: 0.4rem; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; padding: 0.4rem 0; scrollbar-width: none; } .slider::-webkit-scrollbar { display: none; } .slider-item { flex: 0 0 auto; width: 150px; display: flex; flex-direction: column; gap: 0.4rem; cursor: pointer; scroll-snap-align: start; } .slider-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 0.4rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } .slider-item p { line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--c2); font-size: 0.8rem; } .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: var(--bc1); color: var(--c2); font-size: 2rem; padding: 0.2rem; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 10; } .slider-arrow.left { left: 0.4rem; } .slider-arrow.right { right: 0.4rem; } .slider-arrow:hover { background: var(--tc1); color: var(--bc1); } #home { & > h1 { margin-top: 5vh; font-size: 3rem; line-height: 1.2; color: var(--c1); & > span { background: linear-gradient(to right, var(--tc1), rgb(230, 230, 230)); color: transparent; background-clip: text; -moz-background-clip: text; -webkit-background-clip: text; } } & > sub { font-size: 1rem; line-height: 1.2; color: var(--c3); & > span { background: linear-gradient(to right, rgb(255, 200, 0), rgb(255, 150, 0)); color: transparent; background-clip: text; -moz-background-clip: text; -webkit-background-clip: text; } } & > button { margin-top: 2rem; } } img { display: block; } .material-symbols-rounded, span { color: inherit; font-size: inherit; } @media (orientation: landscape) { html { font-size: 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; } body { width: 100vw; height: 90vh; border: 2px solid var(--bc2); border-radius: 1rem; overflow: hidden; padding-top: 3.2rem; padding-bottom: 2.4rem; } body > header { border-radius: 0 !important; /* Remove rounded corners for header */ top: 0; width: 100%; border-bottom: solid.collaborate 2px var(--bc2); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } body > footer { border-radius: 0 !important; /* Ensure footer has no rounded corners */ bottom: 0; width: 100%; border-top: solid 2px var(--bc2); box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05); } .slider-item { width: 200px; } .slider-item img { height: 250px; } main > section > .list > div { flex: 0 0 200px; max-width: 200px; } main > section > .list > div > img { width: 200px; height: 250px; object-fit: cover; border-radius: 0.4rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); } main > section > #details > img { width: 200px; height: 250px; object-fit: cover; border-radius: 0.4rem; margin-top: -7rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } main > section > form { width: 250px; top: 4rem; } header .search-container form { width: 250px; } } @media (max-width: 600px) { .share-button { padding: 0.4rem 0.6rem; font-size: 0.7rem; border-width: 1.5px; } .share-button .material-symbols-rounded { font-size: 0.9rem; } main > section > #details > iframe { height: 200px; } header .search-container form { width: 150px; } body { padding-top: 2.8rem; padding-bottom: 2rem; } } /* Dark Mode */ body.dark { --bc1: rgb(15, 15, 15); --bc2: rgb(30, 30, 30); --c1: rgb(230, 230, 230); --c2: rgb(150, 150, 150); --c3: rgb(200, 200, 200); --tc1: rgb(0, 120, 255); --border-button: rgb(50, 50, 50); } body.dark header, body.dark footer { background: var(--bc1); border-color: var(--bc2); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); border-radius: 0 !important; /* Ensure no rounded corners in dark mode */ } body.dark main { background: var(--bc1); } body.dark header > button { background: transparent; color: var(--c2); } body.dark header > button:hover { background: transparent; color: var(--tc1); } body.dark .material-symbols-rounded { color: var(--c1); } body.dark header .search-container form { background: var(--bc1); box-shadow: 0 0 1.4rem rgba(0, 120, 255, 0.3); } body.dark header .search-container form > input { color: var(--c1); border: 1px solid var(--bc2); } body.dark header .search-container form > input::placeholder { color: var(--c3); } body.dark header .search-container form > button { color: var(--c2); } body.dark header .search-container form > button:hover { color: var(--tc1); } body.dark .slider-container { background: var(--bc1); } body.dark .slider-arrow { background: var(--bc1); color: var(--c2); } body.dark .slider-arrow:hover { background: var(--tc1); color: var(--bc1); } body.dark .slider-item p { color: var(--c2); } body.dark .share-button { background: var(--tc1); color: var(--bc1); border-color: var(--border-button); } body.dark .share-button:hover { background: var(--c1); border-color: var(--c1); } #provider-selection { display: block; width: 100%; max-width: 250px; padding: 5px; margin: 0; font-size: 13px; background-color: var(--bc1); color: var(--c1); border: 1px solid var(--bc2); border-radius: 5px; cursor: pointer; outline: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } #provider-selection:hover { background-color: var(--bc2); } #provider-selection:focus { border-color: var(--tc1); box-shadow: 0 0 8px rgba(0, 120, 255, 0.3); } .alert-badge { background-color: var(--bc2); color: rgb(255, 50, 50); padding: 5px; font-size: 10px; font-weight: normal; border-radius: 5px; text-align: center; max-width: 800px; margin: 0 auto; display: none; } .skeleton-card { width: 100%; display: flex; flex-direction: column; gap: 0.4rem; break-inside: avoid; margin-bottom: 1rem; } .skeleton { background: var(--bc2); border-radius: 0.4rem; animation: pulse 1.5s infinite; } .skeleton-img { width: 150px; height: 200px; } .skeleton-text { width: 100%; height: 1.2rem; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } } .loading { position: relative; color: #e50914; font-size: 1.5rem; font-weight: bold; text-align: center; text-transform: uppercase; letter-spacing: 2px; padding: 20px; } .loading::after { content: ""; display: block; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: linear-gradient(90deg, transparent, #e50914, #b1060f, #e50914, transparent); background-size: 200% 100%; animation: netflixLoading 2s infinite; } @keyframes netflixLoading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .error { background-color: #221f1f; color: #fff; padding: 15px 25px; border-radius: 4px; font-size: 1rem; border-left: 5px solid #e50914; box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3); max-width: 400px; margin: 0 auto; position: relative; overflow: hidden; } .error::before { content: "⚠️"; margin-right: 10px; filter: drop-shadow(0 0 2px rgba(229, 9, 20, 0.7)); } .error::after { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, #e50914, #b1060f, transparent); animation: errorGlow 2s infinite; } @keyframes errorGlow { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } } button.playing { background-color: #1a73e8; font-weight: bold; border: 1px solid #1a73e8; transition: background-color 0.3s ease; } button.playing:hover { background-color: #1557b0; } .playing-icon { margin-right: 8px; vertical-align: middle; color: #ff0000; } @media (orientation: landscape) { .skeleton-img { width: 200px; height: 250px; } }