@import url('/template/_shared/css/modern-base.css?v=3');

:root {
  --tpl-bg: #ffffff;
  --tpl-bg-elevated: #ffffff;
  --tpl-surface: #f8f9fa;
  --tpl-surface-2: #f8f9fa;
  --tpl-text: #111827;
  --tpl-text-muted: #6b7280;
  --tpl-primary: #e50914;
  --tpl-primary-hover: #b91c1c;
  --tpl-secondary: #b91c1c;
  --tpl-accent: #f59e0b;
  --tpl-border: rgba(0,0,0,0.08);
  --tpl-shadow: 0 10px 40px rgba(0,0,0,0.12);
  --tpl-bg-rgb: 255, 255, 255;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
}

.card {
  background: #f8f9fa;
}

.footer-links a,
.footer-copy {
  color: #6b7280;
}

/* Layout: Cinema — movie website style */
body.layout-cinema { background: #ffffff; }
body.layout-cinema .site-header { background: #ffffff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
body.layout-cinema .header-inner { min-height: 64px; }
body.layout-cinema .brand-text { font-weight: 900; letter-spacing: -0.5px; }
body.layout-cinema .header-search { max-width: 520px; }
body.layout-cinema .header-search-bar { background: #f3f4f6; border-color: #e5e7eb; }
body.layout-cinema .site-nav { background: #ffffff; border-bottom: 1px solid #e5e7eb; }
body.layout-cinema .nav-inner { gap: 8px; }
body.layout-cinema .nav-label { color: #6b7280; font-weight: 700; }
body.layout-cinema .nav-link { color: #374151; font-weight: 500; }
body.layout-cinema .nav-link:hover { color: var(--tpl-primary); background: #f3f4f6; }

body.layout-cinema .hero { background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 60%, transparent 100%), linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%); color: #fff; text-align: left; padding: 0; min-height: 480px; display: flex; align-items: center; position: relative; overflow: hidden; }
body.layout-cinema .hero .container { position: relative; z-index: 2; }
body.layout-cinema .hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
body.layout-cinema .hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 560px; margin-bottom: 24px; }
body.layout-cinema .hero-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; font-size: 14px; color: rgba(255,255,255,0.8); }
body.layout-cinema .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
body.layout-cinema .hero .btn-play { background: var(--tpl-primary); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
body.layout-cinema .hero .btn-play:hover { opacity: .9; }
body.layout-cinema .hero .btn-outline { background: rgba(255,255,255,0.15); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; backdrop-filter: blur(4px); }
body.layout-cinema .hero-search { display: none; }

body.layout-cinema .site-main { background: #ffffff; padding: 32px 0 56px; }
body.layout-cinema .section { margin-bottom: 40px; }
body.layout-cinema .section-header { margin-bottom: 18px; }
body.layout-cinema .section-title { font-size: 22px; font-weight: 800; color: #111827; }
body.layout-cinema .section-title::before { display: none; }
body.layout-cinema .section-more { color: #6b7280; font-weight: 500; }
body.layout-cinema .section-more:hover { color: var(--tpl-primary); }

body.layout-cinema .grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
body.layout-cinema .card { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03); border: 1px solid #f3f4f6; transition: transform .2s, box-shadow .2s; }
body.layout-cinema .card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
body.layout-cinema .card-media { padding-top: 150%; position: relative; background: #f3f4f6; }
body.layout-cinema .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.layout-cinema .card-body { padding: 12px; }
body.layout-cinema .card-title { font-size: 14px; font-weight: 600; color: #111827; line-height: 1.4; }
body.layout-cinema .card-title a:hover { color: var(--tpl-primary); }
body.layout-cinema .card-meta { font-size: 12px; color: #9ca3af; margin-top: 6px; }

body.layout-cinema .site-footer { background: #f9fafb; border-top: 1px solid #e5e7eb; color: #6b7280; }

/* Detail page */
body.layout-cinema .movie-detail { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
body.layout-cinema .movie-poster { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
body.layout-cinema .movie-poster .card-media { padding-top: 150%; }
body.layout-cinema .movie-info h1 { font-size: 32px; font-weight: 900; margin-bottom: 12px; color: #111827; }
body.layout-cinema .movie-meta { display: flex; gap: 16px; flex-wrap: wrap; color: #6b7280; font-size: 14px; margin-bottom: 20px; }
body.layout-cinema .movie-desc { color: #374151; line-height: 1.7; margin-bottom: 24px; }
body.layout-cinema .movie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1280px) { body.layout-cinema .grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1024px) { body.layout-cinema .grid { grid-template-columns: repeat(4, 1fr); } body.layout-cinema .movie-detail { grid-template-columns: 240px 1fr; } }
@media (max-width: 768px) {
  body.layout-cinema .hero { min-height: 360px; }
  body.layout-cinema .hero h1 { font-size: 28px; }
  body.layout-cinema .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  body.layout-cinema .movie-detail { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { body.layout-cinema .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } body.layout-cinema .hero h1 { font-size: 24px; } }
/* Layout nav: Cinema */
body.layout-cinema .nav-inner { justify-content: center; padding-top: 14px; padding-bottom: 14px; }
body.layout-cinema .nav-group { justify-content: center; gap: 8px 10px; border-right: 0; padding-right: 0; margin-right: 0; }
body.layout-cinema .nav-label { display: none; }
body.layout-cinema .nav-link { font-size: 15px; padding: 8px 16px; border-radius: 8px; background: #f3f4f6; color: #374151; font-weight: 500; }
body.layout-cinema .nav-link:hover { background: var(--tpl-primary); color: #fff; }

/* Theme nav accent: tpl002 */
body.theme-tpl002 .nav-link { text-transform: uppercase; font-size: 13px; letter-spacing: .3px; }
body.theme-tpl002 .nav-group { gap: 8px 12px; }
/* End theme nav accent */
