body {
  background: #000000;
  position: relative;
  overflow-x: hidden;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -ms-user-select: none;
}
  
body::before,
body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}
  
body::before {
  background: radial-gradient(circle,rgb(0, 71, 177), #00ccff);
  top: -200px;
  left: -200px;
  animation: float1 20s ease-in-out infinite;
}
  
body::after {
  background: radial-gradient(circle,rgb(0, 45, 136), #0088ff);
  bottom: -200px;
  right: -200px;
  animation: float2 25s ease-in-out infinite;
}
  
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1);}
  33% { transform: translate(100px, -50px) scale(1.1);}
  66% { transform: translate(-50px, 100px) scale(0.9);}
}
  
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1);}
  33% { transform: translate(-80px, 60px) scale(1.15);}
  66% { transform: translate(60px, -80px) scale(0.95);}
}
  
body.custom-bg::before,
body.custom-bg::after {
    display: none !important;
}
  
  
html, body {
    overflow-x:hidden;
} 
img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}
	/* Style pour scrollbar général */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.4) 0%, rgba(14, 165, 233, 0.6) 100%);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.5) 0%, rgba(14, 165, 233, 0.7) 100%);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.8) 0%, rgba(14, 165, 233, 1) 100%);
}

/* Style pour scrollbar .scrollBarStyled */
.scrollBarStyled::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollBarStyled::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.scrollBarStyled::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.5) 0%, rgba(14, 165, 233, 0.7) 100%);
    border-radius: 10px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.scrollBarStyled::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.6) 0%, rgba(14, 165, 233, 0.8) 100%);
    box-shadow: 0 0 6px rgba(14, 165, 233, 0.15);
}

.scrollBarStyled::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.9) 0%, rgba(0, 212, 255, 1) 100%);
}
  
/* scroll avec grab planning et accueil */
.drag-grabScroll {
    cursor: grab;
    overflow-x: auto;
    white-space: nowrap;
}
.grabScroll {
    cursor: grabbing;
}
  
#scrollProgressWrapper {
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 1.75rem; /* équivaut à Tailwind m-7 */
  z-index: 300;
  width: 60px;
  height: 60px;
}
  
#scrollProgressSvg {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
}
  
#topBtn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}





/* ===== NAVBAR ===== */
.asn-navbar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid rgba(70, 100, 150, 0.15);
  height: 64px;
  padding: 0 1rem;
  gap: 1rem;
}

/* Menu burger */
.asn-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e1;
  padding: 0.5rem;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.asn-burger:hover {
  color: #0ea5e9;
}

@media (max-width: 1023px) {
  .asn-burger {
      display: block;
  }
}

/* Mobile search */
.asn-mobile-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(10, 18, 29, 0.6);
  border: 1px solid rgba(70, 100, 150, 0.2);
  margin-right: auto;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1010;
  width: auto;
  min-width: 0;
  max-width: 150px;
}

.asn-mobile-search:hover {
  border-color: rgba(10, 88, 124, 0.5);
  background: rgba(19, 34, 56, 0.8);
}

.asn-mobile-search:focus-within {
  border-color: rgba(11, 81, 114, 0.5);
  background: rgba(21, 35, 56, 0.8);
}

.asn-mobile-search svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #123a5f;
  flex-shrink: 0;
}

.asn-mobile-search input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  width: calc(100% - 1.5rem); /* prend en compte l'icône/padding */
  max-width: 100%;
}

.asn-mobile-search input::placeholder {
  color: rgba(148, 163, 184, 0.767);
}

/* Mobile Results */
#asn-result-mobile {
  position: absolute;
  top: 100%;
  left: 0.5rem;
  right: 0.5rem;
  width: calc(100% - 1rem);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  border: 1px solid rgba(70, 100, 150, 0.2);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

#asn-result-mobile:empty {
  display: none;
}

@media (min-width: 1024px) {
  #asn-result-mobile {
      display: none !important;
  }
  
  .asn-mobile-search {
      display: none;
  }
}

/* Logo */
.asn-logo {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}

