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

/* =========================
   BODY / BACKGROUND
========================= */
body {
    height: 100vh;
    padding-top: 80px; /* Prevent navbar overlap */

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

    font-family: "Segoe UI", sans-serif;
    color: white;

    background: linear-gradient(135deg, #061023, #343f53);
}

/* =========================
   HEADING
========================= */
h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;

    text-shadow:
        0 0 10px rgba(249, 211, 211, 0.7),
        0 0 20px rgba(255, 255, 255, 0.5);

    animation: float 3s ease-in-out infinite;
}

/* =========================
   BUTTON LINK
========================= */
.link {
    margin-bottom: 20px;
    padding: 12px 25px;

    font-size: 1.2rem;
    color: white;
    text-decoration: none;

    border-radius: 30px;
    background: linear-gradient(45deg, #3e57a8, #3e57a8);

    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.link:hover {
    transform: scale(1.1) translateY(-3px);

    /* FIXED invalid shadow syntax */
    box-shadow: 0 10px 25px rgba(62, 87, 168, 0.6);
}

.link:active {
    transform: scale(0.95);
}

/* =========================
   NAVBAR
========================= */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(6, 16, 35, 0.9);
    backdrop-filter: blur(10px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: center; /* removed duplicate */
    align-items: center;
    gap: 20px;

    padding: 15px 40px;
}

/* =========================
   LOGO
========================= */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;

    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* =========================
   NAV LINKS
========================= */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links li a {
    padding: 8px 15px;

    font-size: 1rem;
    color: white;
    text-decoration: none;

    border-radius: 20px;
    transition: 0.3s;
}

.nav-links li a:active {
    transform: scale(0.92);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

/* =========================
   FOOTER
========================= */
footer {
    margin-top: 200px;
    width: 100vw;

    display: flex;
    justify-content: space-evenly;
}

/* =========================
   GLOBAL LINKS
========================= */
a {
    color: #ffffff;
}

/* =========================
   ANIMATION
========================= */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
