/* ===== تنسيقات عامة ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: radial-gradient(ellipse at center, #2a0a1f 0%, #12030d 100%);
  color: #ffb6c1;
  font-family: 'Orbitron', 'Courier New', monospace;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ===== القلوب المتساقطة ===== */
#hearts {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  width: 100%;
  animation: fadeIn 2s ease-in;
}

/* ===== الشعار ===== */
.logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 25px;
  border: 3px solid #ff69b4;
  border-radius: 50%;
  background: rgba(255, 105, 180, 0.08);
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.8), inset 0 0 25px rgba(255, 105, 180, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  animation: pulse 2.5s infinite;
}

/* ===== العنوان ===== */
.title {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 5px;
  text-shadow: 0 0 10px #ff69b4, 0 0 30px #ff1493, 0 0 60px #ff1493;
  animation: glitch 3.5s infinite;
}

.title .name {
  color: #ff69b4;
  background: linear-gradient(90deg, #ff69b4, #dda0ff, #ff69b4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: clamp(0.9rem, 3vw, 1.3rem);
  color: #e8a0c0;
  margin: 15px 0 25px;
  letter-spacing: 3px;
}

/* ===== شريط الحالة ===== */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  font-size: clamp(0.7rem, 2.5vw, 0.9rem);
  color: #ffd1e3;
}

.status-bar .ok { color: #ff69b4; text-shadow: 0 0 10px #ff1493; }
.status-bar .bad { color: #dda0ff; }

/* ===== ASCII ===== */
.ascii {
  font-size: clamp(0.4rem, 1.8vw, 0.7rem);
  color: #ff9ecb;
  white-space: pre;
  line-height: 1.15;
  margin: 25px auto;
  max-width: 100%;
  overflow-x: auto;
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

/* ===== صندوق المعلومات ===== */
.info-box {
  display: inline-block;
  border: 2px solid #ff69b4;
  border-radius: 15px;
  padding: 18px 45px;
  margin-top: 10px;
  background: rgba(255, 105, 180, 0.07);
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.35), inset 0 0 25px rgba(255, 105, 180, 0.1);
  font-size: clamp(0.8rem, 2.8vw, 1rem);
  line-height: 2;
  color: #ffd1e3;
}

.info-box span { color: #fff; text-shadow: 0 0 10px #ff69b4; }
.info-box .label { color: #dda0ff; }

/* ===== زر التواصل ===== */
.contact {
  margin-top: 25px;
}

.contact a {
  display: inline-block;
  padding: 12px 35px;
  border: 2px solid #ff69b4;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
  transition: all 0.3s ease;
}

.contact a:hover {
  background: #ff69b4;
  color: #1a0b14;
  box-shadow: 0 0 35px rgba(255, 105, 180, 1);
  transform: scale(1.05);
}

/* ===== التذييل ===== */
.footer {
  margin-top: 30px;
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  color: #7a4a63;
  letter-spacing: 2px;
  line-height: 1.8;
}

/* ===== الحركات ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(255,105,180,0.8), inset 0 0 25px rgba(255,105,180,0.3); }
  50% { transform: scale(1.07); box-shadow: 0 0 45px rgba(255,105,180,1), inset 0 0 40px rgba(255,105,180,0.5); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glitch {
  0%, 88%, 100% { transform: translate(0); text-shadow: 0 0 10px #ff69b4, 0 0 30px #ff1493; }
  89% { transform: translate(-4px, 2px); text-shadow: 3px 0 #dda0ff, -3px 0 #ff1493; }
  91% { transform: translate(4px, -2px); text-shadow: -3px 0 #dda0ff, 3px 0 #ff1493; }
  93% { transform: translate(-2px, 1px); }
  95% { transform: translate(2px, -1px); }
}

/* ===== تجاوب مع الشاشات الصغيرة ===== */
@media (max-width: 600px) {
  .logo { width: 100px; height: 100px; font-size: 3rem; }
  .info-box { padding: 15px 25px; }
}