/* Variables de Colores Pastel */
:root {
    --pastel-pink: #FFB5E8;
    --pastel-purple: #DDA0DD;
    --pastel-blue: #B5DEFF;
    --pastel-mint: #B5FFE8;
    --pastel-peach: #FFD4B5;
    --pastel-lavender: #E1BEE7;
    --pastel-yellow: #FFF9B5;
    --bg-dark: #1a1625;
    --bg-card: #2a2436;
    --text-primary: #f8f9fa;
    --text-secondary: #d4c5e0;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #1a1625 0%, #2d1b3d 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stars, .stars2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.3)"/><circle cx="50" cy="30" r="1" fill="rgba(255,181,232,0.4)"/><circle cx="80" cy="60" r="1" fill="rgba(181,222,255,0.4)"/></svg>') repeat;
    animation: twinkle 3s ease-in-out infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><circle cx="30" cy="20" r="1" fill="rgba(221,160,221,0.3)"/><circle cx="70" cy="50" r="1" fill="rgba(181,255,232,0.3)"/></svg>') repeat;
    animation: twinkle 4s ease-in-out infinite 1s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 22, 37, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--pastel-purple);
    box-shadow: 0 4px 20px var(--shadow);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--pastel-purple);
    animation: rotate-gentle 4s ease-in-out infinite;
}

@keyframes rotate-gentle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.logo-text {
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple), var(--pastel-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
}

.nav-link:hover {
    color: var(--pastel-pink);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pastel-pink), var(--pastel-purple));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 181, 232, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 181, 232, 0.6);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero {
    padding-top: 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    margin-bottom: -80px;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 22, 37, 0.8) 70%, #1a1625 100%);
}

.hero-content {
    position: relative;
    padding: 60px 0 80px;
}

.hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--pastel-purple);
    box-shadow: 0 8px 30px rgba(221, 160, 221, 0.5);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple), var(--pastel-blue), var(--pastel-mint));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 20px auto;
    max-width: 700px;
}

.hero-buttons {
    margin: 40px 0;
}

.stats-preview {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 20px;
    border: 2px solid var(--pastel-purple);
    transition: all 0.3s ease;
    min-width: 150px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(221, 160, 221, 0.3);
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--pastel-pink);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lavender));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 5px;
}

section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--pastel-pink);
    box-shadow: 0 15px 40px rgba(255, 181, 232, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    color: var(--pastel-pink);
    margin: 0 auto 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--pastel-pink);
}

.staff-section {
    background: rgba(255, 255, 255, 0.02);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    transform: scale(1);
}

.staff-card:hover {
    transform: scale(1.15);
    border-color: var(--pastel-blue);
    box-shadow: 0 15px 40px rgba(181, 222, 255, 0.4);
    z-index: 10;
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--pastel-purple);
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.staff-card:hover .staff-avatar {
    border-color: var(--pastel-blue);
    box-shadow: 0 8px 20px rgba(181, 222, 255, 0.5);
}

.staff-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pastel-blue);
    margin-bottom: 5px;
}

.staff-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    margin-top: 10px;
}

.staff-loading {
    text-align: center;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
}

.rule-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.rule-card:hover {
    border-color: var(--pastel-mint);
    box-shadow: 0 10px 30px rgba(181, 255, 232, 0.2);
}

.rule-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 50px;
}

.rule-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--pastel-mint);
}

.rule-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.rule-text a {
    color: var(--pastel-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.rule-text a:hover {
    border-bottom-color: var(--pastel-blue);
}

.rule-help {
    background: linear-gradient(135deg, rgba(255, 181, 232, 0.1), rgba(181, 222, 255, 0.1));
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
    border: 2px solid var(--pastel-purple);
}

.rule-help h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--pastel-pink);
}

.rule-help ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.rule-help li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.rule-help li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--pastel-purple);
}

.join-section {
    padding: 100px 0;
}

.join-card {
    background: linear-gradient(135deg, rgba(255, 181, 232, 0.1), rgba(221, 160, 221, 0.1));
    border: 3px solid var(--pastel-purple);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
}

.join-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.join-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer {
    background: rgba(26, 22, 37, 0.95);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid var(--pastel-purple);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--pastel-pink);
}

.join-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-animation.hidden {
    display: none;
}

.circle-expand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-purple));
    transform: translate(-50%, -50%);
}

.circle-expand.expand {
    animation: expand 1.5s ease-out forwards;
}

@keyframes expand {
    0% {
        width: 0;
        height: 0;
    }
    20% {
        width: 100px;
        height: 100px;
    }
    30% {
        width: 80px;
        height: 80px;
    }
    100% {
        width: 300vmax;
        height: 300vmax;
    }
}

.thank-you-content {
    position: relative;
    z-index: 2;
    opacity: 0;
}

.thank-you-content.show {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.thank-you-text {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.heart-svg {
    width: 60px;
    height: 60px;
}

.star-svg {
    width: 40px;
    height: 40px;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.star-svg.jump {
    animation: starJump 1.5s ease-out forwards;
}

@keyframes starJump {
    0% {
        opacity: 1;
        transform: translate(0, -50%) rotate(0deg);
    }
    50% {
        transform: translate(150px, -100px) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translate(250px, 50px) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-banner {
        height: 250px;
    }

    .stats-preview {
        flex-direction: column;
        align-items: center;
    }

    .join-card {
        padding: 40px 20px;
    }

    .rule-card {
        flex-direction: column;
        text-align: center;
    }

    .rule-number {
        margin: 0 auto;
    }

    .thank-you-text {
        font-size: 2rem;
    }

    .heart-svg {
        width: 40px;
        height: 40px;
    }
}
