/* ===============================
   Montserrat Self-Hosted Setup
   =============================== */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Global font stack */
body, h1, h2, h3, p, a, button {
  font-family: 'Montserrat', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* ===============================
   General Page Styling
   =============================== */

body {
  margin: 0;
  background-color: #0078b6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  color: #000;
}

.container {
  background-color: #fff;
  border-radius: 16px;
  padding: 25px 18px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  max-height: 90vh;
}

img.logo {
  max-width: 300px;
  width: 70%;
  height: auto;
  margin-bottom: 12px;
}

h1 {
  color: #0078b6;
  margin-bottom: 12px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

/* ===============================
   Buttons and Timer
   =============================== */
.timer {
  color: #f2b133;
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  margin-bottom: 10px;
}

.redirect-link {
  margin-top: -5px;
  margin-bottom: 16px;
  font-size: clamp(12px, 1vw, 14px);
}

.redirect-link a {
  color: #0078b6;
  text-decoration: underline;
  cursor: pointer;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #f2b133;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: clamp(13px, 1.2vw, 16px);
}

a.button i { margin-right: 6px; }
a.button:hover {
  background-color: #e0a82d;
  transform: translateY(-2px);
}

/* ===============================
   Bio Sections
   =============================== */
.bio-section {
  background-color: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  text-align: left;
  margin-top: 20px;
  font-weight: 400;
}
.bio-closing {
    text-align: center;
}

/* Campaign Bio (slightly larger) */
.campaign-bio p {
  font-size: clamp(13px, 1.8vw, 16px);
  line-height: 1.3;
}
.campaign-bio strong {
  font-weight: 600;
}
.campaign-bio h2 {
  color: #0078b6;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

/* About Me (slightly smaller, min 11px cap) */
.about-me p {
  font-size: clamp(11px, 1.5vw, 13px);
  line-height: 1.25;
  margin-bottom: 12px;
  padding-left: 8px;
  border-left: 2px solid rgba(242, 177, 51, 0.3);
}

.about-me p:not(:last-child) {
  border-bottom: 1px solid rgba(242, 177, 51, 0.2);
  padding-bottom: 10px;
}

.about-me p:last-child {
  text-align: center;
  border-left: none;
  border-bottom: none;
  padding-left: 0;
  margin-top: 6px;
  font-style: italic;
  line-height: 1.25;
}

.about-me h3 {
  color: #0078b6;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

/* Divider Line */
.section-divider {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
}