.asn-logo:hover {
  opacity: 0.7;
}

.asn-logo img {
  height: 2rem;
  object-fit: cover;
}

/* Donate button */
.asn-donate-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.asn-donate-btn:hover {
  opacity: 0.7;
}

.asn-donate-btn img {
  height: 1.25rem;
  object-fit: cover;
}

/* Social link */
.asn-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.asn-social-link:hover {
  background: rgba(30, 50, 80, 0.6);
  color: #0ea5e9;
}

.asn-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 1023px) {
  .asn-social-link {
      display: none;
  }
}

/* Desktop navigation */
.asn-nav-desktop {
  display: none;
  align-items: center;
  margin-left: auto;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .asn-nav-desktop {
      display: flex;
  }
}

/* Desktop search */
.asn-desktop-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 0.5rem;
  background: rgba(10, 18, 29, 0.6);
  border: 1px solid rgba(70, 100, 150, 0.2);
  position: relative;
  z-index: 1010;
  transition: all 0.3s ease;
}

.asn-desktop-search:hover {
  border-color: rgba(10, 88, 124, 0.5);
  background: rgba(19, 34, 56, 0.8);
}

.asn-desktop-search:focus-within {
  border-color: rgba(11, 81, 114, 0.5);
  background: rgba(21, 35, 56, 0.8);
}

.asn-desktop-search svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #123a5f;
  flex-shrink: 0;
}

.asn-desktop-search input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  width: 192px;
}

.asn-desktop-search input::placeholder {
  color: rgba(148, 163, 184, 0.767);
}

/* Desktop Results */
#asn-result-desktop {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1100;
  display: none;
  flex-direction: column;
}

#asn-result-desktop:not(:empty) {
  display: flex;
}

#asn-result-desktop::-webkit-scrollbar {
  width: 6px;
}

#asn-result-desktop::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

#asn-result-desktop::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 233, 0.3);
  border-radius: 3px;
}

#asn-result-desktop::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 165, 233, 0.6);
}

/* Nav links */
.asn-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.asn-nav-link:hover {
  background: rgba(30, 50, 80, 0.6);
  color: #0ea5e9;
}

.asn-nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.asn-nav-link span {
  display: none;
}

@media (min-width: 1280px) {
  .asn-nav-link span {
      display: inline;
  }
}

/* ===== MOBILE MENU ===== */
.asn-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.asn-mobile-menu.asn-active {
  visibility: visible;
  opacity: 1;
}

.asn-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 39;
}

.asn-menu-panel {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(70, 100, 150, 0.2);
  z-index: 40;
  overflow-y: auto;
}

.asn-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  width: 100%;
}

.asn-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border-bottom: 1px solid rgba(70, 100, 150, 0.1);
}

.asn-menu-nav a:hover {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.asn-menu-nav a:active {
  background: rgba(14, 165, 233, 0.15);
}

.asn-menu-nav svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.asn-menu-nav span {
  flex: 1;
}

/* Search Results */
#asn-result-desktop,
#asn-result-mobile {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#asn-result-desktop a,
#asn-result-mobile a {
  z-index: 999;
  display: flex;
  border-radius: 0.5rem;
  border-top: 2px solid #0ea5e9;
  background: transparent;
  color: #ffffff;
  padding-top: 0.25rem;
  padding-left: 0.25rem;
  width: 100%;
  transition: all 0.2s ease;
  text-decoration: none;
}

#asn-result-desktop a:hover,
#asn-result-mobile a:hover {
  background: rgba(55, 65, 81, 0.6);
  color: #0ea5e9;
}

#asn-result-desktop img,
#asn-result-mobile img {
  height: 3.5rem;
  width: 3.5rem;
  object-fit: cover;
  margin: 0.25rem;
  border-radius: 0.375rem;
}

#asn-result-desktop h3,
#asn-result-mobile h3 {
  font-size: 0.75rem;
  line-height: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 800;
  text-transform: uppercase;
}

