/* Import a Cyberpunk-style font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* General styling */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #0d0d0d;
    color: #fff;
}

/* Container */
.container {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    text-align: center;
    flex: 1;
}

/* Title */
.title {
    font-size: 2rem;
    font-weight: bold;
    color: #00ffea;
    text-shadow: 0 0 8px #00ffea;
    margin-bottom: 20px;
}

/* Grid styling */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Buttons general styling */
.box {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 234, 0.5);
    user-select: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

/* Colors for button states */
.green {
    background-color: #0f3;
    color: #000;
    border-color: #0f3;
}

.yellow {
    background-color: #ffdd00;
    color: #000;
    border-color: #ffdd00;
}

.red {
    background-color: #f00;
    color: #fff;
    border-color: #f00;
}

/* Hover effects */
.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    filter: brightness(1.2);
}

/* Lock icon styling */
.lock-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1.2rem;
    color: #000;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

/* Popup styling */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: #111;
    border: 2px solid #00ffea;
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.8);
    padding: 25px 20px;
    text-align: center;
    border-radius: 10px;
    color: #00ffea;
    width: 300px;
    position: relative;
}

.popup-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 0 8px #00ffea;
}

.popup-content input {
    width: 80%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #00ffea;
    background-color: #111;
    color: #00ffea;
    outline: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
}

.popup-content button {
    background-color: #00ffea;
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    margin: 5px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffea;
    transition: all 0.3s ease;
}

.popup-content button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00ffea, 0 0 25px #00ffea;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer Styling */
footer {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    color: #00ffea;
    background-color: #111;
    font-weight: bold;
    text-shadow: 0 0 8px #00ffea;
    position: relative;
    bottom: 0;
}
