/**
 * manual-styles.css
 * Estilos para el manual de usuario web
 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3em;
    color: #e94560;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: #53a8b6;
    font-style: italic;
}

nav {
    background: #0f3460;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 20px;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

nav a {
    color: #53a8b6;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

nav a:hover {
    background: #e94560;
    color: white;
    transform: translateY(-2px);
}

section {
    background: rgba(15, 52, 96, 0.6);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.2em;
    color: #e94560;
    margin-bottom: 20px;
    border-bottom: 3px solid #53a8b6;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.6em;
    color: #53a8b6;
    margin: 25px 0 15px 0;
}

h4 {
    font-size: 1.3em;
    color: #e94560;
    margin: 20px 0 10px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: rgba(22, 33, 62, 0.8);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #0f3460;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #53a8b6;
    box-shadow: 0 8px 20px rgba(83, 168, 182, 0.2);
}

.card-title {
    font-size: 1.3em;
    color: #e94560;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 1.5em;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(83, 168, 182, 0.2);
}

.stat-label {
    color: #53a8b6;
    font-weight: bold;
}

.stat-value {
    color: #e0e0e0;
}

.description {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    font-style: italic;
    color: #b0b0b0;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    margin: 5px 5px 5px 0;
    font-weight: bold;
}

.tag-weapon { background: #d32f2f; color: white; }
.tag-armor { background: #1976d2; color: white; }
.tag-consumable { background: #388e3c; color: white; }
.tag-spell { background: #7b1fa2; color: white; }
.tag-damage { background: #f57c00; color: white; }
.tag-heal { background: #00897b; color: white; }
.tag-buff { background: #5e35b1; color: white; }
.tag-debuff { background: #c62828; color: white; }

.map-list {
    list-style: none;
    padding-left: 0;
}

.map-item {
    background: rgba(22, 33, 62, 0.6);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    border-left: 4px solid #53a8b6;
    position: relative;
}

.map-item:hover {
    border-left-color: #e94560;
    background: rgba(22, 33, 62, 0.8);
}

.map-name {
    font-size: 1.2em;
    color: #e94560;
    font-weight: bold;
    margin-bottom: 5px;
}

.map-zone {
    color: #53a8b6;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.minimap-preview {
    float: right;
    margin-left: 15px;
    border: 2px solid #53a8b6;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.world-map-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.world-map-canvas {
    border: 3px solid #53a8b6;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(83, 168, 182, 0.3);
    image-rendering: pixelated;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(83, 168, 182, 0.3);
}

th {
    background: rgba(83, 168, 182, 0.2);
    color: #53a8b6;
    font-weight: bold;
}

tr:hover {
    background: rgba(233, 69, 96, 0.1);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: #53a8b6;
    border-top: 2px solid #0f3460;
}

.intro {
    background: rgba(233, 69, 96, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #e94560;
    margin-bottom: 20px;
}

.intro ul {
    margin-left: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    .grid { grid-template-columns: 1fr; }
    nav ul { flex-direction: column; }
    .minimap-preview { 
        float: none; 
        margin: 10px auto;
        display: block;
    }
}
