/* miris.tech - Pop-Art × Frosted Glass Dashboard */

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

:root {
    --pink: #ff2d6a;
    --yellow: #e8ff2a;
    --cyan: #00d4ff;
    --dark-bg: #151828;
    --panel-bg: #1b1e2a;
    --panel-border: #3a3f52;
    --text-muted: #9ba4c0;
    --text-light: #eaf0ff;
    --surface: #2a2e3d;
}

html, body {
    height: 100%;
    background: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Nunito Sans', sans-serif;
    overflow-x: hidden;
}

#perlin-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.dashboard {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
    padding: 6px;
    min-height: 100vh;
}

/* Panel base */
.panel {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Halftone overlays */
.halftone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.halftone-pink {
    background-image: radial-gradient(circle, #ff2d6a 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.1;
}

.halftone-yellow {
    background-image: radial-gradient(circle, #e8ff2a 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.08;
}

.halftone-cyan {
    background-image: radial-gradient(circle, #00d4ff 1px, transparent 1px);
    background-size: 6px 6px;
    opacity: 0.12;
}

/* Frost glass */
.frost-glass {
    position: relative;
    z-index: 2;
    background: rgba(27, 30, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(58, 63, 82, 0.6);
    border-radius: 4px;
    padding: clamp(1rem, 2vw, 2rem);
    height: 100%;
}

/* Panel grid placement */
.panel-hero {
    grid-column: 1 / -1;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-hero .frost-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.panel-projects {
    grid-column: 1 / 7;
    min-height: 300px;
}

.panel-tech {
    grid-column: 7 / -1;
    min-height: 300px;
}

.panel-team {
    grid-column: 1 / 5;
    min-height: 320px;
}

.panel-builds {
    grid-column: 5 / -1;
    min-height: 320px;
}

.panel-manifesto {
    grid-column: 1 / -1;
    min-height: 250px;
}

/* Typography */
.hero-title {
    font-family: 'Dela Gothic One', cursive;
    font-size: clamp(2rem, 5vw, 5.5rem);
    color: var(--text-light);
    text-shadow: 4px 4px 0 var(--pink), -2px -2px 0 var(--yellow);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 300;
}

.hero-tagline {
    margin-top: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: var(--yellow);
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

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

.panel-title {
    font-family: 'Dela Gothic One', cursive;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    color: var(--text-light);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--pink);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Projects */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(42, 46, 61, 0.6);
    border-radius: 4px;
    border-left: 3px solid var(--pink);
}

.project-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-live { background: #00ff88; box-shadow: 0 0 6px #00ff88; }
.status-dev { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.status-proto { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }

.project-name {
    flex: 1;
    font-weight: 600;
}

.project-build {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(42, 46, 61, 0.5);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(255, 45, 106, 0.2);
}

.tech-icon {
    font-size: 1.5rem;
    color: var(--yellow);
}

.tech-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Team */
.team-members {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--yellow));
    opacity: 0.7;
}

.member-info {
    display: flex;
    flex-direction: column;
}

.member-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-light);
}

.member-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-status.online { color: #00ff88; }
.member-status.away { color: var(--yellow); }

/* Builds */
.build-log {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.build-entry {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
    border-left: 2px solid var(--panel-border);
    font-size: 0.85rem;
}

.build-time {
    color: var(--text-muted);
    white-space: nowrap;
}

.build-msg {
    color: var(--text-light);
}

/* Manifesto */
.manifesto-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--cyan);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .panel-hero,
    .panel-projects,
    .panel-tech,
    .panel-team,
    .panel-builds,
    .panel-manifesto {
        grid-column: 1 / -1;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
