@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@500&family=Orbitron:wght@600&display=swap");

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background-color: #050505;
  color: #f5f5f5;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, #001f3f, transparent 60%),
              radial-gradient(circle at 80% 80%, #003366, transparent 60%);
  animation: pulse 6s infinite alternate;
  z-index: -1;
  opacity: 0.4;
}

@keyframes pulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); }
}

/* Header */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #001f3f, #002a66);
  box-shadow: 0 0 20px #003366;
}

.logo {
  width: 120px;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: "Orbitron", sans-serif;
  color: #00bfff;
}

.hero p {
  margin: 5px 0 10px 0;
  color: #ddd;
  font-size: 1.1em;
}

/* Powered By Z4CK */
.powered {
  margin-top: 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2em;
  color: #00bfff;
  position: relative;
  display: inline-block;
}

.z4ck {
  font-weight: bold;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.emoji {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  font-size: 1.2em;
  transition: all 0.4s ease;
}

.powered:hover .z4ck {
  color: #0077ff;
  text-shadow: 0 0 15px #00bfff;
}

.powered:hover .emoji {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* Navbar */
.navbar {
  background: #001f3f;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  border-bottom: 2px solid #00bfff;
}

.navbar a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
}

.navbar a:hover {
  color: #00bfff;
  text-shadow: 0 0 5px #00bfff;
}

/* Sections */
.section {
  padding: 50px 20px;
  border-bottom: 1px solid #333;
  backdrop-filter: blur(3px);
}

.section h2 {
  color: #00bfff;
  font-family: "Orbitron", sans-serif;
  margin-bottom: 15px;
}

.section p,
.section ul,
.section pre {
  font-size: 1.05em;
  line-height: 1.8;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  margin-bottom: 10px;
  background: rgba(0, 20, 40, 0.5);
  padding: 8px 12px;
  border-left: 4px solid #00bfff;
  border-radius: 6px;
}

/* Image HQ FBI */
.photo-container {
  position: relative;
  display: block;
  max-width: 900px;     /* limite la largeur */
  margin: 20px auto;    /* centre l'image */
}

.photo {
  display: block;
  width: 100%;
  height: auto;         /* garde le ratio */
  border-radius: 10px;
  box-shadow: 0 0 25px #003366;
  filter: brightness(0.85) contrast(1.2) saturate(1.3);
  position: relative;
  max-height: 400px;    /* limite la hauteur */
  object-fit: cover;    /* recadrage si nécessaire */
}

.photo-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, transparent 70%);
  border-radius: 10px;
  pointer-events: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #001f3f;
  color: #ccc;
  border-top: 2px solid #00bfff;
}

/* =========================
   CTA / Quick Links Panel
========================= */
.cta-checkbox { display: none; }

.cta-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 300px;
  max-height: 450px;        /* augmente pour éviter chevauchement */
  background: #001f3f;
  border: 2px solid #00bfff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 20px #00bfff;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 1001;
  overflow-y: auto;         /* scroll si contenu trop grand */
  padding-bottom: 20px;     /* espace pour le bas */
}

.cta-checkbox:checked + .cta-open-tab + .cta-panel {
  transform: translateY(0);
}

.cta-open-tab {
  position: fixed;
  bottom: 20px;            /* laisse espace par rapport au bas */
  right: 20px;
  background: #00bfff;
  color: #050505;
  padding: 8px 15px;
  border-radius: 10px 10px 0 0;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 0 10px #00bfff;
}

.cta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003366;
  padding: 10px 15px;
}

.cta-title strong {
  color: #00bfff;
  font-size: 1rem;
}

.cta-title span {
  color: #fff;
  font-size: 0.9rem;
}

.cta-close {
  cursor: pointer;
  color: #ff5555;
  font-size: 1.2rem;
}

.cta-body {
  padding: 10px 15px;
}

.cta-desc {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.cta-links {
  list-style: none;
  padding: 0;
}

.cta-links li {
  margin-bottom: 8px;
}

.cta-btn {
  display: block;
  text-decoration: none;
  color: #f5f5f5;
  background: #001f3f;
  border: 1px solid #00bfff;
  border-radius: 5px;
  padding: 6px 10px;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #00bfff;
  color: #050505;
  transform: scale(1.05);
}

.cta-btn.subtle {
  background: transparent;
  border: none;
  color: #ff5555;
}

.cta-footer {
  text-align: center;
  padding: 8px;
  background: #003366;
  font-size: 0.8rem;
  color: #00bfff;
}
