/* Forge-specific styles */
/* /forge/css/forge.css */

.forge-app-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: rgba(13,12,11,0.95);
}

.forge-persistent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #1a1917, #0d0c0b);
    border-bottom: 1px solid rgba(232,118,26,0.3);
    font-family: 'Cinzel', serif;
}

.forge-logo a {
    color: var(--glow);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.forge-rank-badge {
    background: rgba(232,118,26,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.forge-nav a {
    color: var(--ash);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.forge-nav a:hover {
    color: var(--glow);
}

.forge-main {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.forge-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* Observatory specific */
.observatory-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rank-display-large {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(232,118,26,0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.progress-bar-container {
    background: var(--steel);
    height: 8px;
    border-radius: 4px;
    margin-top: 0.8rem;
}

.progress-bar-fill {
    background: var(--fire);
    height: 100%;
    border-radius: 4px;
    width: 0%;
}

.gate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gate-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(232,118,26,0.15);
    border-radius: 8px;
    padding: 1.2rem;
}

.gate-card h3 {
    margin-top: 0;
    color: var(--glow);
}

.gate-card.locked {
    opacity: 0.6;
    filter: grayscale(0.2);
}

.lock-icon {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.7rem;
    color: var(--rust);
}

.forge-button {
    display: inline-block;
    background: var(--fire);
    color: var(--coal);
    padding: 0.4rem 1rem;
    margin-top: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* Challenge styles for forge pages */
.challenge {
    background: rgba(0,0,0,0.4);
    border-left: 3px solid var(--fire);
    margin: 1.5rem 0;
    padding: 1rem;
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.challenge-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--glow);
}

.challenge-status {
    font-size: 0.7rem;
    color: var(--ash);
}

.challenge-description {
    margin: 0.8rem 0;
}

.challenge-input textarea {
    width: 100%;
    background: #0a0908;
    color: var(--parchment);
    border: 1px solid var(--rust);
    font-family: monospace;
    padding: 0.5rem;
}

.challenge-actions button {
    background: var(--steel);
    border: none;
    color: var(--parchment);
    padding: 0.4rem 0.8rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.challenge-feedback {
    margin-top: 0.8rem;
    font-style: italic;
}