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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg,
            #ff6b35 0%,
            /* Warm sunset orange */
            #ff5e57 25%,
            /* Cuban coral */
            #2c5a7a 75%,
            /* Ocean blue */
            #1a365d 100%
            /* Deep navy */
        );
    background-attachment: fixed;
    color: #fff7ed;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Add subtle texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(32, 201, 151, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem;
    background: rgba(26, 54, 93, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 247, 237, 0.1);
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-link {
    color: rgba(255, 247, 237, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #20c997;
    text-shadow: 0 0 20px rgba(32, 201, 151, 0.5);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    text-align: center;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    animation: hero-sync 6s ease-in-out infinite;
}

.photo-section {
    animation: photo-float 6s ease-in-out infinite;
}

.intro-section {
    /* No animation - keep speech bubble stable */
}

.hero-bubble {
    background: none;
    color: #fff7ed;
    padding: 1rem 0;
    border-bottom: 3px solid #ff6b35;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    max-width: 450px;
    font-style: italic;
    letter-spacing: 0.5px;
}



.intro-section {
    position: relative;
}

.photo-section {
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}





/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem;
    background: rgba(26, 54, 93, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 247, 237, 0.1);
}

.bottom-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

/* Photo Section Styling */
.photo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comic-photo-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #fff7ed;
    box-shadow:
        0 0 0 8px #ff6b35,
        0 0 0 16px #20c997,
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(255, 107, 53, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.comic-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2) contrast(1.1);
    transition: transform 0.3s ease;
}

.comic-photo:hover {
    transform: scale(1.05);
}

.comic-border {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 3px dashed #20c997;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.8;
}

/* Bubble Decorations */
.bubble-decoration {
    position: absolute;
    font-size: 2rem;
    opacity: 0.8;
    animation: float-decoration 6s ease-in-out infinite;
    pointer-events: none;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.bubble-decoration.soccer {
    animation-delay: 0s;
}

.bubble-decoration.books {
    animation-delay: 1.5s;
}

.bubble-decoration.love {
    animation-delay: 3s;
}

.bubble-decoration.star1 {
    animation-delay: 4.5s;
}





/* Animations */
@keyframes hero-sync {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes photo-float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-12px) rotate(1deg);
    }

    50% {
        transform: translateY(-8px) rotate(0deg);
    }

    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes bubble-float {

    0%,
    100% {
        transform: rotate(-2deg) translateY(0px);
    }

    25% {
        transform: rotate(-1deg) translateY(-8px);
    }

    50% {
        transform: rotate(-3deg) translateY(-12px);
    }

    75% {
        transform: rotate(-1.5deg) translateY(-5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow:
            0 0 0 8px #ff6b35,
            0 0 0 16px #20c997,
            0 15px 40px rgba(0, 0, 0, 0.4),
            inset 0 0 40px rgba(255, 107, 53, 0.3);
    }

    50% {
        box-shadow:
            0 0 0 12px #ff6b35,
            0 0 0 22px #20c997,
            0 22px 50px rgba(0, 0, 0, 0.5),
            inset 0 0 50px rgba(255, 107, 53, 0.4);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes sparkle-spin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

@keyframes sparkle-bounce {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-10px) scale(1.3);
        opacity: 1;
    }
}

@keyframes sparkle-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

@keyframes float-decoration {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-15px) rotate(5deg) scale(1.1);
    }

    50% {
        transform: translateY(-8px) rotate(-3deg) scale(1);
    }

    75% {
        transform: translateY(-20px) rotate(2deg) scale(1.05);
    }
}



/* Responsive Design */
@media (max-width: 768px) {

    .top-nav,
    .bottom-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    /* Hero Container - Mobile */
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .comic-photo-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-bubble {
        font-size: clamp(1.4rem, 3vw, 2rem);
        padding: 1rem 0;
        max-width: 450px;
    }

    .bubble-decoration {
        font-size: 1.5rem;
    }



}

@media (max-width: 480px) {

    .header,
    .footer {
        padding: 1.5rem;
    }

    .top-nav,
    .bottom-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .hero-bubble {
        font-size: clamp(1.4rem, 3vw, 2rem);
        padding: 1rem 0;
        max-width: 450px;
    }

    /* Hero Container - Small Mobile */
    .hero-container {
        gap: 1.5rem;
    }

    .comic-photo-wrapper {
        width: 220px;
        height: 220px;
    }

    .bubble-decoration {
        font-size: 1.2rem;
    }



}