/* style.css - PCtamalou Metanimisme - Bible Metasploit 2025 */
/* Dark neon aesthetic with 3D blocks and Japanese vibe */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
    color: #0ff; /* Cyan neon */
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Body and Background */
body {
    background: #000; /* Pure black */
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Background Canvas for Neon Matrix Effect */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

/* Header Banner */
header.banner {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    border-bottom: 2px solid #0ff;
    box-shadow: 0 0 20px #0ff, 0 0 40px #f0f;
    animation: neonPulse 2s infinite alternate;
}

header h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px #0ff, 0 0 20px #f0f;
}

header p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #f0f; /* Violet neon */
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-bottom: 1px solid #0ff;
}

nav a {
    color: #0ff;
    text-decoration: none;
    margin: 0.5rem 1rem;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
    color: #f0f;
    text-shadow: 0 0 10px #f0f;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #f0f;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid #0ff;
    box-shadow: 0 0 15px #0ff;
    transform: perspective(1000px) translateZ(0);
    transition: background 0.5s, transform 0.5s, box-shadow 0.5s;
}

section:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: perspective(1000px) translateZ(20px);
    box-shadow: 0 0 30px #f0f;
}

h2, h3, h4 {
    color: #f0f;
    text-shadow: 0 0 5px #f0f;
    margin-bottom: 1rem;
}

p, li {
    line-height: 1.6;
    margin-bottom: 1rem;
}

ul, ol {
    margin-left: 2rem;
}

code {
    background: rgba(0, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

pre {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border: 1px solid #0ff;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px #0ff;
}

/* Warning Box */
.warning {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #f00;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 0 10px #f00;
    color: #f00;
    text-shadow: 0 0 5px #f00;
}

/* Popup Legal */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    border: 2px solid #0ff;
    box-shadow: 0 0 30px #0ff;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.popup-content h2 {
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 1rem;
}

.popup-content a {
    color: #f0f;
    text-decoration: underline;
}

.popup-content input[type="checkbox"] {
    margin: 1rem 0;
    accent-color: #0ff; /* Neon cyan for checkbox */
}

.popup-content button {
    background: #0ff;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

.popup-content button:disabled {
    background: #555;
    cursor: not-allowed;
}

.popup-content button:hover:not(:disabled) {
    background: #f0f;
    box-shadow: 0 0 10px #f0f;
}

/* Neon Popup (Japanese Vibe) */
.neon-popup .neon-popup-content {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #f0f;
    box-shadow: 0 0 30px #f0f, 0 0 50px #0ff;
    position: relative;
}

.neon-popup .heart {
    font-size: 2rem;
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: heartPulse 1s infinite;
}

.neon-popup button {
    background: #f0f;
    color: #000;
}

.neon-popup button:hover:not(:disabled) {
    background: #0ff;
    box-shadow: 0 0 10px #0ff;
}

/* Footer */
footer.footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #0ff;
    margin-top: 2rem;
}

footer p {
    color: #0ff;
}

footer a {
    color: #f0f;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px #0ff, 0 0 20px #f0f;
    }
    100% {
        box-shadow: 0 0 20px #0ff, 0 0 40px #f0f;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heartPulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.2);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 1rem;
    }

    nav a {
        margin: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    section {
        padding: 1.5rem;
    }

    .popup-content {
        width: 90%;
        padding: 1.5rem;
    }

    pre {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 0.5rem 0;
    }

    section {
        padding: 1rem;
    }

    .popup-content {
        padding: 1rem;
    }
}