:root {
    --creamy-white: #FFF5E6;
    --soft-beige: #F3E5D8;
    --warm-brown: #6D4C41;
    --muted-gold: #C5B358;
}

body {
    background-color: var(--creamy-white);
    color: var(--warm-brown);
    font-family: 'Georgia', serif;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 245, 230, 0.08), rgba(255, 245, 230, 0.2)), 
                url('./foto.avif') center/cover no-repeat;
                display: flex;
                flex-direction: column; /* Added to stack items vertically */
                align-items: center;
                justify-content: center;
                animation: fadeIn 1.5s ease-in;
                padding: 20px; /* Added for mobile safety */
}

.player-card {
    background: var(--soft-beige);
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.6s ease forwards;
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(109, 76, 65, 0.1);
}

.player-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--muted-gold);
    margin: -60px auto 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

.section-title {
    font-size: 2.5rem;
    color: var(--warm-brown);
    text-align: center;
    margin: 4rem 0;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 3px;
    background: var(--muted-gold);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    gap: 1rem; /* Adds spacing between title and subtitle */
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 100%;
    animation: fadeIn 1.5s ease-in forwards;
    animation-delay: 0.5s;
    opacity: 0;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
