/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: #0a0c12;
  color: #e8edf5;
  line-height: 1.6;
}

a {
  color: #ff6b35;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.accent {
  color: #ff6b35;
}

/* ===== HEADER ===== */
.site-header {
  background: #0a0c12;
  border-bottom: 1px solid #1e2533;
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.logo span.accent {
  color: #ff6b35;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #e8edf5;
  border-radius: 2px;
  transition: 0.3s;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-menu ul li a {
  color: #b0b8c8;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.nav-menu ul li a:hover {
  color: #fff;
  border-bottom-color: #ff6b35;
  text-decoration: none;
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0c12;
    border-bottom: 1px solid #1e2533;
    padding: 1rem 0;
  }
  .nav-menu.open {
    display: block;
  }
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* ===== HERO + CAROUSEL ===== */
.hero-section {
  padding: 2rem 2rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-bg {
  border-radius: 20px;
  padding: 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.hero-text p {
  font-size: 1.2rem;
  color: #b0b8c8;
  max-width: 700px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #141a26;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-wrap: wrap;
  background: #1a212e;
}

.slide-image {
  flex: 1 1 300px;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide-image .category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.slide-text {
  flex: 2 1 400px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #fff;
}
.slide-text p {
  color: #c8d0dc;
  font-size: 1rem;
}

.category-badge {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 0.5rem;
  pointer-events: none;
}
.carousel-btn {
  pointer-events: auto;
  background: rgba(10, 12, 18, 0.7);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: 0.2s;
}
.carousel-btn:hover {
  background: #ff6b35;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 1rem 0 0.5rem;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3a4458;
  cursor: pointer;
  transition: 0.2s;
}
.dot.active {
  background: #ff6b35;
  transform: scale(1.2);
}

/* ===== TICKER ===== */
.ticker-section {
  background: #141a26;
  border-top: 1px solid #1e2533;
  border-bottom: 1px solid #1e2533;
  padding: 0.6rem 2rem;
  margin: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 1rem;
}

.ticker-label {
  background: #ff6b35;
  color: #fff;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  will-change: transform;
}
.ticker-item {
  color: #c8d0dc;
  font-size: 0.95rem;
}

/* ===== NEWS GRID ===== */
.news-section {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-size: 2rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  background: #1a212e;
  border: none;
  color: #b0b8c8;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 500;
}
.filter-btn.active,
.filter-btn:hover {
  background: #ff6b35;
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: #141a26;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.2s;
  border: 1px solid #1e2533;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: #ff6b35;
}

.card-image {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-image .category-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.card-body {
  padding: 1rem;
}
.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #fff;
}
.card-date {
  font-size: 0.75rem;
  color: #7a8599;
  display: block;
  margin-bottom: 0.5rem;
}
.card-body p {
  color: #b0b8c8;
  font-size: 0.9rem;
}

/* ===== WEEKLY DIGEST ===== */
.digest-section {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.digest-sub {
  color: #b0b8c8;
  margin-top: -0.5rem;
}
.digest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.digest-day {
  background: #141a26;
  padding: 1.2rem;
  border-radius: 16px;
  border-left: 4px solid #ff6b35;
}
.digest-day h3 {
  color: #ff6b35;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.digest-day p {
  color: #c8d0dc;
  font-size: 0.9rem;
}

.digest-highlights {
  margin-top: 2rem;
  background: #141a26;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.digest-highlights h3 {
  color: #ff6b35;
  margin-bottom: 0.5rem;
}
.digest-highlights ul {
  list-style: none;
  padding-left: 0;
}
.digest-highlights ul li {
  padding: 0.2rem 0;
  color: #c8d0dc;
}
.digest-highlights ul li strong {
  color: #fff;
}

/* ===== COMMUNITY ===== */
.community-section {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.community-card {
  background: #141a26;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #1e2533;
}
.community-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.play-badge,
.art-badge,
.achievement-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #ff6b35;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}
.community-card h3 {
  padding: 1rem 1rem 0.3rem;
  color: #fff;
}
.community-card p {
  padding: 0 1rem 1.5rem;
  color: #b0b8c8;
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0a0c12;
  border-top: 1px solid #1e2533;
  padding: 2rem 2rem 1rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 0.8rem;
}
.footer-col p,
.footer-col ul {
  color: #b0b8c8;
  font-size: 0.9rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  padding: 0.2rem 0;
}
.footer-col ul li a {
  color: #b0b8c8;
  text-decoration: none;
}
.footer-col ul li a:hover {
  color: #ff6b35;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #1e2533;
  color: #7a8599;
  font-size: 0.85rem;
}
.footer-bottom .accent {
  color: #ff6b35;
}

/* ===== UTILITY ===== */
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .slide-text h2 {
    font-size: 1.2rem;
  }
  .filter-buttons {
    gap: 0.3rem;
  }
  .filter-btn {
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
  }
  .digest-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
