
:root {
--primary-gold: #FFD700;
--secondary-gold: #ffae00;
--dark-gold: #B8860B;
--light-gold: #FFF8DC;
--cream: #FFFEF7;
--dark-primary: #0D1117;
--dark-secondary: #161B22;
--dark-tertiary: #21262D;
--dark-card: #1C2128;
--dark-border: #30363D;
--dark-text: #F0F6FC;
--dark-text-secondary: #8B949E;
--dark-text-muted: #656D76;
--gray-text: #6B7280;
--white: #FFFFFF;

/* Role Colors */
--role-admin: #dc3545;
--role-mod: #fd7e14;
--role-helper: #ffc107;

/* ----------Gradients ----------*/
--gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
--gradient-warm: linear-gradient(135deg, #FFBF00 0%, #FFD700 100%);
--gradient-dark: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #21262D 100%);
--gradient-card: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);

/* ----------Shadows ----------*/
--shadow-soft: 0 2px 10px rgba(255, 215, 0, 0.1);
--shadow-medium: 0 8px 30px rgba(255, 215, 0, 0.2);
--shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.4);
--shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);

/* Animation Variables */
--animation-speed-fast: 0.2s;
--animation-speed-medium: 0.4s;
--animation-speed-slow: 0.8s;
--easing-smooth: cubic-bezier(0.23, 1, 0.32, 1);
--easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.avatar-img {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.avatar-img[src] {
  opacity: 1;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Poppins', sans-serif;
background: var(--gradient-dark);
color: var(--dark-text);
line-height: 1.6;
overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
background: var(--gradient-dark);
overflow: hidden;
}

.floating-shape {
position: absolute;
background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), rgba(255, 165, 0, 0.02));
border-radius: 50%;
animation: floatAdvanced 30s infinite ease-in-out;
}

.shape-1 {
width: 300px;
height: 300px;
top: 10%;
left: 5%;
animation-delay: 0s;
}

.shape-2 {
width: 200px;
height: 200px;
top: 50%;
right: 10%;
animation-delay: -8s;
}

.shape-3 {
width: 150px;
height: 150px;
top: 30%;
left: 50%;
animation-delay: -16s;
}

@keyframes floatAdvanced {
0% {
transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
opacity: 0.03;
}
25% {
transform: translateY(-50px) translateX(30px) rotate(90deg) scale(1.1);
opacity: 0.05;
}
50% {
transform: translateY(-20px) translateX(-40px) rotate(180deg) scale(0.9);
opacity: 0.02;
}
75% {
transform: translateY(30px) translateX(20px) rotate(270deg) scale(1.2);
opacity: 0.04;
}
100% {
transform: translateY(0px) translateX(0px) rotate(360deg) scale(1);
opacity: 0.03;
}
}

/* Navigation */
.navbar {
background: rgba(13, 17, 23, 0.9);
backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid var(--dark-border);
padding: 1rem 0;
transition: all var(--animation-speed-medium) var(--easing-smooth);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
box-shadow: var(--shadow-soft);
}

