@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "gg sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #36393f;
  color: #dcddde;
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
}

.layout-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  gap: 2rem;
}

.main-content {
  flex: 2;
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-box {
  background: #2f3136;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.sidebar-box h3 {
  color: #7289da;
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #7289da44;
  padding-bottom: 0.4rem;
}

.knife-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background: transparent;
}

.knife-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  filter: brightness(1.1) contrast(1.05);
}

header {
  background: #2f3136;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  text-align: center;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-knife {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.header-text {
  text-align: left;
}

h1 {
  color: #fff;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.tagline {
  margin: 0.5rem 0 0;
  color: #b9bbbe;
  font-size: 1rem;
  font-weight: 500;
}

h2 {
  color: #7289da;
  border-bottom: 3px solid #7289da44;
  padding-bottom: 0.5rem;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  background: #40444b;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

li:hover {
  background: #4f545c;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.icon {
  font-size: 1.4rem;
  color: #7289da;
  flex-shrink: 0;
}

a {
  color: #00aff4;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

a:hover {
  color: #0099d9;
  text-decoration: underline;
}

.desc {
  color: #b9bbbe;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  line-height: 1.3;
}

.server-invite {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white;
  text-align: center;
  padding: 1.2rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.server-invite a {
  color: white;
  text-decoration: underline;
}

.aff-desc {
  color: #b9bbbe;
  font-size: 0.9rem;
  margin: -0.5rem 0 1rem 0;
  text-align: center;
}

.affiliates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.empty-slot {
  background: #40444b;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  color: #72767d;
  font-style: italic;
  border: 1px dashed #7289da44;
  font-size: 0.9rem;
}

.more-links {
  text-align: center;
  margin-top: 1rem;
  color: #b9bbbe;
  font-size: 0.9rem;
}

.more-links a {
  color: #00aff4;
}

.more-links a:hover {
  color: #0099d9;
}

.status-list {
  margin: 0;
}

.status-list li {
  background: transparent;
  padding: 0.4rem 0;
  display: block;
  border-bottom: 1px solid #40444b;
  font-size: 0.9rem;
}

.status-list li:last-child {
  border-bottom: none;
}

.status-list strong {
  color: #7289da;
}

.changelog-list {
  margin: 0;
}

.changelog-list li {
  background: transparent;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid #40444b;
  font-size: 0.9rem;
}

.changelog-list li:last-child {
  border-bottom: none;
}

.date {
  background: #40444b;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #dcddde;
}

.changelog-note {
  text-align: center;
  color: #b9bbbe;
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

.font-section {
  text-align: center;
}

.font-display {
  background: #40444b;
  padding: 0.6rem;
  border-radius: 6px;
  font-size: 1rem;
  color: #dcddde;
  margin-top: 0.8rem;
  display: inline-block;
}

.cbox-container {
  background: #36393f;
  border: 2px solid #2f3136;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin: 1.5rem 0;
}

.cbox-container iframe {
  background: #36393f !important;
  display: block;
  width: 100%;
  border: none;
  filter: brightness(0.95) contrast(1.05);
}

small, .small-text {
  color: #72767d;
  font-size: 0.8rem;
}

button, .button-like {
  transition: all 0.2s ease;
}

button:hover, .button-like:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Ko-fi link styling */
.kofi-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #ff5f5f, #ff8c8c);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255,95,95,0.3);
}

.kofi-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,95,95,0.5);
  background: linear-gradient(135deg, #ff4d4d, #ff7373);
}

.kofi-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .layout-container {
    flex-direction: column;
  }

  .sidebar {
    order: -1;
  }

  .kofi-link {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }

  .kofi-icon {
    width: 28px;
    height: 28px;
  }
}