/* General Styling */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden; /* Hide scrollbars */
}

.laser-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2a211c, #4a3728);
    overflow: hidden;
}

.laser {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000;
    animation: scan 7s linear infinite;
}

.laser:nth-child(2) {
    animation-delay: -3.5s;
}

@keyframes scan {
    0% {
        transform: translateX(-100%) skewX(-30deg);
    }
    100% {
        transform: translateX(calc(100vw + 100%)) skewX(-30deg);
    }
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better contrast */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    background-color: rgba(20, 15, 10, 0.75);
    padding: 40px 60px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Header */
header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 0;
    color: #f4eade;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    animation: slideInDown 1s ease-out;
}

header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 10px;
    color: #dcdcdc;
    animation: slideInDown 1.2s ease-out;
}

/* Main Content */
main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #f4eade;
    margin-top: 30px;
    margin-bottom: 20px;
    animation: slideInUp 1.4s ease-out;
}

main p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #dcdcdc;
    animation: slideInUp 1.6s ease-out;
}

/* Footer */
footer {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    animation: slideInUp 1.8s ease-out;
}

footer h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f4eade;
    margin-bottom: 10px;
}

footer p {
    font-size: 1.1rem;
    margin: 0;
}

footer a {
    color: #f4eade;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Animation Keyframes */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile-Friendly Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 30px 40px;
        max-width: 90%;
    }

    header h1 {
        font-size: 3rem;
    }

    header .subtitle {
        font-size: 1rem;
    }

    main h2 {
        font-size: 1.5rem;
    }

    main p {
        font-size: 1rem;
    }

    footer h3 {
        font-size: 1.1rem;
    }

    footer p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    main h2 {
        font-size: 1.3rem;
    }
}
