/* /assets/css/styles.css */

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #ff00ff; /* Rosa neón */
    --accent-glow: rgba(255, 0, 255, 0.4);
    --secondary: #9d46ff; /* Morado */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3 { font-family: var(--font-heading); color: #fff; }
a { color: inherit; text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent); }

/* Layout */
.container { max-width: 1000px; margin: 0 auto; padding: 20px; }
.header, .footer { padding: 20px 0; border-bottom: 1px solid #333; }
.header nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }

/* Hero */
.hero { text-align: center; padding: 80px 20px; background: radial-gradient(circle at center, #220022 0%, var(--bg-dark) 70%); }
.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; }

/* Botones */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary), var(--accent));
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }

/* Grid de Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    transition: 0.3s;
}
.card:hover { border-color: var(--accent); transform: translateY(-5px); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }

/* Artículo Individual */
.article-header { text-align: center; padding: 40px 0; }
.article-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.article-cover { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: 12px; margin-bottom: 40px; }
.article-body { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: #dcdcdc; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { color: var(--accent); margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.breadcrumbs { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }

/* Advertencia */
#age-warning {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #000; border-bottom: 2px solid var(--accent);
    color: #fff; padding: 15px; z-index: 1000; text-align: center;
    display: none; /* Se maneja con JS */
}

/* Footer */
.footer { text-align: center; margin-top: 60px; border-top: 1px solid #333; font-size: 0.9rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .grid { grid-template-columns: 1fr; }
}