/* -----------------------------------------------------------
   COVER PAGE BACKGROUND — TITLE FOCAL POINT (REVISED)
----------------------------------------------------------- */

body {
  margin: 0;
  background: url("COVERPAGE-2200-X-3400.webp") no-repeat;
  background-size: cover;

  /* Desktop: title lower on the page */
  background-position: 50% 40%;

  min-height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* MOBILE background */
@media (max-width: 900px) {
  body {
    background-image: url("COVERPAGE-2200-X-1600-mobile.webp");
    background-size: cover;

    /* Mobile: title slightly lower than center */
    background-position: 50% 45%;
  }
}

/* -----------------------------------------------------------
   BUTTON ROW
----------------------------------------------------------- */

.button-row {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5rem;
}

/* -----------------------------------------------------------
   DESKTOP — independent control
----------------------------------------------------------- */
@media (min-width: 900px) {
  .button-row {
    top: 80vh;
    flex-direction: row;      /* ← DESKTOP direction */
    align-items: center;
    gap: 5rem;
  }

  .portal-btn {
    font-size: 0.8rem;
    padding: 0.6rem 1.8rem;
  }
}

/* -----------------------------------------------------------
   MOBILE — independent control
----------------------------------------------------------- */
@media (max-width: 900px) {
  .button-row {
    top: 58vh;
    flex-direction: column;   /* ← MOBILE direction */
    align-items: center;
    gap: 2rem;
  }

  .portal-btn {
    font-size: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.25);
    border: 1px solid #e0b000;
    backdrop-filter: blur(4px);
    min-width: auto;
  }

  .portal-btn::before {
    height: 2px;
  }

  .portal-btn::after {
    inset: -40%;
  }
}

/* -----------------------------------------------------------
   REFINED PORTAL BUTTONS
----------------------------------------------------------- */

.portal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Poppins", "Segoe UI", sans-serif; 
  font-size: 1rem;                 /* slightly smaller */
  letter-spacing: 0.08em;
  font-weight: 600;                /* lighter weight */
  padding: 0.6rem 1.8rem;          /* slimmer body */
  border-radius: 999px;
  overflow: hidden;
  color: #ffffff;
  text-transform: uppercase;
  background: rgba(0,0,0,0.25);    /* subtle transparency */
  border: 1px solid #c99501;       /* fine gold border */
  backdrop-filter: blur(4px);      /* glassy effect */
}

/* Thinner gold strip at top */
.portal-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;                     /* thinner ribbon */
  width: 100%;
  background: #e0b000;
  border-radius: 999px 999px 0 0;
  z-index: 2;
}

/* Softer glow */
.portal-btn::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.portal-btn:hover::after {
  opacity: 1;
}

/* -----------------------------------------------------------
   COLOR THEMES
----------------------------------------------------------- */

.gold-btn {
  background: transparent;
  box-shadow: none;
}

.blue-btn {
  background: transparent;
  box-shadow: none;
}

/* -----------------------------------------------------------
   DESKTOP BUTTON SIZE OVERRIDE (TWO-THIRDS)
----------------------------------------------------------- */

@media (min-width: 900px) {
    .portal-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.8rem;
    }
}

/* -----------------------------------------------------------
   MOBILE BUTTONS — TRUE HALF SIZE + HORIZONTAL LAYOUT
----------------------------------------------------------- */
@media (max-width: 900px) {

    /* Make buttons sit side-by-side on mobile */
    .button-row {
        flex-direction: row;        /* ← FIXED: horizontal layout */
        justify-content: center;
        gap: 2rem;                  /* spacing between buttons */
        align-items: center;
    }

    /* Half-size mobile buttons */
    .portal-btn {
        font-size: 0.4rem;          /* 50% of desktop */
        padding: 0.3rem 0.8rem;     /* 50% of desktop */
        border-radius: 999px;
        background: rgba(0,0,0,0.25);
        border: 1px solid #e0b000;
        backdrop-filter: blur(4px);
        min-width: auto;            /* allows true shrinking */
    }

    .portal-btn::before {
        height: 2px;                /* 50% of 3px */
    }

    .portal-btn::after {
        inset: -40%;                /* softer mobile glow */
    }
}

