/* ====== Font & reset ====== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: #0f0f11;
    color: #f2f2f2;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 1.5rem;
}

/* ====== Container ====== */
.main {
    max-width: 600px;
    width: 100%;
    background: #1a1a1d;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    animation: fadeIn 300ms ease-out;
}

/* ====== Titluri & text ====== */
h1 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #b5b5b5;
    margin-bottom: 1.8rem;
}

/* ====== Butoane ====== */
.buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

button {
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, transform 0.12s ease;
}

/* Primar */
button.primary {
    background: #7f5af0;
    color: #f2f2f2;
    border: none;
}

button.primary:hover {
    background: #6a46d8;
    transform: translateY(-1px);
}

/* Secundar */
button.secondary {
    background: transparent;
    color: #f2f2f2;
    border: 1px solid #f2f2f2;
}

button.secondary:hover {
    background: #f2f2f2;
    color: #0f0f11;
    transform: translateY(-1px);
}

/* ====== Footer ====== */
footer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #777;
}

/* ====== Animații ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== Responsive ====== */
/* ====== Responsive ====== */
@media (max-width: 600px) {

    body {
        padding: 0.5rem;
    }

    .main {
        padding: 2.2rem 1.6rem;
        border-radius: 14px;
    }

    h1 {
        font-size: 2.6rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    p {
        font-size: 1.25rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    button {
        width: 100%;
        font-size: 1.25rem;
        padding: 1.2rem 1.4rem;
    }

    .buttons {
        flex-direction: column;
        gap: 1rem;
    }
}