.navbar.scrolled {
background: rgba(13, 17, 23, 0.95);
box-shadow: var(--shadow-medium);
padding: 0.75rem 0;
border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar-brand {
display: flex;
align-items: center;
text-decoration: none;
transition: all var(--animation-speed-medium) var(--easing-smooth);
}

.logo-wrapper {
position: relative;
margin-right: 12px;
}

.logo-img {
height: 45px;
transition: all var(--animation-speed-medium) var(--easing-bounce);
filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.navbar-brand:hover .logo-img {
transform: scale(1.1) rotate(5deg);
filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.brand-text {
font-weight: 800;
font-size: 1.6rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-decoration: none;
letter-spacing: -0.5px;
}

.nav-link-custom {
color: var(--dark-text) !important;
font-weight: 500;
margin: 0 0.5rem;
padding: 0.75rem 1.25rem !important;
border-radius: 12px;
transition: all var(--animation-speed-medium) var(--easing-smooth);
position: relative;
overflow: hidden;
font-size: 0.95rem;
}

.nav-link-custom::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: var(--gradient-primary);
transition: left var(--animation-speed-medium) var(--easing-smooth);
z-index: -1;
}

.nav-link-custom:hover {
color: white !important;
transform: translateY(-2px);
box-shadow: var(--shadow-glow);
}

.nav-link-custom:hover::before {
left: 0;
}

/* Main Content */
.main-content {
padding-top: 88px;
min-height: 100vh;
}

/* Header Section */
.staff-header {
text-align: center;
padding: 4rem 0;
background: var(--dark-secondary);
position: relative;
overflow: hidden;
}

.staff-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
z-index: 1;
}

.staff-header .container {
position: relative;
z-index: 2;
}

.section-badge {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 20px;
background: rgba(255, 215, 0, 0.15);
border: 1px solid rgba(255, 215, 0, 0.3);
border-radius: 50px;
font-size: 0.9rem;
font-weight: 600;
color: var(--primary-gold);
margin-bottom: 2rem;
backdrop-filter: blur(10px);
}

.staff-title {
font-size: clamp(2.5rem, 5vw, 3.5rem);
font-weight: 800;
color: var(--dark-text);
margin-bottom: 1.5rem;
line-height: 1.2;
letter-spacing: -1px;
}

.gradient-text {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.staff-description {
font-size: 1.2rem;
color: var(--dark-text-secondary);
max-width: 700px;
margin: 0 auto;
line-height: 1.8;
}

/* Staff Sections */
.staff-section {
padding: 5rem 0;
background: var(--dark-primary);
}

.role-header {
text-align: center;
margin-bottom: 4rem;
}

.role-title {
font-size: 2.2rem;
font-weight: 700;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}

.role-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
border-radius: 2px;
}

.role-title.admin {
color: var(--role-admin);
}

.role-title.admin::after {
background: var(--role-admin);
}

.role-title.moderator {
color: var(--role-mod);
}

.role-title.moderator::after {
background: var(--role-mod);
}

.role-title.helper {
color: var(--role-helper);
}

.role-title.helper::after {
background: var(--role-helper);
}

/* Staff Cards */
.staff-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2.5rem;
}

.staff-card {
background: rgba(28, 33, 40, 0.8);
backdrop-filter: blur(20px) saturate(180%);
border: 1px solid var(--dark-border);
border-radius: 24px;
padding: 3rem;
text-align: center;
transition: all var(--animation-speed-slow) var(--easing-smooth);
position: relative;
overflow: hidden;
box-shadow: var(--shadow-medium);
}

.staff-card::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
border-radius: 26px;
z-index: -1;
opacity: 0;
transition: opacity var(--animation-speed-slow) var(--easing-smooth);
}

.staff-card.admin::before {
background: conic-gradient(from 0deg, transparent, var(--role-admin), transparent);
animation: borderRotate 6s linear infinite;
}

.staff-card.moderator::before {
background: conic-gradient(from 0deg, transparent, var(--role-mod), transparent);
animation: borderRotate 6s linear infinite;
}

.staff-card.helper::before {
background: conic-gradient(from 0deg, transparent, var(--role-helper), transparent);
animation: borderRotate 6s linear infinite;
}

.staff-card::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--dark-card);
border-radius: 24px;
z-index: -1;
}

@keyframes borderRotate {
100% { transform: rotate(360deg); }
}

.staff-card:hover::before {
opacity: 0.8;
}

.staff-card:hover {
transform: translateY(-15px) scale(1.02);
box-shadow: var(--shadow-heavy);
}

/* Profile Avatar */
.staff-avatar {
position: relative;
display: inline-block;
margin-bottom: 2rem;
}

.avatar-img {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid transparent;
background: linear-gradient(45deg, var(--dark-card), var(--dark-card)) padding-box,
            var(--gradient-primary) border-box;
transition: all var(--animation-speed-medium) var(--easing-bounce);
object-fit: cover;
box-shadow: var(--shadow-medium);
}

