/**
 * LaZoneRP — Shared CSS
 * Stili condivisi: header, nav, footer, hamburger, articoli.
 * Developed by 029project.com
 */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }

/* ===== BODY ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a0033;
    min-height: 100vh;
    color: #fff;
}

/* ===== HEADER ===== */
header {
    background: #000000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(233,30,140,0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

/* ===== LOGO ===== */
.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.logo-text-la {
    background: linear-gradient(135deg, #c0c0c0 0%, #ffffff 50%, #c0c0c0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text-zone {
    color: #E91E8C;
    text-shadow: 0 0 20px rgba(233,30,140,0.6);
    -webkit-text-fill-color: #E91E8C;
}

/* ===== NAV LINKS ===== */
.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s;
    padding: 0.6rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover,
.nav-links a.current,
.nav-links a.active-nav {
    color: #E91E8C;
    background: rgba(233,30,140,0.1);
}

.nav-links a.login-btn {
    background: rgba(233,30,140,0.15);
    border: 1px solid rgba(233,30,140,0.4);
    color: #E91E8C;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
}

.nav-links a.login-btn:hover {
    background: rgba(233,30,140,0.3);
    border-color: #E91E8C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233,30,140,0.4);
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }

/* ===== FOOTER ===== */
footer {
    background: #000000;
    color: #aaa;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p { margin: 0.25rem 0; font-size: 0.9rem; }
footer a { color: #E91E8C; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E91E8C, transparent);
    margin: 1.2rem auto;
}

.footer-logo {
    width: 80px;
    height: auto;
    opacity: 0.8;
    transition: 0.3s;
    display: block;
    margin: 0.5rem auto 0;
}

.footer-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px #E91E8C);
}

/* ===== ARTICOLI / CONTENUTO BIANCO ===== */
.article-wrapper,
.content-panel,
.cpp-section {
    background: #ffffff;
    color: #111827;
    border-radius: 16px;
    padding: 28px 24px;
    margin: 0 0 24px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
    border: 1px solid rgba(233,30,140,0.15);
}

/* ===== HOVER BOX SPECIFICHE SERVER ===== */
.feature-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    transition: all 0.3s;
    border: 2px solid rgba(233,30,140,0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(233,30,140,0.08);
    border-color: #E91E8C;
    box-shadow: 0 0 30px rgba(233, 30, 140, 0.7);
    filter: brightness(1.1);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .nav-links.active { right: 0; }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-links a.login-btn {
        margin-top: 1rem;
        text-align: center;
    }
}
