/* ===== Variables Psicodélicas ===== */
:root {
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-green: #00ff00;
    --neon-yellow: #ffff00;
    --neon-purple: #9d00ff;
    --dark-bg: #0a0a0a;
    --psychedelic-gradient: linear-gradient(45deg, #ff00ff, #00ffff, #00ff00, #ffff00, #ff00ff);
}

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

body {
    font-family: 'Orbitron', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* ===== Partículas de Fondo ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: linear-gradient(0deg, #0a0a0a 0%, #1a001a 50%, #001a1a 100%);
}

/* ===== Navbar Psicodélica ===== */
.psychedelic-nav {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Bungee Shade', cursive;
    font-size: 1.8rem;
    animation: rainbow-text 3s linear infinite;
}

.nav-link {
    color: var(--neon-cyan) !important;
    font-weight: 700;
    position: relative;
    transition: all 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-pink);
    transition: width 0.3s;
}

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

.nav-link:hover {
    text-shadow: 0 0 10px var(--neon-pink);
}

/* ===== Texto Neón ===== */
.neon-text {
    color: var(--neon-cyan);
    text-shadow:
        0 0 5px var(--neon-cyan),
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-pink);
    animation: pulsate 2s ease-in-out infinite;
}

@keyframes pulsate {
    0%, 100% {
        text-shadow:
            0 0 5px var(--neon-cyan),
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan);
    }
    50% {
        text-shadow:
            0 0 10px var(--neon-cyan),
            0 0 20px var(--neon-cyan),
            0 0 40px var(--neon-cyan),
            0 0 80px var(--neon-pink);
    }
}

/* ===== Glitch Effect ===== */
.glitch-text {
    font-family: 'Bungee Shade', cursive;
    font-size: 4rem;
    position: relative;
    color: var(--neon-cyan);
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--neon-green);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(20% 0 30% 0); }
    40% { clip-path: inset(60% 0 10% 0); }
    60% { clip-path: inset(40% 0 40% 0); }
    80% { clip-path: inset(10% 0 60% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    25% { clip-path: inset(30% 0 20% 0); }
    50% { clip-path: inset(10% 0 60% 0); }
    75% { clip-path: inset(50% 0 20% 0); }
}

/* ===== Rainbow Text ===== */
.rainbow-text {
    background: linear-gradient(90deg,
        var(--neon-pink),
        var(--neon-cyan),
        var(--neon-green),
        var(--neon-yellow),
        var(--neon-pink)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 3s linear infinite;
    font-weight: 900;
}

@keyframes rainbow-text {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 0, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* ===== Floating Cats ===== */
.floating-cats {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-cat {
    position: absolute;
    font-size: 3rem;
    animation: float 20s infinite ease-in-out;
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

.cat-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cat-2 {
    top: 20%;
    right: 15%;
    animation-delay: 3s;
}

.cat-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

.cat-4 {
    bottom: 30%;
    right: 10%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-60px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(5deg); }
}

/* ===== Buttons ===== */
.btn-psychedelic {
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan));
    background-size: 200% auto;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow:
        0 0 20px var(--neon-pink),
        inset 0 0 20px rgba(255, 0, 255, 0.3);
    animation: gradient-shift 3s ease infinite;
    transition: all 0.3s;
}

.btn-psychedelic:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 40px var(--neon-pink),
        0 0 60px var(--neon-cyan);
}

.btn-outline-neon {
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    background: transparent;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-outline-neon:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--neon-cyan);
    transform: scale(1.05);
}

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

/* ===== Sections ===== */
section {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.section-title {
    font-family: 'Bungee Shade', cursive;
    font-size: 3rem;
    margin-bottom: 3rem;
}

/* ===== Story Section ===== */
.story-section {
    background: rgba(26, 0, 26, 0.5);
}

.shadow-psychedelic {
    box-shadow:
        0 0 30px var(--neon-pink),
        0 0 60px var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    border-radius: 15px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.alert-neon {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 15px;
    padding: 1.5rem;
}

/* ===== Warrior Cards ===== */
.warriors-section {
    background:
        radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.2) 0%, transparent 50%);
}

.warrior-card {
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--neon-purple);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

.warrior-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow:
        0 0 40px var(--neon-purple),
        0 0 60px var(--neon-pink);
    border-color: var(--neon-pink);
}

.warrior-image {
    position: relative;
    overflow: hidden;
}

.warrior-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.warrior-card:hover .warrior-image img {
    transform: scale(1.1);
}

.warrior-level {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--neon-pink);
}

.warrior-info {
    padding: 1.5rem;
}

.warrior-info h3 {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.warrior-role {
    color: var(--neon-yellow);
    font-weight: 700;
    margin-bottom: 1rem;
}

.warrior-stats .stat {
    margin-bottom: 0.8rem;
}

.warrior-stats span {
    color: var(--neon-green);
    font-size: 0.9rem;
}

.stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.3rem;
    position: relative;
}

.stat-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--stat-value);
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    border-radius: 10px;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: fill-bar 1.5s ease-out;
}

@keyframes fill-bar {
    from { width: 0; }
}

.warrior-desc {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 1rem;
}

/* ===== Mission Section ===== */
.mission-section {
    background: rgba(0, 26, 26, 0.5);
}

.mission-box {
    background: rgba(10, 10, 10, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.mission-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s;
}

.mission-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--neon-yellow));
}

.alert-psychedelic {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3));
    border: 3px solid var(--neon-pink);
    border-radius: 15px;
    padding: 2rem;
    animation: alert-pulse 2s infinite;
}

@keyframes alert-pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--neon-pink);
    }
    50% {
        box-shadow: 0 0 40px var(--neon-pink), 0 0 60px var(--neon-cyan);
    }
}

/* ===== Skills Section ===== */
.skills-section {
    background:
        radial-gradient(circle at 70% 30%, rgba(0, 255, 0, 0.2) 0%, transparent 50%);
}

.skill-card {
    background: rgba(10, 10, 10, 0.9);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--neon-green);
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.skill-card:hover {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 30px var(--neon-green);
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: rotate-icon 10s linear infinite;
}

@keyframes rotate-icon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.skill-card h3 {
    color: var(--neon-yellow);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ===== Gallery ===== */
.gallery-section {
    background: rgba(26, 0, 26, 0.3);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(5deg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--neon-pink);
    font-size: 1.2rem;
}

/* ===== Join Section ===== */
.join-section {
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 0, 255, 0.3) 0%, transparent 60%);
}

.join-box {
    background: rgba(10, 10, 10, 0.9);
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid var(--neon-purple);
    box-shadow: 0 0 40px var(--neon-purple);
}

.psychedelic-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    color: #fff;
    border-radius: 10px;
    padding: 0.8rem;
    font-family: 'Orbitron', sans-serif;
}

.psychedelic-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
    color: #fff;
}

.psychedelic-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 30px var(--neon-pink);
}

/* ===== Footer ===== */
.footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid var(--neon-cyan);
    position: relative;
    z-index: 1;
}

/* ===== Floating Ninja Cat ===== */
.floating-ninja-cat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 4rem;
    cursor: pointer;
    z-index: 999;
    animation: ninja-float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

.floating-ninja-cat:hover {
    animation: ninja-spin 1s linear infinite;
}

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

@keyframes ninja-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .glitch-text {
        font-size: 2.5rem;
    }

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

    .floating-cat {
        font-size: 2rem;
    }

    .floating-ninja-cat {
        font-size: 3rem;
        bottom: 20px;
        right: 20px;
    }
}
