:root {
  --bg-color: #0b0b0f;
  --card-bg: #18181b;
  --text-primary: #efeff1;
  --text-secondary: #adadb8;
  --accent-color: #9147ff;
  --accent-hover: #772ce8;
  --highlight: #f5f5f5;
  --nav-bg: #18181b;
  --border-color: #2e2e35;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Roobert, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid #000;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-primary);
}

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

/* Hero */
.hero {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 60px 0;
  }
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 20px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 30px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  background: var(--accent-color);
  color: #fff;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn.ghost {
  background: rgba(255,255,255,0.1);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.2);
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Sections */
.section-title {
  font-size: 24px;
  margin: 0 0 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
  margin-left: 20px;
}

.features, .posts, .promotions, .comments, .gallery {
  padding: 60px 0;
}

/* Cards (Streaming/Gaming Style) */
.feature-grid, .comment-grid, .post-grid, .gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card, .comment-card, .post-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 6px;
  transition: transform 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card:hover, .comment-card:hover, .post-card:hover {
  transform: translateY(-4px);
  background: #232329;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-title, .comment-title, .post-title {
  color: var(--text-primary);
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-desc, .comment-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-img {
  width: 100%;
  max-width: 333px;
  max-height: 592px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 6px;
  transition: transform 0.2s;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 10;
}

/* Posts/Carousel */
.carousel-container {
  position: relative;
}

.carousel-track-container {
  overflow-x: auto;
  scrollbar-width: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  flex: 0 0 300px;
}

.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.post-meta {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.post-summary {
  flex: 1;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.post-link {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.carousel-btn {
  background: var(--card-bg);
  border: none;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: var(--accent-color);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* Promotions */
.promotion-card {
  background: var(--card-bg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 6px;
  transition: background 0.2s;
}

.promotion-card:hover {
  background: #232329;
}

.promotion-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.promotion-title {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
  background: var(--nav-bg);
  font-size: 0.9rem;
}

/* Single Page */
.article {
  padding: 60px 0;
}

.article-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.article-meta {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccc;
}

.article-content h2 {
  color: var(--text-primary);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.5rem; }
  .carousel-slide { flex: 0 0 260px; }
}

/* CTA Section */
.cta {
  padding: 40px 0;
}
.cta-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  border: 1px solid var(--border-color);
}
.cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.cta-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (min-width: 768px) {
  .cta {
    padding: 80px 0;
  }
  .cta-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 40px;
    gap: 30px;
  }
  .cta-buttons {
    justify-content: flex-end;
  }
  .cta-title {
    font-size: 2rem;
  }
  .cta-desc {
    font-size: 1.1rem;
  }
}
