* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@font-face {
    font-family: 'Val';
    src: url('/fonts/VAL.otf') format('opentype');
}
body {
    background: #0D1B2A;
    /* url('images/backgroundImage.png') center/cover; */
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    /* Prevent gradient banding */
    background-attachment: fixed;
}

/* body::before {
    content: '';
    position: fixed;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('images/backgroundImage.png') center/cover;
    filter: blur(10px) brightness(0.8);
    z-index: -1;
} */

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 10;
    width: 1161.37px;
    height: 75px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo i {
    margin-right: 10px;
    color: #ffdf3f;
    transition: transform 0.3s ease;
}

.logo:hover i {
    transform: rotate(15deg) scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffdf3f;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #ffdf3f;
}

nav ul li a:hover:after {
    width: 100%;
}

.main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    padding: 40px 0;
    position: relative;
}

.movies-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    height: 400px;
    margin-bottom: 9rem;
    position: relative;
}

.downloading-features{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    height: 400px;
    position: relative;
    padding-bottom: 9rem;
}

.text-content {
    flex: 1;
    padding-right: 40px;
    padding-top: 50px ;
    position: relative;
    z-index: 2;
    /* width: 638px;
    height: 410px;
    gap: 56px; */

}

.info-text-content {
    padding-bottom: 10rem;
}

h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.typing-container {
    display: inline-block;
    position: relative;
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #ffdf3f;
    animation: typing 3.5s steps(20, end) forwards, blink 0.8s infinite;
    width: 0;

}

.highlight {
    color: #ffdf3f;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 223, 63, 0.5);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: #ffdf3f; }
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #ffdf3f;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    background-color: #ffdf3f;
    color: #0D1B2A;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button:hover:before {
    left: 100%;
}

.character {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* padding-left: 40px; */
}

.character:before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.image-container {
    /* position: relative;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite; */
    width: 500px; 
    height: 604px;
}

.info-image-container{
    width: 500px;
    height: 604px;
}

.info-image-container img {
    width: 60%;
    height: 60%;
    object-fit: cover;
}
.download-image-container{
    width: 500px;
    height: 404px;
}

.download-image-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-image-container{
    width: 500px;
    height: 404px;
}

.premium-image-container img{
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.image-container:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.image-container img {
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.social-icons {
    display: flex;
    margin-top: 40px;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.social-icons a:hover {
    color: #ffdf3f;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Floating elements in background */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatAround 15s infinite linear;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-duration: 20s;
}

.floating-element:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 5%;
    animation-duration: 15s;
    animation-delay: -5s;
}

.floating-element:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 30%;
    right: 10%;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 30px) rotate(90deg);
    }
    50% {
        transform: translate(0, 60px) rotate(180deg);
    }
    75% {
        transform: translate(-20px, 30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@media (max-width: 900px) {
    body {
        /* Enhanced gradient for mobile */
        background: #0D1B2A;
        background-attachment: fixed;
    }
    
    .main-content {
        flex-direction: column;
        text-align: center;
    }

    .movies-content{
        flex-direction: column;
        text-align: center;
    }

    .downloading-features{
        flex-direction: column;
        text-align: center;
    }
    
    .text-content {
        padding-right: 0;
        margin-bottom: 40px;
        order: 2; /* This will make text content appear after character */
    }

    .info-text-content{
        padding-right: 0;
        margin-bottom: 40px;
        order: 2; /* This will make text content appear after character */
        width: 580px;
        height: 395px;
    }

    .premium-text-content{
        padding-right: 0;
        margin-bottom: 40px;
        order: 2; /* This will make text content appear after character */
        width: 580px;
        height: 395px;
    }
    
    .character {
        order: 1; /* This will make character appear first */
        margin-bottom: 30px;
    }
    
    .character:before {
        width: 280px;
        height: 280px;
    }
    
    .description {
        margin: 0 auto 40px;
    }
    
    header{
        width: 600px;
        height: 75px;
    }

    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .image-container {
        width: 280px;
        height: 280px;
    }

    .info-image-container{
        width: 300px;
        height: 300px;
    }

    .download-image-container{
        width: 300px;
        height: 300px;
    }

    .premium-image-container{
        padding-top: 4rem;
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 600px) {
    body {
        /* More optimized gradient for very small screens */
        background: #0D1B2A;
        background-attachment: fixed;
    }
    
    /* nav ul {
        display: none;
    } */
    header{
        width: 350px;
        height: 98px;
    }
    h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .description {
        font-size: 0.8rem;
    }
    
    .character:before {
        width: 150px;
        height: 150px;
    }

    .movies-character{
        width: 150px;
        height: 150px;
    }

    .image-container {
        width: 180px;
        height: 180px;
    }

    .download-image-container{
        width: 200px;
        height: 200px;
    }

    .info-image-container{
        width: 200px;
        height: 200px;
    }
    
    .premium-image-container{
        width: 200px;
        height: 200px;
    }
    
    .appstore{
        width: 100px;
        height: 40px;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .logo {
        font-size: 20px;
    }

    .info-text-content{
        padding-right: 0;
        margin-bottom: 40px;
        order: 2; /* This will make text content appear after character */
        width: 350px;
        height: 400px;
    }

    .premium-text-content{
        padding-right: 0;
        margin-bottom: 40px;
        order: 2; /* This will make text content appear after character */
        width: 350px;
        height: 400px;
    }
    
}