@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #1a0b2e, #2d1b69, #7209b7, #a663cc);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #f8f0ff;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(166, 99, 204, 0.3);
    box-shadow: 0 8px 32px rgba(114, 9, 183, 0.3);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(199, 125, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #e0aaff, #c77dff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px #c77dff); }
    to { filter: drop-shadow(0 0 15px #c77dff); }
}

.subtitle {
    font-size: 1.2em;
    color: #e0aaff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mood-indicator {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    border-radius: 20px;
    font-size: 0.9em;
    margin: 10px 0;
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.social-btn {
    padding: 12px 24px;
    background: linear-gradient(45deg, #7209b7, #a663cc);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(114, 9, 183, 0.4);
}

.section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid rgba(166, 99, 204, 0.3);
    box-shadow: 0 8px 32px rgba(114, 9, 183, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(114, 9, 183, 0.3);
}

.section h2 {
    color: #e0aaff;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.gif-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.castorice-gif {
    border-radius: 15px;
    border: 3px solid #c77dff;
    box-shadow: 0 5px 15px rgba(199, 125, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.castorice-gif:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 10px 30px rgba(199, 125, 255, 0.5);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.fav-category {
    background: rgba(114, 9, 183, 0.2);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(166, 99, 204, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fav-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e0aaff, #c77dff, #9d4edd);
}

.fav-category:hover {
    background: rgba(114, 9, 183, 0.3);
    transform: translateY(-3px);
}

.fav-category h3 {
    color: #c77dff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.fav-list {
    list-style: none;
}

.fav-list li {
    margin: 8px 0;
    padding: 8px 12px;
    background: rgba(224, 170, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.fav-list li:hover {
    background: rgba(224, 170, 255, 0.2);
    border-left-color: #e0aaff;
    transform: translateX(5px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

.profile-section {
    text-align: center;
}

.profile-info {
    background: rgba(114, 9, 183, 0.2);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(166, 99, 204, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(224, 170, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(199, 125, 255, 0.3);
}

.stat-number {
    font-size: 1.5em;
    font-weight: 600;
    color: #c77dff;
}

.stat-label {
    font-size: 0.9em;
    color: #e0aaff;
}

.current-obsession {
    background: linear-gradient(45deg, rgba(255, 107, 157, 0.2), rgba(199, 125, 255, 0.2));
    border: 2px solid rgba(255, 107, 157, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.current-obsession h3 {
    color: #ff6b9d;
    margin-bottom: 10px;
}

.dni-section {
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid rgba(157, 78, 221, 0.5);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
}

.dni-section h3 {
    color: #ff6b9d;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}

.dni-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.dni-item {
    background: rgba(255, 107, 157, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #ff6b9d;
    transition: all 0.2s ease;
}

.dni-item:hover {
    background: rgba(255, 107, 157, 0.2);
    transform: translateX(3px);
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    color: #e0aaff;
    font-size: 20px;
    animation: float 6s infinite;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, #e0aaff, #c77dff, #9d4edd);
    width: 0%;
    transition: width 0.1s ease;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    h1 {
        font-size: 2em;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.visitor-counter {
    display: none;
}

.music-player {
    background: rgba(114, 9, 183, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(166, 99, 204, 0.5);
}

.currently-playing {
    color: #c77dff;
    font-weight: 500;
    margin-bottom: 10px;
}

.song-info {
    color: #e0aaff;
    font-size: 0.9em;
}