/* ═══════════════════════════════════════════════════════════════════════════
   ZYVER WEB — DESIGN SYSTEM (hub)
   Fichier : css/hub.css — utilisé par hub/index.html
   Cohérent avec Zyver Mobile V6.0
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── VARIABLES CSS — THÈME SOMBRE (défaut) ─────────────────────────────── */
:root {
  --scaffold-bg: #0a0d14;
  --surface: #101422;
  --surface-card: #181e2e;
  --on-surface: #e8edf2;
  --on-surface-sec: #8a9bb0;
  --divider: #2a3d55;

  --success: #00c2a8;
  --warning: #f57c00;
  --danger: #e53935;
  --info: #1a73e8;

  --grad-start: #4dffd2;
  --grad-mid: #2b8fff;
  --grad-end: #5b3fe8;
  --primary: #2b8fff;

  --sp-xs: 4px;
  --sp-s: 8px;
  --sp-m: 16px;
  --sp-l: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;

  --r-s: 8px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 24px;
  --r-full: 100px;
}

/* ── VARIABLES CSS — THÈME CLAIR ───────────────────────────────────────── */
:root[data-theme="light"] {
  --scaffold-bg: #f8faff;
  --surface: #eef2fb;
  --surface-card: #ffffff;
  --on-surface: #1c2a3a;
  --on-surface-sec: #5a6b7c;
  --divider: #c5d0de;
}

/* ── RESET & BASE ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--scaffold-bg);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── RTL (Arabe) ────────────────────────────────────────────────────────── */
html[dir="rtl"] .tool-cta svg,
html[dir="rtl"] .footer-bottom .rcbg,
html[dir="rtl"] .lang-switch {
  direction: rtl;
}

html[dir="rtl"] .tool-card:hover .tool-cta svg {
  transform: scaleX(-1) translateX(4px);
}

html[dir="rtl"] .lang-menu {
  left: 0;
  right: auto;
}

/* ── TRANSITIONS THÈME ─────────────────────────────────────────────────── */
body,
header,
.tool-card,
.mobile-cta-card,
footer,
.footer-container,
.footer-col,
.nav-link,
.theme-toggle,
.lang-toggle,
.lang-menu,
.btn-primary,
.tool-tag,
.section-header {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPLASH SCREEN
   N'est affiché que par JS (hub.js) si le chargement est lent ou en cas
   de souci réseau — jamais par défaut, jamais bloquant. Voir [hidden] ci-dessous.
   ═══════════════════════════════════════════════════════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(43, 143, 255, 0.08),
    var(--scaffold-bg) 70%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 80px var(--sp-l) 60px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#splash[hidden] {
  display: none;
}

#splash.visible {
  opacity: 1;
}

#splash.leaving {
  opacity: 0;
}

:root[data-theme="light"] #splash {
  background: radial-gradient(
    circle at center,
    rgba(43, 143, 255, 0.1),
    var(--scaffold-bg) 70%
  );
}

.splash-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  animation: splashIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes splashIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.splash-lottie {
  width: 120px;
  height: 120px;
}

.splash-brand {
  text-align: center;
}

.splash-brand .zyver-text {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(
    135deg,
    var(--grad-start),
    var(--grad-mid),
    var(--grad-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.splash-brand .tagline {
  font-size: 12px;
  color: var(--on-surface-sec);
  margin-top: 4px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.splash-rcbg {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
}

:root[data-theme="light"] header {
  background: rgba(248, 250, 255, 0.92);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--sp-m) var(--sp-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-m);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
  text-decoration: none;
  color: var(--on-surface);
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.6;
  -webkit-text-fill-color: var(--on-surface-sec);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  gap: var(--sp-xs);
  list-style: none;
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-m);
  font-size: 13px;
  font-weight: 600;
  color: var(--on-surface-sec);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(43, 143, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
}

/* ── LANGUAGE SWITCH ───────────────────────────────────────────────────── */
.lang-switch {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--r-full);
  background: var(--surface-card);
  border: 1px solid var(--divider);
  color: var(--on-surface);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
}

.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--surface-card);
  border: 1px solid var(--divider);
  border-radius: var(--r-m);
  list-style: none;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 50;
}

