/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab, #ffb3d9, #ffd6e7, #fff0f5, #ffe8f0);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.container {
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Enhanced pixelated background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 182, 193, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(255, 105, 180, 0.08) 1px, transparent 1px);
    background-size: 20px 20px, 30px 30px, 15px 15px;
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 10s ease-in-out infinite;
}

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

/* Enhanced header styles */
.pixel-header {
    text-align: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.95));
    border-bottom: 6px solid #ff69b4;
    box-shadow: 
        0 6px 0 #ff1493,
        0 12px 20px rgba(255, 105, 180, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.pixel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pixel-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4, #ff8da1);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 3px 3px 0 #ff1493, 6px 6px 0 #ff69b4;
    margin-bottom: 0.8rem;
    animation: pixelGlow 2s ease-in-out infinite alternate, gradientMove 4s ease-in-out infinite;
    position: relative;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pixel-subtitle {
    font-size: 1.4rem;
    background: linear-gradient(45deg, #ff8da1, #ffb6c1, #ffc0cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    animation: subtitleGlow 3s ease-in-out infinite;
}

@keyframes subtitleGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes pixelGlow {
    0% { 
        text-shadow: 3px 3px 0 #ff1493, 6px 6px 0 #ff69b4;
        transform: scale(1);
    }
    100% { 
        text-shadow: 3px 3px 0 #ff1493, 6px 6px 0 #ff69b4, 0 0 20px #ff69b4;
        transform: scale(1.02);
    }
}

/* Enhanced main content */
.main-content {
    flex: 1;
    padding: 0 1.5rem;
    position: relative;
}

/* Enhanced profile section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 245, 0.9));
    border-radius: 25px;
    border: 6px solid #ffb6c1;
    box-shadow: 
        0 12px 0 #ff69b4,
        0 20px 40px rgba(255, 105, 180, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-section:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 17px 0 #ff69b4,
        0 25px 50px rgba(255, 105, 180, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.profile-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 182, 193, 0.1), transparent);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced pixel avatar with cat image */
.pixel-avatar {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 8px 16px rgba(255, 105, 180, 0.3));
}

.cat-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid #ff69b4;
    box-shadow: 
        0 8px 0 #ff1493,
        0 16px 32px rgba(255, 105, 180, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    animation: catBounce 4s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 12px 0 #ff1493,
        0 20px 40px rgba(255, 105, 180, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

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

/* Enhanced sunflower decoration */
.sunflower-decoration {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 100px;
    height: 100px;
    animation: rotate 12s linear infinite;
    filter: drop-shadow(0 8px 16px rgba(255, 215, 0, 0.4));
}

.sunflower-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, #8b4513, #654321);
    border-radius: 50%;
    border: 3px solid #654321;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sunflower-center::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #a0522d, #8b4513);
    border-radius: 50%;
}

.petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.petal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 25px 25px 0 0;
    transform-origin: 50% 0;
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg));
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.petal:nth-child(even) {
    background: linear-gradient(135deg, #ffed4e, #ffd700, #ffed4e);
}

.petal:hover {
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) scale(1.1);
    filter: brightness(1.2);
}

/* Enhanced profile info */
.profile-info {
    text-align: center;
}

.pixel-name {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 0 #ff1493;
    animation: nameGlow 3s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% { 
        text-shadow: 3px 3px 0 #ff1493;
        transform: scale(1);
    }
    50% { 
        text-shadow: 3px 3px 0 #ff1493, 0 0 15px #ff69b4;
        transform: scale(1.05);
    }
}

.bio {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #ff8da1, #ffb6c1, #ffc0cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    animation: bioPulse 4s ease-in-out infinite;
}

@keyframes bioPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.stats {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
    color: #ff1493;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    border: 4px solid #ff69b4;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 
        0 6px 0 #ff1493,
        0 12px 20px rgba(255, 105, 180, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 9px 0 #ff1493,
        0 15px 25px rgba(255, 105, 180, 0.4);
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.stat:hover::before {
    left: 100%;
}

/* Enhanced Pinterest section */
.pinterest-section {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.4rem;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 3px 3px 0 #ff1493;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 3px 3px 0 #ff1493;
        transform: scale(1);
    }
    50% { 
        text-shadow: 3px 3px 0 #ff1493, 0 0 15px #ff69b4;
        transform: scale(1.02);
    }
}

.pinterest-embed {
    display: flex;
    justify-content: center;
}

.pinterest-preview {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.95));
    border-radius: 25px;
    border: 6px solid #ffb6c1;
    box-shadow: 
        0 12px 0 #ff69b4,
        0 20px 40px rgba(255, 105, 180, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pinterest-preview:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 17px 0 #ff69b4,
        0 25px 50px rgba(255, 105, 180, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
}

.pinterest-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff69b4, #ffb6c1, #ffc0cb, #ff69b4);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

.pinterest-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #ffb6c1;
}

