/* Base Styles */
html {
    scroll-behavior: smooth;
    color-scheme: light dark;
}

body {
    font-family: 'Segoe UI', 'Times New Roman', serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

/* Centered Content */
.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    justify-content: center;
    z-index: 10;
}

/* Name */
.center-content h1.name {
    font-size: 8rem;
    font-weight: bold;
    margin: 0;
}

/* Subtitle */
.center-content .subtitle {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Logo Styling */
.logo-circle {
    width: 260px;
    height: 260px;
    margin: 30px auto;
    border: 3px solid rgba(248, 147, 147, 0.2);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Button Styling */
#enter-button {
    background-color: hsla(123, 100%, 37%, 0.488);
    font-size: 2rem;
    padding: 12px 28px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 191, 165, 0.3);
    transition: background-color 0.3s ease;
}

#enter-button:hover {
    background-color: #009e88;
}


/* Optional Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ANIMATIONS */

/* Name slides in from left */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Logo grows from center dot */
@keyframes scaleUp {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Subtitle slides in from bottom */
@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button pops in */
@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Apply animation delays and classes */
.center-content h1.name {
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

.logo-circle {
    animation: scaleUp 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.subtitle {
    animation: slideInUp 1s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}

#enter-button {
    animation: popIn 0.6s ease-out forwards;
    animation-delay: 1.8s;
    opacity: 0;
}
