/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 15s infinite linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 15%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    left: 25%;
    animation-delay: 4s;
    animation-duration: 28s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    left: 35%;
    animation-delay: 6s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    width: 14px;
    height: 14px;
    left: 45%;
    animation-delay: 8s;
    animation-duration: 18s;
}

.particle:nth-child(6) {
    width: 7px;
    height: 7px;
    left: 55%;
    animation-delay: 10s;
    animation-duration: 26s;
}

.particle:nth-child(7) {
    width: 11px;
    height: 11px;
    left: 65%;
    animation-delay: 12s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    width: 9px;
    height: 9px;
    left: 75%;
    animation-delay: 14s;
    animation-duration: 24s;
}

.particle:nth-child(9) {
    width: 13px;
    height: 13px;
    left: 85%;
    animation-delay: 16s;
    animation-duration: 19s;
}

.particle:nth-child(10) {
    width: 5px;
    height: 5px;
    left: 10%;
    animation-delay: 18s;
    animation-duration: 30s;
}

.particle:nth-child(11) {
    width: 16px;
    height: 16px;
    left: 30%;
    animation-delay: 20s;
    animation-duration: 17s;
}

.particle:nth-child(12) {
    width: 8px;
    height: 8px;
    left: 70%;
    animation-delay: 22s;
    animation-duration: 23s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.flying-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.fly-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: fly 8s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.fly-particle:nth-child(1) {
    width: 12px;
    height: 12px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.fly-particle:nth-child(2) {
    width: 18px;
    height: 18px;
    left: 80%;
    top: 30%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.fly-particle:nth-child(3) {
    width: 8px;
    height: 8px;
    left: 30%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.fly-particle:nth-child(4) {
    width: 15px;
    height: 15px;
    left: 70%;
    top: 70%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.fly-particle:nth-child(5) {
    width: 10px;
    height: 10px;
    left: 20%;
    top: 80%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.fly-particle:nth-child(6) {
    width: 22px;
    height: 22px;
    left: 90%;
    top: 10%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.fly-particle:nth-child(7) {
    width: 6px;
    height: 6px;
    left: 50%;
    top: 40%;
    animation-delay: 6s;
    animation-duration: 7s;
}

.fly-particle:nth-child(8) {
    width: 14px;
    height: 14px;
    left: 15%;
    top: 50%;
    animation-delay: 7s;
    animation-duration: 9s;
}

.fly-particle:nth-child(9) {
    width: 11px;
    height: 11px;
    left: 85%;
    top: 60%;
    animation-delay: 8s;
    animation-duration: 6s;
}

.fly-particle:nth-child(10) {
    width: 16px;
    height: 16px;
    left: 40%;
    top: 15%;
    animation-delay: 9s;
    animation-duration: 8s;
}

@keyframes fly {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.2);
    }
    50% {
        transform: translate(100px, -60px) scale(0.8);
    }
    75% {
        transform: translate(150px, -90px) scale(1.1);
    }
    90% {
        opacity: 1;
        transform: translate(200px, -120px) scale(0.9);
    }
    100% {
        transform: translate(250px, -150px) scale(0);
        opacity: 0;
    }
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Media/hero-collage.jpg'); /* Aquí pondrás tu collage */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: brightness(0.9) contrast(1.1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
}

.profile-container {
    animation: fadeInUp 1s ease-out;
}

.text-background {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-image {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.name {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.bio {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Donation Section */
.donation-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.donation-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.donation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.donation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: heartbeat 2s ease-in-out infinite;
}

.donation-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.donation-card p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.donation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.donation-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.donation-btn::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;
}

.donation-btn:hover::before {
    left: 100%;
}

.donation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.donation-btn i {
    font-size: 1.2rem;
}

/* Donation Button Colors */
.donation-btn.paypal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.2rem;
    padding: 20px 40px;
    min-width: 250px;
    justify-content: center;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Social Media Section */
.social-section {
    background: #f8fafc;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.social-card::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-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.social-card:hover i,
.social-card:hover .bigo-logo,
.social-card:hover .kick-logo {
    transform: scale(1.2);
}

.social-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.bigo-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.kick-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Social Media Colors */
.twitch { color: #9146ff; }
.kick { color: #00ff00; }
.bigo { color: #ff6b35; }
.youtube { color: #ff0000; }
.instagram { color: #e4405f; }
.tiktok { color: #000000; }

/* Gallery Section */
.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Video Section */
.video-section {
    background: #f8fafc;
}

.video-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-item.active {
    opacity: 1;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.video-placeholder p {
    font-size: 1.5rem;
    font-weight: 600;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #667eea;
    transform: scale(1.2);
}

/* Wishlist Section */
.wishlist-section {
    background: white;
}

.wishlist-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wishlist-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.wishlist-card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.wishlist-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.wishlist-card p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wishlist-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wishlist-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.item-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2rem;
    }
    
    .bio {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .wishlist-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .donation-card {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .donation-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .donation-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}