/* Base styles for the entire page */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, #1c1c2e, #141420 80%);
    color: #cfcfdc;
    font-family: 'Oswald', serif;
    scroll-behavior: smooth;
}

.header-container {
    flex: 1 0 auto;
  }

form label {
    color: #e0e0e0 !important;
}

/* Headings */
h1, h2, h3, h4 {
    color: #d8b4fe;
    
    text-shadow: 0 0 6px rgba(216, 180, 254, 0.15);
    
}

span {
    color: #d8b4fe;
}

/* Links */
a {
    color: #a58bfc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d8b4fe;
}

/* Navbar */
.navbar {
    background: linear-gradient(145deg, #1c1c2e, #141420) !important;
    opacity: 1 !important;
}
.nav-style {
    background: linear-gradient(145deg, #1c1c2e, #141420) !important;
    opacity: 1 !important;
    
}
    

.navbar .nav-link {
    color: #d8b4fe;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
  }
  
  .navbar .nav-link:hover {
    color: #ffffff;
    text-shadow: 
      0 0 10px rgba(123, 47, 247, 0.8),
      0 0 20px rgba(255, 0, 200, 0.6);
    transform: scale(1.05);
  }
  
  .navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #7b2ff7, #f107a3, #00d4ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  .navbar .nav-link:hover::after {
    transform: scaleX(1);
  }
  .navbar .nav-link.active {
    color: #ffffff;
    text-shadow:
      0 0 10px rgba(123, 47, 247, 0.8),
      0 0 20px rgba(255, 0, 200, 0.6);
    font-weight: 700;
    position: relative;
  }
  
  .navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #7b2ff7, #f107a3, #00d4ff);
    background-size: 200%;
    animation: activeGlowLine 4s linear infinite;
  }
  
  @keyframes activeGlowLine {
    0% {
      background-position: 0%;
    }
    100% {
      background-position: 200%;
    }
  }
  
  

.list-inline {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.list-inline a {
    color: #2c2222;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

/* Logo */
.logo-img {
    width: 10%;
}
.logo-img-two {
    width: 27%;
}

/* Index image */
.index-img {
  background: url("../images/unknown-possibilities-logo-1.png") no-repeat center center;
  background-size: contain;
  height: 80vh;
  width: 100%;
}
  


.index-img::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 20, 32, 0.6);
}

/* Buttons */
.btn-own-style,
.btn-mystic,
.btn-black {
    background: #7f5af0;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-own-style:hover,
.btn-mystic:hover,
.btn-black:hover {
    background: #9f79ff;
    box-shadow: 0 0 12px rgba(127, 90, 240, 0.5);
}

/* Footer */
footer {
    background: #141420;
    color: #999;
    text-align: center;
    padding: 30px 10px;
    border-top: 1px solid #383850;
    font-size: 0.9rem;
}

footer a:hover {
    color: #d8b4fe;
}

/* Mystic section */
.mystic-section {
    padding: 0px 20px;
}

.mystic-heading {
    text-align: center;
    color: #d8b4fe;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

/* Mystic cards */
.card-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.mystic-card {
    display: block;
    text-align: center;
    width: 250px;
    background: linear-gradient(145deg, #1c1c2e, #141420);
    border: 1px solid #383850;
    border-radius: 16px;
    overflow: hidden;
    color: #eaeaea;
    font-family: 'Georgia', serif;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
    text-decoration: none;
}

.mystic-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    color: #fff;
}

.mystic-card img {
    width: 100%;
    height: auto;
    filter: brightness(0.9) contrast(1.1);
}


.mystic-content {
    padding: 20px;
}

.mystic-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #d8b4fe;
}

.mystic-text {
    font-size: 0.95rem;
    color: #cfcfdc;
    margin-bottom: 16px;
}

/* Toast section */
.toast-container {
    min-width: 280px;
    animation: dropdownFade 0.4s ease-out;
  }
  
  .toast-arrow {
    width: 0;
    height: 0;
    margin-left: auto;
    margin-right: 1.25rem;
    margin-bottom: -0.5rem;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(33, 37, 41, 0.95); /* matchar bg-dark */
  }
  
  .toast {
    background-color: rgba(18, 18, 18, 0.95);
    color: #f8f9fa;
    border-left: 4px solid #a98cc4;
    border-radius: 1rem;
    font-family: 'Oswald', sans-serif;
    box-shadow: 0 0 20px rgba(169, 140, 196, 0.6);
  }
  .toast .toast-header {
    background-color: rgba(33, 33, 33, 0.85);
    color: #fff;
    border-bottom: 1px solid #a98cc4;
  }
  .toast .btn-close {
    z-index: 2;
  }
  
  
  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer section */
.footer {
  flex-shrink: 0;
}
.footer-mystic {
  position: relative;
  z-index: 10;
  background: radial-gradient(circle at top, #1c1c2e, #141420);
  border-top: 1px solid #383850;
  font-family: 'Oswald', sans-serif;
}

.footer-mystic a {
  color: #a58bfc;
  transition: color 0.3s ease;
}

.footer-mystic a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(168, 120, 255, 0.6);
}

.text-glow {
  color: #d8b4fe;
  text-shadow: 0 0 12px rgba(216, 180, 254, 0.4);
}


/* Media queries */

@media (max-width: 500px) {
    .header-container {
        padding-top: 30%;
    }
    .container {
      padding-top: 20%;
      padding-bottom: 15%;
  }
    .index-img {
        height: 20vh;
    }
}


@media screen and (min-width: 768px) {
    .header-container {
        padding-top: 10%;
    }
    .container {
      padding-bottom: 0%;
  }
  .container-detail {
      padding-top: 15% !important;
  }

    .index-img {
      height: 30vh;
  }
  
}

@media (min-width: 992px) {
    .fixed-top-desktop-only {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }
    .index-img {
      height: 40vh;
  }

    .header-container {
        padding-top: 10%;
    }
    .container-detail {
      padding-top: 11% !important;
  }
}

@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }
    .container-detail {
      padding-top: 10% !important;
  }
    .index-img {
      height: 50vh;
  }
}

@media (min-width: 2400px) {
  .container-detail {
    padding-top: 10% !important;
  }
    .index-img {
      height: 60vh;
  }
}