/* --- Project Development System --- */

/* 1. Setup Wizard */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.setup-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.setup-option:hover,
.setup-option.selected {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--accent);
}

.setup-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* 2. Development Studio Overlay */
.dev-studio-overlay {
    position: fixed;
    inset: 0;
    background: #0f172a;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
}

.dev-hud {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-item {
    text-align: center;
}

.hud-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.val-tech {
    color: #3b82f6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.val-design {
    color: #eab308;
    text-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
}

.val-bug {
    color: #ef4444;
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.hud-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

.central-work-area {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Main Dev Button Pulse */
.dev-core-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.1s;
}

.dev-core-btn:active {
    transform: scale(0.9);
}

.bug-phase .dev-core-btn {
    border-color: #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
    animation: shake 0.5s infinite;
}

/* 3. Bubbles */
.bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    animation: floatUp 1.5s forwards ease-out;
}

.bubble-tech {
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.bubble-design {
    background: #eab308;
    box-shadow: 0 0 10px #eab308;
}

.bubble-bug {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    width: 24px;
    height: 24px;
}

@keyframes floatUp {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), -200px) scale(0.5);
        opacity: 0;
    }
}

/* 4. Release Phase */
.release-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

/* --- Enhanced Dev Studio --- */
.dev-console {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    color: #0f0;
    font-family: 'Courier New', monospace;
    padding: 1rem;
    height: 150px;
    overflow-y: hidden;
    font-size: 0.8rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
    text-align: left;
    position: relative;
    white-space: pre-wrap;
    display: flex;
    flex-direction: column-reverse;
}

.dev-console::after {
    content: '_';
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.dev-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dev-stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.dev-stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 0 10px currentColor;
}

.dev-stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-top: 0.2rem;
}

