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

:root {
  --primary-color: #e63946;
  --secondary-color: #f4a261;
  --dark-bg: #1a1a2e;
  --darker-bg: #0f0f1e;
  --text-light: #eee;
  --text-muted: #a8a8b3;
  --card-bg: #252540;
  --hover-color: #ff4757;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

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

.hero {
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

.movie-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.3);
}

.movie-poster {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--darker-bg) 100%);
}

.movie-info {
  padding: 20px;
}

.movie-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-light);
}

.movie-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.movie-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.watch-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.watch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.video-player {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.video-player iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.article-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 12px;
  line-height: 1.8;
}

.article-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 32px;
}

.article-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.comments-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 12px;
}

.comments-section h3 {
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 28px;
}

.comment {
  background: var(--darker-bg);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 3px solid var(--secondary-color);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-author {
  font-weight: bold;
  color: var(--secondary-color);
}

.comment-date {
  color: var(--text-muted);
  font-size: 13px;
}

.comment-text {
  color: var(--text-muted);
  line-height: 1.6;
}

footer {
  background: var(--darker-bg);
  margin-top: 60px;
  padding: 40px 0 20px;
  border-top: 2px solid var(--primary-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--card-bg);
  color: var(--text-muted);
}

.breadcrumb {
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .video-player iframe {
    height: 300px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .movie-grid {
    grid-template-columns: 1fr;
  }

  .article-content,
  .comments-section {
    padding: 20px;
  }
}
