:root {
    --bg-color: #63bef6;
    --card-bg: #ffffff;
    --text-color: #2c3e50;
    --accent-1: #ff0055;
    /* Radical Red */
    --accent-2: #00e5ff;
    /* Cyan */
    --retro-gray: #dcdcdc;
    --display-dark: #222;
    --border-width: 4px;
    --shadow-offset: 8px;
}

* {
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewport="0 0 24 24" fill="black"><rect x="0" y="0" width="12" height="12"/><path d="M12 12 L24 24 L12 24 Z" fill="white" stroke="black" stroke-width="2"/></svg>'), auto;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Press Start 2P', cursive;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Sky Grid Background */
.sky-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 100px 100px;
    background-position: center bottom;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
}

/* Typography */
.main-header {
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
}

h1 {
    font-size: 4rem;
    /* Large scale */
    color: #ffcc00;
    text-shadow:
        4px 4px 0px #000,
        8px 8px 0px rgba(0, 0, 0, 0.2);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    background: #000;
    display: inline-block;
    padding: 0.5rem 1rem;
}

/* Cards Area */
.selection-area {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    position: relative;
    width: 400px;
    background: transparent;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-border {
    background: var(--card-bg);
    border: var(--border-width) solid #000;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px #000;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-modern .card-border {
    background: #fff0f5;
    /* Light pinkish tint */
}

.card-retro .card-border {
    background: var(--retro-gray);
}

.screen-display {
    background: var(--display-dark);
    height: 200px;
    border: var(--border-width) solid #000;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.retro-screen {
    background: #9cad88;
    /* Gameboy green-ish */
}

/* CSS Pixel Art (Box Shadow Trick) */
/* Modern: A blocky smiley face / abstract */
.pixel-art-modern {
    width: 10px;
    height: 10px;
    background: transparent;
    color: var(--accent-2);
    box-shadow:
        0 -40px 0 10px var(--accent-1),
        /* Hair/Top */
        -20px -20px 0 0 var(--accent-1),
        20px -20px 0 0 var(--accent-1),
        -30px 10px 0 0 #fff,
        /* Eyes */
        30px 10px 0 0 #fff,
        0 40px 0 0 #fff,
        /* Mouth center */
        -20px 30px 0 0 #fff,
        20px 30px 0 0 #fff;
    transform: scale(3);
    /* Scale up */
}

/* Retro: A blocky storage disk / computer */
.pixel-art-retro {
    width: 10px;
    height: 10px;
    background: transparent;
    color: #333;
    box-shadow:
        0 0 0 30px #eee,
        /* Body */
        0 -20px 0 0 #ccc,
        /* Label area */
        0 20px 0 0 #555,
        /* Shutter */
        -20px 40px 0 0 #000,
        /* Corners */
        20px 40px 0 0 #000;
    transform: scale(2.5);
}

.card-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.card-info p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    margin-top: auto;
    width: 100%;
    padding: 1.5rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    text-transform: uppercase;
    border: var(--border-width) solid #000;
    cursor: pointer;
    position: relative;
    outline: none;
}

.btn-start {
    background: var(--accent-2);
    /* Cyan */
    box-shadow: 6px 6px 0 #000;
    color: #000;
}

.btn-start:hover {
    background: #33efff;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #000;
}

.btn-start:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
}

.btn-load {
    background: #ffaa00;
    /* Orange */
    box-shadow: 6px 6px 0 #000;
    color: #000;
}

.btn-load:hover {
    background: #ffbb33;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 #000;
}

.btn-load:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0 #000;
}

/* Footer Cityscape */
.pixel-city {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 10%;
    pointer-events: none;
    z-index: 100;
}

.building {
    background: #2a2d33;
    border: 4px solid #000;
    border-bottom: none;
    position: relative;
}

/* Creating windows using gradients */
.building::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 0;
    background-image:
        radial-gradient(#ffff00 20%, transparent 25%),
        radial-gradient(#ffff00 20%, transparent 25%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.5;
}

.b1 {
    width: 60px;
    height: 80px;
}

.b2 {
    width: 100px;
    height: 140px;
    background: #3c415e;
}

.b3 {
    width: 80px;
    height: 100px;
}

.b4 {
    width: 120px;
    height: 160px;
    background: #3c415e;
}

.b5 {
    width: 70px;
    height: 90px;
}

.b6 {
    width: 50px;
    height: 60px;
}


/* Responsive */
@media (max-width: 900px) {
    .selection-area {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }
}