@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&display=swap');

:root {
    --mw-primary: #1f2937;
    --mw-accent: #4f46e5; /* Indigo */
    --mw-accent-hover: #4338ca;
    --mw-bg: #f9fafb;
    --mw-card-bg: #ffffff;
    --mw-border: #e5e7eb;
    --mw-cell-bg: #f3f4f6;
    --mw-text-muted: #6b7280;
}

.mw-container {
    max-width: 650px;
    margin: 40px auto;
    font-family: 'Outfit', sans-serif;
    color: var(--mw-primary);
}

.mw-card {
    background: var(--mw-card-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--mw-border);
}

.mw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mw-title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--mw-accent);
}

.mw-reload-alt {
    background: var(--mw-accent);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.mw-reload-alt:hover {
    background: var(--mw-accent-hover);
    transform: translateY(-1px);
}

.mw-subtitle {
    color: var(--mw-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

#mw-grid-wrapper {
    background: var(--mw-cell-bg);
    padding: 12px;
    border-radius: 20px;
}

.mw-grid {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 3px;
}

.mw-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mw-primary);
    text-transform: uppercase;
    cursor: default;
    /* Static, no hover as requested */
}

.mw-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--mw-text-muted);
}

.mw-footer a {
    color: var(--mw-accent);
    text-decoration: none;
    font-weight: 600;
}

.mw-footer a:hover {
    text-decoration: underline;
}

/* Animations */
.mw-cell {
    animation: cellAppear 0.4s ease backwards;
}

@keyframes cellAppear {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 600px) {
    .mw-cell {
        font-size: 9px;
        border-radius: 3px;
    }
    .mw-card {
        padding: 24px;
    }
}
