* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background: #0b1626;
    color: #f0f4f8;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("/digital-native.png") center/cover;
    opacity: .15;
    pointer-events: none;
}

main {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

h1 {
    font-size: 3.5rem;
    color: #f59e6b;
    letter-spacing: -1px;
}

.g {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.c {
    background: rgba(18, 30, 49, .75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
}
.sc {
    margin-top: 1rem;
    background: rgba(18, 30, 49, .75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    text-align: center;
    transition: transform .15s ease; 
}

.sc:hover {
    transform: translateY(-2px);
}

.sc p {
    font-size: 0.9rem;
    color: #94a3b8;
}

.sc span {
    color: #f59e6b;
    font-weight: 600;
}

button {
    border: 0;
    border-radius: 50px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    background: #f59e6b;
    cursor: pointer;
    transition: .15s;
}

button:hover {
    background: #e08b58;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

p {
    font-size: .9rem;
    line-height: 1.5;
    color: #94a3b8;
}

b {
    font: 13px/1 monospace;
    color: #f59e6b;
    background: rgba(245, 158, 107, .08);
    border-radius: 8px;
    padding: .6rem .75rem;
    margin-top: auto;
    font-weight: 400;
}

dialog.modal {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(14, 23, 38, 0.88);
    backdrop-filter: blur(16px);
    color: #f0f4f8;
    padding: 2rem;
    width: 90%;
    max-width: 440px;
    margin: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

dialog.modal::backdrop {
    background: rgba(7, 13, 23, 0.75);
    backdrop-filter: blur(6px);
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
}

.modal-title {
    font-size: 1.5rem;
    color: #f59e6b;
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.modal-actions button {
    flex: 1;
    padding: 0.85rem 1rem;
}

button.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

button.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #f0f4f8;
}
