:root{ 
    --orange:#FF7A00; 
    --yellow:#FFD600; 
    --dark:#0f1723;
    --gradient-1: linear-gradient(135deg, #FF7A00 0%, #FFD600 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  }
  
  * { margin: 0; padding: 0; box-sizing: border-box; }
  
  body{ 
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: var(--dark); 
    background: #fff5e6;
    overflow-x: hidden;
  }

  /* Dynamic Grid Background */
  .bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4b3 50%, #ffd699 100%);
  }

  .bg-animated::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,122,0,0.25) 0%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    right: -400px;
    animation: float 25s ease-in-out infinite;
    filter: blur(60px);
  }

  .bg-animated::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,214,0,0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    left: -300px;
    animation: float 20s ease-in-out infinite reverse;
    filter: blur(60px);
  }

  @keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, -150px) scale(1.1); }
    66% { transform: translate(-150px, 150px) scale(0.9); }
  }

  /* Modern Glassmorphism Navbar */
  .navbar{ 
    background: rgba(255, 122, 0, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(255, 122, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .navbar.scrolled {
    background: rgba(255, 122, 0, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(255, 122, 0, 0.4);
  }
  
  .navbar-brand{ 
    color: #fff !important; 
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
  }

  .navbar-brand:hover {
    transform: translateX(5px);
  }

  .navbar-brand i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .nav-link{ 
    color: #fff !important; 
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav-link:hover {
    color: #fff !important;
  }

  .nav-link:hover::before {
    width: 70%;
  }

  /* Hero Section - Cyberpunk Style */
  header{ 
    position: relative;
    background: linear-gradient(135deg, rgba(85, 52, 13, 0.95), rgba(129, 69, 5, 0.815)), 
                url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1400&auto=format&fit=crop') center/cover no-repeat; 
   padding: 10rem 0 8rem;
    color: var(--dark);
    overflow: hidden;
  }

  header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(ellipse at 30% 50%, rgba(255,122,0,0.3) 0%, transparent 60%),
      radial-gradient(ellipse at 70% 80%, rgba(255,214,0,0.25) 0%, transparent 60%);
    animation: pulse 10s ease-in-out infinite;
  }
  .lead{
      color: white;
      font-weight: 400;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
  }

  /* Floating particles */
  header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(2px 2px at 20% 30%, rgba(255,122,0,0.4), transparent),
      radial-gradient(2px 2px at 60% 70%, rgba(255,214,0,0.3), transparent),
      radial-gradient(1px 1px at 50% 50%, rgba(255,122,0,0.5), transparent),
      radial-gradient(2px 2px at 80% 10%, rgba(255,214,0,0.4), transparent),
      radial-gradient(1px 1px at 90% 60%, rgba(255,122,0,0.3), transparent);
    background-size: 200% 200%;
    animation: particles 15s ease-in-out infinite;
  }

  @keyframes particles {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%, 100% 0%; }
    50% { background-position: 100% 100%, 0% 0%, 25% 75%, 100% 0%, 0% 100%; }
  }

  header .container {
    position: relative;
    z-index: 2;
  }

  header h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--orange) 50%, var(--yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideDown 1s ease-out, glow 3s ease-in-out infinite;
    letter-spacing: -2px;
    line-height: 1.1;
  }

  @keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255,122,0,0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255,122,0,0.6)); }
  }

  @keyframes slideDown {
    from { 
      opacity: 0; 
      transform: translateY(-50px);
    }
    to { 
      opacity: 1; 
      transform: translateY(0);
    }
  }

  header p {
    animation: slideUp 1s ease-out 0.3s both;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(15,23,35,0.85);
    font-weight: 300;
    line-height: 1.8;
  }

  @keyframes slideUp {
    from { 
      opacity: 0; 
      transform: translateY(30px);
    }
    to { 
      opacity: 1; 
      transform: translateY(0);
    }
  }

  /* Futuristic Button */
  .btn-modern {
    position: relative;
    padding: 1.2rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--orange);
    border-radius: 50px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: slideUp 1s ease-out 0.6s both;
    display: inline-block;
  }

  .btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.4s ease;
    z-index: -1;
  }

  .btn-modern:hover::before {
    left: 0;
  }

  .btn-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,122,0,0.4);
    border-color: var(--yellow);
  }

  /* Sections with Modern Cards */
  section {
    position: relative;
    background: transparent;
    padding: 6rem 0;
  }

  .section-title{ 
    color: var(--orange); 
    font-weight: 800;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    letter-spacing: -1px;
  }

  .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70%;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255,122,0,0.5);
  }

  /* Neo-Brutalism Cards */
  .card-ghost{ 
    border: 0; 
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
      0 8px 32px rgba(255, 122, 0, 0.15),
      inset 0 1px 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 122, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
  }

  .card-ghost::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,122,0,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  /* Images dans les cards */
.card-ghost img {
object-fit: cover;
border-radius: 12px;
margin-top: 1rem;
transition: all 0.4s ease;
box-shadow: 0 4px 15px rgba(255, 122, 0, 0.2);
}

