/* Inline critical font - Inter Latin only */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuOKfAZ9hiA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYAZ9hiA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYAZ9hiA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuDyYAZ9hiA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-main: #0e1723;
  --bg-card: #161f2b;
  --text-main: #f5f5f7;
  --text-link: #917eff;
  --card-border: #585cf6;
  --card-radius: 14px;
  --accent: #60a5fa;
  --gradient: linear-gradient(135deg, #ffffff 0%, #60a5fa 40%, #a78bfa 70%, #10b981 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background: #101827;
  background: linear-gradient(135deg, #101827 0%, #20283a 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 80px;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(14, 23, 35, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
  padding: 1rem 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
}

.sticky-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.sticky-header.header-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-icon {
  width: 36px;
  height: 36px;
  position: relative;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.logo-domain {
  font-size: 0.7rem;
  color: #60a5fa;
  font-weight: 400;
  opacity: 0.8;
  margin-top: -0.1rem;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn {
  background: rgba(59,130,246,0.13);
  color: #60a5fa;
  border: 1.5px solid #60a5fa;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59,130,246,0.11);
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #60a5fa;
  color: #141a20;
  border-color: #60a5fa;
  transform: translateY(-1px);
}

.nav-btn.discord {
  background: rgba(114, 137, 218, 0.13);
  color: #7289da;
  border-color: #7289da;
}

.nav-btn.discord:hover {
  background: #7289da;
  color: white;
}

.login-btn {
  background: rgba(59,130,246,0.13);
  color: #60a5fa;
  border: 1.5px solid #60a5fa;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59,130,246,0.11);
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background: #60a5fa;
  color: #141a20;
  border-color: #60a5fa;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(59,130,246,0.13);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

.mobile-menu-toggle:hover {
  background: var(--accent);
  color: #141a20;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 23, 35, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
  display: flex;
  opacity: 1;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.mobile-menu-nav .nav-btn {
  width: 280px;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.mobile-menu-nav .login-btn {
  width: 280px;
  text-align: center;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header {
  position: relative;
  padding: 3rem 0 2.5rem 0;
  text-align: center;
  margin-top: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.09;
  text-shadow: 0 2px 20px rgba(60,130,246,0.15);
}

.hero-desc {
  font-size: 1.18rem;
  color: #d1d5db;
  margin-bottom: 2.5rem;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.cta-btn {
  margin-top: 0.4rem;
  background: linear-gradient(90deg, #514efa, #8964fa 65%, #10b981 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.21rem;
  padding: 1.1rem 2.6rem;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(59,130,246,0.20);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn:hover {
  background: linear-gradient(90deg, #8964fa 0%, #3be0a7 100%);
  transform: translateY(-2px) scale(1.04);
}

.features-section {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 4rem 0;
}

.features-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1320px;
  padding: 0 2rem;
}

.feature-card {
  background: rgba(22,31,43,0.95);
  border: 1.5px solid var(--accent);
  border-radius: var(--card-radius);
  padding: 1.6rem 2rem 1.25rem 2rem;
  box-shadow: 0 2px 20px 0px rgba(42,80,235,0.07);
  transition: border 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 135px;
}

.feature-card:hover {
  border-color: #a78bfa;
  box-shadow: 0 4px 28px 2px rgba(107,100,255,0.11);
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0.40rem;
  letter-spacing: -0.5px;
  border-bottom: 1.2px solid #222b3d;
  padding-bottom: 0.32rem;
}

.feature-desc {
  font-size: 1.01rem;
  color: #b3b7db;
  margin-bottom: 0.12rem;
  margin-top: 0.35rem;
}

.feature-link {
  color: var(--text-link);
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.15s;
}

.feature-link:hover {
  color: #6f83fa;
}

main {
  max-width: 1200px;
  margin: 3rem auto 4rem auto;
  padding: 0 1.5rem;
}

section {
  margin-bottom: 3rem;
}

.steps-section {
  background: linear-gradient(135deg, #0d0f12 0%, #1a1a1a 100%);
  border-radius: 14px;
  padding: 3rem 1.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  position: relative;
  background: rgba(22,31,43,0.9);
  padding: 2rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(42, 80, 235, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(59,130,246,0.5);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.step-description {
  color: #b3b7db;
  line-height: 1.4;
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d30 100%);
  padding: 4rem 1.5rem;
  border-radius: 14px;
  margin-bottom: 3rem;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: #b3b7db;
  margin-bottom: 2rem;
}

.faq-section {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq-container {
  margin: 0 auto;
}

.faq-item {
  background: rgba(22,31,43,0.95);
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(59,130,246,0.12);
}

.faq-question {
  padding: 1.3rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  user-select: none;
  justify-content: space-between;
}

.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  color: #b3b7db;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-answer.show {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 1000px;
}

footer {
  background: #0c0c0c;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: #9ca3af;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.footer-logo-domain {
  font-size: 0.65rem;
  color: #60a5fa;
  font-weight: 400;
  opacity: 0.8;
  margin-top: -0.1rem;
}

.footer-description {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 300px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-links a {
  color: #b3b7db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.footer-nav-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  color: #9ca3af;
  transition: color 0.3s ease;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link:hover {
  color: #7289da;
  background: rgba(114, 137, 218, 0.1);
}

.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 8px 32px rgba(59,130,246,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 28px rgba(0,0,0,0.4), 0 12px 48px rgba(59,130,246,0.3);
}

.fab:active {
  transform: translateY(-1px) scale(1.02);
}

.fab-minecraft {
  background: linear-gradient(135deg, rgba(59,130,246,0.9), rgba(96,165,250,0.9));
  color: white;
}

.fab-discord {
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.9), rgba(142, 161, 238, 0.9));
  color: white;
}

.fab-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 23, 35, 0.95);
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(10px);
}

.fab:hover .fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-8px);
}

@media (max-width: 1100px) {
  .features-grid {
    max-width: 820px;
    gap: 1.3rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .sticky-header {
    padding: 0.8rem 0;
  }

  .sticky-header-content {
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-buttons {
    display: none;
  }

  .header-left {
    gap: 0;
    justify-self: start;
  }

  .header-right {
    display: flex;
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
    justify-self: end;
  }

  .login-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .header {
    padding-top: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    padding: 0 0.3rem;
    max-width: 99vw;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .floating-buttons {
    bottom: 1.5rem;
    right: 1.5rem;
    gap: 0.8rem;
  }

  .fab {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .fab-tooltip {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .sticky-header-content {
    padding: 0 0.8rem;
  }

  .login-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
  }

  .fab {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-overlay.show .mobile-menu-nav {
  animation: slideIn 0.3s ease-out;
}
