/* Landing Page Styles */
.landing-container {
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 119, 101, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 140, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(180, 160, 140, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f4f1eb 0%, #e8ddd4 50%, #d4c4b0 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

.landing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 119, 101, 0.03) 2px, rgba(139, 119, 101, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 119, 101, 0.03) 2px, rgba(139, 119, 101, 0.03) 4px);
    pointer-events: none;
}

.landing-header {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(139, 119, 101, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(139, 119, 101, 0.3);
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #5d4e37;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(139, 119, 101, 0.3);
    letter-spacing: 2px;
    font-family: 'Times New Roman', serif;
}

.subtitle {
    font-size: 1.3rem;
    color: #6b5b47;
    margin: 1rem 0 0 0;
    font-weight: 400;
    font-style: italic;
}

/* Welcome Section */
.welcome-section {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 248, 240, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(240, 230, 220, 0.4) 0%, transparent 50%),
        rgba(250, 248, 245, 0.8);
    border: 1px solid rgba(139, 119, 101, 0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 
        0 4px 15px rgba(139, 119, 101, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.welcome-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #5d4e37;
    line-height: 1.6;
    font-style: italic;
}

.era-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.era-card {
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 248, 240, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(240, 230, 220, 0.6) 0%, transparent 50%),
        linear-gradient(135deg, #faf8f5 0%, #f0e8dc 100%);
    border: 2px solid rgba(139, 119, 101, 0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(139, 119, 101, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.era-card:hover {
    box-shadow: 
        0 12px 35px rgba(139, 119, 101, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(139, 119, 101, 0.5);
}

.era-card.available:hover {
    cursor: pointer;
}

.era-card.coming-soon:hover {
    cursor: not-allowed;
    opacity: 0.8;
}

.era-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.era-card.civil-war .era-image {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
}

.era-card.revolutionary-war .era-image {
    background: linear-gradient(135deg, #2E8B57 0%, #228B22 100%);
}

.era-card.world-war-1 .era-image {
    background: linear-gradient(135deg, #4682B4 0%, #1E90FF 100%);
}

.era-card.world-war-2 .era-image {
    background: linear-gradient(135deg, #696969 0%, #2F4F4F 100%);
}

.era-icon {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.era-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.era-content h2 {
    margin: 0 0 0.5rem 0;
    color: #4a3c2a;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
}

.era-content p {
    margin: 0;
    color: #5d4e37;
}

.era-content p:nth-child(2) {
    font-weight: 600;
    color: #6b5b47;
    margin-bottom: 1rem;
    font-style: italic;
}

.era-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem !important;
    flex-grow: 1;
}

.era-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.feature-tag {
    background: linear-gradient(135deg, #8b7355 0%, #6b5b47 100%);
    color: #faf8f5;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(139, 119, 101, 0.3);
    box-shadow: 0 2px 4px rgba(139, 119, 101, 0.2);
}

.era-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.era-status.available {
    background: linear-gradient(135deg, #6b8e23 0%, #556b2f 100%);
    color: #faf8f5;
    border: 1px solid rgba(107, 142, 35, 0.3);
}

.era-status.coming-soon {
    background: linear-gradient(135deg, #cd853f 0%, #a0522d 100%);
    color: #faf8f5;
    border: 1px solid rgba(205, 133, 63, 0.3);
}

.landing-footer {
    background: rgba(139, 119, 101, 0.2);
    color: #5d4e37;
    text-align: center;
    padding: 2rem;
    border-top: 2px solid rgba(139, 119, 101, 0.3);
    position: relative;
    z-index: 1;
}

.landing-footer p {
    margin: 0.5rem 0;
    font-weight: 400;
}

.credits-link a {
    color: #6b5b47;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.credits-link a:hover {
    color: #4a3c2a;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .era-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .landing-header {
        padding: 2rem 1rem;
    }
    
    .era-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .era-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}
