body {
    background: linear-gradient(135deg, #F41E1E 0%, #274e9b 100%);
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.page-header h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: none;
}

.page-header p {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.9;
}

.selection-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .selection-grid {
        grid-template-columns: 1fr;
    }
}

.selection-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.selection-card:nth-child(2) {
    animation-delay: 0.2s;
}

.selection-card:nth-child(3) {
    animation-delay: 0.4s;
}

.selection-card:nth-child(4) {
    animation-delay: 0.6s;
}

.selection-card:nth-child(5) {
    animation-delay: 0.8s;
}

.selection-card:nth-child(6) {
    animation-delay: 1.0s;
}

.selection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #F41E1E, #274e9b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.selection-card:hover::before {
    transform: scaleX(1);
}

.selection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.academy-role-icon {
    /* Diagonal top-left to bottom-right */
    background: linear-gradient(135deg, #274e9b, #F41E1E);
}

.team-role-icon {
    /* Diagonal bottom-left to top-right */
    background: linear-gradient(45deg, #F41E1E, #274e9b);
}

.player-role-icon {
    /* Top to bottom */
    background: linear-gradient(to bottom, #274e9b, #F41E1E);
}

.coach-role-icon {
    /* Left to right */
    background: linear-gradient(to right, #F41E1E, #274e9b);
}

.sponsor-role-icon {
    /* Diagonal top-right to bottom-left */
    background: linear-gradient(225deg, #274e9b, #F41E1E);
}

.partner-role-icon {
    /* Radial gradient for a unique feel */
    background: radial-gradient(circle, #F41E1E 0%, #274e9b 100%);
}

.selection-card:hover .card-icon {
    transform: scale(1.1);
}

.card-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-link {
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.register-button {
    background: linear-gradient(135deg, #F41E1E, #e01010);
    color: #ffffff;
}

.login-button {
    background: linear-gradient(135deg, #274e9b, #1d3a75);
    color: #ffffff;
}

.register-button:hover,
.login-button:hover {
    color: #ffffff;
}

.action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.action-link:active {
    transform: translateY(0);
}

.page-footer {
    text-align: center;
    color: #666;
    opacity: 0.8;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .selection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .selection-card {
        padding: 30px 20px;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .action-link {
        width: 100%;
        max-width: 200px;
    }
}