/* ================================================
   LIMITMC · styles.css
   ================================================ */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0e17;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────────────────────────────────────
   Header
   ────────────────────────────────────────────── */
.header {
  border-bottom: 1px solid #1f2937;
  animation: slideDown 0.6s ease-out;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #151923;
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 8px 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-text {
  font-size: 14px;
}

.server-ip {
  color: #9ca3af;
  font-size: 12px;
}

.player-count {
  color: #ffffff;
  font-weight: 500;
}

.discord-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.discord-btn:hover {
  background: #4752C4;
}

.icon {
  width: 20px;
  height: 20px;
}

.btn-text {
  font-weight: 600;
  font-size: 14px;
}

/* ──────────────────────────────────────────────
   Hero Section
   ────────────────────────────────────────────── */
.hero-section {
  padding: 64px 0;
}

.hero-title {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeIn 0.8s ease-out;
}

.main-title {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 16px;
}

.title-white {
  color: #ffffff;
}

.title-green {
  color: #34d399;
}

.subtitle {
  color: #9ca3af;
  font-size: 18px;
}

/* ──────────────────────────────────────────────
   Navigation
   ────────────────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 64px;
}

.nav-link {
  color: #9ca3af;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInScale 0.6s ease-out forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }

.nav-link:hover {
  color: #ffffff;
  transform: scale(1.05);
}

.nav-link.active {
  color: #34d399;
}

/* ──────────────────────────────────────────────
   Status Indicator
   ────────────────────────────────────────────── */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.status-dot-small {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-text-mono {
  color: #9ca3af;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

/* ──────────────────────────────────────────────
   Hero Card
   ────────────────────────────────────────────── */
.hero-card-wrapper {
  max-width: 768px;
  margin: 0 auto 48px;
  position: relative;
  animation: floatUp 1s ease-out;
}

.hero-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #10b981, #06b6d4, #3b82f6);
  border-radius: 16px;
  filter: blur(8px);
  opacity: 0.5;
  animation: glow 3s ease-in-out infinite;
}

.hero-card {
  position: relative;
  background: #151923;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.card-label {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.card-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.card-description {
  color: #9ca3af;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.card-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: #34d399;
  color: #000000;
}

.btn-primary:hover {
  background: #10b981;
}

.btn-secondary {
  background: #0a0e17;
  color: #ffffff;
  border: 1px solid #374151;
}

.btn-secondary:hover {
  background: #111827;
}

/* ──────────────────────────────────────────────
   Feature Cards
   ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 64px;
}

.feature-card {
  background: #151923;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
}

.feature-card:hover {
  border-color: #374151;
  transform: scale(1.05);
}

.store-card:hover {
  box-shadow: 0 20px 60px rgba(52, 211, 153, 0.3);
}

.discord-card:hover {
  box-shadow: 0 20px 60px rgba(88, 101, 242, 0.3);
}

.partnership-card:hover {
  box-shadow: 0 20px 60px rgba(251, 191, 36, 0.3);
}

.card-icon {
  width: 128px;
  height: 128px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.feature-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.icon-large {
  width: 96px;
  height: 96px;
  color: #d1d5db;
}

.card-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-text {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 16px;
}

.card-link {
  color: #34d399;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.feature-card:hover .card-link {
  color: #10b981;
}

/* ──────────────────────────────────────────────
   News Section
   ────────────────────────────────────────────── */
.news-section {
  max-width: 1024px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
}

.news-grid {
  display: grid;
  gap: 24px;
}

.news-card {
  background: #151923;
  border: 1px solid #1f2937;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease-out forwards;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }

.news-card:hover {
  border-color: #374151;
  transform: translateY(-5px);
}

.news-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumbnail {
  transform: scale(1.1);
}

.news-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #374151;
}

.news-content {
  padding: 24px;
}

.news-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.news-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.news-description {
  color: #9ca3af;
  font-size: 14px;
}

/* ──────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid #1f2937;
  margin-top: 96px;
}

.footer-text {
  color: #6b7280;
  font-size: 14px;
  text-align: center;
  padding: 24px 0;
}

/* ──────────────────────────────────────────────
   Toast Notification
   ────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #000000;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
  transition: bottom 0.4s ease;
  z-index: 1000;
}

.toast.show {
  bottom: 40px;
}

/* ──────────────────────────────────────────────
   Animations
   ────────────────────────────────────────────── */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-title {
    font-size: 40px;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .card-title {
    font-size: 28px;
  }

  .card-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .main-nav {
    gap: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}