/* ═══════════════════════════════════════════════════════════════════
   3D LAYOUT DESIGN SYSTEM — Glassmorphism, Perspective, Animations
   ═══════════════════════════════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ── Primary Colors ── */
  --3d-primary: #003A8F;
  --3d-primary-light: #2563EB;
  --3d-primary-dark: #002561;
  --3d-accent: #7C3AED;
  --3d-accent-light: #A78BFA;
  --3d-gold: #FFD166;
  --3d-gold-light: #FFE08A;

  /* ── Gradients ── */
  --3d-gradient-main: linear-gradient(135deg, #003A8F, #7C3AED);
  --3d-gradient-accent: linear-gradient(135deg, #7C3AED, #FFD166);
  --3d-gradient-dark: linear-gradient(135deg, #0F172A, #1E293B);
  --3d-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  --3d-gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2D1B69 100%);

  /* ── Surfaces ── */
  --3d-bg-dark: #0F172A;
  --3d-bg-card: rgba(255, 255, 255, 0.06);
  --3d-bg-glass: rgba(255, 255, 255, 0.08);
  --3d-border-glass: rgba(255, 255, 255, 0.12);
  --3d-border-glass-hover: rgba(255, 255, 255, 0.25);

  /* ── Shadows ── */
  --3d-shadow-sm: 0 4px 15px rgba(0, 58, 143, 0.15);
  --3d-shadow-md: 0 8px 32px rgba(0, 58, 143, 0.2);
  --3d-shadow-lg: 0 16px 48px rgba(0, 58, 143, 0.25);
  --3d-shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
  --3d-shadow-gold: 0 0 30px rgba(255, 209, 102, 0.3);

  /* ── 3D Transforms ── */
  --3d-perspective: 1000px;
  --3d-rotate-hover: rotateY(-4deg) rotateX(4deg);
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATED BACKGROUND
   ═══════════════════════════════════════════════════════════════════ */

.bg-3d-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: var(--3d-gradient-hero);
}

.bg-3d-animated::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 58, 143, 0.3), transparent 70%);
  top: -200px;
  right: -200px;
  animation: floatBlob 20s ease-in-out infinite;
}

.bg-3d-animated::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: floatBlob 25s ease-in-out infinite reverse;
}

.bg-3d-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bg-3d-particles span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: floatParticle 15s infinite;
}

.bg-3d-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 6px; height: 6px; }
.bg-3d-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; width: 3px; height: 3px; }
.bg-3d-particles span:nth-child(3) { left: 40%; top: 10%; animation-delay: 4s; width: 5px; height: 5px; }
.bg-3d-particles span:nth-child(4) { left: 55%; top: 70%; animation-delay: 1s; width: 3px; height: 3px; }
.bg-3d-particles span:nth-child(5) { left: 70%; top: 30%; animation-delay: 3s; width: 7px; height: 7px; }
.bg-3d-particles span:nth-child(6) { left: 85%; top: 80%; animation-delay: 5s; width: 4px; height: 4px; }
.bg-3d-particles span:nth-child(7) { left: 15%; top: 90%; animation-delay: 2.5s; width: 5px; height: 5px; }
.bg-3d-particles span:nth-child(8) { left: 90%; top: 15%; animation-delay: 3.5s; width: 3px; height: 3px; }

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.15; }
  25% { transform: translateY(-100px) translateX(50px) scale(1.5); opacity: 0.4; }
  50% { transform: translateY(-200px) translateX(-30px) scale(0.8); opacity: 0.2; }
  75% { transform: translateY(-80px) translateX(80px) scale(1.2); opacity: 0.35; }
}

/* ═══════════════════════════════════════════════════════════════════
   3D GLASS NAVBAR
   ═══════════════════════════════════════════════════════════════════ */

.navbar-3d {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
}

.navbar-3d.scrolled {
  background: rgba(15, 23, 42, 0.92) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
}

.navbar-3d .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--3d-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.navbar-3d .navbar-brand:hover {
  transform: translateZ(30px) scale(1.05);
}

.navbar-3d .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  transform: translateZ(0);
}

