:root {
    --background-color: linear-gradient(135deg, #f5f5dc 0%, #fff8e1 100%);
    --text-color: #4a3728;
    --accent-color: #e0ac4a;
    --border-color: #d2b48c;
    --overlay-color: rgba(255, 255, 255, 0.85);
    --shadow-color: rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*min-height: 80vh;*/
    max-height: 80vh;
    max-width: 1000px;
    width: 90%;
    padding: 2rem 1.5rem;
    background-color: var(--overlay-color);
    border: 3px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-color);
    position: relative;
    z-index: 10;
    animation: fadeIn 1.5s ease-in-out;
    overflow: hidden;
}

h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

p {
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    font-weight: 300;
    line-height: 1.3;
    max-width: 400px;
    margin-bottom: 0.6rem;
}

.image-placeholder {
    width: clamp(100px, 15vw, 150px);
    height: clamp(100px, 15vw, 150px);
    border-radius: 50%;
    background-color: var(--border-color);
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 15px var(--shadow-color);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: 0.6rem 0;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder:hover {
    transform: scale(1.1);
}

.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: moveBubbles 15s infinite ease-in-out;
    box-shadow: 0 0 12px var(--shadow-color);
}

.bubble:nth-child(1) { width: 90px; height: 90px; top: 10%; left: 5%; animation-duration: 18s; }
.bubble:nth-child(2) { width: 70px; height: 70px; bottom: 15%; right: 10%; animation-duration: 22s; }
.bubble:nth-child(3) { width: 110px; height: 110px; top: 30%; right: 20%; animation-duration: 16s; }
.bubble:nth-child(4) { width: 80px; height: 80px; bottom: 10%; left: 25%; animation-duration: 20s; }
.bubble:nth-child(5) { width: 60px; height: 60px; top: 20%; left: 15%; animation-duration: 24s; }
.bubble:nth-child(6) { width: 100px; height: 100px; bottom: 5%; right: 30%; animation-duration: 19s; }

@keyframes moveBubbles {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(25px, -25px) scale(1.15); }
    50% { transform: translate(0, 0) scale(1); }
    75% { transform: translate(-25px, 25px) scale(0.85); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
        min-height: unset; /* Remove min-height for mobile */
        max-height: unset; /* Remove max-height for mobile */
    }

    h1 {
        font-size: clamp(1.3rem, 5vw, 2.2rem);
    }

    p {
        font-size: clamp(0.5rem, 1.3vw, 0.7rem);
    }

    .image-placeholder {
        width: clamp(12vw, 12vw, 12vw);
        height: clamp(15vw, 12vw, 15vw);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
        min-height: unset; /* Remove min-height for mobile */
        max-height: unset; /* Remove max-height for mobile */
    }

    h1 {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .image-placeholder {
        width: clamp(70px, 10vw, 100px);
        height: clamp(70px, 10vw, 100px);
    }
}