/* --- AVIORA.CSS: Dedicated Game Page Styles --- */

/* =========================================
   1. THEME & HERO SECTION
   ========================================= */

#hero-woa {
    height: 120vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
    /* --- BACKGROUND --- */
    background: linear-gradient(rgba(10, 10, 12, 0.0), rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.2)), url('../assets/woa-bg1.webp');
    background: linear-gradient(rgba(10, 10, 12, 0.0), rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.2)), url('../assets/woa-bg1-jpeg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment:local;
}

.hero-content-woa {
    display: flex;
    flex-direction: column; /* Forces vertical stacking */
    align-items: center;    /* Centers everything horizontally */
    gap: 10rem;              /* Adds space between text and logo */
    z-index: 2;
    padding: 20px;
}

.game-page-theme {
    --primary: #c59658; /* Steampunk Gold */
}

.loc-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    border: 1px solid var(--primary);
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px; /* Centers the block and adds bottom spacing */
    color: #aaa;
    font-size: 1.1rem;   /* Optional: makes the lead text slightly larger */
    line-height: 1.6;
}

/* 1. Container adjustments */
.game-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px; /* Prevents logo from touching edges exactly */
}

/* 2. The Logo Image Itself */
.game-logo-woa {
    width: 100%;             /* Makes it responsive */
    max-width: 1280px;        /* Limits size on big Desktop screens */
    height: auto;            /* Maintains aspect ratio */
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5)); /* Adds depth */
}

/* =========================================
   2. SHARED LAYOUTS (Split & Grids)
   ========================================= */

/* The Side-by-Side Layout Wrapper */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text, 
.game-visual {
    flex: 1; 
    width: 100%; 
}

/* Feature Items (Text Lists) */
.feature-item {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 170, 0, 0.3);
    transition: border-color 0.3s;
}

.feature-item:hover {
    border-left-color: var(--primary);
}

.feature-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: var(--primary);
}
/* Column Sizing */
.feature-text {
    flex: 1; /* Takes up half space */
}

.feature-image {
    flex: 1; /* Takes up half space */
}

/* Image Styling */
.feature-image img {
    width: 100%;      /* Ensures image fits container */
    height: auto;     /* Maintains aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    border: 1px solid var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .feature-row, 
    .feature-row.reverse {
        flex-direction: column; /* Stack them on mobile */
        text-align: center;
    }
}

/* =========================================
   3. COMPONENTS: CARDS & VISUALS
   ========================================= */

   .engineering{ padding: 100px 50px; background: #0a0a0c;}

/* Shared Card Base (Used for Missions, Locations, etc.) */
.mission-card, 
.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mission-card:hover, 
.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(255, 170, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* The Blueprint Card (Engineering Section) */
.blueprint-card {
    position: relative;
    background: rgba(0, 40, 80, 0.1); 
    border: 1px solid var(--primary);
    border-radius: 15px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.blueprint-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 170, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 170, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.blueprint-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 12, 0.95);
    padding: 20px;
    border-top: 2px solid var(--primary);
}

.blueprint-tag {
    color: var(--primary);
    font-family: monospace;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
}

/* =========================================
   4. SECTION: MISSIONS (Aerial Encounters)
   ========================================= */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mission-icon {
    font-size: 2.5rem;
}

.mission-type {
    display: block;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Boss Card Special Styling */
.boss-card {
    border-color: rgba(255, 68, 68, 0.4);
    background: linear-gradient(145deg, rgba(20, 0, 0, 0.5), rgba(40, 0, 0, 0.2));
}
.boss-card:hover {
    border-color: #ff4444;
}

/* =========================================
   5. SECTION: WORLD MAP & LOCATIONS
   ========================================= */
.locations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.location-card {
    width: 300px; /* Fixed width for uniform look */
}

.loc-visual {
    height: 150px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Map Backgrounds */
.map-rust { background: linear-gradient(45deg, #5e4b35, #2a2a2a); }
.map-storm { background: linear-gradient(45deg, #1a2a3a, #001133); }
.map-origin { background: linear-gradient(45deg, #220000, #000000); }

.loc-badge {
    background: rgba(0,0,0,0.8);
    color: var(--primary);
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    border: 1px solid var(--primary);
}
.loc-badge.locked { color: #aaa; border-color: #555; }
.loc-badge.unknown { color: #ff4444; border-color: #ff4444; }

.loc-details { padding: 20px; }
.loc-specs {
    list-style: none;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Warning Banner */
.warning-banner {
    margin-top: 60px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px dashed rgba(255, 68, 68, 0.4);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.world-map {
    padding: 100px 50px; 
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1c2e 100%);
}

.unlock-label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 2px; }
.unlock-name { color: #fff; font-weight: bold; }

/* =========================================
   7. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    /* Stack split sections */
    .about-container { flex-direction: column; gap: 40px; }
    
    /* Stack pipeline steps */
    .pipeline-container { flex-direction: column; align-items: stretch; }
    .pipeline-step { min-height: auto; }
    
    /* Rotate pipeline connector */
    .pipeline-connector { width: 2px; height: 40px; margin: 0 auto; }
    .pipeline-connector::after { content: 'v'; top: auto; bottom: -5px; right: -6px; }
    
    /* Stack unlock box */
    .blueprint-preview-box { flex-direction: column; text-align: center; border-radius: 12px; }
    
    /* Typography adjustments */
    .section-title { text-align: center !important; }
    .hero-content-woa { gap: 1.5rem; }
}