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

:root {
  --gold: #d4a017;
  --gold-light: #f5d060;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --text: #e0e0e0;
  --text-muted: #a0a0b0;
  --accent: #c0392b;
  --green: #27ae60;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(15, 15, 26, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul li a:hover {
  color: var(--gold);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 15, 26, 0.75), rgba(26, 26, 46, 0.7)),
    url('images/hero-bg.jpg') center/cover no-repeat;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.3);
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--darker);
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
}

#history {
  background:
    linear-gradient(135deg, rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0.88)),
    url('images/abyssal-artwork.jpg') center/cover no-repeat;
}

.section h2 {
  text-align: center;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--dark);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(212, 160, 23, 0.1);
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 160, 23, 0.4);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--gold-light);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Skills */
.skill-icon {
  width: 25px;
  height: 25px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.skill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 15, 26, 0.6);
  padding: 16px 20px;
  border-radius: 6px;
  border: 1px solid rgba(212, 160, 23, 0.08);
}

.skill-level {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 35px;
}

.skill-name {
  min-width: 100px;
  font-size: 0.95rem;
}

.skill-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #2ecc71);
  border-radius: 4px;
  transition: width 1s ease;
}

/* Versions */
.versions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.version-card {
  background: var(--dark);
  border-radius: 8px;
  border: 1px solid rgba(212, 160, 23, 0.1);
  position: relative;
  overflow: hidden;
}

.version-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.version-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.version-card:hover .version-img img {
  transform: scale(1.05);
}

.version-body {
  padding: 30px;
}

.version-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.version-badge.rs3 {
  background: rgba(192, 57, 43, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(192, 57, 43, 0.3);
}

.version-badge.osrs {
  background: rgba(39, 174, 96, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.version-card h3 {
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.version-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "\2713 ";
  color: var(--gold);
  margin-right: 8px;
}

/* Timeline */
.timeline {
  max-width: 700px;
  margin: 50px auto 0;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(212, 160, 23, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.4);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-content h3 {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(15, 15, 26, 0.8), rgba(26, 26, 46, 0.75)),
    url('images/boss-artwork.jpg') center/cover no-repeat;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 15px;
}

/* Footer */
footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 160, 23, 0.1);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }

  nav ul {
    gap: 15px;
  }

  nav {
    padding: 14px 20px;
  }

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

  .section {
    padding: 60px 0;
  }
}
