/*
 * Globals
 */
/* Links */
a,
a:focus,
a:hover {
  color: #fff; }

/* Custom default button */
.btn-default {
  color: #fff;
  text-shadow: none;
  /* Prevent inheritence from `body` */
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 0.5rem 2rem; }

.btn-default:hover,
.btn-default:focus {
  background-color: rgba(255, 255, 255, 0.3); }

/*
 * Base structure
 */
html,
body {
  height: 100%; }

body {
  background: url(../img/cover.jpg) no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
  font-family: 'Quicksand', sans-serif; }

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  /* For at least Firefox */
  min-height: 100%;
  background: rgba(48, 53, 70, 0.5);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5); }

.site-wrapper-inner {
  display: table-cell;
  vertical-align: top; }

.cover-container {
  margin-right: auto;
  margin-left: auto; }

/* Padding for spacing */
.inner {
  padding: -15px; }

/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px; }

.nav-masthead {
  text-align: center;
  display: block; }

.nav-masthead .nav-link {
  display: inline-block; }

@media (min-width: 768px) {
  .masthead-brand {
    float: left; }
  .nav-masthead {
    float: right; } }

/*
 * Cover
 */
.cover {
  padding: 0 20px; }

.cover .btn-notify {
  padding: 10px 60px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 40px; }

.cover-heading {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 10px;
  font-size: 2rem;
  margin-bottom: 5rem; }

/* * TEXT SIZE  */

@media (min-width: 768px) {
  .cover-heading {
    font-size: 2.4rem;
    letter-spacing: 5px; } }

.cover-copy {
  max-width: 500px;
  margin: 0 auto 3rem; }

/*
 * Footer
 */
.mastfoot {
  color: #999;
  /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5); }

/*
 * Subscribe modal box
 */
#subscribeModal .modal-content {
  background-color: #303546;
  color: #fff;
  text-align: left; }

#subscribeModal .modal-header, #subscribeModal .modal-footer {
  border: 0; }

#subscribeModal .close {
  color: #fff; }

#subscribeModal .form-control {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff; }
  #subscribeModal .form-control:focus {
    border-color: #49506a; }

/*
 * Affix and center
 */
@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0; }
  .mastfoot {
    position: fixed;
    bottom: 0; }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle; }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%;
    /* Must be percentage or pixels for horizontal alignment */ } }

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 1060px; } }


.cover-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centers main content only */
  align-items: center;
  padding-top: 80px; /* keep header space */
}

.mastfoot {
  position: fixed; /* fixed at bottom */
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 5px 0; /* minimal space */
  color: #fff;
  background: transparent;
}




/* Subheading under main heading */
.cover-subheading {
  position: relative;
  display: inline-block;
  color: #fff;
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
}

/* Glitch effect layers */
.glitch-effect::before,
.glitch-effect::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  overflow: hidden;
  clip: rect(0, 9999px, 0, 0);
}

/* Top glitch layer */
.glitch-effect::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  color: #0ff; /* Cyan */
}

/* Bottom glitch layer */
.glitch-effect::after {
  animation: glitchBottom 1s infinite linear alternate-reverse;
  color: #f0f; /* Magenta */
}

/* Glitch animations */
@keyframes glitchTop {
  0% { clip: rect(2px, 9999px, 20px, 0); transform: translateX(-2px); }
  25% { clip: rect(10px, 9999px, 40px, 0); transform: translateX(2px); }
  50% { clip: rect(5px, 9999px, 30px, 0); transform: translateX(-1px); }
  75% { clip: rect(15px, 9999px, 60px, 0); transform: translateX(1px); }
  100% { clip: rect(2px, 9999px, 20px, 0); transform: translateX(-2px); }
}

@keyframes glitchBottom {
  0% { clip: rect(60px, 9999px, 85px, 0); transform: translateX(1px); }
  25% { clip: rect(70px, 9999px, 100px, 0); transform: translateX(-1px); }
  50% { clip: rect(65px, 9999px, 90px, 0); transform: translateX(2px); }
  75% { clip: rect(75px, 9999px, 110px, 0); transform: translateX(-2px); }
  100% { clip: rect(60px, 9999px, 85px, 0); transform: translateX(1px); }
}

/* Optional: Electric flicker effect */
.glitch-effect {
  text-shadow:
    2px 0 #0ff,
    -2px 0 #f0f,
    1px 1px #0ff,
    -1px -1px #f0f;
}


/* Mobile-friendly heading adjustments */
@media (max-width: 576px) {
  .cover-heading {
    font-size: 2.2rem;        /* smaller for portrait phones */
    white-space: normal;       /* allow wrapping */
    line-height: 1.2;          /* tighter line spacing */
    margin-bottom: 10px;
  }

  .cover-subheading {
    font-size: 1rem;           /* smaller for portrait phones */
    letter-spacing: 3px;       /* reduce spacing for narrow screens */
    line-height: 1.2;
    margin-bottom: 15px;
    word-wrap: break-word;     /* force wrap if needed */
  }

  .btn-notify {
    font-size: 0.95rem;
    padding: 6px 14px;
  }
}




.masthead-logo {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.masthead-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.masthead-logo:hover img {
  transform: scale(1.2);
}
