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

body {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    color: #C0C0C0;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(
        135deg,
        #1A1A2E 0%,
        #16213E 100%
    ),
    repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 16px
    ),
    repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 16px
    );
    overflow: hidden;
}

.boot-sequence {
    text-align: center;
    margin-bottom: 40px;
    font-family: "IBM Plex Mono", monospace;
    color: #39FF14;
    font-size: 13px;
}

.boot-line {
    opacity: 0;
    animation: boot-text-reveal 0.3s ease forwards;
}

.boot-line-1 {
    animation-delay: 0s;
}

.boot-line-2 {
    animation-delay: 0.3s;
}

.boot-line-3 {
    animation-delay: 0.6s;
}

@keyframes boot-text-reveal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-title {
    font-family: "Silkscreen", monospace;
    font-size: 72px;
    color: #FFFFFF;
    font-weight: 400;
    letter-spacing: 4px;
    animation: title-reveal 0.8s ease 0.9s forwards;
    opacity: 0;
    position: relative;
}

@keyframes title-reveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cursor {
    width: 10px;
    height: 16px;
    background: #39FF14;
    margin-left: 8px;
    animation: cursor-blink 1s step-end infinite, cursor-appear 0.8s ease 0.9s forwards;
    opacity: 0;
}

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

@keyframes cursor-appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main Content */
main {
    padding: 40px 20px 100px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding-top: 40px;
}

/* Card Styling */
.card {
    background: #16213E;
    border: 3px solid #36A2EB;
    border-radius: 0;
    overflow: hidden;
    animation: card-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transform-origin: bottom;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: z-index 0.2s ease;
}

.card:hover {
    z-index: 10;
    box-shadow: 0 0 20px rgba(54, 162, 235, 0.4);
}

.card:nth-child(1) {
    border-color: #FF6384;
    animation-delay: 1.9s;
}

.card:nth-child(1) .card-header {
    background: #FF6384;
}

.card:nth-child(2) {
    border-color: #36A2EB;
    animation-delay: 2s;
}

.card:nth-child(2) .card-header {
    background: #36A2EB;
}

.card:nth-child(3) {
    border-color: #FFCE56;
    animation-delay: 2.1s;
}

.card:nth-child(3) .card-header {
    background: #FFCE56;
}

.card:nth-child(4) {
    border-color: #FF6384;
    animation-delay: 2.2s;
}

.card:nth-child(4) .card-header {
    background: #FF6384;
}

.card:nth-child(5) {
    border-color: #36A2EB;
    animation-delay: 2.3s;
}

.card:nth-child(5) .card-header {
    background: #36A2EB;
}

.card:nth-child(6) {
    border-color: #FFCE56;
    animation-delay: 2.4s;
}

.card:nth-child(6) .card-header {
    background: #FFCE56;
}

@keyframes card-pop-in {
    from {
        opacity: 0;
        transform: scale(0.1) translateY(100%);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.card-header {
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #1A1A2E;
    font-family: "Silkscreen", monospace;
    font-size: 14px;
    font-weight: 400;
    gap: 6px;
    border-bottom: 1px solid rgba(26, 26, 46, 0.2);
}

.window-icon {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    flex-shrink: 0;
}

.window-controls {
    display: flex;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.control {
    width: 8px;
    height: 8px;
    border-radius: 1px;
}

.control.close {
    background: #FF4757;
}

.control.minimize {
    background: #FFD700;
}

.control.maximize {
    background: #2ECC40;
}

.card-content {
    padding: 16px;
    background: #16213E;
}

.card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #C0C0C0;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to right, #FF6384, #36A2EB, #FFCE56);
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 0 20px;
    align-items: center;
    z-index: 100;
    animation: taskbar-slide-up 0.3s ease-out 1.9s forwards;
    transform: translateY(100%);
    border-top: 2px solid #1A1A2E;
}

@keyframes taskbar-slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.taskbar-button {
    background: rgba(26, 26, 46, 0.8);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    font-family: "Silkscreen", monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.taskbar-button:hover {
    background: rgba(26, 26, 46, 1);
    border-color: #FFFFFF;
}

.taskbar-button.active {
    background: #FFFFFF;
    color: #1A1A2E;
    border-color: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .taskbar {
        flex-wrap: wrap;
        height: auto;
        padding: 8px;
    }

    .taskbar-button {
        padding: 4px 8px;
        font-size: 11px;
    }
}
