* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 64px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-nav .container {
  padding: 0;
}

.top-nav__inner {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
}

.top-nav .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  opacity: 0.95;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

.logo-top {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.6px;
}

.logo-bottom {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.70);
}

.top-nav__menu {
  justify-self: end;
  display: flex;
  gap: 18px;
}

.top-nav__menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}

.top-nav__menu a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

@media (max-width: 860px){
  .top-nav__menu { display:none; }
}

.hero {
  color: #fff;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.section {
  padding: 60px 0;
}

.section.light {
  background-color: #f9fafb;
  color: #111;
}

.section.dark {
  background-color: #111827;
  color: #f9fafb;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: right;
}

.section h5 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature {
  background-color: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  background-color: rgba(255,255,255,0.2);
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #10b981;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #059669;
}

.recruitment-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(to right, #ffffff 40%, rgba(255, 255, 255, 0.7) 70%, transparent 100%);
  padding: 2rem;
  border-radius: 12px;
}

.recruitment-text {
  flex: 1;
  z-index: 2;
}

.recruitment-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1rem;
}

.recruitment-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.recruitment-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.dark-footer {
  background-color: #111827;
  color: #10b981;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
}

.dark-footer a {
  color: #ffffff;
  text-decoration: underline;
  margin: 0 8px;
}

.dark-footer a:hover {
  color: #4fc3f7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
}

.animate-up {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  animation-delay: var(--delay, 0s);
}

.about-dark{
  background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.06), transparent 55%),
              linear-gradient(to bottom, rgba(8,10,14,.98), rgba(5,6,9,.99));
  color:#fff;
}

#about h2 {
  text-align: left !important;
}

.about-flex {
  display: flex;
  justify-content: flex-start;
}

.about-text {
  max-width: 600px;
  text-align: left;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  border-radius: 12px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.about-text p {
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-features {
  list-style: none;
  padding: 0;
}

.about-features li {
  margin-bottom: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-left: 18px;
}

.about-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #10b981;
}

.hero-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-main-title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
}

.status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.status.online {
  background: #10b981;
}

.status.offline {
  background: #ef4444;
}

.hero-subtitle {
  font-size: 22px;
  margin-top: 6px;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1.25rem; }
  .container { padding: 0; }
  .features { grid-template-columns: 1fr; }
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-card,
.status-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 26px 26px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

#about h2{
  text-align:left !important;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-desc{
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin-bottom: 18px;
}

.about-features{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}

.about-features li{
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.88);
}

.about-features li::before{
  content:"✔";
  position:absolute;
  left:0;
  top:0;
  color:#10b981;
}

.status-card h3{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.status-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
  font-weight: 700;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display:inline-block;
}

.dot.loading{ background: #9ca3af; }
.dot.online{ background: #10b981; }
.dot.offline{ background: #ef4444; }

.status-metric{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.status-metric span{
  color: rgba(255,255,255,0.75);
  font-size: 14px;
}

.status-metric strong{
  font-size: 22px;
  letter-spacing: 0.2px;
}

.status-sub{
  margin-top: 12px;
  display:flex;
  gap: 8px;
}

.muted{
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

.server-list {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.server-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  font-size: 14px;
  column-gap: 6px;
}

.server-name {
  white-space: nowrap;
  color: rgba(255,255,255,0.7);
}

.server-count {
  text-align: left;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 18px 24px;
  margin-top: 20px;
  color: rgba(255,255,255,0.9);
  text-align: center;
  transition: 0.3s ease;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
}

.features-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.feature-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}

.feature-card h6{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}

.feature-card p{
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-size: 14px;
}

.cta-block{
  margin-top: 60px;
  padding-top: 20px;
  text-align: center;
}

.cta-title{
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-desc{
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  font-size: 15px;
}

.cta-buttons{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  align-items: center;
}

.cta-discord {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.cta-mini-title {
  margin: 0 0 12px 0;
  font-size: 14px;
  opacity: 0.9;
}

.cta-discord iframe {
  width: 100%;
  height: 220px; 
  border-radius: 12px;
}

.cta-main .cta-buttons {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-discord iframe {
    height: 260px;
  }
}

html {
  scroll-behavior: smooth;
}

/* ===== Modal Animation ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.0);
  transition: background 0.35s ease;
}

.modal.show .modal-backdrop{
  background: rgba(0,0,0,0.65);
}

.modal-card{
  margin-top: 12vh;
  width: min(520px, calc(100% - 32px));

  background: rgba(10,10,10,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  color: #fff;

  transform: translateY(-40px) scale(0.96);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.show .modal-card{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-actions{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.discord-widget {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.discord-widget iframe {
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.3);
  transition: 0.3s ease;
}

.discord-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(10px);
  margin-top: 20px;
}

.discord-card h3 {
  margin-bottom: 15px;
}

.discord-card iframe {
  width: 100%;
  height: 420px;
  border-radius: 12px;
}
.discord-widget iframe:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 60px rgba(88, 101, 242, 0.5);
}

.right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
  align-self: start;
}

.modal-check{
  font-size: 13px;
  opacity: 0.9;
  display:flex;
  align-items:center;
  gap: 6px;
}


@media (max-width: 900px){
  .features-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px){
  .about-grid{
    grid-template-columns: 1fr;
  }
}