#asn-result-desktop p,
#asn-result-mobile p {
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.7;
  font-style: italic;
  margin-top: 0.25rem;
}

#asn-result-desktop > div,
#asn-result-mobile > div {
  width: 100%;
  padding-right: 5rem;
  margin-left: 0.5rem;
}

/* Search Result Items */
.asn-search-result {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: rgba(30, 50, 80, 0.2);
  border-left: 3px solid rgba(14, 165, 233, 0.3);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.asn-search-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0) 0%, rgba(14, 165, 233, 0.05) 100%);
  pointer-events: none;
}

.asn-search-result:hover {
  background: rgba(14, 165, 233, 0.15);
  border-left-color: rgba(14, 165, 233, 0.8);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.15);
  transform: translateX(4px);
}

.asn-search-result:active {
  background: rgba(14, 165, 233, 0.2);
}

.asn-search-result-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.375rem;
  flex-shrink: 0;
  border: 1px solid rgba(14, 165, 233, 0.2);
  transition: all 0.3s ease;
}

.asn-search-result:hover .asn-search-result-img {
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

.asn-search-result-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.asn-search-result-title {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ffffff;
  transition: color 0.3s ease;
}

.asn-search-result:hover .asn-search-result-title {
  color: #0ea5e9;
}

.asn-search-result-subtitle {
  font-size: 0.7rem;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.6;
  font-style: italic;
  color: #a8b5c4;
  transition: all 0.3s ease;
}

.asn-search-result:hover .asn-search-result-subtitle {
  opacity: 0.8;
  color: #cbd5e1;
}

.asn-search-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0) 0%, rgba(14, 165, 233, 0) 80%, rgba(14, 165, 233, 0.05) 100%);
  pointer-events: none;
}


/* ===== FOOTER ===== */

.asn-footer {
  background: linear-gradient(90deg, rgba(0,0,0,0.96), rgba(0,0,0,0.96));
  border-top: 1px solid rgba(70,100,150,0.12);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  padding: 2.25rem 1rem;
  font-size: 0.875rem;
}

.asn-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem 3rem;
  align-items: start;
}

@media (max-width: 960px) {
  .asn-footer .container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.asn-footer h4 {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.asn-footer p,
.asn-footer a,
.asn-footer li {
  color: #9fb6c9;
  font-weight: 600;
  margin: 0.35rem 0;
  text-decoration: none;
}

.asn-footer a:hover {
  color: #0ea5e9;
}

.asn-footer .links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.asn-footer .legal {
  font-size: 0.78rem;
  color: #7f93a6;
  margin-top: 1rem;
}

/* bottom structure */
.asn-footer .bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(70,100,150,0.06);
  padding-top: 1rem;
}

@media (max-width: 640px) {
  .asn-footer .bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
}

/* Brand inline */
.asn-footer .brand-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.asn-footer .brand-inline img {
  display: block;
}

.asn-footer .logo-mobile  { height: 40px; }

@media (max-width: 640px) {
  .asn-footer .brand-inline { gap: 0.5rem; }
  .asn-footer .brand-inline .copyright,
  .asn-footer .brand-inline .reserved { font-size: 0.85rem; }
  .asn-footer .social-link { font-size: 0.95rem; }
}

/* Flags: border, shadow, clarity */
.asn-footer .flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12) inset, 0 1px 3px rgba(0,0,0,0.25);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.asn-footer .col-support .links li {
  margin: 0.5rem 0;
  padding: 0.15rem 0;
  line-height: 1.25;
}

/* X link */
.asn-footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7f93a6;
  font-weight: 700;
  text-decoration: none;
}

.asn-footer .social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
  color: currentColor;
}

.asn-footer .links li { margin: 0.25rem 0; }

/* Padding ciblé pour la première colonne (desktop) */
@media (min-width: 960px) {
  .asn-footer .col-about {
    padding-right: 5rem;
  }
  .asn-footer .container { column-gap: 3rem; }
}

.asn-footer a:focus { outline: 2px dashed rgba(14,165,233,0.4); outline-offset: 3px; }