.navbar-3d .nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  transform: scaleX(0.8) scaleY(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-3d .nav-link:hover {
  color: white !important;
  transform: translateZ(15px);
}

.navbar-3d .nav-link:hover::before {
  transform: scaleX(1) scaleY(1);
  opacity: 1;
}

.navbar-3d .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--3d-gradient-accent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.navbar-3d .nav-link:hover::after {
  width: 60%;
}

/* Nav buttons 3D */
.nav-btn-3d {
  border-radius: 12px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
}

.nav-btn-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-btn-3d:hover {
  transform: translateY(-3px) translateZ(20px) !important;
  box-shadow: 0 10px 30px rgba(0, 58, 143, 0.4) !important;
}

.nav-btn-3d:active {
  transform: translateY(-1px) translateZ(10px) !important;
}

.nav-btn-3d-primary {
  background: var(--3d-gradient-main) !important;
}

.nav-btn-3d-outline {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.nav-btn-3d-outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: white !important;
}

.nav-btn-3d-danger {
  background: linear-gradient(135deg, #D90429, #EF4444) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   3D GLASS CARDS
   ═══════════════════════════════════════════════════════════════════ */

.card-3d {
  background: var(--3d-bg-glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--3d-border-glass);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
  position: relative;
  overflow: hidden;
}

.card-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.card-3d:hover::before {
  left: 100%;
}

.card-3d:hover {
  transform: translateY(-10px) var(--3d-rotate-hover);
  border-color: var(--3d-border-glass-hover);
  box-shadow: var(--3d-shadow-lg), var(--3d-shadow-glow);
}

.card-3d-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.card-3d-light:hover {
  box-shadow: 0 20px 60px rgba(0, 58, 143, 0.15);
  transform: translateY(-8px) var(--3d-rotate-hover);
}

.card-3d-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--3d-gradient-main);
  color: white;
  margin-bottom: 1rem;
  transform: translateZ(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 58, 143, 0.3);
}

.card-3d:hover .card-3d-icon {
  transform: translateZ(50px) scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════════
   3D BUTTONS
   ═══════════════════════════════════════════════════════════════════ */

.btn-3d {
  border: none;
  border-radius: 14px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-3d:hover::before {
  opacity: 1;
}

.btn-3d:hover {
  transform: translateY(-4px) translateZ(15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
  transform: translateY(-1px) translateZ(5px);
}

.btn-3d-gradient {
  background: var(--3d-gradient-main);
  color: white;
}

.btn-3d-gradient:hover {
  box-shadow: 0 15px 40px rgba(0, 58, 143, 0.4);
}

.btn-3d-gold {
  background: linear-gradient(135deg, #FFD166, #FFB347);
  color: #1E293B;
}

.btn-3d-gold:hover {
  box-shadow: 0 15px 40px rgba(255, 209, 102, 0.4);
}

.btn-3d-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
}

.btn-3d-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════
   3D FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.footer-3d {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.footer-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), rgba(255, 209, 102, 0.5), transparent);
}

.footer-link-3d {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link-3d:hover {
  color: var(--3d-gold);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════
   3D SECTION TITLES
   ═══════════════════════════════════════════════════════════════════ */

.section-title-3d {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  background: var(--3d-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  transform: translateZ(20px);
}

.section-title-3d-light {
  color: white;
  text-shadow: 0 2px 20px rgba(0, 58, 143, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   3D SIDEBAR (Admin / Prof / Student)
   ═══════════════════════════════════════════════════════════════════ */

.sidebar-3d {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.97));
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
}

.sidebar-3d .nav-link-3d {
  color: rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
}

.sidebar-3d .nav-link-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), transparent);
  border-radius: 12px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar-3d .nav-link-3d:hover::before {
  transform: translateX(0);
}

.sidebar-3d .nav-link-3d:hover {
  color: white;
  transform: translateX(6px) translateZ(15px);
}

.sidebar-3d .nav-link-3d.active {
  background: var(--3d-gradient-main);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 58, 143, 0.3);
  transform: translateZ(10px);
}

/* ═══════════════════════════════════════════════════════════════════
   3D PROFILE CARD
   ═══════════════════════════════════════════════════════════════════ */

.profile-card-3d {
  background: var(--3d-gradient-main);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: white;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profile-card-3d::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -80px;
  right: -80px;
}

.profile-card-3d::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -60px;
  left: -60px;
}

.profile-card-3d:hover {
  transform: rotateY(-3deg) rotateX(3deg);
}

.profile-avatar-3d {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  transform: translateZ(30px);
  transition: transform 0.3s ease;
}

.profile-card-3d:hover .profile-avatar-3d {
  transform: translateZ(50px) scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   3D TOPBAR
   ═══════════════════════════════════════════════════════════════════ */

.topbar-3d {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

.reveal-3d {
  opacity: 0;
  transform: translateY(40px) rotateX(-10deg);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-3d.revealed {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO 3D
   ═══════════════════════════════════════════════════════════════════ */

.hero-3d {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
}

.hero-3d-content {
  transform: translateZ(40px);
}

.hero-3d-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-3d-title .gradient-text {
  background: linear-gradient(135deg, #FFD166, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-3d-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.7;
}

/* Floating 3D shapes */
.shape-3d {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-3d:nth-child(1) {
  width: 400px;
  height: 400px;
  background: #003A8F;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-3d:nth-child(2) {
  width: 300px;
  height: 300px;
  background: #7C3AED;
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.shape-3d:nth-child(3) {
  width: 200px;
  height: 200px;
  background: #FFD166;
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.9); }
}

/* ═══════════════════════════════════════════════════════════════════
   STATS 3D
   ═══════════════════════════════════════════════════════════════════ */

.stat-3d {
  text-align: center;
  padding: 2rem;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
}

.stat-3d-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  background: var(--3d-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateZ(30px);
  display: block;
}

.stat-3d-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero-3d-title {
    font-size: 2.2rem;
  }

  .section-title-3d {
    font-size: 1.8rem;
  }

  .card-3d:hover {
    transform: translateY(-5px);
  }

  .navbar-3d .navbar-collapse {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLLBAR STYLING
   ═══════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.95);
}

::-webkit-scrollbar-thumb {
  background: var(--3d-gradient-main);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0049B3, #9333EA);
}

/* ═══════════════════════════════════════════════════════════════════
   BACK TO TOP 3D
   ═══════════════════════════════════════════════════════════════════ */

.back-to-top-3d {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--3d-gradient-main);
  color: white;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 58, 143, 0.4);
  transform: translateZ(0);
}

.back-to-top-3d.show {
  display: flex;
}

.back-to-top-3d:hover {
  transform: translateY(-5px) translateZ(20px);
  box-shadow: 0 15px 40px rgba(0, 58, 143, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   DROPDOWN 3D
   ═══════════════════════════════════════════════════════════════════ */

.dropdown-3d {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: dropdownFade 0.3s ease;
}

.dropdown-3d .dropdown-item {
  border-radius: 10px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.dropdown-3d .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  transform: translateX(4px);
}

.dropdown-3d .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.06);
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   LOGOUT BUTTON 3D
   ═══════════════════════════════════════════════════════════════════ */

.logout-3d {
  background: linear-gradient(135deg, #D90429, #EF4444) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: translateZ(0);
}

.logout-3d:hover {
  transform: translateY(-3px) translateZ(15px) !important;
  box-shadow: 0 10px 30px rgba(217, 4, 41, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   STEP 3D (How it works)
   ═══════════════════════════════════════════════════════════════════ */

.step-3d {
  text-align: center;
  padding: 2rem;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
}

.step-3d-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--3d-gradient-main);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transform: translateZ(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 58, 143, 0.3);
}

.step-3d:hover .step-3d-number {
  transform: translateZ(50px) scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════════
   CONTENT AREA 3D
   ═══════════════════════════════════════════════════════════════════ */

.content-3d {
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION 3D
   ═══════════════════════════════════════════════════════════════════ */

.cta-3d {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
  background: var(--3d-gradient-hero);
  padding: 80px 0;
}

.cta-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 58, 143, 0.3), transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.2), transparent 60%);
}

.cta-3d-content {
  transform: translateZ(30px);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   GUEST / AUTH PAGES
   ═══════════════════════════════════════════════════════════════════ */

.auth-container-3d {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--3d-gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.auth-card-3d {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  transform-style: preserve-3d;
  perspective: var(--3d-perspective);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.auth-card-3d::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 58, 143, 0.2), transparent);
  top: -150px;
  right: -150px;
}

.auth-card-3d:hover {
  transform: translateY(-5px) rotateY(2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.auth-title-3d {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  background: var(--3d-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 2rem;
}

.auth-input-3d {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.auth-input-3d:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.auth-input-3d::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.auth-label-3d {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════
   GUEST NAVBAR
   ═══════════════════════════════════════════════════════════════════ */

.guest-nav-3d {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guest-nav-3d .brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--3d-gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL ICONS 3D
   ═══════════════════════════════════════════════════════════════════ */

.social-icon-3d {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
}

.social-icon-3d:hover {
  transform: translateY(-4px) scale(1.1);
  color: var(--3d-gold);
  border-color: rgba(255, 209, 102, 0.3);
  background: rgba(255, 209, 102, 0.06);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.15);
}
