/* ==================================================
   SAN ANTONIO AAU - TRYOUT / PLAYER EVALUATION
   Restored premium mobile-first styling
   ================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: #15284f;
    background: #f4f8ff;
}

.page {
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---------------- HERO ---------------- */

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 55%, rgba(31, 121, 255, .55), transparent 30%),
        linear-gradient(135deg, #031b43 0%, #063f91 58%, #0b63d8 100%);
    color: #fff;
}

.hero:after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -130px;
    height: 220px;
    background: linear-gradient(180deg, rgba(61, 151, 255, .55), rgba(255,255,255,.98));
    border-radius: 50% 50% 0 0;
    filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 42px 6% 150px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-ball {
    width: 58px;
    height: 58px;
    border: 2px solid #1d86ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 29px;
    background: rgba(0, 94, 210, .28);
}

.brand-san {
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .5px;
}

.brand-aau {
    margin-top: 2px;
    color: #1680ff;
    font-size: 50px;
    line-height: .85;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -2px;
}

.hero-copy {
    max-width: 600px;
    margin-top: 58px;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    line-height: .96;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title.blue {
    color: #1680ff;
    font-style: italic;
    letter-spacing: -2px;
}

.hero-line {
    width: 86px;
    height: 5px;
    margin: 22px 0 16px;
    background: #1680ff;
}

.hero-copy > p {
    max-width: 520px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #eef6ff;
}

.benefits {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 13px;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border: 2px solid #1885ff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 19px;
    background: rgba(8, 75, 170, .55);
}

.benefit strong,
.benefit span {
    display: block;
}

.benefit strong {
    font-size: 14px;
    letter-spacing: .2px;
}

.benefit span {
    margin-top: 2px;
    font-size: 12px;
    color: #e5efff;
}

.hero-player {
    position: absolute;
    z-index: 2;
    right: -40px;
    bottom: -10px;
    width: min(51vw, 610px);
    height: 92%;
    background: url("../images/hero-player.png") center bottom / contain no-repeat;
    pointer-events: none;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,.28));
}

.menu-icon {
    position: absolute;
    z-index: 30;
    top: 40px;
    right: 5%;
    width: 44px;
    height: 44px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 0 7px;
    border-radius: 10px;
    background: #fff;
    transition: transform .2s, opacity .2s;
}

.menu-icon span:last-child {
    margin-bottom: 0;
}

.menu-icon.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu {
    position: absolute;
    z-index: 25;
    top: 94px;
    right: 5%;
    width: min(280px, calc(100% - 32px));
    padding: 8px 0;
    display: none;
    background: rgba(4, 34, 82, .98);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    overflow: hidden;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.mobile-menu a:last-child {
    border-bottom: 0;
}

.mobile-menu a:hover {
    background: rgba(23, 128, 255, .25);
}

/* ---------------- FORM ---------------- */

.form-section {
    position: relative;
    z-index: 10;
    margin-top: -105px;
    padding: 0 20px 55px;
}

.form-card {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 34px 38px 30px;
    border-radius: 22px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 25px 65px rgba(10, 47, 105, .20);
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #1d74ff, #0644b9);
    color: #fff;
    font-size: 32px;
}

.form-heading h1 {
    margin: 0 0 5px;
    font-size: 29px;
    line-height: 1.1;
    font-weight: 800;
    color: #15284f;
}

.form-heading p {
    max-width: 520px;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5e6c82;
}

.divider {
    height: 1px;
    margin: 24px 0 20px;
    background: #dfe5ee;
}

form label {
    display: block;
    margin: 0 0 7px;
    font-size: 14px;
    font-weight: 700;
    color: #15284f;
}

form label b {
    color: #e53935;
}

form input:not([type="checkbox"]),
form select {
    width: 100%;
    height: 52px;
    margin-bottom: 17px;
    padding: 0 16px;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #26364f;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

form input:not([type="checkbox"])::placeholder {
    color: #7d8797;
}

form input:not([type="checkbox"]):focus,
form select:focus {
    border-color: #1769e8;
    box-shadow: 0 0 0 3px rgba(23,105,232,.10);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
}

.field {
    min-width: 0;
}

.opt-in {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 5px;
    color: #778296;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 400;
}

.opt-in input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    flex: 0 0 15px;
    accent-color: #0b58c9;
}

.opt-in span {
    font-weight: 400;
}

.service-terms {
    margin: 0 0 14px;
    color: #8a95a5;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 400;
}

form button {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(90deg, #0753c7, #1169e4);
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(10, 82, 190, .22);
    transition: transform .15s, box-shadow .15s;
}

form button span {
    margin-left: 12px;
    font-size: 26px;
    line-height: 0;
    vertical-align: -2px;
}

form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(10, 82, 190, .28);
}

.privacy {
    margin: 11px 0 0;
    text-align: center;
    color: #68758a;
    font-size: 12px;
}

#message {
    margin: 15px 0 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 800px) {

    .hero {
        min-height: 575px;
    }

    .hero-content {
        padding: 30px 22px 145px;
    }

    .hero-copy {
        max-width: 58%;
        margin-top: 48px;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 56px);
    }

    .hero-copy > p {
        font-size: 15px;
    }

    .benefit strong {
        font-size: 12px;
    }

    .benefit span {
        font-size: 10px;
    }

    .hero-player {
        right: -115px;
        width: 65vw;
        height: 78%;
        opacity: .98;
    }

    .form-section {
        margin-top: -72px;
        padding: 0 14px 35px;
    }

    .form-card {
        padding: 27px 22px 24px;
        border-radius: 18px;
    }

    .form-heading {
        gap: 13px;
    }

    .form-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        font-size: 25px;
    }

    .form-heading h1 {
        font-size: 21px;
    }

    .form-heading p {
        font-size: 12px;
    }

    .divider {
        margin: 20px 0 17px;
    }

    .row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    form label {
        font-size: 13px;
    }

    form input:not([type="checkbox"]),
    form select {
        height: 49px;
        margin-bottom: 14px;
        font-size: 13px;
    }

    form button {
        min-height: 53px;
        font-size: 16px;
    }

}

