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

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F4FF 50%, #FFFFFF 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animated cloud background */
.sky-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cellipse cx='20' cy='15' rx='20' ry='8' fill='%23ffffff' opacity='0.8'/%3E%3Cellipse cx='35' cy='12' rx='15' ry='6' fill='%23ffffff' opacity='0.8'/%3E%3Cellipse cx='50' cy='16' rx='18' ry='7' fill='%23ffffff' opacity='0.8'/%3E%3C/svg%3E") repeat-x,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 25'%3E%3Cellipse cx='30' cy='18' rx='25' ry='10' fill='%23ffffff' opacity='0.6'/%3E%3Cellipse cx='55' cy='14' rx='18' ry='8' fill='%23ffffff' opacity='0.6'/%3E%3Cellipse cx='80' cy='19' rx='22' ry='9' fill='%23ffffff' opacity='0.6'/%3E%3C/svg%3E") repeat-x;
    background-size: 400px 80px, 500px 100px;
    background-position: 0 calc(100% - 20px), 100px calc(100% - 60px);
    animation: clouds 60s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes clouds {
    from {
        background-position: 0 calc(100% - 20px), 100px calc(100% - 60px);
    }
    to {
        background-position: 400px calc(100% - 20px), 600px calc(100% - 60px);
    }
}

/* Main board container */
.board-container {
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 900px;
    width: 100%;
    padding: 30px;
    position: relative;
    z-index: 1;
}

/* Header */
.board-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.header-icon {
    color: #9ca3af;
}

.header-title {
    font-size: 28px;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 4px;
}

/* Column labels */
.board-labels {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 16px;
    padding: 12px 16px;
    color: #6b7280;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Projects list */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual project row */
.project-row {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 16px;
    align-items: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Project info */
.project-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-icon {
    width: 24px;
    height: 24px;
    background: #3a3a3a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    gap: 2px;
}

.project-description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 36px;
}

.project-link {
    color: #60a5fa;
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
}

/* Status badge */
.status-badge {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    display: flex;
    gap: 2px;
    justify-content: center;
    width: 140px;
}

.status-badge.scheduled {
    color: #a78bfa;
    border-color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
}

.status-badge.boarding {
    color: #fbbf24;
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.status-badge.in-flight {
    color: #34d399;
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.1);
}

.status-badge.landed {
    color: #60a5fa;
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.status-badge.delayed {
    color: #f87171;
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

/* Status container */
.status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Date display */
.project-date {
    color: #6b7280;
    font-size: 12px;
    text-align: center;
}

/* Split-flap character */
.flip-char {
    display: inline-block;
    position: relative;
    width: 0.6em;
    height: 1.2em;
    perspective: 300px;
}

.flip-char-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    transform-origin: center center;
}

.flip-char.flipping .flip-char-inner {
    animation: flipChar 0.08s ease-in;
}

@keyframes flipChar {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-90deg);
    }
}

/* Status text in badge */
.status-text {
    display: flex;
    gap: 1px;
}

/* Responsive */
@media (max-width: 700px) {
    .board-container {
        padding: 20px;
    }

    .project-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .board-labels {
        display: none;
    }

    .status-container {
        align-items: flex-start;
    }

    .header-title {
        font-size: 22px;
        letter-spacing: 2px;
    }
}

/* Loading state */
.loading {
    text-align: center;
    color: #9ca3af;
    padding: 40px;
}

/* Empty state */
.empty-state {
    text-align: center;
    color: #6b7280;
    padding: 60px 20px;
}

.empty-state h3 {
    color: #9ca3af;
    margin-bottom: 8px;
}
