/* خلفية كاملة بالصورة */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Courier New", Courier, monospace;
  background-image: url("bacckground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c2535;
}

/* طبقة خفيفة فوق الخلفية عشان القراءة تكون أوضح */
.overlay {
  width: 100%;
  max-width: 420px;
  margin: 0 16px;
  padding: 32px 24px 40px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  backdrop-filter: blur(10px);
}

.logo-area {
  text-align: center;
  margin-bottom: 28px;
}

.logo-image {
  max-width: 180px;
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.subtitle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(28, 37, 53, 0.7);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-box {
  display: block;
  position: relative;
  text-align: center;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid #cfa37e;
  color: #1c2535;
  text-decoration: none;
  font-size: 0.98rem;
  background-color: rgba(255, 255, 255, 0.95);
  transition: background-color 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.link-text {
  flex: 1;
}

.link-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  position: absolute;
  left: 18px;
}

.link-box:focus,
.link-box:hover {
  background-color: #f4e4d5;
  border-color: #c28c5d;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.link-box:active {
  transform: translateY(0);
  box-shadow: none;
}

/* تباعد عن أسفل الشاشة في الأجهزة الصغيرة جداً */
@media (max-height: 600px) {
  .overlay {
    padding-top: 20px;
    padding-bottom: 24px;
  }
}

/* شاشات أكبر (تابلت مثلاً) */
@media (min-width: 768px) {
  .overlay {
    max-width: 480px;
    padding: 40px 36px 48px;
  }
}