@media (max-width: 520px) {

    .hero {
        min-height: 520px;
    }

    .brand-ball {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .brand-san {
        font-size: 16px;
    }

    .brand-aau {
        font-size: 40px;
    }

    .hero-copy {
        max-width: 66%;
        margin-top: 43px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-line {
        width: 60px;
        height: 4px;
        margin: 14px 0 11px;
    }

    .hero-copy > p {
        font-size: 13px;
        line-height: 1.45;
    }

    .benefits {
        margin-top: 18px;
        gap: 9px;
    }

    .benefit-icon {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
        font-size: 14px;
    }

    .benefit strong {
        font-size: 9px;
    }

    .benefit span {
        font-size: 8px;
    }

    .menu-icon {
        top: 25px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .menu-icon span {
        width: 32px;
        height: 4px;
        margin-bottom: 6px;
    }

    .mobile-menu {
        top: 76px;
        right: 16px;
    }

    .hero-player {
        top: 105px;
        right: -30px;
        bottom: auto;
        width: 58vw;
        height: 72%;
    }

    .form-section {
        margin-top: -55px;
    }

    .form-card {
        padding: 23px 16px 20px;
    }

    .form-heading h1 {
        font-size: 19px;
    }

    .form-heading p {
        font-size: 11px;
    }

    .form-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        font-size: 22px;
    }

    .row {
        gap: 10px;
    }

    form input:not([type="checkbox"]),
    form select {
        padding: 0 12px;
    }

    .opt-in {
        font-size: 10px;
    }

    .service-terms {
        font-size: 9px;
    }

    form button {
        font-size: 15px;
    }

    .privacy {
        font-size: 10px;
    }
}


/* ---------------- STAGE 2: COMMUNITY ---------------- */

.community-stage {
    margin-top: 22px;
    padding: 30px 24px 24px;
    text-align: center;
    border: 1px solid #dce5f1;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.community-stage[hidden] {
    display: none;
}

.stage-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    background: #e9f2ff;
    color: #0b5fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.community-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #1d74ff, #0644b9);
    font-size: 26px;
}

.community-stage h2 {
    margin: 0;
    color: #15284f;
    font-size: 25px;
    font-weight: 800;
}

.community-question {
    margin: 12px auto 6px;
    color: #26364f;
    font-size: 16px;
    line-height: 1.45;
}

.community-question strong {
    color: #0b5fff;
}

.community-copy {
    max-width: 520px;
    margin: 0 auto;
    color: #68758a;
    font-size: 13px;
    line-height: 1.55;
}

.community-actions {
    display: grid;
    gap: 10px;
    max-width: 500px;
    margin: 22px auto 0;
}

.community-actions button {
    width: 100%;
    min-height: 50px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.community-yes {
    border: 0;
    color: #fff;
    background: linear-gradient(90deg, #0753c7, #1169e4);
    box-shadow: 0 7px 18px rgba(10, 82, 190, .18);
}

.community-no {
    border: 1px solid #cfd7e3;
    color: #526075;
    background: #fff;
}

.community-actions button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.community-note {
    margin: 11px 0 0;
    color: #8a95a5;
    font-size: 10px;
}

@media (max-width: 520px) {
    .community-stage {
        padding: 24px 16px 20px;
    }

    .community-stage h2 {
        font-size: 21px;
    }

    .community-question {
        font-size: 14px;
    }

    .community-copy {
        font-size: 11px;
    }

    .community-actions button {
        min-height: 48px;
        font-size: 12px;
    }
}
