* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
  background-color: #fff;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
section {
  display: none;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.4s ease forwards;
}
section.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
h2 { font-size: 2rem; font-weight: 600; color: #000; margin-bottom: 8px; }
h3 { font-size: 1.2rem; font-weight: 600; color: #1d1d1f; margin-bottom: 6px; }
p { font-size: 0.95rem; color: #6e6e73; margin-bottom: 0; }
section > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 280px;
  background-color: #f5f5f7;
  border-radius: 20px;
  padding: 20px;
  min-height: 400px;
  transition: all 0.3s ease;
}
article:hover {
  transform: translateY(-6px);
  background-color: #ebebed;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
article img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}
footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 13px;
  color: #86868b;
  background-color: #f5f5f7;
  border-top: 1px solid #d2d2d7;
}
footer a {
  color: #0071e3;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}
.navbar-logo img {
  width: 40px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}
.navbar-logo img:hover {
  transform: scale(1.1);
}
.navbar-links ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.navbar-links li {
  display: inline-block;
}
.navbar-links a {
  color: #f5f5f7;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 8px;
  transition: all 0.3s ease;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: #0071e3;
  border-bottom: 2px solid #0071e3;
}
.navbar-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar-icons img {
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1);
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.navbar-icons img:hover {
  opacity: 0.7;
}
.store {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.store span {
  height: 2px;
  width: 22px;
  background: white;
  margin: 3px 0;
  border-radius: 2px;
  transition: 0.3s;
}
.store.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.store.open span:nth-child(2) {
  opacity: 0;
}
.store.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 850px) {
  .navbar-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    display: none;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }
  .navbar-links.active {
    display: flex;
    max-height: 300px;
  }
  .store {
    display: flex;
  }
  .navbar-icons {
    display: none;
  }
}
@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }
  article {
    flex: 1 1 100%;
    min-height: auto;
  }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1rem; }
}
@media (prefers-color-scheme: dark) {
  body { background-color: #000; color: #f5f5f7; }
  article { background-color: #1d1d1f; color: #f5f5f7; }
  footer { background-color: #1d1d1f; color: #a1a1a6; }
  .navbar {
    background-color: rgba(25, 25, 27, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar-links a { color: #f5f5f7; }
  .navbar-icons img { filter: brightness(0) invert(1); }
  .store span { background: #f5f5f7; }
}
.entertainment-grid article:nth-child(1) {
  flex: 1 1 400px;
  min-height: 500px;
}
.entertainment-grid article:nth-child(1) video {
  max-width: 250px;
  height: 250px;
  border-radius: 12px;
}