:root {
    --baby-pink: #FFB6C1;
    --hot-pink: #FF69B4;
    --light-pink: #FFE4E1;
    --mint-green: #98D8C8;
    --light-mint: #C7F0DB;
    --lavender: #E0BBE4;
    --light-lavender: #F4E4F7;
    --peach: #FFDAB9;
    --light-yellow: #FFFACD;
    --white: #FFFFFF;
    --text-dark: #4A4A4A;
    --text-purple: #9B59B6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--light-mint) 50%, var(--light-lavender) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><text y="18" font-size="18">✨</text></svg>'), auto;
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="0" y="50" font-size="30" opacity="0.6">✨</text></svg>') 10% 20%,
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="0" y="50" font-size="25" opacity="0.5">💫</text></svg>') 80% 70%,
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="0" y="50" font-size="35" opacity="0.4">⭐</text></svg>') 50% 50%,
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="0" y="50" font-size="20" opacity="0.6">✨</text></svg>') 90% 30%;
    background-repeat: no-repeat;
    animation: float 15s ease-in-out infinite;
}

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

.container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.rainbow-border {
    background: linear-gradient(90deg, var(--hot-pink), var(--lavender), var(--mint-green), var(--peach), var(--baby-pink));
    padding: 4px;
    border-radius: 20px;
    margin-bottom: 15px;
    animation: rainbow-shift 3s ease infinite;
}

@keyframes rainbow-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.rainbow-border h1 {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    margin: 0;
}

.glitter-text {
    color: var(--hot-pink);
    text-shadow: 2px 2px var(--lavender), 4px 4px var(--mint-green);
    font-size: 2rem;
    animation: glitter 2s ease-in-out infinite;
}

@keyframes glitter {
    0%, 100% { text-shadow: 2px 2px var(--lavender), 4px 4px var(--mint-green); }
    50% { text-shadow: 2px 2px var(--mint-green), 4px 4px var(--hot-pink); }
}

.glitter-text-small {
    color: var(--hot-pink);
    text-shadow: 1px 1px var(--lavender);
    font-size: 1.5rem;
}

.marquee-container {
    background: var(--baby-pink);
    border: 3px dotted var(--hot-pink);
    padding: 10px 0;
    overflow: hidden;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    color: var(--text-purple);
    font-weight: bold;
    font-size: 1.1rem;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.nav-button {
    background: linear-gradient(135deg, var(--baby-pink), var(--lavender));
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    border: 3px solid var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-button:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.section {
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid var(--hot-pink);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.section-header {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-header h2 {
    color: var(--text-purple);
    font-size: 1.8rem;
}

.spinning-icon {
    animation: spin 2s linear infinite;
    width: 30px;
    height: 30px;
}

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

.bouncing-icon {
    animation: bounce 1s ease-in-out infinite;
    width: 30px;
    height: 30px;
}

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

.blink {
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

.centered-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-purple);
}

.hearts {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.welcome-box, .about-box, .music-box, .guestbook-box, .links-box {
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--light-yellow) 100%);
    border: 3px dashed var(--mint-green);
    border-radius: 15px;
    padding: 25px;
}

.construction-gif {
    display: block;
    margin: 20px auto;
}

.visitor-counter {
    text-align: center;
    margin-top: 25px;
    background: var(--white);
    border: 3px solid var(--lavender);
    border-radius: 10px;
    padding: 15px;
}

.counter-display {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.counter-digit {
    background: linear-gradient(135deg, var(--hot-pink), var(--lavender));
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    min-width: 45px;
    text-align: center;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-pic {
    background: var(--white);
    border: 5px solid var(--baby-pink);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.placeholder-avatar {
    font-size: 4rem;
}

.bio {
    text-align: center;
}

.bio h3 {
    margin-bottom: 15px;
}

.bio p {
    margin: 8px 0;
    color: var(--text-purple);
    font-size: 1rem;
}

.bio-text {
    margin-top: 15px;
    line-height: 1.6;
    max-width: 600px;
}

.music-player {
    text-align: center;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.player-btn {
    background: linear-gradient(135deg, var(--mint-green), var(--lavender));
    border: 3px solid var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.player-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.play-btn {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.volume-bar {
    width: 200px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--mint-green);
    border-radius: 5px;
    overflow: hidden;
}

.volume-fill {
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, var(--mint-green), var(--lavender));
}

.note {
    margin-top: 15px;
    font-style: italic;
    color: var(--text-purple);
}

.guestbook-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-purple);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 3px solid var(--baby-pink);
    border-radius: 10px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 10px var(--baby-pink);
}

.submit-btn {
    background: linear-gradient(135deg, var(--hot-pink), var(--lavender));
    color: var(--white);
    border: 3px solid var(--white);
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Comic Sans MS', cursive;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.submit-btn:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.guestbook-entries {
    margin-top: 30px;
}

.guestbook-entries h3 {
    color: var(--text-purple);
    margin-bottom: 20px;
    text-align: center;
}

.entry {
    background: var(--white);
    border: 3px solid var(--mint-green);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.entry-name {
    color: var(--hot-pink);
    font-weight: bold;
    font-size: 1.1rem;
}

.entry-date {
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 5px 0;
}

.entry-message {
    color: var(--text-purple);
    line-height: 1.5;
    margin-top: 10px;
}

.link-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.link-btn {
    background: linear-gradient(135deg, var(--mint-green), var(--baby-pink));
    color: var(--white);
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 15px;
    border: 3px solid var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.link-btn:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.btn-icon {
    font-size: 1.5rem;
}

.footer {
    background: linear-gradient(135deg, var(--baby-pink), var(--lavender));
    border: 4px solid var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-content p {
    margin: 10px 0;
}

.small-text {
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-badges img {
    height: 31px;
}

.copyright {
    margin-top: 15px;
    font-size: 0.9rem;
}

.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .glitter-text {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .profile-section {
        flex-direction: column;
    }
    
    .link-buttons {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .nav-button {
        width: 100%;
        text-align: center;
    }
    
    .counter-digit {
        font-size: 1.5rem;
        padding: 8px 12px;
        min-width: 35px;
    }
}

@media (max-width: 480px) {
    .glitter-text {
        font-size: 1.2rem;
    }
    
    .marquee {
        font-size: 0.9rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 10px;
    }
}
