@font-face {
  font-family: "Yekan";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("./public/fonts/yekan/IRANYekanX-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Yekan";
  font-weight: 700; /* Bold weight */
  font-style: normal;
  font-display: swap;
  src: url("./public/fonts/yekan/IRANYekanX-Bold.ttf") format("truetype");
}

:root {
  --primary-blue: #007bf5;
  --primary-blue-hover: #0066cd;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --font-family:"Yekan"
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:var(--font-family);
  background-color: #f8fafc;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow-x: hidden;
}

/* Fullscreen SVG Background Container */
.bg-pattern img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-pattern svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Icon & Offline Label */
.status-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

.offline-icon {
  width: 80px;
  height: 80px;
  color: #475569;
  margin-bottom: 12px;
}

.status-title {
  font-size: 3rem;
  color: #414651;
}

/* Text Content */
.content {
  margin-bottom: 36px;
}

.content h2 {
  font-size: 1.65rem;
  color: #25272c;
  margin-bottom: 16px;
  line-height: 42px;
}

.content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}

/* Action Button */
.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 28px;
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 123, 245, 0.25);
  font-family:var(--font-family);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 123, 245, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .offline-icon {
    width: 68px;
    height: 68px;
  }

  .status-title {
    font-size: 1.85rem;
  }

  .content h1 {
    font-size: 1.4rem;
  }

  .content p {
    font-size: 0.925rem;
  }

  .btn-primary {
    padding: 13px 20px;
  }
}
