:root {
  --bg: #07142e;         
  --ink: #eaf2ff;        
  --mut: #9db4d9;         
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #3b82f6;      
  --accent-2: #38bdf8;    
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  background-color: var(--bg);
  background-image: 
    radial-gradient(600px 400px at 15% 10%, rgba(59, 130, 246, 0.45), transparent 70%), 
    radial-gradient(500px 400px at 85% 20%, rgba(56, 189, 248, 0.30), transparent 70%), 
    radial-gradient(700px 500px at 50% 90%, rgba(99, 102, 241, 0.30), transparent 70%);
  background-attachment: fixed;
}

h1, h2, h3, nav {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.5px;
}

nav.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1300px, calc(90vw - 20px)); 
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: width 0.35s ease, padding 0.35s ease, top 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}

nav.navbar.nav-scrolled {
  top: 10px;
  width: min(1100px, calc(85vw - 10px));
  padding: 0.4rem 1.2rem;
  background: linear-gradient(135deg, rgba(7, 20, 46, 0.85), rgba(15, 23, 42, 0.92));
  border-radius: 18px;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(56, 189, 248, 0.2);
}

.brand-text {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
  transition: font-size 0.3s ease;
}

nav.navbar.nav-scrolled .brand-text {
  font-size: 1.1rem;
}

.logo {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}

nav.navbar.nav-scrolled .logo {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.brand,
nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  background: transparent !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.brand {
  margin-right: auto;
  padding: 0.4rem 0.9rem;
}

.brand::before,
nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px; 
  background: conic-gradient(from var(--border-angle), transparent 70%, #38bdf8 90%, #ffffff 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 6px #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brand:hover, nav a:hover {
  cursor: pointer;
  transform: translateY(-3px) scale(1.06);
  color: #ffffff;
}

.brand:hover::before, nav a:hover::before {
  opacity: 1;
  animation: rotateNeon 1.2s linear infinite;
}

nav a.active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12) !important;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45), inset 0 0 10px rgba(56, 189, 248, 0.25);
}

nav a.active::before {
  opacity: 1;
  animation: rotateNeon 1.2s linear infinite;
}

@keyframes rotateNeon {
  0% { --border-angle: 0deg; }
  100% { --border-angle: 360deg; }
}

@media (max-width: 1024px) {
  nav.navbar {
    width: min(96vw, 1000px);
    padding: 0.6rem 1.2rem;
  }
  .brand-text { font-size: 1.1rem; }
  nav a { font-size: 0.9rem; padding: 0.4rem 0.8rem; }
}

@media (max-width: 768px) {
  nav.navbar {
    top: 12px;
    width: calc(96vw - 10px);
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
  }
  .brand-text { font-size: 1rem; }
  .logo { height: 30px; }
  .mobile-menu-btn { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    gap: 0.6rem;
  }
  .nav-links.active-mobile { display: flex; }
  .nav-links a { width: 100%; text-align: center; justify-content: center; padding: 0.6rem; }
  .hero { padding-top: 6rem; }
}

.container {
  width: min(1400px, calc(96vw - 20px)); 
  margin: 0 auto;
  padding: 0 0 4rem 0;
}

.hero { padding-top: 8rem; }

.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  margin-bottom: 2rem;
}

.hero-banner {
  text-align: center;
  padding: 3.5rem 2rem 2.8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-weight: 700;
  font-size: 3rem;
  margin: 0 0 0.4rem 0;
  color: #ffffff;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--mut);
  margin: 0;
}

.main-team-divider {
  width: 100%;
  margin: 1.5rem 0 2.5rem 0;
}

.hero-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin: 1.2rem auto;
  width: 100%;
}

.content-section { padding: 2rem; }

.team-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-card-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 2.2rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.team-card-row:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.25);
}

.profile-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
  cursor: pointer;
  transition: transform 0.4s ease;
}

.team-card-row:hover .profile-avatar-wrapper {
  transform: scale(1.08) rotate(3deg);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #07142e;
  background-color: #07142e;
}

.member-info {
  text-align: left;
  flex-grow: 1;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
}

.member-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.6rem 0;
  color: #38bdf8;
}

.member-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
  padding-right: 5rem;
}

.member-socials {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.neon-linkedin {
  color: #0077b5;
  border: 1px solid rgba(0, 119, 181, 0.5);
  background: rgba(0, 119, 181, 0.1);
  box-shadow: 0 0 8px rgba(0, 119, 181, 0.3);
}

.neon-linkedin:hover {
  color: #ffffff;
  background: #0077b5;
  border-color: #38bdf8;
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 0 20px #0077b5, 0 0 35px rgba(0, 119, 181, 0.6);
}

.neon-instagram {
  color: #e1306c;
  border: 1px solid rgba(225, 48, 108, 0.5);
  background: rgba(225, 48, 108, 0.1);
  box-shadow: 0 0 8px rgba(225, 48, 108, 0.3);
}

.neon-instagram:hover {
  color: #ffffff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #ffffff;
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 0 20px #e1306c, 0 0 35px rgba(225, 48, 108, 0.6);
}

@media (max-width: 640px) {
  .team-card-row {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.2rem 3.5rem 1.2rem;
    gap: 1.2rem;
  }
  .member-info {
    text-align: center;
  }
  .member-desc {
    padding-right: 0;
  }
  .member-socials {
    position: relative;
    bottom: 0;
    right: 0;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

.voting-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
  margin: 1.5rem auto 0 auto;
}

.btn-vote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.1rem 1.8rem;
  font-family: "Oswald", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(7, 20, 46, 0.85));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.6);
  border-bottom: 4px solid #38bdf8;
  border-radius: 14px;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 15px rgba(56, 189, 248, 0.25);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.15s ease, background 0.25s ease;
}

.btn-vote:hover {
  transform: translateY(-7px) scale(1.03);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(15, 23, 42, 0.9));
  border-color: #ffffff;
  border-bottom-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 25px rgba(56, 189, 248, 0.6);
}

.btn-vote:active,
.btn-vote.active-pressed {
  transform: translateY(2px) scale(0.97) !important;
  border-bottom-width: 1px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 30px #ffffff, 0 0 45px #38bdf8 !important;
  background: rgba(56, 189, 248, 0.6) !important;
  color: #ffffff !important;
}

.glass-footer {
  width: 100%;
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  padding: 3rem 0 1.5rem 0;
}

.footer-container {
  width: min(1300px, calc(90vw - 20px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-title {
  font-size: 1.3rem;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-2);
  margin-top: 0.4rem;
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-2);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--mut);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-2);
  transform: translateX(5px);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.footer-text {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

.footer-text strong { color: var(--accent-2); }

.footer-bottom {
  width: min(1300px, calc(90vw - 20px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
  text-align: center;
  color: var(--mut);
  font-size: 0.88rem;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.35);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
}