.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu li {
  padding: 8px 12px;
  border-radius: var(--r-s);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--on-surface-sec);
}

.lang-menu li:hover {
  background: rgba(43, 143, 255, 0.08);
  color: var(--primary);
}

.lang-menu li.active {
  color: var(--primary);
  background: rgba(43, 143, 255, 0.1);
}

/* ── THEME TOGGLE ──────────────────────────────────────────────────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--surface-card);
  border: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--on-surface);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.theme-toggle:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

:root[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* ── MOBILE NAV TOGGLE ─────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--on-surface);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--sp-xxl) var(--sp-l) var(--sp-xl);
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(43, 143, 255, 0.07),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

:root[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(43, 143, 255, 0.1), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: var(--sp-m);
}

.hero h1 .gradient {
  background: linear-gradient(
    135deg,
    var(--grad-start),
    var(--grad-mid),
    var(--grad-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--on-surface-sec);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-s);
}

.section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: var(--sp-s);
}

.section-subtitle {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--on-surface-sec);
  max-width: 550px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOOLS GRID — 4 CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.tools-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-l) var(--sp-xxl);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-m);
}

.tool-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  padding: var(--sp-l);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--grad-start),
    var(--grad-mid),
    var(--grad-end)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(43, 143, 255, 0.12);
}

:root[data-theme="light"] .tool-card:hover {
  box-shadow: 0 16px 40px rgba(43, 143, 255, 0.15);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-m);
  background: linear-gradient(
    135deg,
    rgba(77, 255, 210, 0.15),
    rgba(43, 143, 255, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-m);
  color: var(--primary);
  flex-shrink: 0;
}

.tool-icon svg {
  width: 26px;
  height: 26px;
}

.tool-icon--audio {
  background: linear-gradient(
    135deg,
    rgba(91, 63, 232, 0.15),
    rgba(43, 143, 255, 0.1)
  );
  color: var(--grad-end);
}

.tool-icon--pdf {
  background: linear-gradient(
    135deg,
    rgba(229, 57, 53, 0.15),
    rgba(245, 124, 0, 0.08)
  );
  color: var(--danger);
}

.tool-icon--convert {
  background: linear-gradient(
    135deg,
    rgba(0, 194, 168, 0.15),
    rgba(77, 255, 210, 0.08)
  );
  color: var(--success);
}

.tool-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: var(--sp-s);
}

.tool-desc {
  font-size: 13.5px;
  color: var(--on-surface-sec);
  line-height: 1.6;
  margin-bottom: var(--sp-m);
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-m);
}

.tool-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(43, 143, 255, 0.08);
  border: 1px solid rgba(43, 143, 255, 0.15);
  border-radius: var(--r-full);
  color: var(--primary);
}

.tool-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: gap 0.2s ease;
}

.tool-card:hover .tool-cta {
  gap: var(--sp-m);
}

.tool-cta svg {
  transition: transform 0.2s ease;
}

.tool-card:hover .tool-cta svg {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.mobile-cta-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--sp-l) var(--sp-xxl);
}

.mobile-cta-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-card));
  border: 1px solid var(--divider);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  text-align: center;
}

.mobile-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-m);
  background: linear-gradient(
    135deg,
    rgba(91, 63, 232, 0.15),
    rgba(43, 143, 255, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grad-end);
  margin: 0 auto var(--sp-m);
}

.mobile-cta-icon svg {
  width: 28px;
  height: 28px;
}

.mobile-cta-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: var(--sp-s);
}

.mobile-cta-card p {
  font-size: 14px;
  color: var(--on-surface-sec);
  max-width: 450px;
  margin: 0 auto var(--sp-l);
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-s);
  background: linear-gradient(
    135deg,
    var(--grad-start),
    var(--grad-mid),
    var(--grad-end)
  );
  color: #fff;
  border: none;
  border-radius: var(--r-m);
  padding: 12px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(43, 143, 255, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 143, 255, 0.35);
}
/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER — animé (voir .fade-in), sans info de localisation
   ═══════════════════════════════════════════════════════════════════════════ */
