/* policy.css */

/* ============================================= */
/* --- STYLES FOR POLICY / TOS PAGE --- */
/* ============================================= */

/* --- Offer Header --- */
.offer-header {
  width: 100%;
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #333;
  background-size: cover;
  background-position: center;
}

.offer-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.offer-header .container {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px;
}

.offer-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #ffffff;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin: 0 0 12px;
  font-weight: normal;
}

.offer-meta {
  font-size: 1.05rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.offer-meta span {
  margin: 0 10px;
}

/* --- Policy Page Content --- */
.policy-page-content {
  max-width: 900px;
  padding: 60px 20px;
}

/* --- Policy Content (from DB) --- */
.policy-content {
  line-height: 1.8;
  color: #a0a0a0;
  font-family: 'Inter', sans-serif;
}

/* Headings inside policy content */
.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
  font-family: 'Bebas Neue', sans-serif;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: normal;
  margin-top: 40px;
  margin-bottom: 15px;
}

/* Minimal ForceFore accent line */
.policy-content h1 {
  font-size: 2.2rem;
  padding-top: 15px;
  border-top: 2px solid #000000;
}

.policy-content h2 {
  font-size: 1.8rem;
}

.policy-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
}

.policy-content p {
  margin-bottom: 1.5em;
  color: #000000;
}

.policy-content ul,
.policy-content ol {
  margin: 20px 0;
  padding-left: 25px;
}

.policy-content li {
  margin-bottom: 10px;
  color: #000000;
}

.policy-content strong {
  font-weight: bold;
  color: #000000;
}

.policy-content a {
  color: #000000;
  text-decoration: underline;
}

.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.policy-content th,
.policy-content td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
  color: #000000;
  font-family: 'Inter', sans-serif;
}

.policy-content th {
  background-color: #f4f4f4;
  font-weight: bold;
  color: #000000;
}

/* ================================================= */
/* --- Maintenance-like error block (404 not found) --- */
/* ================================================= */

.maintenance-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 40px 15px;
  background-color: #f4f4f4;
  box-sizing: border-box;
}

.maintenance-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.maintenance-panel {
  background-color: #000;
  color: #fff;
  padding: 34px 38px 30px;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.maintenance-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: #fff;
  opacity: 0.9;
}

.maintenance-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5.2em;
  letter-spacing: 2px;
  line-height: 1;
  margin: 8px 0 8px;
  color: #fff;
}

.maintenance-title {
  margin: 0 0 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.35em;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.maintenance-message {
  margin: 0 0 24px;
  color: #a0a0a0;
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  line-height: 1.55;
}

.maintenance-actions {
  margin-top: 6px;
}

.maintenance-btn {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 1.2em;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.6px;
  background-color: #fff;
  color: #000;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.maintenance-btn:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
  transform: translateY(-1px);
}

.maintenance-btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .maintenance-panel { padding: 28px 22px 24px; }
  .maintenance-code { font-size: 4.6em; }
  .maintenance-title { font-size: 2.05em; }
}