.team-registration-page {
    min-height: 100vh;
    background: #071b18;
}

.team-registration-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.team-registration-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-registration-background > div {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 18, 15, .68), rgba(3, 18, 15, .88));
    backdrop-filter: blur(2px);
}

.team-registration-header {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
}

.event-summary-card {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
}

.event-summary-card.without-image {
    grid-template-columns: 1fr;
}

.event-summary-image { min-height: 260px; background: #153b32; }
.event-summary-image img { width: 100%; height: 100%; object-fit: cover; }
.event-summary-content { display: grid; align-content: center; gap: 18px; padding: clamp(20px, 4vw, 34px); }
.event-summary-kicker { margin: 0 0 7px; color: #b42335; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.event-summary-description, .event-observation p { margin: 0; white-space: pre-line; color: #4b5563; line-height: 1.65; }
.event-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.event-price-grid article { border: 1px solid #e5e7eb; border-radius: 13px; background: #f9fafb; padding: 14px; }
.event-price-grid span, .event-price-grid small, .event-price-grid strong { display: block; }
.event-price-grid span { color: #6b7280; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.event-price-grid strong { margin-top: 3px; color: #111827; font-size: 1.35rem; }
.event-price-grid small { margin-top: 3px; color: #166534; font-size: .72rem; font-weight: 700; }
.event-price-grid .student-price-card { border-color: #bbf7d0; background: #f0fdf4; }
.event-observation { border-left: 4px solid #d97706; border-radius: 8px; background: #fffbeb; padding: 12px 14px; }
.event-observation strong { display: block; margin-bottom: 3px; color: #92400e; font-size: .8rem; }

.athlete-optional-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 17px;
    cursor: pointer;
    list-style: none;
}
.athlete-optional-card summary::-webkit-details-marker { display: none; }
.athlete-optional-card summary::after { color: #1d4ed8; content: "+"; font-size: 1.35rem; font-weight: 800; }
.athlete-optional-card[open] summary::after { content: "−"; }
.athlete-optional-card summary span { font-size: .88rem; font-weight: 800; }
.athlete-optional-card summary small { margin-left: auto; color: #6b7280; font-size: .72rem; }

.team-color-card {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 155px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 18px;
    background: var(--team-color);
    padding: 17px;
    color: var(--team-text);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(4, 27, 23, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.team-color-card::after { position: absolute; z-index: -1; right: -38px; bottom: -54px; width: 130px; height: 130px; border: 20px solid currentColor; border-radius: 50%; content: ""; opacity: .08; }
.team-color-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(4, 27, 23, .2); }
.team-color-radio { position: absolute; top: 14px; right: 14px; width: 19px; height: 19px; accent-color: #111827; }
.team-color-card-top { display: flex; align-items: center; justify-content: space-between; padding-right: 28px; }
.team-color-card-top > span { font-size: 1.2rem; }
.team-color-card-top small { font-size: .66rem; font-weight: 850; opacity: .8; }
.team-color-card > strong { align-self: end; margin-top: 25px; font-size: 1.15rem; line-height: 1.05; }
.team-color-card-action { margin-top: 8px; font-size: .65rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }

.team-identity-selected {
    border-color: #fff !important;
    box-shadow: 0 0 0 4px #d97706, 0 15px 30px rgba(4, 27, 23, .24);
}

@media (max-width: 640px) {
    .team-registration-background img {
        object-position: 62% center;
    }
    .event-summary-card { grid-template-columns: 1fr; }
    .event-summary-image { min-height: 210px; }
    .event-price-grid { grid-template-columns: 1fr; }
    .athlete-optional-card summary { align-items: flex-start; }
    .athlete-optional-card summary small { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    .team-registration-background > div,
    .team-registration-header {
        backdrop-filter: none;
    }
}
