:root {
  --bg: #0a0a0a; 
  --fg: #e0e0e0; 
  --accent: #ff4d4d; 
  --accent-light: #ff7a7a; 
  --card-bg: rgba(255, 255, 255, 0.08); 
  --card-hover-bg: rgba(255, 255, 255, 0.15); 
  --border-color: rgba(255, 255, 255, 0.1); 
  --font: 'Poppins', sans-serif;
  --shadow-light: rgba(0, 0, 0, 0.2);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-strong: rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: linear-gradient(135deg, var(--bg), #1a1a1a, #0f0f0f, #151515);
  background-size: 400% 400%;
  animation: gradientBG 20s ease infinite, fadeIn 0.8s ease-out;
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

@keyframes gradientBG {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px) }
  to { opacity: 1; transform: translateY(0) }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; 
  padding: 0 4rem; 
  background: rgba(0, 0, 0, 0.85); 
  backdrop-filter: blur(10px); 
  z-index: 100;
  border-bottom: 1px solid var(--border-color); 
  box-shadow: 0 2px 10px var(--shadow-medium);
}

.logo {
  margin-left: 0; 
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px; 
  transform: scale(1); 
  transition: transform .3s ease-in-out;
}

.logo img:hover {
  transform: scale(1.05); 
}

.nav a {
  margin-left: 2.5rem; 
  color: var(--fg);
  text-decoration: none;
  position: relative;
  font-weight: 500; 
  font-size: 1.05rem;
  transition: color .3s ease-in-out;
}

.nav a:hover {
  color: var(--accent);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -8px; 
  left: 0;
  width: 0;
  height: 3px; 
  background: var(--accent);
  transition: width .3s ease-in-out;
}

.nav a:hover::after {
  width: 100%;
}


.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 2rem; 
  text-align: center;
  min-height: 70vh; 
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}

.hero-content {
  max-width: 800px; 
  animation: slideInUp .8s ease-out;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: 4.8rem; 
  margin-bottom: 1.5rem;
  color: #fff; 
  text-shadow: 0 4px 15px var(--shadow-strong);
  font-weight: 700;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.8;
  opacity: .95;
  margin-bottom: 3rem;
  color: #ccc;
}

.typeword {
  display: none;
  transition: color .5s ease-in-out, transform .5s ease-in-out;
  transform: translateY(0);
}

.typeword.highlight {
  display: inline;
  color: var(--accent-light); 
  transform: translateY(-5px);
}


.btn {
  display: inline-block;
  padding: 1rem 2.5rem; 
  border-radius: 50px; 
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, background .3s ease-in-out;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent), var(--accent-light));
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px var(--shadow-medium);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--accent-light), var(--accent));
  transform: translateY(-5px);
  box-shadow: 0 12px 25px var(--shadow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 10px var(--shadow-light);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-medium);
}


.section {
  padding: 6rem 2rem; 
  text-align: center;
  background: rgba(0, 0, 0, 0.7); 
  margin-bottom: 2rem; 
  border-radius: 15px; 
  box-shadow: 0 5px 20px var(--shadow-medium);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
}

.section:last-of-type {
  margin-bottom: 0;
}

.section h2 {
  font-size: 3.5rem; 
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 2px 8px var(--shadow-light);
}

.section p {
  max-width: 800px; 
  margin: 0 auto;
  line-height: 1.8;
  opacity: .9;
  font-size: 1.1rem;
}


.site-footer {
  text-align: center;
  padding: 3rem 1rem; 
  background: rgba(0, 0, 0, 0.9); 
  margin-top: 4rem; 
  font-size: 1rem;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 10px var(--shadow-medium);
}

.site-footer p {
  margin-bottom: 0.8rem;
  color: #bbb;
}

.site-footer a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color .3s ease-in-out;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}


.loading {
  font-size: 1.5rem;
  text-align: center;
  padding: 4rem;
  color: #aaa;
}


.film-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.film-section h2 {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 3rem;
  color: var(--accent);
  font-weight: 700;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
  gap: 2rem;
  padding: 2rem 0;
}

.film-card {
  background: var(--card-bg);
  border-radius: 15px; 
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-medium);
  cursor: pointer;
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, background .3s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  animation: fadeInUp .6s ease-out forwards; 
}

.film-card:hover {
  transform: translateY(-10px) scale(1.02); 
  box-shadow: 0 12px 30px var(--shadow-strong);
  background: var(--card-hover-bg);
}

