/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Baloo 2', cursive, sans-serif;
    color: #2d3436;
    background: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe, #74b9ff);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
}

.emoji-1 { top: 10%; left: 8%; animation-delay: 0s; }
.emoji-2 { top: 20%; right: 12%; animation-delay: 1s; }
.emoji-3 { bottom: 25%; left: 15%; animation-delay: 2s; }
.emoji-4 { top: 50%; right: 8%; animation-delay: 0.5s; }
.emoji-5 { bottom: 15%; right: 25%; animation-delay: 3s; }
.emoji-6 { top: 15%; left: 45%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    padding: 40px 24px;
}

.hero-photo {
    margin-bottom: 20px;
}

.hero-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.name-highlight {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* Wave divider */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: #f8f9fa;
    clip-path: ellipse(55% 100% at 50% 100%);
}

/* About */
.about {
    padding: 60px 0 40px;
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 24px;
}

.about-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.1);
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: center;
    border: 2px solid #e8e4ff;
}

/* Passions */
.passions {
    padding: 40px 0;
}

.passions h2 {
    text-align: center;
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 32px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-sports { border-top-color: #00b894; }
.card-cars { border-top-color: #e17055; }
.card-fun { border-top-color: #fdcb6e; }

.card-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #2d3436;
}

.card p {
    font-size: 1rem;
    color: #636e72;
    line-height: 1.6;
}

/* Games */
.games {
    padding: 40px 0;
}

.games h2 {
    text-align: center;
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 32px;
}

/* Fun Facts */
.fun-facts {
    padding: 40px 0 60px;
}

.fun-facts h2 {
    text-align: center;
    font-size: 2rem;
    color: #6c5ce7;
    margin-bottom: 32px;
}

.facts-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fact {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.fact:hover {
    transform: translateX(6px);
}

.fact-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.fact-text {
    font-size: 1.05rem;
    color: #2d3436;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    text-align: center;
    padding: 24px;
    font-size: 1rem;
}

/* Animations on scroll */
.about-card,
.card,
.fact {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-card.visible,
.card.visible,
.fact.visible {
    opacity: 1;
    transform: translateY(0);
}

.fact.visible:hover {
    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .about h2,
    .passions h2,
    .fun-facts h2 {
        font-size: 1.6rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
