body {
    margin: 0;
    padding: 0;
    font-family: "League Spartan", serif;
    color: #fff;
    overflow-x: hidden;
    text-transform: uppercase;
    font-weight: lighter;
    letter-spacing: 2px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.logo {
    width: 550px;
    margin-bottom: -75px;
}

.tagline {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #d4a558;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bolder;
    text-shadow: 3px 3px #000000d9;
   
}

.subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 2px;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.3rem;
    text-transform: uppercase;
    background: rgb(212, 165, 88);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 2px;
     box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.btn-sec{
   color: rgb(0, 0, 0);
  background: #fff9eeab;
  border: 1px solid #000;
}
.about, .features {
    padding: 60px 10%;
    background: rgba(0, 0, 0, 0.7);
}

.about h2, .features h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    margin-bottom: 10px;
}

footer {
    padding: 40px 10%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
}

footer .wishlist {
    margin-bottom: 20px;
}

footer .social {
    font-size: 0.9rem;
}

/* Sticky wishlist button */
.btn.wishlist {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .tagline {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 0 10%;
    }
    .hero-content {
        max-width: 100%;
    }
    .logo {
        width: 80%;
        margin-bottom: -40px;
    }
    .tagline {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    .subheading {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
        margin-bottom: 15px !important;
    }
    .store-logos {
        flex-direction: column;
    }
    .store-logo-btn {
        margin: 10px 0;
        width: 100%;
        margin-bottom: 15px !important;
    }
    .social-btn {
        display: block;
        margin: 5px 0;
        margin-bottom: 15px !important;
    }
    .popup-content {
        width: 90%;
    }
    .layer2 {
       width: 475px !important;
    }
}

/* Popup styles */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure popup is on top */
    opacity: 0;
}

.popup-content {
    background-color: #1a1a1a; /* Dark background for the popup */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.8);
    opacity: 0;
}

.popup-content h2 {
    color: #d4a558;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #d4a558;
    cursor: pointer;
}

.store-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.store-logo-btn {
    background: none;
    border: 2px solid #d4a558;
    color: #d4a558;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: "League Spartan", serif;
    text-transform: uppercase;
    font-size: 2rem;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.store-logo-btn span {
    font-size: 0.8rem;
    margin-top: 5px;
}

.store-logo-btn:hover {
    background-color: #d4a558;
    color: #000;
}

.social-buttons {
    margin-top: 20px;
}

.social-btn {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 15px;
    border: 1px solid #d4a558;
    border-radius: 4px;
    color: #d4a558;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.social-btn:hover {
    background-color: #d4a558;
    color: #000;
}

.as-logo img{
    width: 27px;
    position: fixed;
    padding: 20px;
    opacity: 0.6;
}

.as-logo img:hover{
    opacity: 1;
}

.fold {
    padding: 60px 10%;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.fold h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #d4a558;
}

.fold p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: #d4a558;
    margin-bottom: 10px;
}

.fold-buttons {
    margin-top: 40px;
}

.fold-buttons .btn {
    margin: 0 10px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.story-details p,
.characters p,
.world p {
    text-align: left;
}

.characters h3, .world h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #d4a558;
}

.characters h4 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #ccc;
}

#videoPopup .popup-content {
    padding: 0;
    background: black;
    width: 90vw;
    max-width: 900px;
}

#videoPopup iframe {
    width: 100%;
    height: calc(90vw * 0.5625);
    max-height: calc(900px * 0.5625);
    display: block;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}

#imagePopup .popup-content {
    padding: 0;
    background: black;
    width: 90vw;
    max-width: 900px;
}

#imagePopup img {
    width: 100%;
    height: auto;
    display: block;
}

.layer2{
    width: 820px;
  left: auto;
  bottom: -100px;
  top: auto;
}

.layer3{
    width: 100%;
  left: auto;
  top: 0px;
  object-fit: contain;
}

.sec-bg{
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
}

.c-bg{
     background: #191919;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader img {
    width: 200px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.hero-socials {
    margin-top: 20px;
}

.hero-socials a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-socials a:hover {
    color: #d4a558;
}
