:root {
  --bg-main: #0b0c10;
  --bg-card: #151824;
  --accent: #5865f2; /* Discord blurple */
  --accent-soft: #404eed;
  --text-main: #f5f5f5;
  --text-muted: #a0a4b8;
  --danger: #ed4245;
  --success: #3ba55d;
  --max-width: 1100px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.35);
  --transition-fast: 0.18s ease-out;
}

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

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: radial-gradient(
    circle at top left,
    #20253b 0,
    #0b0c10 45%,
    #05060a 100%
  );
  background-attachment: fixed;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

main {
  width: 100%;
  max-width: var(--max-width);
  padding: 1.5rem 1.25rem 3rem;
}

header {
  width: 100%;
  max-width: var(--max-width);
  padding: 1.25rem 1.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 30%;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff 0,
    #99a2ff 25%,
    #5865f2 60%,
    #20253b 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.brand-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.4) 0,
    transparent 40%
  );
  mix-blend-mode: screen;
  opacity: 0.8;
}

.brand-logo-icon {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 2px solid rgba(5, 6, 10, 0.7);
  background: rgba(5, 6, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.brand-text-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-text-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-primary {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    var(--accent) 0,
    var(--accent-soft) 50%,
    #7a5cff 100%
  );
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.55);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(88, 101, 242, 0.75);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.55);
}

.btn-primary-icon {
  font-size: 1.1rem;
}

/* Layout */
.hero {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .seo-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-left {
  background: radial-gradient(
    circle at top left,
    rgba(88, 101, 242, 0.18) 0,
    rgba(21, 24, 36, 0.9) 40%,
    rgba(5, 6, 10, 0.95) 100%
  );
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(88, 101, 242, 0.35) 0,
    transparent 60%
  );
  top: -120px;
  right: -80px;
  opacity: 0.7;
  filter: blur(1px);
}

.hero-left-inner {
  position: relative;
  z-index: 1;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.7);
  border: 1px solid rgba(88, 101, 242, 0.4);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.hero-tagline span {
  color: var(--accent-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

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

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.hero-badge {
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(5, 6, 10, 0.7);
  border: 1px solid rgba(160, 164, 184, 0.35);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.4rem;
}

.btn-ghost {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 164, 184, 0.4);
  background: rgba(5, 6, 10, 0.7);
  color: var(--text-muted);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(21, 24, 36, 0.9);
  border-color: rgba(160, 164, 184, 0.7);
  color: var(--text-main);
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: rgba(160, 164, 184, 0.8);
}

.hero-meta-value {
  font-weight: 600;
  color: var(--text-main);
}

.hero-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

/* Right column: Discord widget + info */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-card {
  background: rgba(5, 6, 10, 0.9);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(88, 101, 242, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.widget-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.widget-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff 0,
    #99a2ff 25%,
    #5865f2 60%,
    #20253b 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}

.widget-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.widget-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.widget-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(59, 165, 93, 0.25);
  animation: breathing 2.5s ease-in-out infinite;
}

@keyframes breathing {
  0% {
    opacity: 0.7;
    box-shadow: 0 0 0 2px rgba(59, 165, 93, 0.25);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(59, 165, 93, 0.4);
  }
  100% {
    opacity: 0.7;
    box-shadow: 0 0 0 2px rgba(59, 165, 93, 0.25);
  }
}

.widget-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

.widget-note strong {
  color: var(--accent-soft);
  font-weight: 600;
}

.seo-section {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.seo-section-wide {
  grid-template-columns: minmax(0, 1fr);
}

.seo-card {
  background: rgba(5, 6, 10, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(21, 24, 36, 0.9);
}

.seo-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.seo-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.seo-list,
.seo-steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.seo-list li,
.seo-steps li {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.faq-item {
  padding-top: 0.9rem;
  margin-top: 0.9rem;
  border-top: 1px solid rgba(160, 164, 184, 0.18);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  margin-bottom: 0;
}

footer {
  width: 100%;
  max-width: var(--max-width);
  padding: 1.5rem 1.25rem 2.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

footer a {
  color: var(--accent-soft);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-left {
    padding: 1.4rem 1.25rem;
  }

  .seo-card {
    padding: 1.1rem 1rem;
  }

  footer {
    padding-bottom: 2rem;
  }
}
