/* Big Carousel Layout */
.big-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 38px auto 24px;
  max-width: 900px;
}
.big-project-card {
  width: 1300px !important;
  height: 400px !important;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
  animation: staffFadeUp 0.8s ease;
}
.project-flex {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
.project-img-wrap {
  flex: 0 0 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222c;
  border-radius: 14px;
  margin: 0 0 0 18px;
  overflow: hidden;
}
.project-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(54,227,255,0.12);
}
.big-info {
  flex: 1;
  padding: 0 32px;
  text-align: left;
}
.project-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--brand2);
}
.project-desc {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 18px;
}
.custom-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(54,227,255,0.10);
  animation: staffFadeUp 0.8s ease;
}
.custom-arrow:hover {
  transform: scale(1.1);
}
.custom-arrow:active {
  transform: scale(0.92);
}
.custom-arrow:active {
  transform: scale(0.92);
}
.custom-arrow svg {
  display: block;
  filter: drop-shadow(0 2px 8px #36e3ff88);
}
.animate-project {
  animation: projectFadeIn 0.45s cubic-bezier(.6,-0.28,.74,.98);
}
@keyframes projectFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* Modern Project Button */
.modern-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 28px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #36e3ff 0%, #b86cff 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(54,227,255,0.12);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.modern-btn:hover {
  background: linear-gradient(90deg, #93ff4f 0%, #36e3ff 100%);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 18px rgba(54,227,255,0.18);
}
/* Founder badge: for servers you helped create or were a founding member of */
/* Veteran badge: for long-term dedication or significant contribution */
.veteran-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #5479da 0%, #36e3ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.5px;
}
:root{
  --bg: #0c0f14;
  --surface: rgba(255,255,255,.06);
  --text:#e8e8ef;
  --muted:#a9aec2;
  --brand1:#6cff7d;
  --brand2:#36e3ff;
  --brand3:#b86cff;
  --accent:#93ff4f;
  --danger:#ff5b6e;

  --glass: blur(10px) saturate(140%);
  --radius:16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}


/* Light mode (toggle removes .dark) */
body:not(.dark){
  --bg:#f5f7fb;
  --surface: rgba(0,0,0,.06);
  --text:#0e1020;
  --muted:#4a516b;
  --brand1:#2a7fff;
  --brand2:#00b3ff;
  --brand3:#7b2cff;
  --accent:#0ed67a;
  --danger:#e6455c;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(180deg, #0a1020 0%, #1a233a 50%, #0a1020 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x:hidden;
}

.site-header{
  position:fixed; top:16px; right:16px; z-index:9998;
}
.theme-toggle{
  background:var(--surface);
  border:0; color:var(--text); padding:10px 12px; border-radius:999px;
  box-shadow: var(--shadow); cursor:pointer;
}

.hero{min-height:60vh; display:grid; place-items:center; position:relative; animation: FadeIn 1s ease;}
.hero-bg img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.25; filter: blur(6px) saturate(110%);
  pointer-events:none;
}

.container{max-width:1100px; margin-inline:auto; padding:32px 20px}