.film-card img {
  width: 100%;
  height: 180px; 
  object-fit: cover; 
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.film-info {
  padding: 1.2rem 1rem;
  flex-grow: 1; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.film-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
  font-weight: 600;
  line-height: 1.3;
}

.film-info p {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 0.3rem;
}

.film-duration {
  opacity: .8;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
}


.film-detail {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-wrapper {
  width: 100%;
  max-width: 1000px; 
  aspect-ratio: 16/9;
  margin: 2rem auto 3rem auto;
  box-shadow: 0 10px 30px var(--shadow-strong);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.detail-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.meta-box {
  background: rgba(0, 0, 0, 0.75);
  padding: 2.5rem; 
  border-radius: 15px;
  margin-top: 2rem;
  max-width: 900px; 
  width: 100%;
  box-shadow: 0 8px 25px var(--shadow-medium);
  border: 1px solid var(--border-color);
  text-align: left;
}

.meta-box .meta {
  font-size: 1.1rem;
  color: #ccc;
}

.meta-box h1 {
  font-size: 2.8rem; 
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.2;
}

.meta-box p {
  margin-bottom: 0.8rem;
  color: #e0e0e0;
}

.meta-box p strong {
  color: var(--accent-light);
}

.meta-box .description {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #d0d0d0;
}


.related-videos {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1400px;
  margin: 4rem auto 0 auto;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.related-videos h2 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-weight: 700;
}


@media (max-width: 1200px) {
  .site-header {
    padding: 0 2rem;
  }
  .hero-content h1 {
    font-size: 4rem;
  }
  .section h2 {
    font-size: 3rem;
  }
  .film-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  .site-header {
    height: 70px;
  }
  .nav a {
    margin-left: 1.8rem;
    font-size: 1rem;
  }
  .hero {
    padding: 8rem 1.5rem;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .section {
    padding: 5rem 1.5rem;
  }
  .section h2 {
    font-size: 2.8rem;
  }
  .film-section h2, .related-videos h2 {
    font-size: 2.8rem;
  }
  .meta-box h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    height: auto;
    padding: 1rem 1rem;
  }
  .logo {
    margin-bottom: 1rem;
  }
  .nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav a {
    margin: 0.5rem 1rem;
    font-size: 0.95rem;
  }
  .hero {
    padding: 6rem 1rem;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
  .section {
    padding: 4rem 1rem;
    margin-bottom: 1.5rem;
  }
  .section h2 {
    font-size: 2.5rem;
  }
  .section p {
    font-size: 1rem;
  }
  .film-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }
  .film-card img {
    height: 160px;
  }
  .film-info h3 {
    font-size: 1.1rem;
  }
  .film-section h2, .related-videos h2 {
    font-size: 2.5rem;
  }
  .meta-box {
    padding: 1.8rem;
  }
  .meta-box h1 {
    font-size: 1.8rem;
  }
  .meta-box .meta {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.8rem 0.5rem;
  }
  .logo img {
    height: 45px;
  }
  .nav a {
    margin: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  .hero {
    padding: 4rem 0.8rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  .section {
    padding: 3rem 0.8rem;
  }
  .section h2 {
    font-size: 2rem;
  }
  .film-grid {
    grid-template-columns: 1fr; 
    gap: 1rem;
  }
  .film-card img {
    height: 200px; 
  }
  .film-section h2, .related-videos h2 {
    font-size: 2rem;
  }
  .meta-box {
    padding: 1.5rem;
  }
  .meta-box h1 {
    font-size: 1.6rem;
  }
  .meta-box .description {
    font-size: 0.95rem;
  }
}

.goals-box {
  background-color: #111;
  padding: 2.5rem;
  border-radius: 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
}

.goals-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.goals-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff4b5c;
  margin-bottom: 1.5rem;
}

.goals-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  text-align: left;
  display: inline-block;
}

.goals-list li {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  color: #eee;
}

.goals-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #4CAF50;
  font-weight: bold;
}

.goals-list li span {
  font-weight: 700;
  color: #fff;
}

/* Smooth Enhancements by ChatGPT */

a, button, .btn, .film-card {
  transition: all 0.25s ease-in-out;
}

@keyframes fadeInUpSoft {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

[data-aos] {
  animation-name: fadeInUpSoft !important;
}

.film-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 15px 35px var(--shadow-strong);
}

.btn-primary {
  box-shadow: 0 6px 18px rgba(255, 77, 77, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(255, 77, 77, 0.45);
}

.hero-content h1, .hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}

.hero-subtitle {
  animation-delay: 0.5s;
}

.site-footer p a {
  margin: 0 0.5rem;
}

.bmc-container {
  display: inline-flex;
  align-items: flex-start;
  gap: 1rem;                
  margin-top: 1.5rem;       
}

.bmc-note {
  font-family: inherit;    
  font-weight: 300;         
  font-size: 0.5rem;        
  color: #666;              
  line-height: 1.4;
  max-width: 200px;        
}

.bmc-note strong {
  font-weight: 500;         
  display: block;
  margin-bottom: 0.00em;
}
