* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #050816;
    color: white;
    line-height: 1.6;
}

header {
    background: #080d24;
    border-bottom: 1px solid #1d2a52;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: auto;
    padding: 18px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 25px;
    color: #4da6ff;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #4da6ff;
}

.hero {
    min-height: 80vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 60px 20px;

    background:
        radial-gradient(circle at center, #14245c 0%, #050816 55%);
}

.hero > p:first-child {
    color: #4da6ff;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: bold;
}

.hero h2 {
    font-size: 60px;
    line-height: 1.1;
    margin: 20px 0;
}

.hero p {
    max-width: 700px;
    color: #b9c4df;
    font-size: 18px;
}

button {
    margin-top: 30px;
    padding: 14px 30px;

    border: none;
    border-radius: 8px;

    background: #1677ff;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
}
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at center, #14245c 0%, #050816 60%);
}

.auth-box {
    width: 100%;
    max-width: 430px;
    padding: 40px;
    background: #0b122d;
    border: 1px solid #1d2a52;
    border-radius: 18px;
    text-align: center;
}

.auth-box h1 {
    color: #4da6ff;
    font-size: 32px;
    margin-bottom: 5px;
}

.auth-subtitle {
    color: #7f8baa;
    margin-bottom: 30px;
}

.auth-box h2 {
    margin-bottom: 8px;
}

.auth-box h3 {
    margin: 25px 0 15px;
}

.auth-box input {
    width: 100%;
    padding: 14px;
    margin: 8px 0;

    background: #050816;
    color: white;

    border: 1px solid #26345f;
    border-radius: 8px;

    outline: none;
}

.auth-box input:focus {
    border-color: #3185ff;
}

.auth-box button {
    width: 100%;
    margin-top: 15px;
}

.auth-box a {
    color: #4da6ff;
    text-decoration: none;
}

#message {
    margin-top: 20px;
    color: #4da6ff;
}
button:hover {
    background: #4595ff;
    transform: translateY(-2px);
}

section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 25px;
}

section h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

section p {
    color: #b9c4df;
    max-width: 800px;
}

section > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

article {
    background: #0b122d;
    border: 1px solid #1d2a52;
    border-radius: 12px;
    padding: 25px;
    transition: 0.3s;
}

article:hover {
    transform: translateY(-5px);
    border-color: #3185ff;
}

article h3 {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 30px;
    background: #080d24;
    border-top: 1px solid #1d2a52;
}

footer p {
    color: #7f8baa;
}

@media (max-width: 800px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 8px;
    }

    .hero h2 {
        font-size: 42px;
    }

    section > div {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {

    .hero h2 {
        font-size: 34px;
    }

    section > div {
        grid-template-columns: 1fr;
    }
}
