body {
  margin: 0;
  padding: 0;
  height: 100vh;
  /*overflow: hidden;*/
  position: relative;
  font-family: "Montserrat", sans-serif;
  background: rgb(18, 17, 21);

  display: flex;
  flex-direction: column;
  min-height: 90vh;
}

:root {
  --font-color: #acbfca;
  --header: #cad8e8;
  --intro-button: #5c6aff;
  --intro-button-hover: #4972be;
  --panel-bg: #1f2126;
  --panel-bg2: #17191c;
  --font-main: 'Inter', sans-serif;
  --spacing-sm: 8px;
  --spacing-lg: 24px;
}

a {
  color: #b0dbf5;
}

a:hover {
  color: #e8feff;
}

.red {
  color: red;
}

.mt-form {
  background-color: #161a1f;
  border: #4e6469 solid 1px;
  transition: all 0.1s ease;
  border-radius: 10px;
  color: #acc2ca;
}

.mt-form:focus,
mt-form:active {
  background-color: #16191f;
  border-radius: 5px;
  border: #759194 solid 2px;
  box-shadow: none;
  color: #acc6ca;
}

.mt-form:checked {
  background-color: green;
  border: #759494 solid 1px;
  box-shadow: none;
}

.alert-success {
  background-color: #48b43f;
  border: none;
  border-radius: 10px;
  color: white;
}