.glass{
  background:var(--surface);
  backdrop-filter: var(--glass);
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-card{
  width:min(720px, 92vw);
  padding:28px;
  text-align:center;
  position:absolute;
}

.avatar{
  width:140px; height:140px; border-radius:50%;
  border:4px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(147,255,79,.15);
}

.presence{
  margin-top:18px;
  display:flex; justify-content:center; align-items:center; gap:12px;
}
.presence-dot{
  width:14px; height:14px; border-radius:50%;
  background:#777; box-shadow:0 0 0 3px rgba(0,0,0,.15);
}
.presence-text{ text-align:left }
.username{ font-weight:700 }
.activity{ color:var(--muted); font-size:.95rem }

/* Rainbow gradient and glow for brand-name */
.brand-name {
  margin: 14px 0 6px;
  font-size: 2.6rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #ff5b6e, #36e3ff, #93ff4f, #b86cff, #ff9800, #ff5b6e);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: rainbowGlow 6s ease-in-out infinite;
  filter: drop-shadow(0 0 16px #fff) drop-shadow(0 2px 10px rgba(0,0,0,.35));
}
@keyframes rainbowGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tagline{ color:var(--muted); margin-top:4px }

.socials{
  margin:22px auto 6px; display:flex; justify-content:center; gap:18px;
}
.social{
  width:42px; height:42px; display:grid; place-items:center;
  color:#fff; background:rgba(255,255,255,.1); border-radius:12px;
  transition:.2s transform, .2s background;
  position: relative;
}
.social:hover{ transform:translateY(-2px); background:rgba(255,255,255,.18) }
.social svg{ width:22px; height:22px }
.social::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: -2.2em;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, bottom 0.2s;
  z-index: 10;
}
.social:hover::after {
  opacity: 1;
  bottom: -2.7em;
}

.mini-presence{
  margin:20px auto 8px; display:flex; align-items:center; gap:12px;
  width:min(420px, 90%); padding:12px 14px;
}
.mini-avatar{ width:42px; height:42px; border-radius:50% }
.mini-body{ flex:1; text-align:left }
.mini-top{ display:flex; align-items:center; gap:6px }
.mini-name{ font-weight:700 }
.mini-verified{ color:var(--accent) }
.mini-activity{ color:var(--muted) }

.views{
  margin-top:14px; color:var(--muted); font-size:.95rem
}
.views #viewsCount{ color:var(--text); font-weight:700 }

.staff h2{ text-align:center; margin-bottom:12px }
/* .staff-card{ padding:18px; margin:12px 0; max-width:900px; flex: 1 1 400px; max-width: 450px; } */
.staff-card h3{ margin:0 0 8px }
.staff-card ul{ list-style:none; padding:0; margin:0 0 12px; display:flex; gap:18px; flex-wrap:wrap }
.btn{
  display:inline-block; padding:10px 14px; border-radius:10px; background:linear-gradient(90deg, var(--brand2), var(--brand3));
  color:#fff; text-decoration:none; box-shadow: var(--shadow);
  padding-right:20px;
}

.staff-card {
  flex: 1 1 500px;
  max-width: 540px;
  min-width: 400px;
  margin: 12px 0;
  padding: 18px 18px 18px 130px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: staffFadeUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--card-delay, 0s);
}
@keyframes staffFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.staff-card:nth-child(1) { --card-delay: 0.1s; }
.staff-card:nth-child(2) { --card-delay: 0.2s; }
.staff-card:nth-child(3) { --card-delay: 0.3s; }
.staff-card:nth-child(4) { --card-delay: 0.4s; }
.staff-card:nth-child(5) { --card-delay: 0.5s; }
.staff-card:nth-child(6) { --card-delay: 0.6s; }
.staff-card:nth-child(7) { --card-delay: 0.7s; }
.staff-card:nth-child(8) { --card-delay: 0.8s; }
.staff-card:nth-child(9) { --card-delay: 0.9s; }
.staff-card:nth-child(10) { --card-delay: 1s; }
.staff-card:nth-child(11) { --card-delay: 1.1s; }

.footer{ text-align:center; color:var(--muted); padding-bottom:40px }
/* Topbar styles */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10,16,32,0.95);
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  animation: SlideInBottom 1s ease;
}
.topbar ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 16px 0;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
  cursor: pointer;
}
.topbar a:hover {
  color: #93ff4f;
}