.pinterest-logo {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

.pinterest-info {
    flex: 1;
}

.pinterest-name {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.pinterest-stats {
    font-size: 1rem;
    color: #ff8da1;
    font-weight: bold;
}

.pinterest-content {
    margin-bottom: 2rem;
}

.pinterest-description {
    margin-bottom: 1.5rem;
}

.pinterest-description p {
    font-size: 1.2rem;
    background: linear-gradient(45deg, #ff8da1, #ffb6c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.pin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pin-item {
    background: linear-gradient(135deg, #fff0f5, #ffe4e1);
    border: 4px solid #ffb6c1;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    font-size: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 0 #ff69b4,
        0 12px 20px rgba(255, 105, 180, 0.2);
    position: relative;
    overflow: hidden;
}

.pin-item:hover {
    transform: scale(1.1) translateY(-5px);
    background: linear-gradient(135deg, #ffe4e1, #ffd6e7);
    box-shadow: 
        0 11px 0 #ff69b4,
        0 17px 25px rgba(255, 105, 180, 0.3);
}

.pin-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s;
}

.pin-item:hover::before {
    left: 100%;
}

.pinterest-link {
    text-decoration: none;
    display: block;
    text-align: center;
}

.pixel-button {
    background: linear-gradient(45deg, #ff69b4, #ff1493, #ff69b4);
    background-size: 200% 200%;
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 
        0 8px 0 #ff1493,
        0 16px 32px rgba(255, 105, 180, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 2px 2px 0 #ff1493;
    position: relative;
    overflow: hidden;
    animation: buttonGlow 3s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% { 
        background-position: 0% 50%;
        box-shadow: 0 8px 0 #ff1493, 0 16px 32px rgba(255, 105, 180, 0.4);
    }
    50% { 
        background-position: 100% 50%;
        box-shadow: 0 8px 0 #ff1493, 0 16px 32px rgba(255, 105, 180, 0.6);
    }
}

.pixel-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 11px 0 #ff1493,
        0 19px 35px rgba(255, 105, 180, 0.5);
}

.pixel-button:active {
    transform: translateY(0);
    box-shadow: 
        0 5px 0 #ff1493,
        0 13px 28px rgba(255, 105, 180, 0.4);
}

.pixel-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.pixel-button:hover::before {
    left: 100%;
}

/* Enhanced floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-elements > div {
    position: absolute;
    font-size: 2.5rem;
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.3));
}

.pixel-cat { animation-delay: 0s; animation-duration: 6s; }
.pixel-sunflower { animation-delay: 1s; animation-duration: 7s; }
.pixel-heart { animation-delay: 2s; animation-duration: 5s; }
.pixel-star { animation-delay: 3s; animation-duration: 8s; }
.pixel-flower { animation-delay: 4s; animation-duration: 6s; }
.pixel-bow { animation-delay: 5s; animation-duration: 7s; }

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-15px) rotate(2deg) scale(1.05);
        opacity: 1;
    }
    50% { 
        transform: translateY(-25px) rotate(0deg) scale(1.1);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-15px) rotate(-2deg) scale(1.05);
        opacity: 1;
    }
}

/* Enhanced footer */
.pixel-footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.95));
    border-top: 6px solid #ff69b4;
    padding: 2.5rem 1rem;
    text-align: center;
    margin-top: auto;
    box-shadow: 
        0 -4px 0 #ff1493,
        0 -8px 20px rgba(255, 105, 180, 0.3);
}

.footer-content p {
    font-size: 1.3rem;
    background: linear-gradient(45deg, #ff8da1, #ffb6c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.footer-decoration {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2rem;
}

.footer-decoration span {
    animation: spin 4s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.3));
}

.footer-decoration span:nth-child(2) { animation-delay: 0.5s; }
.footer-decoration span:nth-child(3) { animation-delay: 1s; }
.footer-decoration span:nth-child(4) { animation-delay: 1.5s; }

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .pixel-title {
        font-size: 1.4rem;
    }
    
    .pixel-subtitle {
        font-size: 1.2rem;
    }
    
    .pixel-avatar {
        width: 200px;
        height: 200px;
    }
    
    .cat-image {
        width: 110px;
        height: 110px;
    }
    
    .sunflower-decoration {
        width: 80px;
        height: 80px;
        top: -30px;
        right: -25px;
    }
    
    .sunflower-center {
        width: 30px;
        height: 30px;
    }
    
    .petal {
        width: 20px;
        height: 35px;
    }
    
    .pixel-name {
        font-size: 1.4rem;
    }
    
    .bio {
        font-size: 1.3rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pinterest-preview {
        padding: 2rem;
    }
    
    .pin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-elements > div {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pixel-header {
        padding: 2rem 0.5rem;
    }
    
    .main-content {
        padding: 0 0.5rem;
    }
    
    .profile-section {
        padding: 2rem;
    }
    
    .pinterest-preview {
        padding: 1.5rem;
    }
    
    .pinterest-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .pin-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-elements > div {
        font-size: 1.8rem;
    }
}

/* Prevent scrolling */
html, body {
    overflow: hidden;
    height: 100vh;
}

.container {
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}