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

body {
  background-color: #0d1117;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-header {
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
}

.main-header .logo strong {
  color: #5865f2;
}

.main-header .main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-header .main-nav ul a {
  text-decoration: none;
  color: #8b949e;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}

.main-header .main-nav ul a:hover {
  color: white;
}

.main-header .main-nav ul a.btn-discord {
  background-color: #5865f2;
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main-header .main-nav ul a.btn-discord:hover {
  background-color: #4752c4;
}

.hero {
  padding: 6rem 0;
  text-align: center;
  background: radial-gradient(circle at top, rgba(88, 101, 242, 0.05), transparent 70%);
}

.hero .badge {
  display: inline-block;
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p {
  color: #8b949e;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero .search-container {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero .search-container input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 1rem;
  font-size: 1rem;
  outline: none;
}

.hero .search-container .btn-search {
  background: #5865f2;
  border: none;
  color: white;
  padding: 0 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.hero .search-container .btn-search:hover {
  background: #4752c4;
}

section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p {
  color: #8b949e;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.card .card-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: #8b949e;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.card .link {
  color: #5865f2;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.card .link:hover {
  text-decoration: underline;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  transition: background 0.3s;
  cursor: pointer;
}

.topic-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.topic-item i {
  font-size: 1.5rem;
  color: #5865f2;
  width: 40px;
  text-align: center;
}

.topic-item h4 {
  font-size: 1.1rem;
}

.topic-item p {
  font-size: 0.8rem;
  color: #8b949e;
}

.guide-page {
  padding: 4rem 0;
}

.guide-page .guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
}

.guide-page .guide-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.guide-page .guide-sidebar .sidebar-block {
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1.5rem;
}

.guide-page .guide-sidebar .sidebar-block h5 {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #8b949e;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.guide-page .guide-sidebar .sidebar-block ul {
  list-style: none;
}

.guide-page .guide-sidebar .sidebar-block ul li {
  margin-bottom: 0.75rem;
}

.guide-page .guide-sidebar .sidebar-block ul li a {
  text-decoration: none;
  color: #8b949e;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
  display: block;
}

.guide-page .guide-sidebar .sidebar-block ul li a:hover {
  color: #5865f2;
  transform: translateX(5px);
}

.guide-page .guide-content .breadcrumb {
  font-size: 0.8rem;
  color: #8b949e;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.guide-page .guide-content .breadcrumb a {
  color: #5865f2;
  text-decoration: none;
}

.guide-page .guide-content .breadcrumb a:hover {
  text-decoration: underline;
}

.guide-page .guide-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.guide-page .guide-content .lead {
  font-size: 1.25rem;
  color: #8b949e;
  margin-bottom: 3rem;
}

.guide-page .guide-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  color: white;
}

.guide-page .guide-content p {
  color: #c9d1d9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.guide-page .guide-content ul, .guide-page .guide-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.guide-page .guide-content ul li, .guide-page .guide-content ol li {
  color: #c9d1d9;
  margin-bottom: 0.75rem;
}

.guide-page .guide-content code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  font-family: monospace;
  color: #5865f2;
}

.info-box, .alert-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  margin: 3rem 0;
  align-items: center;
}

.info-box i, .alert-box i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-box p, .alert-box p {
  margin: 0 !important;
  color: inherit !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.info-box {
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.15);
  color: #a5adff;
}

.alert-box.warning {
  background: rgba(255, 171, 0, 0.08);
  border: 1px solid rgba(255, 171, 0, 0.15);
  color: #ffcc66;
}

.main-footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer .footer-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.main-footer .footer-info {
  max-width: 300px;
}

.main-footer .footer-info p {
  color: #8b949e;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.main-footer h5 {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #8b949e;
  margin-bottom: 1.5rem;
}

.main-footer .footer-links ul {
  list-style: none;
}

.main-footer .footer-links ul li {
  margin-bottom: 0.5rem;
}

.main-footer .footer-links ul li a {
  text-decoration: none;
  color: #8b949e;
  font-size: 0.9rem;
}

.main-footer .footer-links ul li a:hover {
  color: white;
}

.main-footer .footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 3rem;
  color: #8b949e;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .guide-layout {
    grid-template-columns: 1fr !important;
  }
  .guide-sidebar {
    display: none;
  }
}