.staff-card.admin .avatar-img {
background: linear-gradient(45deg, var(--dark-card), var(--dark-card)) padding-box,
            linear-gradient(135deg, var(--role-admin), #ff6b7d) border-box;
}

.staff-card.moderator .avatar-img {
background: linear-gradient(45deg, var(--dark-card), var(--dark-card)) padding-box,
            linear-gradient(135deg, var(--role-mod), #ff922b) border-box;
}

.staff-card.helper .avatar-img {
background: linear-gradient(45deg, var(--dark-card), var(--dark-card)) padding-box,
            linear-gradient(135deg, var(--role-helper), #ffd43b) border-box;
}

.staff-card:hover .avatar-img {
transform: scale(1.1) rotate(5deg);
}

.avatar-status {
position: absolute;
bottom: 8px;
right: 8px;
width: 24px;
height: 24px;
background: #00d26a;
border: 3px solid var(--dark-card);
border-radius: 50%;
}

/* Staff Info */
.staff-name {
font-size: 1.5rem;
font-weight: 700;
color: var(--dark-text);
margin-bottom: 0.5rem;
}

.staff-role {
display: inline-block;
padding: 6px 16px;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 600;
margin-bottom: 1.5rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.staff-role.admin {
background: linear-gradient(135deg, var(--role-admin), #ff6b7d);
color: white;
}

.staff-role.moderator {
background: linear-gradient(135deg, var(--role-mod), #ff922b);
color: white;
}

.staff-role.helper {
background: linear-gradient(135deg, var(--role-helper), #ffd43b);
color: #333;
}

/* GitHub Link */
.github-link {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 12px 24px;
background: rgba(255, 215, 0, 0.1);
border: 1px solid rgba(255, 215, 0, 0.2);
border-radius: 12px;
color: var(--primary-gold);
text-decoration: none;
font-weight: 500;
transition: all var(--animation-speed-medium) var(--easing-bounce);
backdrop-filter: blur(10px);
}

.github-link:hover {
background: var(--primary-gold);
color: var(--dark-primary);
transform: translateY(-3px);
box-shadow: var(--shadow-glow);
border-color: var(--primary-gold);
}

.github-link i {
font-size: 1.2rem;
}

/* Back to Home */
.back-home {
text-align: center;
padding: 3rem 0;
background: var(--dark-secondary);
}

.btn-back {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 14px 28px;
background: var(--gradient-primary);
border: none;
border-radius: 50px;
color: white;
font-weight: 600;
font-size: 1rem;
text-decoration: none;
transition: all var(--animation-speed-medium) var(--easing-bounce);
box-shadow: var(--shadow-medium);
}

.btn-back:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-heavy);
color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
.staff-grid {
grid-template-columns: 1fr;
gap: 2rem;
}

.staff-card {
padding: 2rem;
margin: 0 1rem;
}

.staff-title {
font-size: clamp(2rem, 6vw, 2.8rem);
}

.role-title {
font-size: 1.8rem;
}

.avatar-img {
width: 100px;
height: 100px;
}

.main-content {
padding-top: 100px;
}

.staff-header {
padding: 3rem 0;
}

.staff-section {
padding: 3rem 0;
}

/* Disable heavy effects on mobile */
.floating-shape,
.staff-card::before {
animation: none !important;
}

.staff-card:hover {
transform: translateY(-5px) !important;
}
}

@media (max-width: 480px) {
.staff-card {
padding: 1.5rem;
margin: 0 0.5rem;
}

.avatar-img {
width: 80px;
height: 80px;
}

.staff-name {
font-size: 1.3rem;
}

.github-link {
padding: 10px 20px;
font-size: 0.9rem;
}
}


.navbar {
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--dark-border);
  padding: 1rem 0;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.95);
  box-shadow: var(--shadow-medium);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  position: relative;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-primary);
  border-radius: 12px;
  opacity: 0;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  z-index: -1;
  filter: blur(10px);
}

.navbar-brand:hover::before {
  opacity: 0.2;
}

.logo-wrapper {
  position: relative;
  margin-right: 12px;
}

.logo-img {
  height: 45px;
  transition: all var(--animation-speed-medium) var(--easing-bounce);
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.navbar-brand:hover .logo-img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

.brand-text {
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  position: relative;
  letter-spacing: -0.5px;
}

.brand-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--animation-speed-medium) var(--easing-smooth);
}

.navbar-brand:hover .brand-text::after {
  width: 100%;
}

.nav-link-custom {
  color: var(--dark-text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.75rem 1.25rem !important;
  border-radius: 12px;
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.nav-link-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--animation-speed-medium) var(--easing-smooth);
  z-index: -1;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: all var(--animation-speed-medium) var(--easing-smooth);
  transform: translateX(-50%);
}

.nav-link-custom:hover {
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-link-custom:hover::before {
  left: 0;
}

.nav-link-custom:hover::after {
  width: 80%;
}