/* Premium Dark Mode v3 for Apocalipsis Studies */
:root {
    --primary-color: #7c5cff;
    --secondary-color: #22d3ee;
    --bg-dark: #020617;
    --card-bg: #0b1224;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

h1,
h2,
h3,
h4 {
    color: var(--text-main);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.2rem;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
}

ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--primary-color);
}

.btn-volver {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 30px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(124, 92, 255, 0.3);
}

.btn-volver:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 92, 255, 0.5);
}

.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1000;
}

img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}