/**
 * GAME.CSS - Estilos del juego
 * La Guerra de la Triple Alianza
 */

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

.vintage-text {
    font-family: 'IM Fell English', serif;
}

/* ===== FONDO GLOBAL ===== */
.bg-parallax {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/bg-parallax.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.35;
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(120, 53, 15, 0.6), rgba(41, 37, 36, 0.5), rgba(120, 53, 15, 0.6));
    z-index: 1;
}

.page-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */
.header-main {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #1c1917 0%, #78350f 50%, #1c1917 100%);
    border-bottom: 2px solid #b45309;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/bg-parallax.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.header-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-img {
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)) brightness(1.1);
}

.header-h1 {
    font-size: 18px;
    font-weight: 700;
    color: #fef3c7;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.header-tagline {
    font-size: 11px;
    color: #fef3c7;
    opacity: 0.9;
}

.header-nav {
    display: flex;
    gap: 8px;
}

.header-btn {
    padding: 6px 14px;
    background: rgba(180, 83, 9, 0.6);
    color: #fef3c7;
    border: 1px solid rgba(217, 119, 6, 0.5);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.header-btn:hover {
    background: rgba(217, 119, 6, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

.welcome-box {
    text-align: center;
    padding: 80px 20px;
}

.welcome-title {
    font-size: 48px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-text {
    font-size: 24px;
    color: #fbbf24;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* ===== FOOTER ===== */
.footer-main {
    background: linear-gradient(90deg, #1c1917 0%, #78350f 50%, #1c1917 100%);
    border-top: 2px solid #b45309;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/bg-parallax.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    color: #fef3c7;
}

.footer-link {
    color: #fcd34d;
    font-weight: 600;
    text-decoration: none;
}

.footer-link:hover {
    color: #fde68a;
    text-decoration: underline;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 6px 12px;
        gap: 8px;
    }
    
    .header-logo-img {
        height: 36px;
    }
    
    .header-h1 {
        font-size: 14px;
    }
    
    .header-tagline {
        font-size: 9px;
    }
    
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .header-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .welcome-title {
        font-size: 32px;
    }
    
    .welcome-text {
        font-size: 18px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 9px;
        padding: 8px 12px;
    }
}

/* ===== RESPONSIVE TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-logo-img {
        height: 42px;
    }
    
    .header-h1 {
        font-size: 16px;
    }
    
    .welcome-title {
        font-size: 40px;
    }
    
    .welcome-text {
        font-size: 20px;
    }
}