.alert-danger {
  background-color: #d73a3a;
  border: none;
  border-radius: 10px;
  color: #ffdada;
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

.legal-container {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}

.mt-content {
  margin-left: 10px;
  margin-right: 10px;
}

.blog {
  color: #c3d3db;
  font-size: 15px;
}

.blog h1, h2, h3, h4, h5 {
  margin-top: 25px;
  color: #a4cbe0;
}

.blog-img-hr {
  border-radius:5px;
  /*border: #b3a486 2px solid;*/
  -webkit-box-shadow: 0px 0px 10px 3px rgba(10, 10, 10, 0.5);
  -moz-box-shadow: 0px 0px 10px 3px rgba(10, 10, 10, 0.5);
  box-shadow: 0px 0px 10px 3px rgba(10, 10, 10, 0.5);
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.blog-column {
  width: 800px
}

@media (max-width: 800px) {
  .blog-column{
    width: 100%;
  }
}


.terms {
  color: #99b7c2;
  font-size: 13px;
}

.terms h2,
h4 {
  color: #cde4f7;
}

.list-no-padding {
  padding-left: 0;
  margin-left: 10px;
}

.mt-form:-webkit-autofill,
.mt-form:-webkit-autofill:hover,
.mt-form:-webkit-autofill:focus,
.mt-form:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 50px #052340 inset !important;
  transition: none;
  -webkit-text-fill-color: #acc1ca;
}

.mt-form:disabled {
  background-color: #1d1e1f;
  border-color: #2d3538;
  color: #616e75;
}

.mt-form-check {
  min-width: 20px;
  min-height: 20px;
  margin-right: 10px;
}

.accept-input-label {
  display: inline-flex;
  align-items: center;
  vertical-align: top;
  /* Ensure proper alignment */
}

.accept-text {
  margin-left: 5px;
  /* Adjust margin as needed */
}

.accept-input-label {
  font-size: 12px;
}

.base-margin-top {
  margin-top: 100px;
}

h1,
h2,
h3 {
  font-weight: 600;
}

.montserrat-font {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


.background-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.navbar {
  border-radius: 10px;
  position: absolute;
  top: 10px;
  /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  max-width: 1920px;
  width: calc(100% - 20px);
  margin-left: auto;
  margin-right: auto;
  padding: 10px 10px;
  background-color: #212029;
}

.navbar-toggler {
  order: 1;
}

.navbar-collapse {
  order: 2;
}

.navbar-nav {
  width: auto;
  /* Adjust width as needed */
  display: flex;
  justify-content: flex-start;
  /* Align items to the left */
}

.navbar-nav li {
  margin-right: 10px;
  /* Adjust as needed */
}

.navbar-nav:last-child {
  margin-left: auto;
  /* Align the _LoginPartial to the right */
}

.navbar-itemshop {
  font-weight: 700;
}

.content {
  color: white;
  padding-top: 100px;
  /* Adjust to accommodate navbar height */
}

.mt-brand {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  /*background-image: url(../public/logo_xs.png);*/
  width: 144px;
  height: 41px;
  z-index: 3;
}

.gm-logo {
  background-size: contain;
  width: 18px;
  height: 18px;
  background-image: url(../public/gm.png);
  display: flex;
  margin-left: auto;
  margin-bottom: auto;
}

/*.centered-brand {*/
/*  margin-left: auto; !* Push brand to the left *!*/
/*  margin-right: auto; !* Push brand to the right *!*/
/*}*/

.terms-column {
  width: 900px
}

@media (max-width: 900px) {
  .terms-column {
    width: 100%;
  }
}

@media (min-width: 992px) {

  .navbar {
    width: 80%;
  }

  /* Apply styles only for medium screens and up */
  .centered-brand {
    margin-left: 0;
    /* Reset margin for larger screens */
    margin-right: 0;
    /* Reset margin for larger screens */
  }

  .mt-brand {
    position: absolute;
    top: 2%;
    left: max(5%, 50px);
    background-image: url(../public/logo.png);
    width: 100px;
    height: 97px;
  }
}

@media (min-width: 1960px) {
  .mt-brand {
    background-image: url(../public/logo_xl.png);
    width: 125px;
    height: 118px;
  }
}

.nav-item:hover {
  background-color: #2f2e3d;
  border-radius: 10px;
}

.nav-selected {
  color: #8fdcff;
  background-color: #2f2e3d;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(21, 18, 17);
  background: linear-gradient(0deg, rgba(18, 17, 21, 1) 35%, rgba(18, 17, 21, 0.8841737378545168) 69%, rgba(18, 17, 21, 0.42198886390493695) 86%, rgba(18, 17, 21, 0) 94%);
  z-index: 0;
  pointer-events: none;
  /* This prevents the overlay from capturing pointer events */
}

.home-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(21, 18, 17);
  background: linear-gradient(0deg, rgba(18, 17, 21, 1) 2%, rgba(18, 17, 21, 0.42198886390493695) 25%, rgba(18, 17, 21, 0) 94%);
  z-index: 0;
  pointer-events: none;
  /* This prevents the overlay from capturing pointer events */
}

.header-space {
  height: 85vh; /* 100% of the viewport height */
  display: flex; /* Center content inside the div */
}

.ignore-overlay {
  position: relative;
  /* Make sure content is positioned relative or absolute */
  z-index: 1;
  /* Ensure content appears above the overlay */
}

/* Override Bootstrap default styles */
.navbar-toggler {
  background-color: transparent !important;
  /* Set transparent background */
  border: none !important;
  /* Remove border */
  box-shadow: none !important;
  /* Remove box shadow */
}

/* Ensure the icon color remains black by default */
.navbar-toggler .navbar-toggler-icon {
  color: black;
  /* Set default color for icon */
}

/* Change the icon color to goldenrod on hover */
.navbar-toggler:hover .navbar-toggler-icon {
  color: var(--intro-button) !important;
}

.navbar-toggler-icon:hover {
  color: var(--intro-button-hover) !important;
}

.footer {
  z-index: 0;
  margin-top: auto;
  /* Push the footer to the bottom */
  padding-top: 20px;
}

.footer a {
  text-transform: uppercase;
  margin-left: 15px;
  text-decoration: none;
  background: -webkit-linear-gradient(#36eeff, #434ecc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer a:hover {
  background: -webkit-linear-gradient(#6df2ff, #878ff3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.copyright {
  font-size: 12px;
  color: #82969f;
  padding-top: 10px;
}

.small-paragraph {
  margin-bottom: 0;
  font-size: 12px;
}

.no-button {
  border: none;
  background-color: rgba(0, 0, 0, 0);
}

.content p {
  margin-bottom: 0px;
}

.gradient-line {
  max-width: 300px; /* Specify the desired width */
  height: 2px; /* Thickness of the line */
  margin: 5px auto 15px auto; /* Center horizontally */
  background: linear-gradient(to right, transparent, #81d1f7, transparent);
}

.gradient-line-big {
  max-width: 500px; /* Specify the desired width */
  height: 2px; /* Thickness of the line */
  margin: 5px auto 15px auto; /* Center horizontally */
  background: linear-gradient(to right, transparent, #81d1f7, transparent);
}

.promo {
  max-width: 390px;
  padding-top:0px;
  padding-bottom:0px;
  margin-top: 75px;
  margin-bottom: 0px;
}
.promo h3 {
  padding-top:0px;
  padding-bottom:0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.promo .gradient-line {
  padding-top:0px;
  padding-bottom:0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.promo-image {
  width: 384px;
  height: 216px;
}

.video-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px; /* optional */
}

.promo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* optional */
}

/* Overlay gradient */
.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%; /* covers from bottom to half */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  border-radius: 10px; /* match video */
  pointer-events: none; /* so video controls work if needed */
}

/* Text on overlay */
.video-title {
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  text-shadow: 0 0 5px black;
}

.video-link {
  display: inline-block;
  text-decoration: none;
}

.video-link:hover .promo-video {
  filter: brightness(1.1);
}

.video-link:hover .video-wrapper {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ── NowaEra promo card ── */
.nowa-era-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nowa-era-card-bg {
    position: absolute;
    inset: 0;
    background-image: url('/public/new_pres/iron/background.jpg');
    background-size: cover;
    background-position: center top;
    border-radius: 10px;
    filter: blur(10px) brightness(0.55) saturate(0.7);
    transform: scale(1.06);
    transition: filter 0.4s ease;
}

.nowa-era-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
}

.nowa-era-qmark {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: clamp(60px, 10vw, 130px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.82);
    text-shadow:
        0 0 30px rgba(255,255,255,0.25),
        0 4px 20px rgba(0,0,0,0.9);
    animation: nowa-era-pulse 2.8s ease-in-out infinite alternate;
    line-height: 1;
    user-select: none;
}

@keyframes nowa-era-pulse {
    from { opacity: 0.65; transform: scale(1); }
    to   { opacity: 1;    transform: scale(1.06); }
}

.video-link:hover .nowa-era-card-bg {
    filter: blur(8px) brightness(0.65) saturate(0.8);
}

.video-link:hover .nowa-era-card {
    box-shadow: 0 8px 32px rgba(0,0,0,0.55);
}

/* ── Ironman preview card ── */
.nowa-era-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.88);
}

.video-link:hover .nowa-era-preview-img {
    transform: scale(1.03);
    filter: brightness(1);
}

.nowa-era-overlay--preview {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.18) 45%,
        transparent 100%
    );
    align-items: flex-end;
    padding-bottom: 20px;
}

.nowa-era-preview-cta {
    font-family: 'Cinzel', serif;
    font-size: clamp(11px, 1.1vw, 15px);
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
    transition: color 0.3s, letter-spacing 0.3s;
}

.video-link:hover .nowa-era-preview-cta {
    color: #fff;
    letter-spacing: 0.46em;
}