Spaces:
Sleeping
Sleeping
Download public/styles.css from APEXPRIT/daily-release-tracker: direct link, hf CLI and curl.
- Browser
- Download file 28.7 kB
-
https://huggingface.co/spaces/APEXPRIT/daily-release-tracker/resolve/main/public/styles.css
- Command line
-
hf download hf://spaces/APEXPRIT/daily-release-tracker/public/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/APEXPRIT/daily-release-tracker/resolve/main/public/styles.css
28.7 kB
/**
* styles.css
*
* Cinema Noir — Dark-first, premium entertainment design system
* for Today's Releases daily tracker.
*
* Design principles:
* - Dark mode is the default (cinema/theater feel)
* - Poster-first vertical cards with subtle hover effects
* - Staggered fade-in animations
* - Purposeful use of shadows & scale, not generic opacity hovers
* - Cinema red + gold accents against deep navy backgrounds
* - Mobile-first responsive with desktop horizontal card enhancement
*/
/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
background-color: var(--bg-canvas);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
-webkit-tap-highlight-color: transparent;
transition: background-color 0.35s ease, color 0.35s ease;
}
.container {
width: 100%;
max-width: 1320px;
margin: 0 auto;
padding: 0 28px;
}
/* ================================================================
CSS CUSTOM PROPERTIES — DARK THEME (DEFAULT, Cinema Noir)
================================================================ */
:root {
/* Core backgrounds */
--bg-canvas: #0a0a1a;
--bg-surface: #12122a;
--bg-card: #1a1a2e;
--bg-card-hover: #24243f;
--bg-glass: rgba(26, 26, 46, 0.7);
/* Text */
--text-primary: #e8e8ec;
--text-secondary: #a0a0b4;
--text-muted: #6b6b80;
/* Borders */
--border-subtle: rgba(255, 255, 255, 0.06);
--border-card: rgba(255, 255, 255, 0.08);
/* Shadows — purposeful depth hierarchy */
--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
--shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
--shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.4);
/* Accent colors */
--accent-red: #e50914;
--accent-red-hover: #ff1a25;
--accent-red-glow: rgba(229, 9, 20, 0.3);
--accent-gold: #f5c518;
--accent-gold-muted: #d4a617;
/* Platform brand colors (dark bg variants) */
--platform-netflix-bg: rgba(229, 9, 20, 0.15);
--platform-netflix-text: #f87171;
--platform-netflix-border: rgba(229, 9, 20, 0.25);
--platform-prime-bg: rgba(0, 160, 228, 0.12);
--platform-prime-text: #60a5fa;
--platform-prime-border: rgba(0, 160, 228, 0.2);
--platform-hotstar-bg: rgba(255, 140, 0, 0.12);
--platform-hotstar-text: #fbbf24;
--platform-hotstar-border: rgba(255, 140, 0, 0.2);
--platform-jio-bg: rgba(236, 72, 153, 0.12);
--platform-jio-text: #f472b6;
--platform-jio-border: rgba(236, 72, 153, 0.2);
--platform-sony-bg: rgba(34, 197, 94, 0.12);
--platform-sony-text: #4ade80;
--platform-sony-border: rgba(34, 197, 94, 0.2);
--platform-apple-bg: rgba(156, 163, 175, 0.12);
--platform-apple-text: #d1d5db;
--platform-apple-border: rgba(156, 163, 175, 0.2);
--platform-zee5-bg: rgba(251, 146, 60, 0.12);
--platform-zee5-text: #fdba74;
--platform-zee5-border: rgba(251, 146, 60, 0.2);
/* Badge colors */
--badge-lang-bg: rgba(255, 255, 255, 0.06);
--badge-lang-text: #a0a0b4;
--badge-international-bg: rgba(20, 184, 166, 0.12);
--badge-international-text: #5eead4;
--badge-fame-bg: linear-gradient(135deg, #f59e0b, #ea580c);
--badge-fame-text: #ffffff;
--badge-theatrical-bg: rgba(52, 211, 153, 0.12);
--badge-theatrical-text: #6ee7b7;
--badge-ott-bg: rgba(56, 189, 248, 0.12);
--badge-ott-text: #7dd3fc;
/* Section */
--section-accent: linear-gradient(90deg, var(--accent-red), rgba(229, 9, 20, 0));
/* Skeleton */
--skeleton-base: #1a1a2e;
--skeleton-shine: #252540;
}
/* ================================================================
LIGHT THEME OVERRIDES
================================================================ */
.light {
--bg-canvas: #f5f5f7;
--bg-surface: #ffffff;
--bg-card: #ffffff;
--bg-card-hover: #fafafa;
--bg-glass: rgba(255, 255, 255, 0.85);
--text-primary: #1a1a2e;
--text-secondary: #52525b;
--text-muted: #9ca3af;
--border-subtle: rgba(0, 0, 0, 0.06);
--border-card: rgba(0, 0, 0, 0.08);
--shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
--shadow-card-hover: 0 6px 24px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
--shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.08);
--skeleton-base: #e5e7eb;
--skeleton-shine: #f3f4f6;
--badge-lang-bg: #f3f4f6;
--badge-lang-text: #6b7280;
/* In light mode, platform badges are more saturated */
--platform-netflix-bg: #fef2f2;
--platform-netflix-text: #dc2626;
--platform-prime-bg: #eff6ff;
--platform-prime-text: #2563eb;
--platform-hotstar-bg: #fff7ed;
--platform-hotstar-text: #ea580c;
--platform-jio-bg: #fdf2f8;
--platform-jio-text: #db2777;
--platform-sony-bg: #f0fdf4;
--platform-sony-text: #16a34a;
--platform-apple-bg: #f9fafb;
--platform-apple-text: #6b7280;
--platform-zee5-bg: #fff7ed;
--platform-zee5-text: #ea580c;
--badge-international-bg: #f0fdfa;
--badge-international-text: #0f766e;
--badge-theatrical-bg: #ecfdf5;
--badge-theatrical-text: #059669;
--badge-ott-bg: #f0f9ff;
--badge-ott-text: #0284c7;
}
/* ================================================================
HEADER — Gradient hero with cinema feel
================================================================ */
.header {
position: relative;
background: var(--bg-surface);
border-bottom: 1px solid var(--border-subtle);
padding: 36px 0 32px;
overflow: hidden;
transition: background-color 0.35s ease, border-color 0.35s ease;
}
/* Subtle radial gradient overlay for depth */
.header__bg {
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 80% 120% at 20% 50%, rgba(229, 9, 20, 0.06) 0%, transparent 60%),
radial-gradient(ellipse 60% 100% at 80% 50%, rgba(245, 197, 24, 0.03) 0%, transparent 60%);
pointer-events: none;
transition: opacity 0.35s ease;
}
.light .header__bg {
background:
radial-gradient(ellipse 80% 120% at 20% 50%, rgba(229, 9, 20, 0.04) 0%, transparent 60%),
radial-gradient(ellipse 60% 100% at 80% 50%, rgba(245, 197, 24, 0.04) 0%, transparent 60%);
}
.header__inner {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}
.header__text {
display: flex;
flex-direction: column;
gap: 2px;
}
.header__title {
font-family: "Playfair Display", "Georgia", serif;
font-weight: 700;
font-size: 2rem;
color: var(--text-primary);
letter-spacing: -0.5px;
line-height: 1.2;
transition: color 0.35s ease;
}
.header__date {
font-weight: 500;
font-size: 0.95rem;
color: var(--text-secondary);
margin-top: 2px;
transition: color 0.35s ease;
}
.header__subtitle {
font-weight: 400;
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 2px;
transition: color 0.35s ease;
}
/* ===== THEME TOGGLE ===== */
.theme-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 12px;
border: 1px solid var(--border-card);
background-color: var(--bg-card);
color: var(--text-secondary);
cursor: pointer;
flex-shrink: 0;
transition: all 0.25s ease;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.theme-toggle:hover {
border-color: var(--accent-red);
color: var(--accent-red);
box-shadow: 0 0 16px var(--accent-red-glow);
transform: scale(1.05);
}
.theme-toggle:active {
transform: scale(0.97);
}
.theme-toggle__icon--sun { display: block; }
.theme-toggle__icon--moon { display: none; }
.light .theme-toggle__icon--sun { display: none; }
.light .theme-toggle__icon--moon { display: block; }
/* ================================================================
MAIN CONTENT AREA
================================================================ */
.main {
flex: 1;
padding: 40px 0 60px;
background-color: var(--bg-canvas);
transition: background-color 0.35s ease;
}
/* ================================================================
SKELETON LOADING
================================================================ */
.loading {
padding: 20px 0;
transition: opacity 0.25s ease;
}
.loading.hidden {
display: none;
}
.skeleton-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
.skeleton-card {
background: var(--bg-card);
border-radius: 14px;
border: 1px solid var(--border-card);
overflow: hidden;
padding: 0 0 16px 0;
}
.skeleton-card__poster {
width: 100%;
aspect-ratio: 2 / 3;
background: linear-gradient(110deg, var(--skeleton-base) 30%, var(--skeleton-shine) 50%, var(--skeleton-base) 70%);
background-size: 200% 100%;
animation: shimmer 1.4s ease-in-out infinite;
}
.skeleton-card__line {
height: 12px;
margin: 10px 14px 0;
border-radius: 6px;
background: linear-gradient(110deg, var(--skeleton-base) 30%, var(--skeleton-shine) 50%, var(--skeleton-base) 70%);
background-size: 200% 100%;
animation: shimmer 1.4s ease-in-out infinite;
}
.skeleton-card__line--title {
height: 16px;
width: 75%;
margin-top: 14px;
}
.skeleton-card__line--tag {
width: 45%;
}
.skeleton-card__line--meta {
width: 55%;
height: 10px;
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* ================================================================
ERROR STATE
================================================================ */
.error-state {
text-align: center;
padding: 60px 20px;
animation: fadeInUp 0.5s ease;
}
.error-state.hidden {
display: none;
}
.error-state__illustration {
margin-bottom: 20px;
color: var(--accent-red);
animation: gentleBounce 2s ease-in-out infinite;
}
@keyframes gentleBounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
.error-state__title {
font-family: "Inter", sans-serif;
font-size: 1.25rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 10px;
transition: color 0.35s ease;
}
.error-state__text {
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 24px;
max-width: 460px;
margin-left: auto;
margin-right: auto;
transition: color 0.35s ease;
}
.error-state__retry {
display: inline-flex;
align-items: center;
padding: 10px 28px;
font-family: "Inter", sans-serif;
font-size: 0.9rem;
font-weight: 600;
color: #ffffff;
background: var(--accent-red);
border: none;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 2px 12px var(--accent-red-glow);
min-height: 44px;
}
.error-state__retry:hover {
background: var(--accent-red-hover);
transform: translateY(-1px);
box-shadow: 0 4px 20px rgba(229, 9, 20, 0.45);
}
.error-state__retry:active {
transform: translateY(0);
}
/* ================================================================
GLOBAL EMPTY STATE
================================================================ */
.empty-state {
text-align: center;
padding: 50px 20px;
animation: fadeInUp 0.5s ease;
}
.empty-state.hidden {
display: none;
}
.empty-state__illustration {
margin-bottom: 24px;
}
/* CSS theatre seats */
.empty-state__theatre {
margin: 0 auto;
max-width: 200px;
}
.empty-state__screen {
width: 100%;
height: 6px;
background: linear-gradient(90deg, transparent, var(--text-muted), transparent);
border-radius: 3px;
margin-bottom: 24px;
opacity: 0.4;
}
.empty-state__seats {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.empty-state__row {
display: flex;
gap: 8px;
}
.empty-state__row span {
display: block;
width: 18px;
height: 18px;
border-radius: 4px;
background: var(--border-card);
border: 1px solid var(--border-subtle);
transition: background 0.35s ease;
}
.empty-state__title {
font-family: "Inter", sans-serif;
font-size: 1.15rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 8px;
transition: color 0.35s ease;
}
.empty-state__text {
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 16px;
transition: color 0.35s ease;
}
.empty-state__countdown {
font-size: 0.85rem;
color: var(--accent-gold);
font-weight: 500;
font-family: "Inter", sans-serif;
}
/* ================================================================
SECTIONS (Theatrical / OTT)
================================================================ */
.section {
margin-bottom: 52px;
}
.section:last-child {
margin-bottom: 0;
}
.section__header {
margin-bottom: 24px;
animation: slideInLeft 0.5s ease both;
}
.section__heading {
font-family: "Inter", sans-serif;
font-weight: 700;
font-size: 1.35rem;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 10px;
transition: color 0.35s ease;
}
.section__emoji {
font-size: 1.5rem;
line-height: 1;
}
/* Count badge */
.section__count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 28px;
height: 28px;
padding: 0 10px;
background-color: var(--badge-lang-bg);
color: var(--text-secondary);
border-radius: 14px;
font-size: 0.8rem;
font-weight: 600;
margin-left: 2px;
transition: background-color 0.35s ease, color 0.35s ease;
}
/* Accent underline */
.section__accent {
height: 3px;
width: 60px;
border-radius: 2px;
background: var(--section-accent);
margin-top: 10px;
}
/* Section empty */
.section__empty {
padding: 24px 0;
color: var(--text-muted);
font-size: 0.9rem;
font-weight: 400;
font-style: italic;
}
.section__empty.hidden {
display: none;
}
/* ================================================================
LANGUAGE SUB-GROUP (collapsible)
================================================================ */
.lang-group {
margin-bottom: 28px;
}
.lang-group:last-child {
margin-bottom: 0;
}
.lang-group__header {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 14px;
margin-bottom: 16px;
background: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: 10px;
cursor: pointer;
user-select: none;
transition: all 0.2s ease;
font-family: "Inter", sans-serif;
font-weight: 500;
font-size: 0.9rem;
color: var(--text-secondary);
min-height: 44px;
}
.lang-group__header:hover {
border-color: var(--accent-red);
color: var(--text-primary);
box-shadow: var(--shadow-card-hover);
}
.lang-group__arrow {
display: inline-block;
transition: transform 0.25s ease;
font-size: 0.7rem;
color: var(--text-muted);
}
.lang-group__arrow--open {
transform: rotate(90deg);
}
.lang-group__count {
font-size: 0.75rem;
color: var(--text-muted);
font-weight: 400;
}
.lang-group__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
overflow: hidden;
transition: all 0.3s ease;
}
.lang-group__grid--collapsed {
max-height: 0;
opacity: 0;
margin-top: -8px;
pointer-events: none;
}
/* ================================================================
MOVIE / SERIES GRID (for single language, no grouping)
================================================================ */
.movies__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
/* ================================================================
MOVIE / SERIES CARD — Horizontal on desktop, vertical on mobile
================================================================ */
.movie-card {
background-color: var(--bg-card);
border: 1px solid var(--border-card);
border-radius: 14px;
overflow: hidden;
display: flex;
flex-direction: row;
align-items: start;
box-shadow: var(--shadow-card);
transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.45s ease, transform 0.45s ease;
cursor: default;
opacity: 0;
transform: translateY(16px);
}
@keyframes cardFadeIn {
from {
opacity: 0;
transform: translateY(16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scroll-triggered animation class */
.movie-card--hidden {
opacity: 0;
transform: translateY(20px);
}
.movie-card--revealed {
animation: cardFadeIn 0.5s ease forwards;
animation-delay: var(--anim-delay, 0ms);
}
/* Hover effects — only on devices with hover capability */
@media (hover: hover) {
.movie-card:hover {
transform: translateY(-4px) scale(1.03);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: var(--shadow-card-hover);
}
.light .movie-card:hover {
border-color: rgba(0, 0, 0, 0.15);
}
}
/* ================================================================
POSTER WRAPPER
================================================================ */
.movie-card__poster-wrap {
position: relative;
width: 160px;
flex-shrink: 0;
align-self: stretch;
overflow: hidden;
background-color: var(--bg-surface);
transition: background-color 0.35s ease;
}
/* Aspect ratio maintained via the poster image; wrapper stretches to card height */
.movie-card__poster {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.35s ease;
}
@media (hover: hover) {
.movie-card:hover .movie-card__poster {
transform: scale(1.06);
}
}
/* Placeholder poster */
.movie-card__poster--placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
background-color: var(--bg-surface);
}
/* Rating overlay badge (top-right on poster) */
.movie-card__rating {
position: absolute;
top: 10px;
right: 10px;
display: flex;
align-items: center;
gap: 3px;
padding: 4px 10px;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 20px;
color: var(--accent-gold);
font-size: 0.78rem;
font-weight: 700;
font-family: "Inter", sans-serif;
line-height: 1;
}
.light .movie-card__rating {
background: rgba(0, 0, 0, 0.65);
color: #f5c518;
}
/* Fame badge overlay (top-left on poster) */
.movie-card__fame {
position: absolute;
top: 10px;
left: 10px;
padding: 3px 10px;
background: var(--badge-fame-bg);
color: var(--badge-fame-text);
border-radius: 20px;
font-size: 0.7rem;
font-weight: 600;
font-family: "Inter", sans-serif;
white-space: nowrap;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
/* ================================================================
CARD BODY (beside poster on desktop, below on mobile)
================================================================ */
.movie-card__body {
padding: 14px 16px 16px;
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
min-width: 0;
}
.movie-card__title {
font-family: "Inter", sans-serif;
font-weight: 600;
font-size: 0.95rem;
color: var(--text-primary);
line-height: 1.35;
transition: color 0.35s ease;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Tags row (language, platform, international) */
.movie-card__tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
/* ================================================================
TAGS / BADGES
================================================================ */
.movie-tag {
display: inline-flex;
align-items: center;
padding: 3px 9px;
border-radius: 6px;
font-size: 0.72rem;
font-weight: 500;
font-family: "Inter", sans-serif;
white-space: nowrap;
line-height: 1.4;
transition: opacity 0.15s ease;
}
.movie-tag:hover {
opacity: 0.8;
}
/* Language tag */
.movie-tag--lang {
background-color: var(--badge-lang-bg);
color: var(--badge-lang-text);
}
/* International tag */
.movie-tag--international {
background-color: var(--badge-international-bg);
color: var(--badge-international-text);
}
/* Platform-specific tags */
.movie-tag--netflix {
background-color: var(--platform-netflix-bg);
color: var(--platform-netflix-text);
border: 1px solid var(--platform-netflix-border);
}
.movie-tag--amazon-prime {
background-color: var(--platform-prime-bg);
color: var(--platform-prime-text);
border: 1px solid var(--platform-prime-border);
}
.movie-tag--disney-hotstar {
background-color: var(--platform-hotstar-bg);
color: var(--platform-hotstar-text);
border: 1px solid var(--platform-hotstar-border);
}
.movie-tag--jiocinema {
background-color: var(--platform-jio-bg);
color: var(--platform-jio-text);
border: 1px solid var(--platform-jio-border);
}
.movie-tag--sonyliv {
background-color: var(--platform-sony-bg);
color: var(--platform-sony-text);
border: 1px solid var(--platform-sony-border);
}
.movie-tag--apple-tv {
background-color: var(--platform-apple-bg);
color: var(--platform-apple-text);
border: 1px solid var(--platform-apple-border);
}
.movie-tag--zee5 {
background-color: var(--platform-zee5-bg);
color: var(--platform-zee5-text);
border: 1px solid var(--platform-zee5-border);
}
/* Release type tags */
.movie-tag--theatrical {
background-color: var(--badge-theatrical-bg);
color: var(--badge-theatrical-text);
}
.movie-tag--ott {
background-color: var(--badge-ott-bg);
color: var(--badge-ott-text);
}
/* ================================================================
CARD META & FOOTER
================================================================ */
.movie-card__type-genre {
font-size: 0.75rem;
color: var(--text-muted);
font-weight: 400;
transition: color 0.35s ease;
}
.movie-card__desc {
font-size: 0.78rem;
color: var(--text-secondary);
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
transition: color 0.35s ease;
}
.movie-card__footer {
margin-top: auto;
padding-top: 8px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
border-top: 1px solid var(--border-subtle);
transition: border-color 0.35s ease;
}
.movie-card__date {
font-size: 0.72rem;
color: var(--text-muted);
font-weight: 400;
transition: color 0.35s ease;
}
.movie-card__footer-tags {
display: flex;
gap: 4px;
}
/* ================================================================
FOOTER
================================================================ */
.footer {
background-color: var(--bg-surface);
border-top: 1px solid var(--border-subtle);
padding: 18px 0;
transition: background-color 0.35s ease, border-color 0.35s ease;
}
.footer__inner {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
}
.footer__left {
display: flex;
align-items: center;
}
.footer__attribution {
font-size: 0.8rem;
color: var(--text-muted);
transition: color 0.35s ease;
}
.footer__link {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
}
.footer__link:hover {
color: var(--accent-red);
}
.footer__right {
text-align: right;
}
.footer__auto-refresh {
font-size: 0.75rem;
color: var(--text-muted);
transition: color 0.35s ease;
}
.footer__countdown {
font-size: 0.8rem;
color: var(--accent-gold-muted);
font-weight: 500;
font-family: "Inter", sans-serif;
transition: color 0.35s ease;
}
/* ================================================================
RESPONSIVE BREAKPOINTS
Desktop-first approach with progressive enhancement for mobile.
================================================================ */
/* ---------- Tablet large: 3 columns ---------- */
@media (max-width: 1100px) {
.movies__grid,
.skeleton-grid,
.lang-group__grid {
grid-template-columns: repeat(3, 1fr);
}
.movie-card__poster-wrap {
width: 140px;
}
}
/* ---------- Tablet: 2 columns ---------- */
@media (max-width: 768px) {
.movies__grid,
.skeleton-grid,
.lang-group__grid {
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
/* Switch cards from horizontal to vertical layout */
.movie-card {
flex-direction: column;
align-items: stretch;
border-radius: 12px;
}
.movie-card__poster-wrap {
width: 100%;
aspect-ratio: 2 / 3;
align-self: auto;
}
.movie-card__body {
padding: 10px 12px 12px;
}
.movie-card__title {
font-size: 0.88rem;
}
.movie-card__rating {
top: 8px;
right: 8px;
padding: 3px 8px;
font-size: 0.72rem;
}
.movie-card__fame {
top: 8px;
left: 8px;
font-size: 0.65rem;
padding: 2px 8px;
}
.header {
padding: 24px 0 22px;
}
.header__title {
font-size: 1.5rem;
}
.main {
padding: 28px 0 44px;
}
.section__heading {
font-size: 1.15rem;
}
.footer__inner {
flex-direction: column;
align-items: flex-start;
text-align: left;
}
.footer__right {
text-align: left;
}
}
/* ---------- Mobile landscape / large phones: 2 columns, stacked header ---------- */
@media (max-width: 640px) {
.container {
padding: 0 16px;
}
.movies__grid,
.skeleton-grid,
.lang-group__grid {
gap: 14px;
}
.header {
padding: 20px 0 18px;
}
.header__inner {
flex-direction: column;
align-items: flex-start;
gap: 14px;
}
.header__title {
font-size: 1.4rem;
}
.header__date {
font-size: 0.88rem;
}
.header__subtitle {
font-size: 0.78rem;
}
.main {
padding: 24px 0 36px;
}
.section {
margin-bottom: 40px;
}
.section__heading {
font-size: 1.1rem;
}
.section__header {
margin-bottom: 18px;
}
.section__emoji {
font-size: 1.3rem;
}
/* Ensure skeleton cards also get rounded corners */
.skeleton-card {
border-radius: 12px;
}
/* Adjust skeleton line margins for tighter grid */
.skeleton-card__line {
margin-left: 12px;
margin-right: 12px;
}
.error-state {
padding: 40px 16px;
}
.error-state__title {
font-size: 1.15rem;
}
.empty-state {
padding: 36px 16px;
}
.empty-state__title {
font-size: 1.05rem;
}
}
/* ---------- Mobile small: 1 column, compact ---------- */
@media (max-width: 480px) {
.container {
padding: 0 14px;
}
.movies__grid,
.skeleton-grid,
.lang-group__grid {
grid-template-columns: 1fr;
gap: 14px;
}
.header {
padding: 18px 0 16px;
}
.header__inner {
gap: 12px;
}
.header__title {
font-size: 1.25rem;
}
.header__date {
font-size: 0.85rem;
}
.header__subtitle {
font-size: 0.75rem;
}
.main {
padding: 20px 0 32px;
}
.section {
margin-bottom: 32px;
}
.section__heading {
font-size: 1rem;
}
.section__emoji {
font-size: 1.2rem;
}
.section__count {
font-size: 0.75rem;
min-width: 24px;
height: 24px;
padding: 0 8px;
}
/* Card refinements for single-column */
.movie-card {
border-radius: 12px;
}
.movie-card__body {
padding: 10px 12px 12px;
}
.movie-card__title {
font-size: 0.9rem;
}
.movie-card__desc {
font-size: 0.8rem;
}
.movie-card__type-genre {
font-size: 0.78rem;
}
.movie-card__date {
font-size: 0.75rem;
}
.movie-tag {
font-size: 0.75rem;
padding: 4px 10px;
}
/* Section empty text */
.section__empty {
font-size: 0.88rem;
}
/* Lang group header touch sizing already set; keep min-height: 44px */
.lang-group__header {
padding: 12px 12px;
font-size: 0.88rem;
}
.lang-group__count {
font-size: 0.78rem;
}
/* Footer refinements */
.footer {
padding: 14px 0;
}
.footer__attribution {
font-size: 0.78rem;
}
.footer__auto-refresh {
font-size: 0.73rem;
}
.footer__countdown {
font-size: 0.78rem;
}
/* Error & empty state refinements */
.error-state__title {
font-size: 1.1rem;
}
.error-state__text {
font-size: 0.88rem;
}
.empty-state__title {
font-size: 1rem;
}
.empty-state__text {
font-size: 0.88rem;
}
.empty-state__countdown {
font-size: 0.82rem;
}
}
/* ================================================================
UTILITY
================================================================ */
.hidden {
display: none !important;
}
/**
* styles.css
*
* Cinema Noir — Dark-first, premium entertainment design system
* for Today's Releases daily tracker.
*
* Design principles:
* - Dark mode is the default (cinema/theater feel)
* - Poster-first vertical cards with subtle hover effects
* - Staggered fade-in animations
* - Purposeful use of shadows & scale, not generic opacity hovers
* - Cinema red + gold accents against deep navy backgrounds
* - Mobile-first responsive with desktop horizontal card enhancement
*/
/* ===== CSS RESET & BASE ===== */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
background-color: var(--bg-canvas);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
-webkit-tap-highlight-color: transparent;
transition: background-color 0.35s ease, color 0.35s ease;
}
.container {
width: 100%;
max-width: 1320px;
margin: 0 auto;
padding: 0 28px;
}
/* ================================================================
CSS CUSTOM PROPERTIES — DARK THEME (DEFAULT, Cinema Noir)
================================================================ */
:root {
/* Core backgrounds */
--bg-canvas: #0a0a1a;
--bg-surface: #12122a;
--bg-card: #1a1a2e;
--bg-card-hover: #24243f;
--bg-glass: rgba(26, 26, 46, 0.7);
/* Text */
--text-primary: #e8e8ec;
--text-secondary: #a0a0b4;
--text-muted: #6b6b80;
/* Borders */
--border-subtle: rgba(255, 255, 255, 0.06);
--border-card: rgba(255, 255, 255, 0.08);
/* Shadows — purposeful depth hierarchy */
--shadow-card: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
--shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
--shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.4);
/* Accent colors */
--accent-red: #e50914;
--accent-red-hover: #ff1a25;
--accent-red-glow: rgba(229, 9, 20, 0.3);
--accent-gold: #f5c518;
--accent-gold-muted: #d4a617;
/* Platform brand colors (dark bg variants) */
--platform-netflix-bg: rgba(229, 9, 20, 0.15);
--platform-netflix-text: #f87171;
--platform-netflix-border: rgba(229, 9, 20, 0.25);
--platform-prime-bg: rgba(0, 160, 228, 0.12);
--platform-prime-text: #60a5fa;
--platform-prime-border: rgba(0, 160, 228, 0.2);
--platform-hotstar-bg: rgba(255, 140, 0, 0.12);
--platform-hotstar-text: #fbbf24;
--platform-hotstar-border: rgba(255, 140, 0, 0.2);
--platform-jio-bg: rgba(236, 72, 153, 0.12);
--platform-jio-text: #f472b6;
--platform-jio-border: rgba(236, 72, 153, 0.2);
--platform-sony-bg: rgba(34, 197, 94, 0.12);
--platform-sony-text: #4ade80;
--platform-sony-border: rgba(34, 197, 94, 0.2);
--platform-apple-bg: rgba(156, 163, 175, 0.12);
--platform-apple-text: #d1d5db;