/**
 * Dev Panel Styles
 */

#dev-panel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 149;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#dev-panel-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#dev-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: 50%;
    z-index: 150;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 60px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#dev-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(10, 8, 6, 0.88);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

#dev-panel.active {
    opacity: 1;
    pointer-events: auto;
}

/* Back Button */
.dev-panel-back-btn {
    position: absolute;
    top: 0;
    left: -120px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid rgba(224, 192, 128, 0.5);
    border-radius: 999px;
    color: #e0c080;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.dev-panel-back-btn:hover {
    color: #f0d898;
    border-color: #f0d898;
    transform: translateX(-4px);
}

/* Layout */
.dev-panel-layout {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
}

/* Left */
.dev-panel-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 160px;
}

.dev-panel-title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: #e0c080;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.8),
        0 8px 40px rgba(0, 0, 0, 0.6);
}

.dev-panel-badge {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid rgba(224, 192, 128, 0.4);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e0c080;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    width: fit-content;
}

/* Social links row */
.dev-panel-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.dev-panel-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
    transition: color 0.25s ease;
}

.dev-panel-social-link:hover {
    color: #e0c080;
}

/* Right */
.dev-panel-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    padding-top: 6px;
}

.dev-panel-description {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 4px 16px rgba(0, 0, 0, 0.8);
    max-width: 480px;
}

.dev-panel-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
}

.dev-panel-detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dev-panel-detail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e0c080;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.dev-panel-detail-value {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}
