/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #2A2F3D, #4B5563);
    overflow: hidden;
    position: relative;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center;     /* Center horizontally */
}

body.fade-out {
    opacity: 0;
}

/* Background Crawling Lines */
.background-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.background-lines::before,
.background-lines::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0 20px,
        rgba(255, 215, 0, 0.15) 20px 40px
    );
    animation: scrollLines 10s linear infinite;
}

.background-lines::after {
    background: repeating-linear-gradient(
        90deg,
        transparent 0 20px,
        rgba(255, 215, 0, 0.15) 20px 40px
    );
    animation-direction: reverse;
}

.background-lines::before,
.background-lines::after {
    background-image: linear-gradient(
        to right,
        #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C
    );
    opacity: 0.2;
}

@keyframes scrollLines {
    from {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

/* Logo Styling (Centered + Drop Shadow) */
.logo {
    max-width: 35%;
    height: auto;
    margin-bottom: 20px; /* space between logo and quote */
    z-index: 2;
    animation: zoomIn 1.5s ease-out forwards;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5));
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Quote Styling (Bigger Text + Drop Shadow) */
.quote {
    text-align: center;
    font-size: 3.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInQuote 1.5s ease-out forwards;
    animation-delay: 1s;
    z-index: 2;
}

@keyframes fadeInQuote {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        max-width: 60%;
    }
    .quote {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .quote {
        font-size: 1.8rem;
    }
}
