* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: 'Cairo', Tahoma, Arial, sans-serif;
    background: #eef7ff;
    color: #12324a;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(45, 148, 226, .22), transparent 28%),
        radial-gradient(circle at 82% 16%, rgba(24, 93, 168, .18), transparent 28%),
        linear-gradient(135deg, #f7fcff 0%, #eaf6ff 45%, #dcedfb 100%);
}

.page-bg::before,
.page-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    filter: blur(1px);
}

.page-bg::before {
    width: 420px;
    height: 420px;
    left: -160px;
    bottom: -150px;
}

.page-bg::after {
    width: 300px;
    height: 300px;
    right: -110px;
    top: 80px;
}

.landing-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 14px;
}

.landing-card {
    position: relative;
    width: min(760px, 100%);
    overflow: hidden;
    text-align: center;
    padding: 38px 34px 28px;
    border-radius: 32px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 28px 80px rgba(16, 68, 120, .16);
    backdrop-filter: blur(12px);
}

.card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(16, 112, 190, .08), transparent 24%, transparent 76%, rgba(16, 112, 190, .08)),
        radial-gradient(circle at 50% -10%, rgba(52, 155, 231, .18), transparent 35%);
}

.logo-holder {
    position: relative;
    width: 124px;
    height: 124px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #eef8ff);
    border: 7px solid #ffffff;
    box-shadow: 0 16px 38px rgba(19, 88, 153, .18);
}

.logo-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    padding: 8px;
}

.logo-holder span {
    font-size: 34px;
    font-weight: 900;
    color: #0f6fb6;
    letter-spacing: 1px;
}

.school-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #eaf6ff;
    border: 1px solid #d3e9fb;
    color: #145e99;
    font-size: 15px;
    font-weight: 800;
}

h1 {
    position: relative;
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.45;
    font-weight: 900;
    color: #0d3554;
}

.year-text {
    position: relative;
    margin: 10px 0 0;
    font-size: clamp(19px, 3.5vw, 28px);
    font-weight: 800;
    color: #236a9f;
}

.year-text strong {
    color: #0c4d83;
    font-weight: 900;
}

.divider {
    position: relative;
    width: 110px;
    height: 5px;
    margin: 22px auto 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #78c9f4, #0b75bd, #78c9f4);
}

.intro-text {
    position: relative;
    max-width: 560px;
    margin: 0 auto 24px;
    color: #496b83;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 600;
}

.result-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 245px;
    padding: 14px 30px;
    border-radius: 18px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #0b75bd, #07558e);
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(9, 102, 171, .26);
    transition: transform .2s ease, box-shadow .2s ease;
}

.result-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(9, 102, 171, .34);
}

.btn-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 20px;
    line-height: 1;
}

.greeting-footer {
    position: relative;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px dashed #c9deef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #34586f;
}

.greeting-footer span {
    font-size: 14px;
    font-weight: 700;
}

.greeting-footer strong {
    font-size: 24px;
    font-weight: 900;
    color: #0c4d83;
}

.greeting-footer small {
    font-size: 15px;
    font-weight: 800;
    color: #5b788e;
}

@media (max-width: 560px) {
    .landing-wrapper {
        align-items: stretch;
        padding: 12px;
    }

    .landing-card {
        min-height: calc(100vh - 24px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 28px 18px 22px;
        border-radius: 24px;
    }

    .logo-holder {
        width: 102px;
        height: 102px;
        margin-bottom: 14px;
    }

    .school-label {
        font-size: 13px;
        padding-inline: 13px;
    }

    .intro-text {
        font-size: 14px;
    }

    .result-btn {
        width: 100%;
        min-width: 0;
        font-size: 16px;
        padding: 13px 18px;
    }

    .greeting-footer strong {
        font-size: 21px;
    }
}
