* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ff97e2; /* Fallback color matching the gradient */
    background-image: url(img/background/background.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

/* Floating hearts animation */
.hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    animation: floatHeart 8s infinite ease-in-out;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes pinkGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 182, 193, 0.8), 0 0 40px rgba(255, 105, 180, 0.6); 
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 182, 193, 1), 0 0 60px rgba(255, 105, 180, 0.8); 
    }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.profile-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff69b4;
    border-radius: 30px;
    padding: 40px 30px;
    margin-bottom: 30px;
    animation: bounce 4s ease-in-out infinite;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #ff69b4, #ff1493, #dc143c);
    background-size: 200% 200%;
    animation: pinkGlow 3s ease-in-out infinite, bounce 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    border: 4px solid #fff;
    position: relative;
    overflow: hidden;
}

.profile-pic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.name {
    font-size: 2.8em;
    font-weight: bold;
    color: #dc143c;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
    animation: wiggle 3s ease-in-out infinite;
}

.title {
    font-size: 1.3em;
    color: #ff69b4;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio {
    color: #666;
    line-height: 1.6;
    font-size: 1.1em;
    background: rgba(255, 182, 193, 0.2);
    padding: 15px;
    border-radius: 15px;
    border: 2px dashed #ff69b4;
}

.links-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff69b4;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

.section-title {
    color: #dc143c;
    font-size: 2em;
    margin-bottom: 25px;
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
    font-weight: bold;
}

.social-links {
    display: grid;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border: 3px solid #fff;
    border-radius: 50px;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.5);
    animation: wiggle 0.5s ease-in-out;
}

.social-link::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;
}

.social-link:hover::before {
    left: 100%;
}

.social-icon {
    margin-right: 15px;
    font-size: 1.4em;
    width: 35px;
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.gallery-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff69b4;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.3);
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #ffb6c1, #ff69b4, #ff1493);
    border-radius: 20px;
    overflow: hidden;
    animation: slideIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.slide.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-counter {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -30px;
    padding: 16px 20px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background: rgba(255, 105, 180, 0.8);
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 1;
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

.prev:hover, .next:hover {
    background: rgba(255, 105, 180, 1);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.5);
}

.dots-container {
    text-align: center;
    margin-top: 20px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 105, 180, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active, .dot:hover {
    background-color: #ff69b4;
    transform: scale(1.2);
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.fullscreen-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(255, 105, 180, 0.8);
    transform: scale(1.1);
}

.fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.fullscreen-title {
    display: inline-block;
    background: rgba(255, 105, 180, 0.9);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    max-width: 80%;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: pointer;
    z-index: 10001;
}

.fullscreen-title:hover {
    background: rgba(255, 105, 180, 1);
    text-decoration: underline;
}

.fullscreen-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-slide {
    display: none;
    width: 60%;
    height: 60%;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
    animation: scaleIn 0.4s ease;
}

.fullscreen-slide.active {
    display: block;
}

.fullscreen-placeholder {
    display: none;
    background: linear-gradient(45deg, #ffb6c1, #ff69b4, #ff1493);
    color: white;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.5);
}

.fullscreen-placeholder.active {
    display: block;
}

.fullscreen-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255, 105, 180, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10001;
}

.fullscreen-close:hover {
    background: rgba(255, 105, 180, 1);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.6);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 105, 180, 0.8);
    color: white;
    border: none;
    padding: 20px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10001;
}

.fullscreen-nav:hover {
    background: rgba(255, 105, 180, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.6);
}

.fullscreen-prev {
    left: 30px;
}

.fullscreen-next {
    right: 30px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    z-index: 10001;
}

    .fullscreen-title {
        position: absolute;
        bottom: 110px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 105, 180, 0.9);
        color: white;
        padding: 15px 30px;
        border-radius: 25px;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        max-width: 80%;
        text-align: center;
        z-index: 10001;
        display: inline-block;
        line-height: 1.2;
    }

.fullscreen-title-main {
    font-size: 18px;
    display: block;
}

.fullscreen-title-sub {
    font-size: 14px;
    display: block;
    margin-top: 5px;
    font-weight: normal;
}

    .fullscreen-dots {
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10001;
    }

.fullscreen-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-dot.active {
    background: #ff69b4;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
}

/* NSFW Spoiler Styles */
.nsfw-spoiler {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.nsfw-spoiler img {
    filter: blur(25px) brightness(0.6);
    transition: filter 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nsfw-spoiler.revealed img {
    filter: none;
}

.spoiler-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ff69b4(214, 12, 181, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 30px;
    z-index: 2;
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
}

.nsfw-spoiler.revealed .spoiler-overlay {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.spoiler-warning {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    letter-spacing: 1px;
}

.spoiler-button {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border: 3px solid white;
    border-radius: 30px;
    padding: 15px 30px;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 180px;
}

.spoiler-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.6);
    background: linear-gradient(45deg, #ff1493, #ff69b4);
}

.spoiler-note {
    margin-top: 15px;
    font-size: 1em;
    opacity: 0.9;
    font-style: italic;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 40px;
    padding: 20px;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Kawaii elements */
.kawaii-decoration {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    animation: bounce 3s ease-in-out infinite;
    pointer-events: none;
}

.deco-1 { top: 10%; left: 5%; animation-delay: 0s; }
.deco-2 { top: 20%; right: 8%; animation-delay: 0.5s; }
.deco-3 { top: 60%; left: 3%; animation-delay: 1s; }
.deco-4 { top: 80%; right: 5%; animation-delay: 1.5s; }

/* Mobile fullscreen adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .profile-section {
        padding: 30px 20px;
    }
    
    .name {
        font-size: 2.2em;
    }
    
    .profile-pic {
        width: 120px;
        height: 120px;
        font-size: 55px;
    }

    .kawaii-decoration {
        display: none;
    }

    .fullscreen-close {
        top: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .fullscreen-nav {
        padding: 15px 18px;
        font-size: 18px;
    }

    .fullscreen-prev {
        left: 15px;
    }

    .fullscreen-next {
        right: 15px;
    }

    .fullscreen-title {
        font-size: 16px;
        padding: 10px 20px;
        max-width: 90%;
        bottom: 60px;
    }

    .fullscreen-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 16px;
    }

    .fullscreen-dots {
        bottom: 100px;
    }
}
