/* --- Global Styles --- */
:root {
    --aa77-purple: #5c62b5;
    --text-pink: #e27d9f;
    --text-dark: #63534a;
    --bg-light: #fdfbf7;
    --font-primary: 'Fredoka', cursive, sans-serif;
}

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

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- DESKTOP VERSION (Unchanged) --- */
.landing-page {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.hero-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.poster-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.learn-more-btn {
    position: absolute;
    top: 85%;
    right: 12%;
    z-index: 10;
    
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 2rem;
    color: var(--aa77-purple);
    text-decoration: none;
    letter-spacing: 2px;
    
    padding: 6px 18px;
    border: 4px solid var(--aa77-purple);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    
    display: inline-block;
}

.learn-more-btn:hover {
    transform: scale(1.08) rotate(-2deg);
    background-color: var(--aa77-purple);
    color: #ffffff;
}

/* --- ABOUT PAGE STYLES --- */
.about-page {
    padding: 60px 20px;
    min-height: 100vh;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.text-block {
    flex: 1.2;
}

.image-block {
    flex: 1;
}

.content-section h2 {
    color: var(--text-pink);
    font-size: 2.5rem;
    font-weight: 900;
    margin-top: 0;
}

.content-section h3 {
    color: var(--aa77-purple);
    font-size: 1.5rem;
    margin-top: 25px;
}

.content-section p {
    font-size: 1.15rem;
}

.content-section ul {
    font-size: 1.1rem;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 8px;
}

.info-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.back-home-container {
    text-align: center;
    margin-top: 50px;
}

.back-btn {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--aa77-purple);
    text-decoration: none;
    border: 2px solid var(--aa77-purple);
    padding: 10px 24px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background-color: var(--aa77-purple);
    color: #ffffff;
}

/* --- MOBILE SPECIFIC RESPONSIVE OVERRIDES --- */
@media screen and (max-width: 768px) {
    .landing-page {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-y: auto;
        background-color: var(--bg-light);
    }

    .hero-container {
        height: auto;
        width: 100%;
    }

    /* Stacks image and button vertically */
    .poster-wrapper {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    picture {
        height: auto;
        width: 100%;
    }

    .hero-img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    /* Converts button from overlay to a centered element below the artwork */
    .learn-more-btn {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin: 24px auto 36px; /* Centered with top and bottom spacing */
        font-size: 1.2rem;
        padding: 10px 24px;
        border-width: 3px;
        border-radius: 14px;
        display: inline-block;
        text-align: center;
    }

    .content-section {
        flex-direction: column;
    }

    .content-section h2 {
        font-size: 2rem;
    }
}