/* Scrolling languages text */
.languages-section {
  margin-top: 80px;
  text-align: center;
  background: rgba(30,39,65,255); /* rgba(20, 21, 36, 0.96) | var(--surface) */
  box-shadow: var(--shadow);
  height: auto;
  border-radius: var(--radius);
  animation: staffFadeUp 0.8s ease;
}
.scrolling-languages {
  display: flex;
  gap: 0;
  overflow: hidden;
  position: relative;
  justify-content: flex-start;
  align-items: center;
  height: 64px;
  margin-top: 16px;
}
.scrolling-languages .lang-card {
  min-width: 120px;
  height: 48px;
  background: rgba(36, 227, 255, 0.08);
  border-radius: 12px;
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  opacity: 0.92;
}
.scrolling-languages .scroll-track {
  display: flex;
  animation: langScroll 18s linear infinite;
}
@keyframes langScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.scrolling-languages::before,
.scrolling-languages::after {
  content: '';
  position: absolute;
  top: 0; width: 80px; height: 100%;
  z-index: 2;
  pointer-events: none;
}
.scrolling-languages::before {
  left: 0;
  background: linear-gradient(to right, #0a1020 0%, transparent);
  border-radius: 10px;
}
.scrolling-languages::after {
  right: 0;
  background: linear-gradient(to left, #0a1020 0%, transparent);
  border-radius: 10px;
}

/* Projects section */
.projects-section {
  margin-top: 80px;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.project-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
  animation: staffFadeUp 0.8s ease;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #222;
}
.project-card h3 {
  margin: 16px 0 8px;
  color: #fff;
}
.project-card p {
  color: #a9aec2;
  margin-bottom: 16px;
  padding: 0 12px;
}

/* Contact section */
.contact-section {
  margin-top: 80px;
  text-align: center;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}
.discord-btn, .email-btn {
  background: linear-gradient(90deg, var(--brand2), var(--brand3));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
}
.discord-btn:hover, .email-btn:hover {
  background: linear-gradient(90deg, #93ff4f, #36e3ff);
  transform: translateY(-2px) scale(1.04);
}

/* Modern contact cards */
.contact-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}
.contact-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 32px 24px;
  width: 320px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
  animation: staffFadeUp 0.8s ease;
}
.contact-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.contact-card h3 {
  color: #fff;
  margin-bottom: 12px;
}
.contact-card p {
  color: #a9aec2;
  margin-bottom: 18px;
}
.contact-card button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--brand2), var(--brand3));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
}
.contact-card button:hover {
  background: linear-gradient(90deg, #93ff4f, #36e3ff);
  transform: translateY(-2px) scale(1.04);
}

/* Custom scrollbar with color change */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand2) 0%, var(--brand3) 100%);
  border-radius: 8px;
  transition: background 0.3s;
}
body::-webkit-scrollbar-track {
  background: #0a1020;
}

/* Offset for fixed topbar */
main {
  padding-top: 64px;
}

.staff-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  text-align: center;
}
.staff-card .btn + .btn {
  margin-left: 24px;
}
.staff-card .btn:hover {
  transform: scale(1.08);
  background: linear-gradient(90deg, #93ff4f, #36e3ff);
}
.staff-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.staff-card {
  flex: 1 1 500px;
  max-width: 540px;
  min-width: 400px;
  margin: 12px 0;
  padding: 18px 18px 18px 130px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: staffFadeUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: var(--card-delay, 0s);
}
.staff-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.staff-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.staff-card-buttons {
  display: flex;
  gap: 6px !important;
  margin-top: 0px;
}

/* Retired badge */
.retired-badge {
  display: inline-flex;
  align-items: center;
  background: #ff5b6e;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.5px;
}
/* Owner badge */
.owner-badge {
  display: inline-flex;
  align-items: center;
  background: #36e3ff;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.5px;
}
/* New badge */
.new-badge {
  display: inline-flex;
  align-items: center;
  background: #fff200;
  color: #222;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.5px;
}
/* Popular badge */
.popular-badge {
  display: inline-flex;
  align-items: center;
  background: #ff9800;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.5px;
}
/* Verified badge */
/* Legend badge */
.legend-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #b86cff 0%, #ff5b6e 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 2px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  letter-spacing: 0.5px;
}

@keyframes SlideInBottom {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes SlideInRight {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes SlideInLeft {
    0% {
        transform: translateX(-10%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes SlideInTop {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes FadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}