/* nonri.xyz - Bridge Operations */
/* Palette: Neon Rose #FF6B9D, Acid Lime #A8FF3E, Electric Tangerine #FF8C42,
   Deep Space #0D0618, Cockpit Dark rgba(20,10,30,0.85), Plasma Blue #42C6FF, Star White #F0E8FF */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0D0618;
    color: #F0E8FF;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Approach Section */
.approach {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    gap: 20px;
}

.site-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 5rem);
    color: #F0E8FF;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.boot-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    color: #A8FF3E;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: blink 0.1s ease 1.5s forwards, fadeIn 0.5s ease 1.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes blink {
    0%, 50% { opacity: 0; }
    51%, 100% { opacity: 1; }
}

/* Command Deck */
.deck {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

/* Panels */
.panel {
    background: rgba(20, 10, 30, 0.85);
    border-radius: 12px;
    border: 1px solid #FF6B9D;
    box-shadow: 0 0 8px rgba(255, 107, 157, 0.3);
    overflow: hidden;
    transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, filter 0.35s ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.panel:hover {
    transform: scale(1.03);
    box-shadow: 0 0 16px rgba(255, 107, 157, 0.5);
    filter: brightness(1.05);
    z-index: 5;
}

.panel-nav { grid-column: span 6; border-image: linear-gradient(to bottom, #FF6B9D, #42C6FF) 1; }
.panel-comm { grid-column: span 6; border-image: linear-gradient(to bottom, #42C6FF, #A8FF3E) 1; }
.panel-data { grid-column: span 4; border-image: linear-gradient(to bottom, #A8FF3E, #FF8C42) 1; }
.panel-shield { grid-column: span 4; border-image: linear-gradient(to bottom, #FF8C42, #FF6B9D) 1; }
.panel-energy { grid-column: span 4; border-image: linear-gradient(to bottom, #FF6B9D, #42C6FF) 1; }
.panel-radar { grid-column: span 12; border-image: linear-gradient(to bottom, #42C6FF, #FF6B9D) 1; }

/* Panel Header */
.panel-header {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 107, 157, 0.15);
    background: rgba(13, 6, 24, 0.5);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.panel-icon {
    width: 16px;
    height: 16px;
}

.panel-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F0E8FF;
    opacity: 0.7;
}

.panel-code {
    margin-left: auto;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: #FF6B9D;
    opacity: 0.6;
}

/* Panel Content */
.panel-content {
    padding: 20px;
}

.panel-heading {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: #F0E8FF;
    margin-bottom: 12px;
}

.panel-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.65;
    color: #F0E8FF;
    opacity: 0.8;
}

/* Data Bars */
.data-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

.bar {
    height: 4px;
    border-radius: 2px;
    opacity: 0.7;
}

/* Radar */
.radar-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.radar-circle {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(66, 198, 255, 0.3);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.radar-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(66, 198, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #42C6FF);
    transform-origin: left center;
    animation: radarSweep 3s linear infinite;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bridge Dim */
.bridge-dim {
    position: relative;
    z-index: 2;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
}

.dim-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: #F0E8FF;
    opacity: 0.4;
}

.dim-text {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #F0E8FF;
    opacity: 0.5;
}

/* Mobile */
@media (max-width: 768px) {
    .panel-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .deck {
        padding: 40px 16px;
    }

    .panel-content {
        padding: 16px;
    }

    .radar-circle {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2.5rem;
    }

    .panel-heading {
        font-size: 1.25rem;
    }
}
