body {
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Stardos Stencil', cursive;
}

.container {
  text-align: center;
  color: #ffd700;
  text-shadow:
    0 0 5px #ff4500,
    0 0 10px #ff4500,
    0 0 20px #ff6347,
    0 0 30px #ff6347;
}

.title {
  font-size: 60px;
  letter-spacing: 4px;
  animation: bounce 2s infinite;
}

.subtitle {
  font-size: 28px;
  margin-top: -10px;
  letter-spacing: 2px;
  color: #ffffffcc;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* style de base */
.subtitle.glitch {
  position: relative;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #ffffffcc;
  margin-top: 0.5em;
  text-transform: uppercase;
  /* léger flou pour fondre le glitch */
  filter: blur(0.5px);
}

/* les deux calques « glitchés » */
.subtitle.glitch::before,
.subtitle.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0.8;
  clip: rect(0, 900px, 0, 0);
}

/* calque rouge décalé */
.subtitle.glitch::before {
  color: #ff3f3f;
  animation: glitch-anim 2s infinite linear alternate-reverse;
  transform: translate(-2px, -2px);
  text-shadow: -2px -2px 2px #ff3f3f;
}

/* calque cyan décalé */
.subtitle.glitch::after {
  color: #3fffff;
  animation: glitch-anim2 2.5s infinite linear alternate-reverse;
  transform: translate(2px, 2px);
  text-shadow: 2px 2px 2px #3fffff;
}

/* keyframes pour le premier calque */
@keyframes glitch-anim {
  0% {
    clip: rect(5px, 9999px, 15px, 0);
    transform: translate(-2px, -2px);
  }
  25% {
    clip: rect(35px, 9999px, 50px, 0);
    transform: translate(2px, 2px);
  }
  50% {
    clip: rect(10px, 9999px, 30px, 0);
    transform: translate(-2px, 2px);
  }
  75% {
    clip: rect(45px, 9999px, 60px, 0);
    transform: translate(2px, -2px);
  }
  100% {
    clip: rect(20px, 9999px, 40px, 0);
    transform: translate(-2px, -2px);
  }
}

/* keyframes pour le deuxième calque */
@keyframes glitch-anim2 {
  0% {
    clip: rect(15px, 9999px, 25px, 0);
    transform: translate(2px, 2px);
  }
  25% {
    clip: rect(40px, 9999px, 55px, 0);
    transform: translate(-2px, -2px);
  }
  50% {
    clip: rect(5px, 9999px, 20px, 0);
    transform: translate(2px, -2px);
  }
  75% {
    clip: rect(50px, 9999px, 70px, 0);
    transform: translate(-2px, 2px);
  }
  100% {
    clip: rect(30px, 9999px, 45px, 0);
    transform: translate(2px, 2px);
  }
}
.social-media {
  margin-top: 2em;
  text-align: center;
}

.social-media a {
  margin: 0 1em;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-media img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 10px #b89000);
  transition: 0.3s ease;
}

.social-media a:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 20px #ae0101);
}
#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  opacity: 0.7; /* تحكم فـ شدة الفيديو */
}
.top-left-logo {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1000;
}

.top-left-logo img {
  width: 100px; /* قدّر الحجم حسب رغبتك */
  height: auto;
  border-radius: 5px; /* اختيارية */
}
.bottom-left-logo {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 1000;
}

.bottom-left-logo img {
  width: 100px;
  height: auto;
  border-radius: 5px;
}
.bottom-right-logo {
  position: fixed;
  bottom: 0px;
  right: 0px; /* هنا بدّلناها */
  z-index: 1000;
}

.bottom-right-logo img {
  width: 100px;
  height: auto;
  border-radius: 5px;
}
body {
  margin: 0;
  padding: 0;
  background-color: #0e0e0e;
  font-family: 'Arial', sans-serif;
  color: white;
}

/* Button */
.toggle-btn {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: #ff9900;
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 0 15px #ff9900;
}

/* Widget */
.widget {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #ff9900;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  box-shadow: 0 0 20px #ff9900;
}

/* Active */
.widget.show {
  transform: translateX(-50%) scale(1);
}

.widget h2 {
  margin: 0 0 10px 0;
  color: #ff9900;
}

.widget p {
  margin: 8px 0;
}
@media (max-width: 768px) {
  .logo {
    font-size: 28px;
  }

  .tagline {
    font-size: 14px;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
.container {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
