* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  background: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.6;
  min-height: 100vh;
  padding: 1rem;
}

.container {
  max-width: 680px;
  margin: 0 auto;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-top: 2px solid #333;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.cookie-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-link {
  color: #5865F2;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.cookie-btn.accept {
  background: #5865F2;
  color: #fff;
}

.cookie-btn.accept:hover {
  background: #4752C4;
}

.cookie-btn.reject {
  background: #333;
  color: #ccc;
  border: 1px solid #444;
}

.cookie-btn.reject:hover {
  background: #444;
  color: #fff;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 0 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #FF0000, #5865F2);
  border-radius: 2px;
}

header h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

header p {
  color: #999;
  font-size: 1rem;
}

/* Form Card */
.form-card {
  background: #141414;
  border: 1px solid #222;
  border-radius: 14px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #222;
}

.youtube-icon {
  color: #FF0000;
  flex-shrink: 0;
}

.form-card h2 {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
}

form input,
form textarea {
  width: 100%;
  padding: 0.9rem;
  background: #1a1a1a;
  border: 2px solid #252525;
  border-radius: 8px;
  color: #e5e5e5;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #FF0000;
  background: #1f1f1f;
}

form input::placeholder,
form textarea::placeholder {
  color: #666;
}

form textarea {
  min-height: 100px;
  resize: vertical;
}

#captchaContainer {
  margin-bottom: 1rem;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

#formStatus {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 20px;
}

/* Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.links-category {
  background: #141414;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1.2rem;
}

.links-category h3 {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #222;
}

.link-btn {
  display: block;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #d0d0d0;
  text-decoration: none;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  transition: all 0.2s;
}

.link-btn:last-child {
  margin-bottom: 0;
}

.link-btn:hover {
  background: #222;
  border-color: #3a3a3a;
  color: #fff;
  transform: translateX(3px);
}

.link-btn.discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border-color: #5865F2;
  color: #fff;
}

.link-btn.discord:hover {
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid #1a1a1a;
  color: #666;
  font-size: 0.9rem;
}

footer p {
  margin-bottom: 0.5rem;
}

.footer-legal {
  font-size: 0.85rem;
}

.footer-legal a {
  color: #888;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #5865F2;
}

.cookie-settings {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.85rem;
  padding: 0;
}

.cookie-settings:hover {
  color: #5865F2;
}

/* Mobile Optimization */
@media (max-width: 640px) {
  body {
    padding: 0.5rem;
  }

  header h1 {
    font-size: 2rem;
  }

  .form-card {
    padding: 1.3rem;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
