/* ==========================================================================
   DISCORD CLIQUE - TWENTY ONE PILOTS LANDING PAGE
   Minimalist Dark Full-Screen Backdrop Design
   ========================================================================== */

:root {
  --yellow: #FFE800;
  --red: #FF2A4B;
  --bg-dark: #0a0b0e;
  --card-bg: rgba(18, 20, 26, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Full Screen Fixed Backdrop */
.bg-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.backdrop-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(10, 11, 14, 0.4) 0%, rgba(10, 11, 14, 0.85) 100%),
              linear-gradient(to bottom, rgba(10, 11, 14, 0.6) 0%, transparent 40%, rgba(10, 11, 14, 0.9) 100%);
}

/* App Layout Wrapper */
.app-layout {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 40px;
}

/* Header Navbar */
.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--yellow);
}

.nav-join-btn {
  background: rgba(255, 232, 0, 0.15);
  border: 1px solid var(--yellow) !important;
  color: var(--yellow) !important;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-join-btn:hover {
  background: var(--yellow);
  color: #000000 !important;
}

/* Center Hero */
.hero-center {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-content {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 232, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.05);
  border-color: rgba(255, 232, 0, 0.6);
}

.emblem-large {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 232, 0, 0.4);
}

.main-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.8rem;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.main-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
  text-transform: lowercase;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-join {
  background: #5865F2;
  color: #ffffff;
}

.btn-join:hover {
  background: #4752C4;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--yellow);
  color: #000000;
  border-color: var(--yellow);
}

.btn-outline {
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.w-full {
  width: 100%;
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--yellow);
}

/* Modal Overlay & Cards */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.modal-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.modal-project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.project-item:hover {
  background: rgba(255, 232, 0, 0.08);
  border-color: var(--yellow);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--yellow);
  margin-bottom: 2px;
}

.project-info p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.project-item i {
  color: rgba(255, 255, 255, 0.5);
}

/* Ban Form */
.ban-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.field input, .field textarea {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.9rem;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success i {
  font-size: 2.5rem;
  color: #23a55a;
  margin-bottom: 10px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.form-success p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .app-layout {
    padding: 20px;
  }
  .site-header {
    flex-direction: column;
    gap: 16px;
  }
  .main-title {
    font-size: 2.5rem;
  }
  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
