/* ===================================================
   MegaPersonals.eu — shared stylesheet
   Used by both index.html (home) and login.html (login).

   The layout is a fixed pixel design expressed entirely in rem.
   On screens narrower than 500px the root font size becomes
   fluid (3.2vw), so the whole page scales down proportionally
   instead of reflowing — which is how the mobile view looks.
   =================================================== */

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 500px) {
  html { font-size: 3.2vw; }   /* 16px at 500px, scales down from there */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fffef4;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  padding: 0.875rem 0 2.5rem;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

img { max-width: 100%; }

/* ===================================================
   SHARED — logo lockup
   The MegaPersonals wordmark is a rounded slab-serif /
   typewriter face. Rockwell (Windows) matches it closely;
   Roboto Slab is the web-font fallback for other machines.
   =================================================== */
.logo {
  font-family: "Rockwell", "Roboto Slab", "Bookman Old Style", Georgia, serif;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -0.03125rem;
  white-space: nowrap;
}

.logo-mega      { color: #f2a34a; }
.logo-personals { color: #77c5ec; }

.tagline-top {
  font-family: "Rockwell", "Roboto Slab", "Bookman Old Style", Georgia, serif;
  color: #b0b0b0;
  letter-spacing: 0.0625rem;
}

/* ===================================================
   ====================  HOME  ========================
   =================================================== */

/* ---------- overall two column block ---------- */
.page {
  width: 29.375rem;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* ---------- left column ---------- */
.left-col {
  width: 9.5rem;
  flex: 0 0 9.5rem;
  text-align: center;
}

.girl {
  display: block;
  width: 9.625rem;   /* devilgirl.png is 272x356 */
  height: auto;
  margin: 0;
}

.post-now {
  display: block;
  width: 8.625rem;
  margin: 0 auto;
  padding: 0.3125rem 0 0.375rem;
  background: linear-gradient(#63c0ea, #34a6de);
  border: 0.0625rem solid #2e9ad2;
  border-radius: 0.1875rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: bold;
  letter-spacing: 0.03125rem;
  text-shadow: 0 0.0625rem 0.0625rem rgba(0, 0, 0, .35);
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, .25);
}

.post-now:hover { background: linear-gradient(#74caf0, #3fb1e6); }

.select-location {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  font-weight: bold;
  color: #1a1a1a;
}

.change-location {
  display: inline-block;
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  color: #ef7fae;
  text-decoration: underline;
}

.change-location:hover { color: #e2578f; }

.flowers {
  display: block;
  width: 7.75rem;   /* topLeftFlowers_trans.png is 176x108 */
  height: auto;
  margin: 1rem 0 0 0.625rem;
}

.side-box {
  width: 8.625rem;
  margin: 0.75rem auto 0;
  padding: 0.75rem 0;
  background: #ececec;
  border: 0.0625rem solid #dcdcdc;
  border-radius: 0.125rem;
}

.side-box a {
  display: block;
  font-size: 0.8125rem;
  color: #2f6fc4;
  text-decoration: underline;
  line-height: 1.6;
}

.side-box a:hover { color: #17509b; }

/* ---------- right column ---------- */
.right-col {
  flex: 1 1 auto;
  text-align: center;
}

.right-col .logo { font-size: 2.75rem; }

.right-col .tagline-top {
  margin: -0.0625rem 0.125rem 0 0;
  text-align: right;
  font-size: 1.125rem;
}

/* ---------- MEET NOW ---------- */
.meet-now {
  margin-top: 0.125rem;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: 2.9375rem;
  font-weight: 900;
  line-height: 1.05;
  color: #00c800;
  text-shadow: 0.0625rem 0.0625rem 0 #0a9c0a,
               0.125rem 0.125rem 0 rgba(0, 0, 0, .15);
}

.restricted {
  margin-top: 0.875rem;
  font-size: 1rem;
  font-style: italic;
  font-weight: bold;
  line-height: 1.35;
  color: #ddcf9f;
}

/* ---------- category buttons ---------- */
.cat-buttons { margin-top: 1.625rem; }

.cat {
  display: block;
  width: 18.625rem;
  margin: 0 auto 0.8125rem;
  padding: 0.375rem 0 0.4375rem;
  border-radius: 0.25rem;
  color: #fff;
  font-size: 1.375rem;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0.1875rem 0.1875rem 0.25rem rgba(0, 0, 0, .3);
}

.cat:last-child { margin-bottom: 0; }
.cat:hover { filter: brightness(1.07); }

.cat-wsm   { background: #c1490b; }
.cat-msw   { background: #f9a01b; }
.cat-msm   { background: #ddc46a; }
.cat-wsw   { background: #7f7526; }
.cat-trans { background: #a0a0a0; }

/* ---------- home footer blurb ---------- */
.blurb {
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.35;
  color: #ddcf9f;
}

.blurb strong { font-weight: bold; }
.blurb .green { color: #22b422; }

/* ===================================================
   ====================  LOGIN  =======================
   =================================================== */
.login {
  width: 24rem;
  margin: 0.5rem auto 0;
}

.login .logo { font-size: 3.4375rem; }

.login .tagline-top {
  margin-top: -0.0625rem;
  text-align: center;
  font-size: 1.375rem;
  letter-spacing: 0.28125rem;
  text-indent: 0.28125rem;   /* offsets the trailing letter-space */
}

.prompt {
  margin-top: 1.125rem;
  font-size: 1rem;
  color: #a89e8c;
}

/* form feedback messages */
.form-status,
.form-error {
  width: 13rem;
  margin: 0.625rem auto 0;
  padding: 0.375rem 0.5rem;
  border-radius: 0.1875rem;
  font-size: 0.8125rem;
  font-weight: bold;
}

.form-status {
  background: #e2f6e2;
  border: 0.0625rem solid #9dd69d;
  color: #227a22;
}

.form-error {
  background: #fdecec;
  border: 0.0625rem solid #e6a3a3;
  color: #b33a3a;
}

.tagline-top + .prompt { margin-top: 1.5rem; }

.btn-start {
  display: block;
  width: 13rem;
  margin: 0.625rem auto 0;
  padding: 0.3125rem 0 0.375rem;
  background: #0d8bf2;
  border-radius: 0.125rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: bold;
}

.btn-start:hover { background: #1198ff; }

.login-form {
  width: 13rem;
  margin: 0 auto;
}

.field {
  display: block;
  width: 100%;
  margin-top: 0.5625rem;
  padding: 0.3125rem 0.5rem;
  background: #fff;
  border: 0.0625rem solid #a4a4a4;
  border-radius: 0.1875rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: #333;
}

.field:first-child { margin-top: 0.75rem; }
.field::placeholder { color: #757575; }

.field:focus {
  outline: none;
  border-color: #7fb0e0;
}

/* ---------- captcha ---------- */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  margin-top: 0.625rem;
}

.captcha {
  width: 10.625rem;
  height: 2.1875rem;
  border: 0.0625rem solid #a4a4a4;
  border-radius: 0.1875rem;
}

.captcha-reload {
  width: 1.6875rem;
  height: 1.6875rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 0;
}

.captcha-reload svg { width: 100%; height: 100%; display: block; }
.captcha-reload:hover { filter: brightness(1.1); }

/* ---------- submit ---------- */
.btn-submit {
  display: block;
  width: 6.4375rem;
  margin: 0.5625rem auto 0;
  padding: 0.5625rem 0;
  background: #f5a962;
  border: 0;
  border-radius: 0.125rem;
  color: #fff;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: bold;
  letter-spacing: 0.0625rem;
  cursor: pointer;
}

.btn-submit:hover { background: #f8b476; }

/* ---------- scam warning sign ---------- */
.warning {
  width: 13.1875rem;
  margin: 0.75rem auto 0;
  padding: 0.125rem;
  background: #111;
  border-radius: 0.625rem;
  box-shadow: 0.1875rem 0.1875rem 0.375rem rgba(0, 0, 0, .3);
}

.warning-stripes {
  padding: 0.375rem;
  border-radius: 0.5rem;
  background: repeating-linear-gradient(-45deg,
              #111 0 0.375rem, #f7d94b 0.375rem 0.75rem);
}

.warning-inner {
  padding: 0.375rem 0.5rem 0.4375rem;
  background: #f7d94b;
  border-radius: 0.3125rem;
  text-align: left;
  color: #111;
}

.warn-head {
  margin-bottom: 0.1875rem;
  font-size: 0.9375rem;
  font-weight: bold;
  white-space: nowrap;
}

.warning-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.warn-sub {
  font-size: 0.71875rem;
  font-weight: bold;
  line-height: 1.35;
}

.warning-q {
  flex: 0 0 auto;
  padding-right: 0.375rem;
  font-size: 3rem;
  font-weight: bold;
  line-height: 0.78;
}

/* ---------- forgot password ---------- */
.forgot {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.0125rem;
}

.forgot a { color: #2020c0; }
.forgot a:hover { text-decoration: underline; }

/* ===================================================
   SHARED — footer
   =================================================== */
.site-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.footer-links {
  margin-top: 1rem;
  font-size: 0.71875rem;
  color: #2f6fc4;
}

.footer-links + .footer-links { margin-top: 0.3125rem; }
.footer-links a { color: #2f6fc4; }
.footer-links a:hover { text-decoration: underline; }

.copyright {
  margin-top: 1.25rem;
  font-size: 0.71875rem;
  color: #2f6fc4;
}
