@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Premium Dark Palette */
  --color-bg: hsl(220, 50%, 6%);
  --color-card-bg: rgba(15, 23, 42, 0.6);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-accent: hsl(41, 60%, 55%);        /* Warm Royal Gold */
  --color-accent-hover: hsl(41, 65%, 62%);
  --color-discord: hsl(235, 86%, 65%);       /* Discord Blue-Purple */
  --color-discord-hover: hsl(235, 90%, 70%);
  --color-text-main: hsl(210, 40%, 98%);
  --color-text-muted: hsl(215, 20%, 75%);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Background Gradients & Image */
.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(10px) scale(1.05);
  animation: slowPan 30s infinite alternate ease-in-out;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.6) 0%, var(--color-bg) 90%);
}

@keyframes slowPan {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.15) translate(-1%, -1%); }
}

/* --- HEADER --- */
.site-header {
  padding: 2rem 0;
  width: 100%;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-discord));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-text-main);
  font-size: 1.15rem;
  box-shadow: 0 0 20px rgba(207, 158, 70, 0.2);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-accent);
}

.btn-nav {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 9999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
}

.btn-nav:hover {
  background: var(--color-text-main);
  color: var(--color-bg);
  border-color: var(--color-text-main);
  transform: translateY(-1px);
}

/* --- MAIN CARD --- */
.main-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.presentation-card {
  background: var(--color-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.presentation-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(207, 158, 70, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(207, 158, 70, 0.1);
  border: 1px solid rgba(207, 158, 70, 0.2);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.card-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--color-text-main);
}

.card-title span {
  color: var(--color-accent);
}

.card-description {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

/* Discord Call to Action */
.discord-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 3.5rem;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: var(--color-discord);
  color: var(--color-text-main);
  padding: 18px 42px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-discord svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn-discord:hover {
  background-color: var(--color-discord-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.5);
}

.btn-discord:hover svg {
  transform: rotate(-5deg) scale(1.1);
}

.member-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.member-count-indicator {
  width: 8px;
  height: 8px;
  background-color: #22c55e; /* Green active */
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* --- GRID CHANNELS --- */
.channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.channel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  transition: all var(--transition-smooth);
}

.channel-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(207, 158, 70, 0.2);
  transform: translateY(-2px);
}

.channel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.channel-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.channel-desc {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --- FOOTER --- */
.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.6;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: auto;
}

.site-footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .presentation-card {
    padding: 2rem 1.5rem;
  }

  .card-title {
    font-size: 2.5rem;
  }

  .card-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-discord {
    padding: 16px 32px;
    font-size: 1.05rem;
    width: 100%;
    justify-content: center;
  }

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