body {
    background-color: #000000;
    margin: 0;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

body::before {
    content: '';
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 400px;
    background: radial-gradient(
        ellipse at center,
        rgba(34, 197, 94, 0.5) 0%,
        rgba(34, 197, 94, 0.25) 30%,
        rgba(34, 197, 94, 0.1) 50%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

h2 {
    font-size: 25px;
}

a {
    color: #808080;
}

a:hover {
    color: #CCCCCC;
}

.content-section {
    color: #AAAAAA;
    font-family: 'Baloo 2', Arial, sans-serif;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer {
    position: relative;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    color: #808080;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    padding: 10px 20px;
    margin: 40px auto 0 auto;
    box-sizing: border-box;
}

.footer a {
    color: #808080;
}

.footer a:hover {
    color: #CCCCCC;
}

/* ── program card ── */
.program-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-top: 50px;
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.8));
}

.program-card {
    width: 100%;
    min-height: 60vh;
    background-color: #000000;
    border: none;
    border-radius: 32px 32px 0 0;
    padding: 48px;
    box-sizing: border-box;
    color: #AAAAAA;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    position: relative;
}

.program-card h1 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-family: 'Baloo 2', Arial, sans-serif;
}

.program-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-family: 'Baloo 2', Arial, sans-serif;
}

.program-card p {
    margin: 0 0 14px 0;
}

.program-card p:last-child {
    margin-bottom: 0;
}

.program-card .highlight {
    color: #5ec462;
    font-weight: 600;
}

/* ── logo row ── */
.logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 40px;
}

.logo-program {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.logo-sac {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* ── divider ── */
.divider {
    width: 90%;
    max-width: 900px;
    height: 0;
    border: none;
    border-top: 2px dashed rgba(170, 170, 170, 0.3);
    margin: 60px auto 20px auto;
}

/* ── form elements ── */
.project-text {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
}

.input-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.project-input {
    padding: 12px;
    font-size: 14px;
    font-family: 'Baloo 2', Arial, sans-serif;
    border: 1px solid #333333;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: #cccccc;
    min-width: 350px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.project-input:focus {
    border-color: rgba(34, 197, 94, 0.6);
}

.go-button {
    padding: 12px 24px;
    font-size: 14px;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    background-color: rgba(34, 197, 94, 0.8);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.go-button:hover {
    background-color: rgba(34, 197, 94, 1);
}

.go-button:active {
    background-color: rgba(34, 197, 94, 1);
}

/* ── powered by bar ── */
.powered-by-bar {
    width: 100%;
    max-width: 1000px;
    color: #808080;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 14px 20px;
    box-sizing: border-box;
    border-radius: 12px;
    margin-top: 0;
}

/* ── toast message box ── */
.message-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 500px;
    padding: 16px 40px 16px 24px;
    border-radius: 8px;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease;
}

.message-box .close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}

.message-box .close-btn:hover {
    color: #ffffff;
}

.message-box.fade-out {
    opacity: 0;
}

.message-box i {
    margin-right: 8px;
}

.message-error {
    background-color: #b91c1c;
}

.message-success {
    background-color: #15803d;
}

.content-section h1 {
    font-size: 25px;
}

/* ── screen reader only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── mobile ── */
@media (max-width: 600px) {
    .program-card-wrapper {
        margin-top: 0;
    }

    .logo-row {
        margin-bottom: 16px;
    }

    .logo-program,
    .logo-sac {
        height: 64px;
    }

    .program-card {
        padding: 32px 24px;
        font-size: 16px;
    }

    .program-card h1 {
        font-size: 20px;
    }

    .program-card h2 {
        font-size: 18px;
    }

    .project-text {
        font-size: 16px;
    }

    .project-input {
        min-width: 0;
        width: 100%;
    }

    .input-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 4px;
    }

    .go-button {
        width: 100%;
    }

    .divider {
        width: 90%;
        margin: 36px auto 12px auto;
    }

    .powered-by-bar {
        font-size: 13px;
        padding: 12px 16px;
    }

    .message-box {
        min-width: 90vw;
        font-size: 15px;
    }
}