.card-ghost:hover img {
transform: scale(1.05);
box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

/* Style alternatif - Images avec effet glassmorphism */
.card-ghost img {
width: 100%;
height: 310px;
object-fit: cover;
border-radius: 12px;
margin-top: 1rem;
transition: all 0.4s ease;
border: 2px solid rgba(255, 122, 0, 0.3);
filter: brightness(0.95);
}


.card-ghost:hover img {
transform: translateY(-5px);
filter: brightness(1.05);
border-color: rgba(255, 214, 0, 0.6);
box-shadow: 
  0 10px 30px rgba(255, 122, 0, 0.3),
  0 0 20px rgba(255, 122, 0, 0.2);
}

/* Cache les images cassées temporairement */
img[src*="/assets/"]:not([src*="http"]) {
display: none;
}

  .card-ghost:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
  }

  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .card-ghost:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
      0 20px 60px rgba(255, 122, 0, 0.3),
      0 0 40px rgba(255, 122, 0, 0.2),
      inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 214, 0, 0.6);
  }

  .card-ghost .card-body,
  .card-ghost.p-3,
  .card-ghost.p-4 {
    color: var(--dark);
    position: relative;
    z-index: 1;
  }

  .card-ghost .card-title,
  .card-ghost h5 {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .card-ghost .card-title i,
  .card-ghost h5 i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .card-ghost .text-muted {
    color: rgba(15, 23, 35, 0.7) !important;
  }

  .card-ghost p {
    line-height: 1.7;
  }

  /* About Section */
  #about {
    background: rgba(255, 245, 230, 0.5);
  }

  #about .card-ghost {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 122, 0, 0.3);
  }

  #about p {
    color: var(--dark);
    line-height: 1.9;
    font-size: 1.1rem;
  }

  #about strong {
    color: var(--orange);
    font-weight: 700;
  }

  
/* Team Section */
#team {
    background: rgba(255, 245, 230, 0.5);
    position: relative;
  }

  #team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 10% 20%, rgba(255,122,0,0.08) 0%, transparent 50%),
      radial-gradient(circle at 90% 80%, rgba(255,214,0,0.06) 0%, transparent 50%);
  }

  #team .container {
    position: relative;
    z-index: 1;
  }

  .team-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 
      0 8px 32px rgba(255, 122, 0, 0.15),
      inset 0 1px 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 122, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
  }

  .team-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,122,0,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .team-card:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
  }

  .team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
      0 20px 60px rgba(255, 122, 0, 0.3),
      0 0 40px rgba(255, 122, 0, 0.2),
      inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 214, 0, 0.6);
  }

  

  .team-avatar {
    width: 152px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-1);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 900;
    box-shadow: 
      0 10px 30px rgba(255, 122, 0, 0.3),
      inset 0 -2px 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
  }

  

  .team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
  }

  .team-role {
    color: var(--orange);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
  }

  .social-links {
    position: relative;
    z-index: 1;
  }

  .social-links a {
    color: var(--orange);
    margin: 0 0.6rem;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
  }

  .social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,122,0,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
  }

  .social-links a:hover::before {
    width: 40px;
    height: 40px;
  }

  .social-links a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--yellow);
    filter: drop-shadow(0 5px 15px rgba(255,214,0,0.5));
  }

  /* Join Section */
  #join {
    background: linear-gradient(135deg, rgba(255,245,230,0.8) 0%, rgba(255,228,179,0.6) 100%);
    color: var(--dark);
    position: relative;
  }

  #join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 50%, rgba(255,122,0,0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 50%, rgba(255,214,0,0.1) 0%, transparent 50%);
  }

  #join .container {
    position: relative;
    z-index: 1;
  }

  #join p {
    color: rgba(15, 23, 35, 0.8);
  }

  .btn-warning {
    background: var(--gradient-1);
    border: 2px solid var(--orange);
    color: #fff;
    font-weight: 700;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255,122,0,0.3);
    position: relative;
    overflow: hidden;
  }

  .btn-warning::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
  }

  .btn-warning:hover::before {
    width: 300px;
    height: 300px;
  }

  .btn-warning:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255,122,0,0.5);
    border-color: var(--yellow);
  }

  /* Footer */
  footer{ 
    background: linear-gradient(135deg, #FF7A00 0%, #ff9933 100%);
    backdrop-filter: blur(20px);
    color: #fff; 
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .social-icons a{ 
    color: #fff; 
    font-size: 28px; 
    margin: 0 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
  }

  .social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,214,0,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
  }

  .social-icons a:hover::before {
    width: 50px;
    height: 50px;
  }

  .social-icons a:hover {
    transform: translateY(-8px) scale(1.3);
    color: var(--yellow);
    filter: drop-shadow(0 5px 20px rgba(255,214,0,0.6));
  }

  /* Scroll Animations */
  .fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeIn 1s ease-out forwards;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive */
  @media (max-width:767px){ 
    header{ padding: 6rem 1rem 5rem }
    .section-title { font-size: 2rem; }
    .card-ghost { margin-bottom: 1.5rem; }
    .avatar { width: 120px; height: 120px; }
  }

  /* Enhanced Button Styles */
  .btn-outline-dark {
    border: 2px solid rgba(255, 122, 0, 0.6);
    color: var(--orange);
    background: rgba(255, 122, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 50px;
  }

  .btn-outline-dark:hover {
    background: var(--gradient-1);
    border-color: var(--yellow);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 122, 0, 0.4);
  }

  @keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
  }