.landing-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.blur-filter {
    display: none;
    z-index: 105;
    backdrop-filter: blur(4px);
    position: fixed;
    inset: 0 0 0 0;
    background-color: rgba(0, 0, 0, 0.238);
    pointer-events: none;

}

.blur-filter.show {
    display: block;
}

.landing-page .modal {
    display: none;
    position: absolute;
    inset: 10px 0px auto auto;
    max-width: 600px;
    margin-right: 20px;
  background: #0a0a0a;
  border: 2px solid #1f1f1f;
  border-radius: 24px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 215, 0, 0.1);
  max-height: 90vh;
  padding: 20px;
  animation: slideUp 0.5s ease-out;
  color: #f5f5f5;
  background-image: radial-gradient(circle at 20% 80%, rgba(47, 0, 255, 0.149) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(20, 220, 160, 0.05) 0%, transparent 50%);
  overflow-y: auto;
}

.button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Custom scrollbar */
.landing-page .modal::-webkit-scrollbar {
  width: 8px;
}

.landing-page .modal::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

.landing-page .modal::-webkit-scrollbar-thumb {
  background: #002fca;
  border-radius: 4px;
}

.landing-page .modal::-webkit-scrollbar-thumb:hover {
  background: #002fca95;
}

.quote-text {
  font-size: 18px;
  font-style: italic;
  color: white;
  margin: 0 0 18px 0;
  line-height: 1.6;
  font-weight: 500;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.quote-author {
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 20px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.modal-quote {
    font-size: 1rem;
    color: gray;
    text-align: center;
}

.landing-page .modal.show {
    display: block;
    z-index: 1000;
}

.modal img {
    width: 40px;
    position: absolute;
    inset: 0 0 auto auto;
    cursor: pointer;
    filter: invert(1);
}

.landing-page .modal ul {
  display: flex;
  flex-direction: column;
  gap: 6px;            /* optional: reset margin */
}

.landing-page .modal li {
  display: flex;
  align-items: flex-start;
  padding: 20px 24px;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  gap: 16px;
}

.landing-page .modal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #0000ff, #00034e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.landing-page .modal li:hover {
  background: #1a1a1a;
  border-color: #0004ff;
  transform: translateX(8px);
  box-shadow: 0 5px 20px rgba(43, 0, 255, 0.2);
}

.landing-page .modal li:hover::before {
  opacity: 1;
}

.landing-page .text {
    margin-bottom: 5vh;
}

.landing-page .text h1 {
    font-family: 'Chivo', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: -5px;
}

.landing-page .text p {
    font-family: 'Chivo', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.landing {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 5px 25px;
    margin-top: 20px;
    text-align: center;
    color: white;
    overflow: hidden;
}

.video {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

iframe {
    z-index: 5;
    width: min(calc(55vh * 16 / 9), calc(55vw * 16 / 9));
    height: min(55vh, 55vw);
    animation: spin 1s linear infinite alternate;
    border-radius: 32px;
}

@keyframes spin {
  0% {     box-shadow: 0 0 6px #0000ff43; }
  100% {     box-shadow: 0 0 6px #0000ff84; }
}


@media (max-width: 768px) {
    .landing-page .modal {
        margin-left: 10px;
        margin-right: 10px;
    }

    .landing-page .modal li {
        font-size: 0.8rem;
    }

    .landing {
        padding-bottom: 20vh;
        margin-top: 20px;
        gap: 30px;
        font-size: 16px;
    }

    .landing-page .floating-btn {
        position: absolute;
        inset: 10px 10px auto auto;
        z-index: 100;
    }

    .landing-page .text h1 {
        font-size: 2.5rem;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
        margin-bottom: -5px;
    }

    .landing h1 {
        font-size: 2.5rem;
    }

    .landing .text p {
        font-size: 12px;
    }

    iframe {
        width: min(calc(100vw - 40px), 50vh);
        height: min(calc((100vw - 40px) * 9 / 16), 30vh);
    }
}

@media (max-width: 420px) {
    .landing .text {
        margin-bottom: 5vh;
    }
}
