/* Reset and Base Styles */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    background-color: #1a2e1e;
    /* Fallback color */
}

/* Full Screen Background Container */
.background-container {
    /* Uses a dark overlay + a beautiful forest background image */
    background-image: linear-gradient(135deg, rgba(4, 21, 15, 0.85) 0%, rgba(13, 61, 38, 0.45) 100%),
        url('https://images.unsplash.com/photo-1425913397330-cf8af2ff40a1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Aligns content to the left */
    padding-left: 10%;
    /* Spacing from the left edge */
    color: white;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Content Box */
.content-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    z-index: 2;
    /* Keeps text above the character */
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    margin-top: 0;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 700;
}

p {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    line-height: 1.6;
    margin-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    color: #e8f0e9;
    font-weight: 400;
}

/* Styled Call-to-Action Button */
.redirect-btn {
    display: inline-block;
    background-color: #e5ecd3;
    /* Soft wilderness cream/green */
    color: #2b3a2a;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.redirect-btn:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 3D Character Positioning */
.character-img {
    position: absolute;
    bottom: -5%;
    right: 8%;
    height: 90vh;
    /* Scales with the screen height */
    max-height: 800px;
    z-index: 1;
    /* Adds a soft shadow behind your transparent PNG */
    filter: drop-shadow(-10px 15px 25px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

/* Optional: Gentle floating animation for a 3D feel */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    .background-container {
        padding-left: 5%;
    }
    .character-img {
        right: -5%;
        height: 70vh;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .background-container {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .character-img {
        position: relative;
        bottom: auto;
        right: auto;
        height: 35vh;
        max-height: 300px;
        opacity: 1;
        z-index: 1;
        margin-top: 30px;
    }

    .content-box {
        padding: 30px 20px;
        background: rgba(0, 0, 0, 0.5); /* Darker for better text readability */
        backdrop-filter: blur(10px);
        width: 100%;
        box-sizing: border-box;
    }
}
