:root {
  --bg-color: #0d0d0d;
  --surface-color: #161616;
  --text-main: #e0e0e0;
  --text-muted: #888888;
  --gold-gradient: linear-gradient(135deg, #d4af37, #f3e5ab, #b8860b);
  --accent-color: #ff4500;
  --border-color: #2a2a2a;
  --shadow-strong: 0 20px 40px rgba(0,0,0,0.8);
  --radius-lg: 16px;
  --radius-md: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { letter-spacing: -0.02em; color: #fff; font-weight: 900; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 30px; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: #d4af37; }
.nav-cta {
  background: var(--gold-gradient);
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  display: none;
}

/* Hero */
.hero { text-align: center; padding-top: 40px; position: relative; }
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #d4af37;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 0.7; } 50% { opacity: 1; } 100% { opacity: 0.7; } }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 10px; }
.hero h1 span { background: var(--gold-gradient); -webkit-background-clip: text; color: transparent; }
.hero-desc { max-width: 600px; margin: 0 auto 30px; color: var(--text-muted); }
.hero-actions { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.btn {
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary { background: var(--gold-gradient); color: #000; border: none; }
.btn-primary:hover { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }
.btn-secondary { background: transparent; border: 1px solid #444; color: #fff; }
.btn-secondary:hover { border-color: #d4af37; color: #d4af37; }

/* 3D Carousel */
.carousel-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  perspective: 1000px;
  overflow: hidden;
  margin-bottom: 40px;
}
.carousel-item {
  width: 600px;
  height: 340px;
  position: absolute;
  transition: all 0.5s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  cursor: pointer;
}
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-item.active { transform: translateX(0) scale(1); z-index: 10; }
.carousel-item.prev { transform: translateX(-60%) scale(0.8); z-index: 9; opacity: 0.6; }
.carousel-item.next { transform: translateX(60%) scale(0.8); z-index: 9; opacity: 0.6; }
.carousel-item.hidden { transform: scale(0.6); opacity: 0; z-index: 8; pointer-events: none; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--border-color); padding-top: 30px; }
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: #fff; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* Core Cards */
.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.core-card { padding: 30px 20px; border-left: 1px solid var(--border-color); }
.core-card:first-child { border-left: none; }
.core-num { font-size: 3rem; font-weight: 900; color: var(--gold-gradient); -webkit-background-clip: text; color: transparent; line-height: 1; margin-bottom: 15px; }
.core-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; }
.core-desc { font-size: 0.9rem; color: var(--text-muted); }

/* App Section */
.app-layout { display: flex; align-items: center; gap: 60px; }
.app-text { flex: 1; }
.app-label { font-size: 0.8rem; color: #d4af37; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 30px 0; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.feature-icon { width: 24px; height: 24px; border: 1px solid #444; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #d4af37; font-size: 0.8rem; }
.app-mockup { flex: 1; display: flex; justify-content: center; position: relative; }
.phone-frame {
  width: 280px; height: 580px;
  border: 8px solid #333;
  border-radius: 40px;
  background: #0a0a0a;
  position: relative;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
  overflow: hidden;
}
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #333; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; }
.app-screen { padding: 40px 15px 15px; height: 100%; display: flex; flex-direction: column; }
.app-header { display: flex; justify-content: space-between; margin-bottom: 15px; font-weight: bold; }
.app-card { background: #1a1a1a; border-radius: 12px; overflow: hidden; margin-bottom: 10px; position: relative; }
.app-card img { height: 120px; width: 100%; object-fit: cover; }
.app-card-info { padding: 10px; font-size: 0.8rem; }
.app-bottom-nav { margin-top: auto; display: flex; justify-content: space-around; border-top: 1px solid #222; padding-top: 10px; }

/* Competitions */
.comp-main-card {
  display: flex;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-strong);
}
.comp-main-img { flex: 1; position: relative; }
.comp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.comp-main-info { flex: 1; padding: 40px; }
.badge-top { position: absolute; top: 20px; left: 20px; background: var(--accent-color); color: #fff; padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; }
.comp-progress { margin: 20px 0; }
.progress-bar { height: 6px; background: #333; border-radius: 3px; overflow: hidden; margin-top: 5px; }
.progress-fill { height: 100%; background: var(--gold-gradient); width: 75%; }
.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.comp-card { background: var(--surface-color); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.3s; }
.comp-card:hover { transform: translateY(-5px); }
.comp-card img { height: 150px; width: 100%; object-fit: cover; }
.comp-card-info { padding: 15px; }
.comp-small-news { margin-top: 30px; }
.news-row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }
.news-row span { color: var(--text-muted); }

/* Gossip Feed */
.filter-pills { display: flex; gap: 10px; margin-bottom: 30px; overflow-x: auto; padding-bottom: 10px; }
.pill { padding: 8px 16px; border-radius: 20px; background: #1a1a1a; border: 1px solid #333; white-space: nowrap; cursor: pointer; }
.pill.active { background: var(--gold-gradient); color: #000; border-color: transparent; }
.feed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feed-card { background: var(--surface-color); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); }
.feed-img { position: relative; height: 200px; }
.feed-img img { width: 100%; height: 100%; object-fit: cover; }
.feed-content { padding: 20px; }
.feed-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 10px; }
.feed-tags { display: flex; gap: 10px; margin-top: 15px; }
.feed-tag { font-size: 0.75rem; background: #222; padding: 4px 8px; border-radius: 4px; }

/* Live */
.live-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.timeline { border-left: 2px solid transparent; background: linear-gradient(to bottom, #d4af37, #222) border-box; position: relative; padding-left: 20px; }
.tl-item { position: relative; margin-bottom: 30px; }
.tl-dot { position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #d4af37; box-shadow: 0 0 10px #d4af37; }
.tl-time { font-size: 0.8rem; color: #d4af37; margin-bottom: 5px; }
.index-panel { background: var(--surface-color); border: 1px solid #d4af37; border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
.index-num { font-size: 4rem; font-weight: 900; background: var(--gold-gradient); -webkit-background-clip: text; color: transparent; line-height: 1; margin: 20px 0; }
.index-bar { margin-bottom: 15px; }
.index-bar-fill { height: 100%; background: var(--gold-gradient); }

/* Discussion */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.disc-card { background: #1a1a1a; padding: 20px; border-radius: var(--radius-md); border: 1px solid #222; }
.disc-user { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-gradient); }
.quote-box { border-left: 3px solid #d4af37; padding-left: 10px; font-size: 0.9rem; color: var(--text-muted); margin: 10px 0; }
.disc-input { display: flex; gap: 10px; }
.disc-input input { flex: 1; padding: 12px; background: #111; border: 1px solid #333; border-radius: 8px; color: #fff; }
.convention-banner { border: 1px dashed #444; padding: 20px; border-radius: 8px; text-align: center; display: flex; justify-content: space-between; align-items: center; }

/* CTA & Footer */
.cta-panel { background: var(--gold-gradient); padding: 60px; border-radius: var(--radius-lg); color: #000; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; }
.cta-content { z-index: 2; position: relative; }
.cta-links { display: flex; gap: 15px; z-index: 2; position: relative; }
.cta-btn { background: #000; color: #fff; padding: 12px 24px; border-radius: 30px; font-weight: bold; }
footer { border-top: 1px solid #222; padding: 40px 0; font-size: 0.85rem; color: #666; text-align: center; }
footer a { color: #888; }
footer a:hover { color: #d4af37; }
.disclaimer { margin-bottom: 10px; }

/* Mobile Bottom Bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #111; padding: 10px 20px; border-top: 1px solid #333; z-index: 200; justify-content: space-between; align-items: center; }
.mobile-bar .btn { width: 100%; padding: 12px; font-size: 0.9rem; }
.close-bar { color: #666; font-size: 1.5rem; padding: 10px; cursor: pointer; }

/* Responsive */
@media (max-width: 1024px) {
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .app-layout { flex-direction: column; text-align: center; }
  .app-mockup { margin-top: 40px; }
  .feature-grid { display: inline-grid; text-align: left; }
  .comp-main-card { flex-direction: column; }
  .live-layout { grid-template-columns: 1fr; }
  .disc-grid { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; text-align: center; gap: 30px; padding: 40px 20px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .carousel-wrapper { height: 250px; }
  .carousel-item { width: 90%; height: 200px; }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .core-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .core-card { border-left: none; border-bottom: 1px solid #222; padding: 20px 10px; }
  .comp-grid { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .convention-banner { flex-direction: column; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}