body {
    margin: 0;
    padding: 0 0 60px 0; /* bottom padding = footer height */
    background: url("images/background.png") center/cover no-repeat fixed;
    color: #d0d7e2;
    font-family: "Segoe UI", sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #7ab8ff;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

p {
    max-width: 600px;
    line-height: 1.6;
    color: #b4c0cc;
}

.box {
    background: #14171c;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 80, 160, 0.25);
    border: 1px solid #1f242c;
    margin-bottom: 2rem;
}

.accent {
    color: #8fd0ff;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.link-box {
    background: #14171c;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #1f242c;
    box-shadow: 0 0 20px rgba(0, 80, 160, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 120, 200, 0.35);
}

/* NEW: Responsive grid for middle content */
.grid-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px; /* wider than old 500px limit */
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 900px) {
    .grid-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .grid-links {
        grid-template-columns: 1fr;
    }
}


a {
    color: #8fd0ff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
}
.section-title {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 400;
    color: #1a2a3a; /* dark cool-toned blue */
}
.main {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    box-sizing: border-box;

    background: #0b0d10;
    color: #d0d7e2;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid #1f242c;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    overflow-x: hidden;
}

.footer p {
    margin: 0;
    padding: 0;
}

.footer a {
    color: #8fd0ff;
    text-decoration: none;
}

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