footer {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  padding: var(--sp-xxl) var(--sp-l) var(--sp-l);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grad-mid), transparent);
  opacity: 0.5;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-m);
}

.footer-brand .logos {
  display: flex;
  align-items: center;
  gap: var(--sp-m);
}

.footer-brand .logos img {
  height: 38px;
  transition: transform 0.3s ease;
}

.footer-brand .logos img:hover {
  transform: translateY(-3px);
}

.footer-brand .logos .separator {
  width: 1px;
  height: 26px;
  background: var(--divider);
}

.footer-brand p {
  color: var(--on-surface-sec);
  font-size: 13px;
  max-width: 350px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: var(--sp-m);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: var(--sp-s);
}

.footer-col ul a {
  color: var(--on-surface-sec);
  text-decoration: none;
  font-size: 13px;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: var(--sp-l);
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-m);
  font-size: 12px;
  color: var(--on-surface-sec);
}

.footer-bottom .rcbg {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
}

.footer-bottom .rcbg img {
  height: 20px;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — 100% mobile-first
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-l);
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-brand .logos {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: var(--sp-m);
    border-bottom: 1px solid var(--divider);
    gap: var(--sp-xs);
  }

  .nav-links.open .nav-link {
    padding: var(--sp-s) var(--sp-m);
    border-radius: var(--r-m);
  }

  .nav-links.open .nav-link:hover {
    background: rgba(43, 143, 255, 0.08);
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-l);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col {
    margin: 0 auto;
    max-width: 300px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-m);
  }

  .footer-bottom .rcbg {
    justify-content: center;
  }

  .hero {
    padding: var(--sp-xl) var(--sp-m) var(--sp-l);
  }

  .tools-section,
  .mobile-cta-section {
    padding-left: var(--sp-m);
    padding-right: var(--sp-m);
  }

  .lang-menu {
    right: auto;
    left: 0;
  }
}

@media (max-width: 420px) {
  .nav-container {
    padding: var(--sp-s) var(--sp-m);
  }

  .nav-logo span {
    font-size: 16px;
  }

  .lang-current-label {
    display: none;
  }

  .footer-container {
    padding: 0 var(--sp-s);
  }

  .footer-col ul li a {
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 11px;
    padding: var(--sp-m) var(--sp-s);
  }

  .footer-bottom .rcbg img {
    height: 18px;
  }
}
/* Ajouter après .tool-icon--convert */
.tool-icon--resize {
  background: linear-gradient(
    135deg,
    rgba(245, 124, 0, 0.15),
    rgba(229, 57, 53, 0.08)
  );
  color: var(--warning);
}

/* ══════════════════════════════════════════════════════════════════════════
   BOUTON FLOTTANT DONATE
   ══════════════════════════════════════════════════════════════════════════ */
.donate-float {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: linear-gradient(
    135deg,
    var(--grad-start),
    var(--grad-mid),
    var(--grad-end)
  );
  color: #fff;
  padding: 12px 8px;
  border-radius: var(--r-m);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(43, 143, 255, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 1px;
}

.donate-float svg {
  width: 20px;
  height: 20px;
}

.donate-float:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 32px rgba(43, 143, 255, 0.4);
  padding: 14px 10px;
}

.donate-text {
  font-size: 10px;
  opacity: 0.9;
}

/* Responsive pour le bouton Donate */
@media (max-width: 1200px) {
  .donate-float {
    left: 12px;
    padding: 10px 6px;
  }

  .donate-text {
    display: none;
  }

  .donate-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 760px) {
  .donate-float {
    left: auto;
    right: 16px;
    top: auto;
    bottom: 100px;
    transform: none;
    writing-mode: horizontal-tb;
    padding: 10px 14px;
    border-radius: var(--r-full);
    flex-direction: row;
    gap: 6px;
  }

  .donate-float:hover {
    transform: none;
  }

  .donate-text {
    display: inline;
    font-size: 12px;
  }

  .donate-float svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 420px) {
  .donate-float {
    bottom: 90px;
    right: 12px;
    padding: 8px 12px;
  }
}
