/* ==========================================================================
   SLAYERS ONLINE: REVIVAL (LORGAME) - MODERN DARK FANTASY STYLESHEET
   ========================================================================== */

:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141c;
  --bg-card: rgba(22, 26, 38, 0.85);
  --bg-card-hover: rgba(30, 36, 52, 0.95);
  --border-color: rgba(220, 38, 38, 0.25);
  --border-highlight: rgba(212, 175, 55, 0.4);
  --crimson: #dc2626;
  --crimson-glow: #ef4444;
  --crimson-dark: #991b1b;
  --gold: #d4af37;
  --gold-glow: #f59e0b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --font-heading: 'Cinzel', serif, Georgia;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    url('../images/bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: overlay;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--crimson-glow);
}

/* HEADER & NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 11, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.6));
}

.brand span.tag {
  font-size: 0.65rem;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  font-family: var(--font-body);
  font-weight: 600;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  border-radius: 2px;
}

.nav-btn {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
  color: #fff !important;
}

/* SERVER STATUS BAR */
.status-bar {
  background: rgba(18, 20, 28, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.6rem 2rem;
  font-size: 0.88rem;
}

.status-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.copy-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-family: monospace;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

.copy-badge:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.7) 0%, rgba(10, 11, 14, 0.95) 100%),
              url('../images/hero_bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-highlight);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 25px rgba(220, 38, 38, 0.5);
  letter-spacing: 1px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.6);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #000;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.5);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
  color: #000;
}

/* MAIN LAYOUT */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  flex: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* DOWNLOAD CARDS */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.download-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--crimson-glow);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.25);
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.card-badge.quick {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.card-header .subtitle {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
}

.card-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.card-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.card-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

.card-meta {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* STEP-BY-STEP TUTORIAL BOXES */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.step-number {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.step-content h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.code-box {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'Consolas', monospace;
  font-size: 0.9rem;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-color);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.15);
  color: var(--crimson-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* TABLES */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.styled-table th, .styled-table td {
  padding: 1rem 1.4rem;
  text-align: left;
}

.styled-table th {
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.styled-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.styled-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* FOOTER */
footer {
  background: #060709;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .status-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .step-card {
    flex-direction: column;
  }
}
