/* index.css */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif; /* Matching your main site font */
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
    transition: background-color 0.5s ease;
}

.container {
    text-align: center;
    background: #242424; /* Darker card */
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #333;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    /* Essential for the animation to work */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.container:hover {
    box-shadow: 0 20px 50px rgba(163, 143, 120, 0.2);
    border-color: #a38f78;
}

h1 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: #a38f78; /* Theme color */
}

.my-image {
    display: block;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.my-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* SUPER COOL EXIT TRANSITION */
.fade-out {
    opacity: 0;
    transform: scale(0.5) rotate(-20deg) translateY(50px);
    filter: blur(10px) brightness(0);
}
